Hello! My name is RPerry435, this is my first ever forum post on the entire Dev Forum, me and my friend are making a game which is just a roleplaying game, and We’ve a security room, I’m looking for a script that gives the player a set of tools upon touch of a brick. Any help that other fellow Devforum Users can give me? Thanks!
Sincerely, RPerry435.
TL;DR : I’m looking for a script that won’t overload your backpack with a bunch of tools, but will still give you 1 set of tools chosen in a certain folder of the explorer.
local tool = game.ServerStorage["Item"]
script.Parent.ClickDetector.MouseClick:Connect(function(player)
local give = tool:Clone()
give.Parent = player.Backpack
end)
Just add multiple sets of this code inside the same script (or use multiple scripts) so multiple tools end up in the player’s inventory.