How would I make a Item giver?
#1
How would I make a item giver?
Reply
#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


Forum Jump:


Users browsing this thread: 2 Guest(s)