Make it a model and I’ll investigate this, as I’m not too sure what could be causing this.
https://www.roblox.com/library/6654218160/KatanaModel
I think you should be able to put it in a workspace with this I’ve never exported a tool before lol
Ok in your weld script you have this
local h = script.Parent:FindFirstChild("Handle"):Clone()
script.Parent:FindFirstChild("Handle"):Destroy() --this line destroys the handle but anything also parented such as the sound
--So when it gets equipped it destroys the handle and the sound is destroyed
--Disable the weld script and then the sound works
Why do you need to destroy the handle?
Well that was the issue dude I removed that line and the sound is working now I appreciate everyones help here lol sorry for taking so much time for such a simple issue. Idk why I never suspected the weldscript to begin with
Its a weld script I down off of a youtube video I’m still learning scripting atm
You should never copy scripts from Youtube, use the official API of Roblox and the official Lua website instead.
And another reason is your parenting your handle to the character and not the tool I’ll try fixing your weld script
--Put this in your weld script like delete everything in weld script and replace it with this script
local handle = script.Parent:FindFirstChild("Handle")
script.Parent.Equip.OnServerEvent:Connect(function()
local char = script.Parent.Parent
local rHand = char:FindFirstChild("RightHand")
handle.CFrame = rHand.CFrame * CFrame.new (0, 0, 0)*CFrame.Angles(-math.rad(180),0,math.rad(0))
local weld = Instance.new("Weld")
weld.Part0 = rHand
weld.Part1 = handle
weld.C0 = rHand.CFrame:inverse() * rHand.CFrame
weld.C1 = handle.CFrame:inverse() * rHand.CFrame
weld.Name = 'HandleWeld'
weld.Parent = rHand
handle.Parent = char
end)
Because the tool was never activated. You are not getting the tool correctly, you have to get the tool by calling : tool = game.Players.LocalPlayer.Backpack:WaitForChild(“KatanaModel”)
It was activated it did print the results before and after they just didn’t see the problem in the weld script
I was having another issue with the weld script and this actually fixed that one as well lol you’re a beast thanks man