today, i made sword on back but it doesn’t work completely right. sometimes the sword doesn’t get welded to the torso and just falls in the workspace. and sometimes sword position is a different position.
Server Script
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(Character)
local Handle = game.ServerStorage.handleWeapons.BusterSwordHandle:Clone()
Handle.Parent = Character:WaitForChild("ToolHandleAccessory")
local WeldCon = Instance.new("WeldConstraint",Character:WaitForChild("Torso"))
WeldCon.Enabled = true
WeldCon.Part0 = Handle
WeldCon.Part1 = Character.Torso
Handle.CFrame = CFrame.new(Character.Torso.Position.X,Character.Torso.Position.Y,Character.Torso.Position.Z)+ Handle.Configuration.Postion.Value
Handle.Orientation = Handle.Configuration.Orientation.Value
end)
end)
also Handle.Configuration.Postion.Value = Vector3.new(0, 0, -0.598) and Handle.Configuration.Orientation.Value = Vector3.new(0, 0, 145)