Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local re = game.ReplicatedStorage:WaitForChild("InventoryRE")
- re.OnServerEvent:Connect(function(player, toolName)
- if player.Character and toolName then
- if player.Backpack:FindFirstChild(toolName) then
- player.Character.Humanoid:EquipTool(player.Backpack[toolName])
- elseif player.Character:FindFirstChild(toolName) then
- player.Character.Humanoid:UnequipTools()
- end
- end
- end)
- --Scripted by 1MinuteRobloxTutorials
Advertisement
Add Comment
Please, Sign In to add comment