#chat howd i make ma left hand go up as the right one equip the 2 swords cuz am creating a dual wield
1 messages · Page 1 of 1 (latest)
i would do an animation
wait
so basically
in game
u gonna copy ur whole body in explorer
then paste it?
well howd do i
Hey guys! I had a lot of trouble trying to figure out how to make an idle animation while standing still then creating a new animation when the character started moving as another idle animation... so, here I am making a tutorial on how to do it!
If you haven't checked out the first video to this on how to create a tool and where to get the Bus...
is it like ts tutorial
No
well howd do i
howd do i make an animation of it
Create a rig and use roblox animator
thats it
and then change the piority of the animation to action 4
but wait one problem howd do i make it insert ingame and not da rig
you click on mode tab and click the part to insert rigs
Dude its not hard
it takes 20 seconds
Idk
u just move the hands foward
find one on yt
i didnt need a yt tutorial cuz it was so simple
after u make the animation u make a local script inside the tool and play the animation when you equip tool and stop animation when you unequip tool and there you have it
i cant script bro am new
also where can i find piority
i cant script
welp
I don't think we spoonfeed here
But a brief idea is that
You can use animations

wait wait
so basically
wait before that
do i need to upload the animation in roblox
Yup
3 dots ur doing great
am done w it
u upload animation
and then once u have animation do this part
just do tool.Equipped:connect(function()
alright thanks for the help imma js try my best on scriptin cuz i got no experience scripting
idk how that works
it will fire when the tool is equipped
do i have to put the animation id in there?
so inside that block u can play the animation
ye
u do humanoid.animator:loadanimation(animationID):Play()
And in unequip block u do Animation:Stop()
and thats it
wait wait so basically i gotta do ts first then humanoid animator?
yeah
do i need to put some informations like the name of the sword 1 nor sword 2
** You are now Level 4! **
dude obviously not like that
oh mb
i didnt want to write out the whole thing on phone
local tool = script.Parent
local animationId = -- put ur animation id here
local players = game:GetService("Players")
local plr = players.LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local hum = character:WaitForChild("Humanoid")
local animator = hum:WaitForChild("Animator")
tool.Equipped:Connect(function()
local animation = Instance.new("Animation")
animation.AnimationId = animationId
local animationTrack = animator:LoadAnimation(animation)
animationTrack:Play()
end)```
@kind saffron
oh thank you
yw!
do i have to put the 2 sword names in there
alright thanksss
alright
LoaclPlayer
so do i have to replace plr to localplayer
wait one more question do i have to ut the animation id to all Animation id?
nope
no copy and paste the whole code, i fixed the problem
yw!
alright alright thank you for the help
Unequip
Function
local tool = script.Parent
local animationId = -- put ur animation id here
local players = game:GetService("Players")
local plr = players.LocalPlayer
local character = plr.Character or plr.CharacterAdded:Wait()
local hum = character:WaitForChild("Humanoid")
local animator = hum:WaitForChild("Animator")
local animation = Instance.new("Animation")
animation.AnimationId = animationId
local animationTrack = animator:LoadAnimation(animation)
tool.Equipped:Connect(function()
animationTrack:Play()
end)
tool.Unequipped:Connect(function()
animationTrack:Stop()
end)```
opps mb
bros chatgpt
replace the entire code with this
real 😭😭😭
no cap i wanna learn how to script without using ai lel
i can teach u for a price
use brawldev
im busy w 3 comissions
wow super rich man
not rich yet
how much
oh @kind saffron add the 'Solved' tag to this post
idk what u wanna learn
alright thanks for the help guys
yw
maybe some basic stuffs
like what
like floating debrees that moves and some door stuffs
yall am i seeing a business discussion in real time
xD
use tween service
just read documation
and u will learn
so ez
one more problem that i need to do
😭😭😭
its the orginao source of how lua works
i gotta create an idle animation and slashes animation with vfx with abilities
also i dont know hw to create when u rress a key a clone will spawn and despawn in a time
@rare granite u got this, ima sleep
alr gotchu
lol
im not that good at animation
u can learn tutorials
or
read the roblox wiki
or
hire somebody
i can make u a script
so
alright alright
it detects whnever ur idle
i gotta create an idle and slashing animation first
** You are now Level 5! **
what key do u want to press to do the slash animation?
** You are now Level 10! **
@kind saffron
m1
local tool = script.Parent
local animationId = -- put ur animation id here
local idleAnimationId = -- put ur idle animation id here
local slashingAnimationId = --put it slashing animation id here
local players = game:GetService("Players")
local plr = players.LocalPlayer
local rs = game:GetService("RunService")
local character = plr.Character or plr.CharacterAdded:Wait()
local hum = character:WaitForChild("Humanoid")
local animator = hum:WaitForChild("Animator")
local animation = Instance.new("Animation")
animation.AnimationId = animationId
local animationTrack = animator:LoadAnimation(animation)
local idleAnimation = Instance.new("Animation")
idleAnimation.AnimationId = idleAnimationId
local idleAnimationTrack = animator:LoadAnimation(idleAnimation)
local slashingAnimation = Instance.new("Animation")
slashingAnimation.AnimationId = slashingAnimationId
local slashingAnimationTrack =
animator:LoadAnimation(slashingAnimation)
idleAnimationTrack.Looped = true
tool.Equipped:Connect(function()
animationTrack:Play()
end)
tool.Unequipped:Connect(function()
animationTrack:Stop()
end)
tool.Activated:Connect(function()
for _, track in animator:GetPlayingAnimationTracks() do
track:Stop()
end
slashingAnimationTrack:Play()
end)
task.spawn(function()
while true do
if hum.MoveDirection.Magnitude == 0 then
if not tool.Equipped and not slashingAnimationTrack.IsPlaying then
idleAnimationTrack:Play()
idleAnimationTrack.Stopped:Wait()
end
else
idleAnimationTrack:Stop()
end
end)
``` sorry i took long! here is the code
@kind saffron
please tell me if anything is wrong!
@kind saffron put this script in once u are finished with the idle and slashes animations, and have the ids. dm me if anything is wrong, imma leave now, goodbye!