of     1   

carstorm
#36213273Saturday, October 30, 2010 6:07 AM GMT

I have a lock script that I want it so that once someone locks something only they can unlock it. Everything they locked becomes unlocked 60 seconds after they leave function onMove(mouse) targ = mouse.Target if targ==nil then return end if targ.Locked==true then script.Parent.Parent.Parent.Message.Text = "Brick Is Locked" else script.Parent.Parent.Parent.Message.Text = "Brick Isn't Locked" end end function onButton1Down(mouse) targ = mouse.Target if targ == nil then return end if targ.Locked == true then targ.Locked = false else targ.Locked = true end end function onS(mouse) mouse.Button1Down:connect(function() onButton1Down(mouse) end) Instance.new("Hint").Parent = script.Parent.Parent.Parent mouse.Move:connect(function() onMove(mouse) end) end script.Parent.Selected:connect(onS) function onUnS(mouse) script.Parent.Parent.Parent.Message:Remove() end script.Parent.Deselected:connect(onUnS)
carstorm
#36213374Saturday, October 30, 2010 6:14 AM GMT

I also forgot to say that you cannot unlock stuff with the following name ground,sand,water,base,buildingBlocks...actully if you make it an array where I can add the names that would be better.
galaxyblast1
#36214096Saturday, October 30, 2010 6:59 AM GMT

You can't do that, moron.
carstorm
#36214171Saturday, October 30, 2010 7:04 AM GMT

ya ha I have seen it done before
carstorm
#36251938Saturday, October 30, 2010 9:53 PM GMT

bump
crazypotato4
#36252184Saturday, October 30, 2010 9:56 PM GMT

How about this: Learn to script.
myrco919
#36252303Saturday, October 30, 2010 9:58 PM GMT

[ Content Deleted ]
carstorm
#36254335Saturday, October 30, 2010 10:32 PM GMT

Nope I'm not a scrpter thats the prob and there is no good place to learn how to script. The wiki fails and half of free-models don't work.

    of     1