The title says it all
MotorEvent.OnServerEvent:Connect(function(Player, Location, Toggle)
if Toggle == true then
local char = Player.Character
char.UpperTorso.ToolGrip.Part0 = char.RightUpperArm
char.UpperTorso.ToolGrip.Part1 = Location
else
end
end)
``
game.Players.PlayerAdded:connect(function(player)
player.CharacterAdded:connect(function(character)
wait(5)
local upperTorso = character:WaitForChild("UpperTorso")
if upperTorso ~= nil then
local motor6D = Instance.new("Motor6D", upperTorso)
motor6D.Name = "ToolGrip"
end
end)
end)