I would like to have a brick that then it is touched that person gets a sword. How?
Put the sword you wish for them to get in your ReplicatedStorage. Put this script into the block you wish to give the sword to the player with:
script.Parent.Touched:connect(function(part) p = game.Players:GetPlayerFromCharacter(part.Parent) if p == nil then return end a = game.ReplicatedStorage.Sword:clone() if p.Backpack:FindFirstChild(a.Name) ~= nil then return end a.Parent = p.Backpack end)
dude theres millions of them out in the catalog... and btw, its not Tools, its Functions you mean, cos if you get something when you do something is a Function...
Closed as Not Constructive by evaera
This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.
Why was this question closed?