04-11-2011, 01:02 AM
How would I make a item giver?
How would I make a Item giver?
|
Put your tool in Environment
[lua] local jet = game.Environment.JetBoots:clone() --Tool name switched with JetBoots local debounce = true function touch(hit) if game.Players:getChild(hit.Parent.Name)~=nil and debounce then debounce = false local clone = jet:clone() clone.Parent = game.Players[hit.Parent.Name].Inventory sleep(2) debounce = true end end link(script.Parent.Collided, touch) [/lua] |
« Next Oldest | Next Newest »
|