How would I make a Item giver?
#2
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]

[Image: rogershanksluffy_display.gif]
Reply


Messages In This Thread
How would I make a Item giver? - by broloxer - 04-11-2011, 01:02 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)