|
i need a script that will have a button, then make a smooth block model dissapear when you press the button! |
|
|
or just make a model for me, and you will get 5 tix extra |
|
brOofrangeTop 100 PosterJoin Date: 2007-12-06 Post Count: 7945 |
function onTouched(hit)
script.Parent.Transparency = 1
script.Parent.CanCollide = false
end
script.Parent.Touched:connect(onTouched)
Put this inside the brick that disappears
• B • |
|
superpongJoin Date: 2007-11-10 Post Count: 5548 |
your going to get banned smellybellyman if you give money |
|
brOofrangeTop 100 PosterJoin Date: 2007-12-06 Post Count: 7945 |
Lol? He's not hosting a Competition for selling anything. Therefore he cannot get banned!
• B • |
|
|
brofrange, what would i do for the button?
|
|
Nicko88Join Date: 2007-12-24 Post Count: 8 |
For this to work, name the object you want to disappear Door(MUST HAVE CAPITAL D!!!!)
=======================================
door = game.Workspace.Door
function onTouched(hit)
door.Transparency = 1
door.CanCollide = false
wait(3)
door.Transparency = 1
door.CanCollide = true
end
script.Parent.Touched:connect(onTouched)
|
|
Nicko88Join Date: 2007-12-24 Post Count: 8 |
WHOOPS
This is correct:
door = game.Workspace.Door
function onTouched(hit)
door.Transparency = 1
door.CanCollide = false
wait(3)
door.Transparency = 0
door.CanCollide = true
end
script.Parent.Touched:connect(onTouched) |
|
Nicko88Join Date: 2007-12-24 Post Count: 8 |
I also uploaded a model to my roblox...
-Nicko |
|
brOofrangeTop 100 PosterJoin Date: 2007-12-06 Post Count: 7945 |
That door would work. But he means permanently
---------------------------
door = game.Workspace.Door
function onTouched(hit)
door.Transparency = 1
door.CanCollide = false
end
script.Parent.Touched:connect(onTouched)
--------------------------- |
|
|
no, i dont mean permanently.
thx guy above |
|
|
im changing the script, make the brick delete then come back when you press another button (it goes cancollide and then deletes itself but comes back) |
|
|
nvm, dont reply to this anymore. i did it. i got this stuff to work.
nick88, i false payed you. your door didnt work. 20 tix please. |
|
|
and also, nicko88 didnt get the money, pheedy did. oh well. |
|
|
and also, nicko88 didnt get the money, pheedy did. oh well. |
|
|
|
this is in all models and bout 1000 models of it called button door |
|