Every time I equip the tool, the handle or part falls for a sec and then goes to where its suppose too.
https://gyazo.com/f136530224aa3bfc9404670b64304dd7
LocalScript
local tool = script.Parent local player = game.Players.LocalPlayer local char = player.Character tool.Equipped:Connect(function() game.ReplicatedStorage.Events.TestEvents.ConnectM6D:FireServer(tool.BodyAttach) end) tool.Unequipped:Connect(function() game.ReplicatedStorage.Events.TestEvents.DisconnectM6D:FireServer() end)
ServerScript
local tool = game.StarterPack.Shovel local anim = Instance.new("Animation") anim.AnimationId = "rbxassetid://7353018496" local PlayAnim local M6D game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(char) local M6D = Instance.new("Motor6D", char.Torso) M6D.Name = "ToolGrip" end) end) game.ReplicatedStorage.Events.TestEvents.ConnectM6D.OnServerEvent:Connect(function(player, location) local char = player.Character PlayAnim = char.Humanoid:LoadAnimation(anim) PlayAnim:Play() local body = tool.BodyAttach char.Torso.ToolGrip.Part0 = char.Torso char.Torso.ToolGrip.Part1 = location end) game.ReplicatedStorage.Events.TestEvents.DisconnectM6D.OnServerEvent:Connect(function(player) player.Character.Torso.ToolGrip.Part0 = nil player.Character.Torso.ToolGrip.Part1 = nil PlayAnim:Stop() end)
Weld the tool together with WeldConstraints.