RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"Equip players with a sword upon spawning"
```lua -- StarterPlayerScripts or StarterCharacterScripts local Players = game:GetService("Players") Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) local starterGear = game:GetService("StarterPack"):FindFirstChild("Sword") if starterGear then starterGear:Clone().Parent = character end end) end) ```