local remote = game.ReplicatedStorage.GiveToolRemote local toolDatabase = ["sword"] = game.ServerStorage.Tools.LaserSword, ["jetpack"] = game.ServerStorage.Tools.Jetpack
remote.OnServerEvent:Connect(function(player, toolID) local tool = toolDatabase[toolID] if tool and player:FindFirstChild("Backpack") then local clone = tool:Clone() clone.Parent = player.Backpack end end) tool giver script
Client script (LocalScript) to request:
local clone = toolTemplate:Clone() clone.Name = toolName clone.Parent = backpack end | Issue | Likely Fix | |-------|-------------| | Tool doesn’t appear | Check that script runs server-side, tool is cloned properly | | Tool appears but can’t equip | Ensure tool is enabled (Disabled = false) | | Duplicate tools | Add a duplicate check before giving | | Tool disappears after respawn | Use CharacterAdded event instead of only PlayerAdded | local remote = game