I want to make an item spawn into the player's backpack when I touch a specific block, but when I touch it, it doesn't give me the tool. What am I doing wrong?
local plr = game.Players.LocalPlayer
script.Parent.Touched:connect(function()
local gravity = game.ReplicatedStorage:WaitForChild("GravityCoil")
gravity:Clone().Parent = plr.Backpack
end)

2 comments
Are you sure there's an object in ReplicatedStorage named "GravityCoil"?
yes i put one in replicated storage