This shall be my first script...
#1

--i <3 already knowing RBX.lua, i made this in a few seconds, and this is my first script
local deb = false
link(game.World.Button1.Collided, function(nope)
if nope.Name == "Body" and deb == false then
deb = true
game.World.Button1.Color = Color(0,255,0) --green
sleep(1)
dep = false
game.World.Button1.Color = Color(255,0,0) --red
end
end)
Reply


Messages In This Thread
This shall be my first script... - by akiake - 08-13-2011, 01:50 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)