(I'm not very good at Lua, but this is not a request)
I'm making a small arena with a tool that people should get once the enter the arena, but when they leave it, the tool should disappear, except I'm having trouble to do this. Please answer my question if you know how.

3 comments
@oftenz I think the script is not working because of my "giveTool" script.
Script: local debounce = false script.Parent.Touched:Connect(function(hit) if hit.Parent.Humanoid then if debounce == true then return end debounce = true plr = game.Players:GetPlayerFromCharacter(hit.Parent) local foundTool = plr.Backpack:FindFirstChild("FencingSword") or plr.Character:FindFirstChild("FencingSword") if not foundTool then local gravity = game.ReplicatedStorage.FencingSword:
Script continued: gravity.Parent = plr.Backpack end wait() debounce = false end end)