Okay so, if anyone is having problem with the weapon not being on your hand when you play even though you followed the steps. Just make sure that your game is saved then go to File(top left corner) > Game Settings > Avatar then set the avatar type to r6 if you use the model like in the video. (Make sure to save your changes)
Or just make a repeat loop that repeats until part0 is not nil and you can use r15 and any character you want. Don't always take the easy way since the final product will be worse. 🧀🧀🧀
@@Mk-. I just wanted to answer their questions simply, because this is a beginner tutorial and telling them to make loops that they don't know about will just make them even more confused on what to do. Yes, they could watch tutorials for that but them learning on their own mistakes is what makes people want to code because of the boost that you get knowing that you fixed something on your own. But sure your answer is valid and could help others that know a bit about coding. It's just me trying to help those who doesn't know what to do and to do it in a simple way for them to grasp easily.
@@ShiuzeeYour comment actually helped me because then I knew it wasn't my code, but something else. Turns out that some r15 characters load longer than others. To fix this, you just make a simple repeat loop until part0. Also I have a feeling that some r6 characters will also load longer, and people with lag will not be able to play if you choose the simple option. Even if you don't know how to make a really basic and simple repeat loop, you should atleast put a wait(0.1) which might help a little. 🧀🧀🧀
@@Mk-. shouldnt this be a nonexistent issue b/c the script in the video only runs when the character is loaded? the game wont try to set the weapon position until your char exists. is there some niche bug with CharacterAppearanceLoaded?
I was like, Hmm I wonder how on earth i will make weapons for a game im thinking of making and you just manifested when I looked it up, you explain it so well too, you earned yourself a sub, and a recurring viewer
local plrs = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local weapon = rs:WaitForChild("Weapon") plrs.PlayerAdded:Connect(function(plr) plr.CharacterAppearanceLoaded:Connect(function(char) local rightArm = char:FindFirstChild("Right Arm") local clonedWeapon = weapon:Clone() clonedWeapon.Parent = char local handle = clonedWeapon:FindFirstChild("Handle") local cframeValue = clonedWeapon:FindFirstChild("Value")
Dude, your insanely helpful, for around a week ive been trying to animate a rig with a sword, you just explained it thanks. Also what is that rig texture how can i use it?
guys there is the some code but includes sheat: local plrs = game:GetService("Players") local rs = game:GetService("ReplicatedStorage") local weapon = rs:WaitForChild("Blade_katana") local sheat = rs:WaitForChild("Blade_Sheat") plrs.PlayerAdded:Connect(function(plr) plr.CharacterAppearanceLoaded:Connect(function(char) local rightArm = char:FindFirstChild("Right Arm") local Torso = char:FindFirstChild("Torso") local clonedWeapon = weapon:Clone() local clonedSheat = sheat:Clone() clonedWeapon.Parent = char clonedSheat.Parent = char local handle = clonedWeapon:FindFirstChild("Handle") local sheathandle = clonedSheat:FindFirstChild("SheatHandle") local cframeValue = clonedWeapon:FindFirstChild("Value") local SheatCFrameValue = clonedSheat:FindFirstChild("Value") local motor6d = Instance.new("Motor6D") motor6d.Part0 = rightArm motor6d.Part1 = handle motor6d.C1 = cframeValue.Value motor6d.Parent = handle
Unrelated question but what is the music you used during the begining of part 3 it slaps (also thx man very cool 👍 tutorial) but for some reason idk why it might be my model but i cant animate it its like as if it was welded on to the hand idk why edit: nvm i fixed it
After following the steps in this video (coincidentally, with the same sword model as well), when I try to actually animate the rig in Moon Animator, the sword has its position and rotation pivoted around the right arm instead of the handle. Is this how it's supposed to be? The animation turns out fine in the end, but I'm wondering if there's a way to fix this or work around it, since it's really annoying.
I found a solution: When animating, swap the values of C0 and C1 in the Motor6D, except with opposite signs (i.e. if C1 position is 0,1,0, then make C0 positon 0,-1,0). This does not change how it looks and makes animating it easier.
Im a literal noob trying to follow this guide. I got it working but the hammer appears in my arm as a rock solid piece of weaponry pulling me to the 'coordinates' of the CFrame values I adjusted earlier. Not really sure how to make the weapon not pull me to a stuck weapon position
hey uhhhh it used to work but now it doesent. (for animating) The body teleports to the weapon, and then the animating breaks. can anyone help me with this?
Oi, eu sou brasileiro e não sei se você vai ler ou entender esse comentário, mas se for eu quero te agradecer, eu conheci seu canal já aprendi várias coisas novas, e sim, saiba q você é conhecido internacionalmente, valeu denovo e falou!!!
Check part 0 of the motor6d and make sure it’s set to the torso, I hope this helps. U may join the discord server if you want more help with this. I hope this helps tho :] Also thanks for the comment!
It doesent work. It says "Error(s) Detected with rig. The following parts are affected by mupltiple Motor6D"s. Right arm." Can someone help me with that?
my motor6d wont even let me choose the part0 and part1 after i turned the handle and sword to massless. it let me before i turned the sword and handle to massless but it didnt go to the arm. idk what happened
It's not related to the video the walkspeed of the player? for some reason this keep happening to me : Walkspeed is not a valid member of Humanoid "Workspace.Lucas_Tiro.Humanoid"
Okay so, if anyone is having problem with the weapon not being on your hand when you play even though you followed the steps. Just make sure that your game is saved then go to File(top left corner) > Game Settings > Avatar then set the avatar type to r6 if you use the model like in the video. (Make sure to save your changes)
Or just make a repeat loop that repeats until part0 is not nil and you can use r15 and any character you want. Don't always take the easy way since the final product will be worse. 🧀🧀🧀
@@Mk-. I just wanted to answer their questions simply, because this is a beginner tutorial and telling them to make loops that they don't know about will just make them even more confused on what to do. Yes, they could watch tutorials for that but them learning on their own mistakes is what makes people want to code because of the boost that you get knowing that you fixed something on your own. But sure your answer is valid and could help others that know a bit about coding. It's just me trying to help those who doesn't know what to do and to do it in a simple way for them to grasp easily.
@@ShiuzeeYour comment actually helped me because then I knew it wasn't my code, but something else. Turns out that some r15 characters load longer than others. To fix this, you just make a simple repeat loop until part0. Also I have a feeling that some r6 characters will also load longer, and people with lag will not be able to play if you choose the simple option. Even if you don't know how to make a really basic and simple repeat loop, you should atleast put a wait(0.1) which might help a little. 🧀🧀🧀
@@Mk-.
shouldnt this be a nonexistent issue b/c the script in the video only runs when the character is loaded? the game wont try to set the weapon position until your char exists.
is there some niche bug with CharacterAppearanceLoaded?
still doesnt work
BRO u explained everything TOO well like not even a single thing was confusing keep it up man hope all ur games blow up
blow up in a good way, right?
*RIGHT?*
drake is done for 💀kendrick's song is background music in roblox developing videos now
120 likes lol
Thata funny icl 💀💀💀
@@Fujui lol
@@ultragjl1976 lol
@@Asion0tt-nv2nw lol
@@Asion0tt-nv2nw lol
Been waiting for a good vid like this!
I was like, Hmm I wonder how on earth i will make weapons for a game im thinking of making and you just manifested when I looked it up, you explain it so well too, you earned yourself a sub, and a recurring viewer
Thanks for the sub fam, I’m happy to help :]
@iamLudius I'm happy to be a subscriber, you deserve more attention for the helpful deed you provide 🙂
i like the way you explain stuffs
I’m just happy to help man. Also thanks for the comment :]
@@iamLudiusthink he’s being sarcastic
you are a lifesaver, tysm!
local plrs = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local weapon = rs:WaitForChild("Weapon")
plrs.PlayerAdded:Connect(function(plr)
plr.CharacterAppearanceLoaded:Connect(function(char)
local rightArm = char:FindFirstChild("Right Arm")
local clonedWeapon = weapon:Clone()
clonedWeapon.Parent = char
local handle = clonedWeapon:FindFirstChild("Handle")
local cframeValue = clonedWeapon:FindFirstChild("Value")
local motor6d = Instance.new("Motor6D")
motor6d.part0 = rightArm
motor6d.part1 = handle
motor6d.C1 = cframeValue.Value
motor6d.Parent = handle
end)
end)
You the goat :]
@@iamLudius lol didnt excpect this xd
wow i mispelled every word
it should be capital P in part0 and part1 or it wont work
"how to make weapons like a pro" "okay first set up your weapon"
Nice video, keep it up!
THANK YOU SO MUCH
you absolute LEGEND, I have been making a punching system and I've been wondering how I add weapons, ty
Yeah, I say that too to this helper!
Bro i have 5 years experience and u help me a lot ty (for the cframe value, thats a thing i didnt know)
pls make more videos on weapons, ur rlly good at explaining things
part 2 is exactly what i need i hope he reachs that much likes
Part 2 is out now :]
0:00 great background music
I know right? Jajajajaja
this song is so trash bro
If the weapon doesn't spawn in your hand try replacing ("Right Arm") with ("RightHand")
Can't wait for part 2
Already out :]
ty
Another W vid!!
Dude, your insanely helpful, for around a week ive been trying to animate a rig with a sword, you just explained it thanks. Also what is that rig texture how can i use it?
its called a rig texture and ill find the shirt and pant ids or maybe ill just make a model for u
edit: its called a rig TEMPLATE texture
it got deleted
thankyou ludius
Happy to help :]
I always used weld constraints.. no wonder my animations never worked properly in studio..
did you use a pitchshifted SAO alicization song in your intro segue..?
Yessir!
guys there is the some code but includes sheat:
local plrs = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local weapon = rs:WaitForChild("Blade_katana")
local sheat = rs:WaitForChild("Blade_Sheat")
plrs.PlayerAdded:Connect(function(plr)
plr.CharacterAppearanceLoaded:Connect(function(char)
local rightArm = char:FindFirstChild("Right Arm")
local Torso = char:FindFirstChild("Torso")
local clonedWeapon = weapon:Clone()
local clonedSheat = sheat:Clone()
clonedWeapon.Parent = char
clonedSheat.Parent = char
local handle = clonedWeapon:FindFirstChild("Handle")
local sheathandle = clonedSheat:FindFirstChild("SheatHandle")
local cframeValue = clonedWeapon:FindFirstChild("Value")
local SheatCFrameValue = clonedSheat:FindFirstChild("Value")
local motor6d = Instance.new("Motor6D")
motor6d.Part0 = rightArm
motor6d.Part1 = handle
motor6d.C1 = cframeValue.Value
motor6d.Parent = handle
local motor6d = Instance.new("Motor6D")
motor6d.Part0 = Torso
motor6d.Part1 = sheathandle
motor6d.C1 = SheatCFrameValue.Value
motor6d.Parent = sheathandle
end)
end)
Unrelated question but what is the music you used during the begining of part 3 it slaps
(also thx man very cool 👍 tutorial)
but for some reason idk why it might be my model but i cant animate it its like as if it was welded on to the hand idk why
edit: nvm i fixed it
WHERE WE YOU WHEN I WAS MAKEİNG ANİMATİON TY MY GUY MY FRİEND MY SAVİOR
You saved my life.
waiting for part 2
It’s out now :]
MUSTARD ON THAT BEAT HOO
My brain is burning
are there atlternatives for moon animation? it cost money
you bro. YOU come always at the corrcet time, let's marry bro
so forward 😭
I’m always listening…
hi :3 UwU
Yo :]
@@iamLudius yø
can u maybe make a tut on how to make slots ui for our fighting sytles
The weapon is just spawn besides me and falling instead of in my hand what do i do, its not attached to me whatsoever
Nooo I was late to a luduis video 😢
Shame on you…
Im so sorry for watching the video so late don't worry Ill make up the 13 hours by gooning
After following the steps in this video (coincidentally, with the same sword model as well), when I try to actually animate the rig in Moon Animator, the sword has its position and rotation pivoted around the right arm instead of the handle. Is this how it's supposed to be? The animation turns out fine in the end, but I'm wondering if there's a way to fix this or work around it, since it's really annoying.
I found a solution: When animating, swap the values of C0 and C1 in the Motor6D, except with opposite signs (i.e. if C1 position is 0,1,0, then make C0 positon 0,-1,0). This does not change how it looks and makes animating it easier.
call me crazy but is that a new ludius original at 0:47? 😳
Maybe it is :]
Im a literal noob trying to follow this guide. I got it working but the hammer appears in my arm as a rock solid piece of weaponry pulling me to the 'coordinates' of the CFrame values I adjusted earlier. Not really sure how to make the weapon not pull me to a stuck weapon position
Im downloading stodio right now
Let’s gooo
My weapon is just a brick that shoots bullets, so i dont need a handle
Trying to make something similar to slap battles but with bats and advanced fighting moves
Combine this video with that one about hitboxes
hey uhhhh it used to work but now it doesent. (for animating) The body teleports to the weapon, and then the animating breaks. can anyone help me with this?
it works but only for my dummy not for the actual player and i did everything correctly
day 1 of asking ludius to personally teach me how to script
Oi, eu sou brasileiro e não sei se você vai ler ou entender esse comentário, mas se for eu quero te agradecer, eu conheci seu canal já aprendi várias coisas novas, e sim, saiba q você é conhecido internacionalmente, valeu denovo e falou!!!
great video
I did this but the sword is still in the dummies hands and only moves in the dummies hands
pls help
Check part 0 of the motor6d and make sure it’s set to the torso, I hope this helps. U may join the discord server if you want more help with this. I hope this helps tho :]
Also thanks for the comment!
@@iamLudius I keep spawning inside the dummy what I used to set up the sword I have no idea what happened
when ludius makes weapons it makes me act up...
why my sword isnt moving in moon animator :(
You probably attached it wrong, check the motor6D, make sure the weapon’s not anchored as well.
Also thanks for the comment :]
I followed the steps and at the end when i press play its nowhere to be seen, is anyone else having this issue? :(
it was probably un anchored and had collisions off, causing it to fall through the baseplate
Bro, there's no way ur using that song in the introduction of ur video lmao
Bro I went to go turn this on my TV to find out the top of the screen is shattered
Damn… thanks for the comment tho :]
why is the scripting accelerator so expensive
Is it possible to make it so when instead of multiple people being given the weapon when spawning instead it's only 1 specific player?
You can use an if statement and a variable to define who gets the weapon. Like
if plrowns == true then
--- rest of the code after characteradded
end
HOW DO I LOAD THE ANIMATION?? IT DOESNT JUST WORK(I GOT MY SWORD IN MY HAND BUT I CANT LOAD THE ANIMATION)(its an idle animation)
It doesent work. It says "Error(s) Detected with rig. The following parts are affected by mupltiple Motor6D"s. Right arm." Can someone help me with that?
make sure rightArm is part0..? idk tbh
I was wondering how would I do this for a tool?
when I make the animation, the weaponis rotating around the center of the arm.
bro where tf is part 2 😭
It’s out now :]
Why do you have to add another motor if their one already in it?
would it still work if it was a mesh?
how to weld
part 2 is the same as part 1, except its a different action lol
THATS IT?
JUST PUT 1 MOTOR 6D?
I SPENT DAYS FINDING A WAY TO ADD A THRUST TO MY SWORD
AND THIS WAS ALL I HAD TO DO?
Yessir, I hope it helps :]
Also thanks for the comment :]
HOLD LET HIM YAP!!!
First
You the goat :]
whats inside input manager
my motor6d wont even let me choose the part0 and part1 after i turned the handle and sword to massless. it let me before i turned the sword and handle to massless but it didnt go to the arm. idk what happened
ok i fixed the problem with it not letting me choose the parts. but now it still wont go to the arm?
fixed it
what do i do if the weapon is attached to the rig i animated with
why every time i set player to r6 when i test my avatar stay in r15?
can you make it so that the weapons show in first person?
How do I make it so that if a character has a certain value, the value is what decides which weapon is which?
LIKE A PRO
9 minutes more of gooning
whaat the input manager
why doesnt the weapon appear in my hand
What did he say had to be true at 1:54 in the video I couldn’t understand the word sorry:(
I said “massless”.
Thanks for the comment :]
where do i get the motor 6d
my weapon ain't swninging bruh help
why is the animation not working.
How do I set up sword?
Following tut 6:09
where dat vid pooks
Already out :]
That shi didnt work but I finna try again thx mane
Is it possible to make the weapon into a tool instead?
yea but idk how
Luduis Im Not The Hacker :)
Sureee…
@@iamLudius Donated 50 Rbx To Your Game
So bad at everything I get stuck on step 1 🙃
so anyone know how to insert the attack animation?
Say drake..
How m1s though
still visting your grave every week bro, these AI videos always cheer me up a little though🕊
Stop dragging on the joke bruh its literally been years
unfunny as shit
@@Tvpco. it HAS been years since ludius passing, and you thinking its a joke is deeply offending to his memory. please remove your comment
@@cenn2 😐
Extremly cringe
@@youraveragefamousjobless328 u are cringe
mless wtf
It's not related to the video the walkspeed of the player? for some reason this keep happening to me : Walkspeed is not a valid member of Humanoid "Workspace.Lucas_Tiro.Humanoid"
How can i change the walkspeed of the player?*
iwh824
Thanks for the comment :]
local plrs = game:GetService("Players")
local rs = game:GetService("ReplicatedStorage")
local weapon = rs:WaitForChild("Weapon")
plrs.PlayerAdded:Connect(function(plr)
plr.CharacterAppearanceLoaded:Connect(function(char)
local rightArm = char:FindFirstChild("Right Arm")
local clonedWeapon = weapon:Clone()
clonedWeapon.Parent = char
local handle = clonedWeapon:FindFirstChild("Handle")
local cframeValue = clonedWeapon:FindFirstChild("Value")
local motor6d = Instance.new("Motor6D")
motor6d.Part0 = rightArm
motor6d.Part1 = handle
motor6d.C1 = cframeValue.Value
motor6d.Parent = handle
end)
end)
BRO WTH IS WRONG WITH THIS SCRIPT
What is?