Talk:Making an onClicked script: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>Randellman
No edit summary
>Randellman
No edit summary
(No difference)

Revision as of 03:06, 8 August 2008

Thanks man this helped me out alot with stuff. Could you tell me/us how to make it to wher you have a 2 bricks you hit one of them and it turns green and deletes the other brick then if you hit it again it makes it come back and the brick turns red again.?.?.


--Girashka

I NEED HELP!

I tried to make my script work but it's not working! what's wrongh with this script?:

door = script.Parent.Parent.Door function onClicked() door.Transparency = 0 door.CanCollide =true end

script.Parent.ClickDetector.MouseClick:connect(onClicked)

I'm pretty sure you wanted the door to allow people to walk through it, and to turn invisible... The transparency should be changed to 1 (invisible) and the CanCollide should be FALSE. -- superfroggy

umm...

whate the the script is a fake i did all things rite and it didint work betta fix that


--Randellman 22:06, 7 August 2008 (CDT)randellman