When I was working on my game, I decided I would have a block that gives the player an item and teleports them to a certain place. For some reason, however, the item giver isn't working. I made the script a local script.
local teleblox = game.Workspace.BloxxerStatueModel.TheBStatue.Teleporter
local Fight = game.ServerStorage.Fight
local FightClone = Fight:Clone()
local function pint()
FightClone.Parent = game.Players.LocalPlayer.Backpack
print("oml it worked")
end
script.Parent:findFirstChild("Humanoid")(pint)

3 comments
How exactly will the block give the player the tool? Ontouch or OnClick?
server storage isn't keeping the tool I place in it so I'm putting it in replicated storage
Oh sorry, the block would give the player a weapon on touch, sorry for the wait.