-
Basically I want my Scythe to be animated without a tool (Rotate without arm rotating with it) And I need it welded to the players torso
-
My Issue is trying to figure out how to weld my scythe to my player and play my idle animation.
-
I searched on Studio, asked for help on discord And searched through the Forum, but I couldn’t find anything to script a sword/scythe to weapon and not a gun. Here’s some screenshots of my code.
Here is where my scythe is.
Weld Script :
local Scythe = script.Parent
local model = script.Parent.TrueHandle
local char = script.Parent.Parent:WaitForChild()
local weld = Instance.new("Motor6D", char.Torso)
weld.Part0 = char.Torso
weld.Part1 = model
weld.C0 = weld.Part0.CFrame:ToObjectSpace(weld.Part1.CFrame)
weld.Parent = weld.Part0
Animation Script:
local Player = game.Players.LocalPlayer
local Humanoid = Player.Character:WaitForChild("Torso")
local Tool = script.Parent
local Animation = Instance.new('Animation')
Animation.AnimationId = 'rbxassetid://5573531628'
local AnimationTrack = Humanoid:LoadAnimation(Animation)
Tool.Equipped:Connect(function()
AnimationTrack:Play()
end)
Tool.Unequipped:Connect(function()
AnimationTrack:Stop()
end)
I’m available almost any day at 4:30 PM
And I’d like to explain I tried it using the scythe as a tool. The animation played but the handle was locked to the players arm. So I have no Idea if it matters if it’s a tool or model.
Thanks for your time and bear with me as this is my first time on the devforum!