Hello i need help making swords rotate around your body like this:
I also need help with making the swords spin 360 degrees smoothly with Motor6D
Thanks.
Hello i need help making swords rotate around your body like this:
I also need help with making the swords spin 360 degrees smoothly with Motor6D
Thanks.
step 1. put the tool in a dummy
step 2. duplicate the handle and give it a dif name… example (MainPart)
step 3. use “RigEdit Lite”
step 4. click RigEdit, then select handle first and hold ctrl to select the part you dubed the (MainPart)
step 5. click create joints
step 6. click (MainPart) with edit rig and select all the parts of the weapon.
step 7. click create weld (or if you want to animate dif parts too click create joints “NOT FOR AL THE PARTS”
step 8. animate.
step 9. set animation priority to (Action)
step 10. save the anim
step 11. duplicate the tool and put it in “StarterPack”
step 12. create a localscript (Name it whatever)
step 13. create a remote event (put it in the tool)
step 14. add a sound if you want a sound
step 15. add an animation and put it in the tool (i named it Anim)
step 15. script:
local UIS = game:GetService("UserInputService")
local plr = game.Players.LocalPlayer
local animation = Enum.KeyCode.Q --change to the letter you want to use
local remoteEvent = script.Parent.remote -- find remote
local tool = script.Parent
tool.Equipped:Connect(function() -- equipped
UIS.InputBegan:Connect(function(key, gp)
if key.KeyCode == animation then
if UIS:GetFocusedTextBox() == nil then
local anim = plr.Character.Humanoid:LoadAnimation(script.Parent.Anim) -- animation
anim:Play()
remoteEvent:FireServer()
script.sound:Play() -- sound plays
print("anim played")
end
end
end)
end)
step 16. create a script (not a local script)
step 17. script:
local remoteEvent = script.Parent.RemoteEvent
local plr = game.Players.LocalPlayer
remoteEvent.OnServerEvent:Connect(function()
local anim = plr.Character.Humanoid:LoadAnimation(script.Parent.Anim) -- animation server sided
print("Server anim")
anim:Play()
end)
should be done! if you need help just ask
Ill see if this works, can i also have help with spinning the swords 360 degrees smoothly with Motor6D?
yes edit the pivot of the part you want to spin to what you find best
(just select the part go to model “top left” and edit piviot)
Hold on this is for the player to play the animation, i want the swords to spin around the body, not the player playing animations.
its made so you can animate the sword around the player like you want it or you need to use tween wich i cant really help you you with bc i dont use that as much as animations
I see, thanks
(thirtyyy charsss)
did it work, any results?
i am curious
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.