**Whenever i equip the tool, after a couple seconds it will dissapear. ** Its on a local script and whenever i put it on a script, the tool will teleport me back a little.
Also, I found that it wont dissapear if i turn cancollide on
local Players = game.Players
local player = Players.LocalPlayer
local character = player.Character or player.CharacterAdded:Wait()
Tool = script.Parent
Hat = script.Parent.Hat
Dagger = script.Parent.Dagger
local Humanoid = character:WaitForChild(“Humanoid”)
local Animator = Humanoid:WaitForChild(“Animator”)
local Equip = Instance.new(“Animation”)
Equip.AnimationId = “rbxassetid://16559621021”
local EquipAnimTrack = Animator:LoadAnimation(Equip)
Tool.Equipped:Connect(function()
EquipAnimTrack:Play()
local Head = Tool.Parent:WaitForChild(“Head”)
Hat.CFrame = Head.CFrame * CFrame.new(0,.5,0)
local weld = Instance.new(“WeldConstraint”)
weld.Part0 = Head
weld.Part1 = Hat
weld.Parent = script.Parent
EquipAnimTrack:Play()
You need to weld your parts to the handle of the tool. You need to weld all of your parts to a part in your tool called “Handle”. This should fix your issue.
You can disable requires a handle, and then remove your handle but set one of the weld constraints to go onto your right arm/left arm depending on what you want it to be.