Help here please.im having a hard time doing this -.-
✓ ANSWER ACCEPTED
I want to make it so when a user touches a SpawnLocation they recieve a tool?
3 answers
✓ Accepted answer
debounce = false
script.Parent.Touched:connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if player and not debounce then
debounce = true
local tool = game.ServerStorage:findFirstChild('NAMEOFTOOLHERE')
if tool then
local toolClone = tool:Clone()
toolClone.Parent = player.Backpack
debounce = false
end
end
end)
Put this in a script. Put the script inside the SpawnLocation.
Get the "CREATE YOUR OWN GIVER!!!" Model, take the script out of the "PUT THE WEAPON IN THIS BRICK" Put that script in the SpawnLocation and then continue doing what you were doing.
Alright first its simple. make a tool giver like search in the free models tool giver of whatever you want then make that block transparent put it on top of the spawn and when they spawn they have a tool :D
- Muslim Of Lmad
This discussion is preserved as it was. New answers, comments, and votes are closed.
