local arrow = game.ReplicatedStorage.Arrow:Clone() local plr = game.Players.LocalPlayer local debounce = false script.Parent.Touched:Connect(function() if not debounce then debounce = true arrow.Parent = plr.Backpack debounce = false end end)
A tool called "Arrow" will be given to the players backpack when the player touches the part. Not sure why it is not working but i am sure that the fault is with "script.Parent.Touched:Connect(function()". Please help.
Output shows no error at all and this is a local script inside a MeshPart called "Arow"
Is the localscript located in the workspace ? if it is then the localscript wont run