Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

I want to make it so when a user touches a SpawnLocation they recieve a tool?

Asked by 10 years ago

Help here please.im having a hard time doing this -.-

3 answers

Log in to vote
1
Answered by
Cizox 80
10 years ago
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.

Ad
Log in to vote
0
Answered by 10 years ago

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.

Log in to vote
0
Answered by 10 years ago
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

Answer this question