I found this channel several months ago and I was like "Man, I wish he made a tutorial on all this stuff." Low and behold, you did shortly after I moved on from Roblox animating. Following this tutorial is actually so simple and educational. 10/10.
Hey y’all another way to hitbox is to do get parts in bounds aswell as region3. They are lag free option for hit boxes and are worth learning how to do! Very good for area attacks and for hitboxing in general.
@@NinJaredXD I crashed my game by making a multi hit with touched event lmao. Maybe I did not do it right but region3 is definitely the way to go for multi hits.
thank you so much bro, your vids really inspire me to wanna learn developing. not to mention ive tried countless tutorials but they all end up failing and i learn almost nothing from them, but your tutorials are very easy to follow and dont focus as much on scripting. please keep making developing videos, ive never enjoyed making stuff on roblox studio more than when i follow your vids.
hey for the wait(), i reccomend replacing it by using it in the character variable like local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait() this is a much better way to actually wait for the player to load. anyways nice video!
instead of individually script multiple particles, just do for i, v in pairs() since it loops through the parts and search for a specific part without scripting them manually
For some reason it didn't work and said it had a problem with "RootPart", so I fixed that part. This is the new one: local ReplicatedStorage = game:WaitForChild("ReplicatedStorage") local Remote = script.Parent Remote.OnServerEvent:Connect(function(player, skill) local character = player.Character local RootPart = character:WaitForChild("HumanoidRootPart") local TweenService = game:GetService("TweenService")
if skill == "Explode" then local track = Instance.new("Animation") track.AnimationId = "rbxassetid:" local anim = character.Humanoid:LoadAnimation(track) anim:Play() end end)
Let me explain those Velocity orientations a little better... - VelocityParallel is based on its direction and could be used as a sword slash effect. This orientation can be annoying to use sometimes... - VelocityPerpendicular will face towards where it's heading, this is what you should use if you want to make particles appear on the ground with direction being Top and having 0.01~ speed. And then for the rotation there, -360, 360 is the same as -180, 180.
Bro is not working the error is the Debris i dont know what Debris mean but is not in the studio script, maybe because roblox studio update they remove the word Debris and they change the word to something else can you help me please.
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30 HELP ME OUT I BEG OF YOU, THE ANIMATION PLAYS BUT THE SFX DONT.
U need to make a folder named FX or if u don't have it in a folder FX is the name of the folder he used to store the particles in if i remember correctly so u can rename the folder to FX and it should work. also remember to have it in workspace
if you want, you could make a part 2 for the hitbox and multi/single hit part of the server script, along with visible cooldown indicator cuz i think some people need a full introduction to movesets, since there is barely anyone else on youtube doing that as of right now. you could use touched or magnitude they are both good as a a start
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30 HELP ME OUT I BEG OF YOU, THE ANIMATION PLAYS BUT THE SFX DONT. IT POINTS TO LINE 18 FOR ME, WHICH SAYS THIS "Effect.Parent = workspace.FX"
--So, I do know how code and I added damage but how do I make it not damage the caster? --code: local canHit = true script.Parent.Parent.ExplosionFX.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local player = game.Players:GetPlayerFromCharacter(hit.Parent) if canHit then canHit = false hit.Parent.Humanoid.Health -= 30 end end end)
@@Cuberg If people dont know what this meant "if hit.Parent == Character then return end" "If hit enemy is equal to a character stop the function below of it."
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30 HELP ME OUT I BEG OF YOU
Bro there was another tutorial which was like how to make a skill updated but it didn’t work. Can you make a better one than his. So basically just make a skill exactly like this but can do damage and be equipped as a gear and click so u can use on mobile. Please bro I really need this tutorial since I’m planning on making a battlegrounds game and if possible make a character selection tutorial. PLS BRO I NEED THIS TUTORIAL VERY BADLY AND I ENJOY WATCHING YOUR VIDS AND ITS SO FUN MAKING YOUR OWN ABILITIES AND EVERYTHING SO PLS HELP ME.
:O amazing, question are you able to make a tutorial that you can use this but as a tool so it’s mobile friendly and also tutorial on it doing damage? We would all appreciate it, we still appreciate this :D
Amazing, can you make another tutorial on how to make it work when clicked a gui button? Like in your games they are awesome and this helped a lot, please think about making gui button activation tutorial no one else makes a tutorial on it (not I seen) it would help so much 😊
Doubt youll respond, But why in my animator does it only allow me to animate Core body parts, i dont have 2 parts on each arm or leg just the entire leg.
Insert the scripts into whichever tool what you want. Then copy the code from the scripts you're editing, delete it and type: script.Parent.Equipped:Connect(function)
You'll need to get the player's mouse by using :GetMouse() iirc Then make either make a BodyVelocity or a tween that sets the effect's Position to the Mouse's Position
when i try to use the attack the particle stays for like 0.5 seconds but the scrit i put game.Debris:AddItem(Effect, 4) so it plays for 4 seconds and when i try to increase the number it still stays for 0.5 seconds help me pls
Hello! Sorry i'm late watching this right now, since i'm learning right now, but if you don't mind, how do you make your own particle effects? In case someone gets creative :D thanks!
I draw them on Ibis Paint, export the image -> transfer it into my laptop -> Open roblox website -> Create -> Upload decal -> Open Roblox studio and add a ParticleEmitter -> paste the decal's asset ID -> modify the particles properties. This is a summary of how I usually do it
@@NinJaredXD ooh i see, and also do you only specifically use that canvas to draw particles? and not gonna lie, how do you make your brushes get those tipped edges in the ends of the line? i cant seem to get that in krita or photoshop D: also wow didnt expect u to respond that fast :D
@@TheBlueWasabi Yeah, I always use the same 1x1 canvas, and also to get the line edges theres an option called force fade, basically makes your brushes sharper
For me it says something about "Stack End" after line 5 of my localscript, and it just doesnt play the animation. Is there a reason why? please help me
Does not work for some reason. I think that it is berceuse I am using a r6 player rig Local Script: wait(3) local UserInputService = game.GetService("UserInsertService") local Player = game.Players.LocalPlayer local Character = Player.Character local Remote = script.Remote local Key = "Z" local Cooldown = true UserInputService.InputBegan:Connect(function(Input, IsTyping) if IsTyping then return end local KeyPressed = Input.KeyCode if KeyPressed == Enum.KeyCode[Key] and Character and Cooldown == true then Cooldown = false
Remote:FireServer("Explode")
wait(14)
Cooldown = true
end end) Script: local ReplicatedStorge = game:WaitForChild("ReplicatedStorage") local Remote = script.Parent Remote.OnServerEvent:Connect(function(player, Skill) local Character = player.Character local RootPart = Character.HumanoidRootPart local TweenServicve = game:GetService("TweenService")
if Skill == "Explode" then local Track = Instance.new("Animation") Track.AnimationId = "rbxassetid://15277071925" local Anim = Character.Humanoid:LoadAnimation(Track) Anim:Play()
local offset = Vector3.new() -- in your case, Vector3.new(0,0,5), or something like that Part.CFrame = root.CFrame*CFrame.new(offset) -- should offset while keeping rotations of root.CFrame --source from devform
nothing is happening when i click r no animation plays and theres no errors in output i used a r6 rig and my avatar is r6 is there a reason?(fixed it was save to roblox not publish)
I found this channel several months ago and I was like "Man, I wish he made a tutorial on all this stuff." Low and behold, you did shortly after I moved on from Roblox animating.
Following this tutorial is actually so simple and educational. 10/10.
I really like the fact that you can't see behind the explosion effects. It overall looks better than REALLY transparent ones
No way he actually listens to his viewers but doesn't nerf the game bosses,amaaaazing!!!
I've been trying to learn roblox development for 6 years and have about a months progress, you're doing amazing
This was incredibly well done and not a detail was missed, great job!
Amazing Video! Usually when I watch a tutorial I get confused but you explained everything very well!
"Hippity Hoppity, your code is now my property."
Apple sauce has not been delivered yet
dani
this guy explains everything like a teacher lol
fr
"Now as you can see it looks garbage"
Too relatable
BRO DROPPED A BANGER TUTORIAL
i love how you talk !! you talk nicely
You are the best person ever thank you bro. (A year and a half later and now I'm about the same skill level as you.)
You're a very good content creator, you explain everything very well! ayos!
Words cannot describe how this video helped me by a ton. Keep it up!!
this was by far one of the few tutorials I have really understood tyy:DD
Wow one of the best tutorials I have ever seen. Amazing work bro, thanks for the video, god bless:)
Hey y’all another way to hitbox is to do get parts in bounds aswell as region3. They are lag free option for hit boxes and are worth learning how to do! Very good for area attacks and for hitboxing in general.
Hehe .Touched go brrrrrre
@@NinJaredXD I crashed my game by making a multi hit with touched event lmao. Maybe I did not do it right but region3 is definitely the way to go for multi hits.
GetPartsInPart :troll:
shapecasts are better
@@NinJaredXD how would you do a hitbox?
thank you so much bro, your vids really inspire me to wanna learn developing. not to mention ive tried countless tutorials but they all end up failing and i learn almost nothing from them, but your tutorials are very easy to follow and dont focus as much on scripting. please keep making developing videos, ive never enjoyed making stuff on roblox studio more than when i follow your vids.
hey for the wait(), i reccomend replacing it by using it in the character variable like
local Character = LocalPlayer.Character or LocalPlayer.CharacterAdded:Wait()
this is a much better way to actually wait for the player to load.
anyways nice video!
Thats very better, nice suggestion.
instead of individually script multiple particles,
just do for i, v in pairs() since it loops through the parts and search for a specific part without scripting them manually
This would be useful, incase if your model have lot of part or particles.
For some reason it didn't work and said it had a problem with "RootPart", so I fixed that part.
This is the new one:
local ReplicatedStorage = game:WaitForChild("ReplicatedStorage")
local Remote = script.Parent
Remote.OnServerEvent:Connect(function(player, skill)
local character = player.Character
local RootPart = character:WaitForChild("HumanoidRootPart")
local TweenService = game:GetService("TweenService")
if skill == "Explode" then
local track = Instance.new("Animation")
track.AnimationId = "rbxassetid:"
local anim = character.Humanoid:LoadAnimation(track)
anim:Play()
end
end)
your just a life saver. thats it
W you
thanks man thats why my animation wont work
i finally found someone that didnt use animation event, MY BASIC ANIMATION IS BROKEN
Isn’t that a bad thing.
@@Spooky90097 it got fixed
Let me explain those Velocity orientations a little better...
- VelocityParallel is based on its direction and could be used as a sword slash effect. This orientation can be annoying to use sometimes...
- VelocityPerpendicular will face towards where it's heading, this is what you should use if you want to make particles appear on the ground with direction being Top and having 0.01~ speed.
And then for the rotation there, -360, 360 is the same as -180, 180.
u really included so much in a single video. appreciate it a lot.
Bello, you probably won’t see this but I found your game randomly, and I think it’s cool
Very nice explosion
Epic
I’m taking this video as professional advice.
Now have fun professionally being a failure because of me
BROOO TYSM YOU JUST SAVED MY LIFE
Tysm its really usefull for me
nice bro good tutorial
I love this dude man.
Bro is not working the error is the Debris i dont know what Debris mean but is not in the studio script, maybe because roblox studio update they remove the word Debris and they change the word to something else can you help me please.
Really learned a lot of this video thanks
tysm you for the video, helped me alot.
Lol ik im late but ur local script has a end error. Add another end
It took 14:55 Minutes, Just for A Signal One attack. Awesome, Now i fear to make 6 attacks at 10 hours now.
helps a LOT thanks
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30
HELP ME OUT I BEG OF YOU, THE ANIMATION PLAYS BUT THE SFX DONT.
U need to make a folder named FX or if u don't have it in a folder FX is the name of the folder he used to store the particles in if i remember correctly so u can rename the folder to FX and it should work. also remember to have it in workspace
if you want, you could make a part 2 for the hitbox and multi/single hit part of the server script, along with visible cooldown indicator cuz i think some people need a full introduction to movesets, since there is barely anyone else on youtube doing that as of right now. you could use touched or magnitude they are both good as a a start
Maybe you are not looking.
yea pls
@@Spooky90097 ?
YES PLS BUT CAN BE EQUIPPED AS GEAR SO MOBILE PLAYERS CAN PLAY
Ty for the tutorial super greatful
thanks im almost learning now how to make a skill because of u and if i learned it i can make my game now
u awesome dude : D this helped
IT FINALLY WORKSSSSS AYYAYAYAYAYAYA
It says it’s not a valid member of local script
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30
HELP ME OUT I BEG OF YOU, THE ANIMATION PLAYS BUT THE SFX DONT. IT POINTS TO LINE 18 FOR ME, WHICH SAYS THIS "Effect.Parent = workspace.FX"
You don't have a folder in workspace named "FX".
All you need to do is add a folder named "FX" inside workspace
Just asking a question but do you plan on making any ABA contents cause I would love to see that
😭 😭 😭
2:16 it a marker for me to remember
i will take this video as professional advice
😭
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30
Add a folder in workspace called FX
--So, I do know how code and I added damage but how do I make it not damage the caster?
--code:
local canHit = true
script.Parent.Parent.ExplosionFX.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
if canHit then
canHit = false
hit.Parent.Humanoid.Health -= 30
end
end
end)
You could make the explosion hit in front of the caster
Don't use -= 30 use Humanoid:TakeDamage(30)
Also before the getplayerfrom character add this
if hit.Parent == Character then return end
@@Cuberg where should i put that?
before isnt specific enough for me
@@Cuberg If people dont know what this meant "if hit.Parent == Character then return end"
"If hit enemy is equal to a character stop the function below of it."
alright so one question for the "local key = "" " does it work with a mouse's left click
replace "if KeyPressed == Enum.KeyCode[Key]" with "if KeyPressed == Enum.UserInputType.MouseButton1"
@@gopark123 tysm
HELP SOMEONE PLEASE!? IM GETTING THIS ERROR "FX is not a valid member of Workspace "Workspace"" HELP?! IM AROUND THIS TIME IN THE VIDEO 11:30
HELP ME OUT I BEG OF YOU
did you put the folder in workspace? or did you make one? check the name and capitals
Yes, there should be a folder in workspace named "FX"
thanks!!
I LOVE THIS
can you make a part 2 for damage please it would really help
best tutorial i've seen and i was wondering if you would be able to do more
This got me into scripting
OOOOO who's jar of cookies is this?
The most simple one. Ty
Wdym it doesn't even work
@@zainsabir3851 Check your script you might have to make some small changes. I didnt realize i had to for a few mins after the cvideo
How can I make hitboxes and make it do damage?
0:12 why'd u break into critikal's house?
Bro there was another tutorial which was like how to make a skill updated but it didn’t work. Can you make a better one than his. So basically just make a skill exactly like this but can do damage and be equipped as a gear and click so u can use on mobile. Please bro I really need this tutorial since I’m planning on making a battlegrounds game and if possible make a character selection tutorial. PLS BRO I NEED THIS TUTORIAL VERY BADLY AND I ENJOY WATCHING YOUR VIDS AND ITS SO FUN MAKING YOUR OWN ABILITIES AND EVERYTHING SO PLS HELP ME.
i got an error when testing it 05:13 it said "Keycode is not a valid member of InputObject "InputObject". someone PLEASE help
Capitalize the C in KeyCode and it should work!
can you make a punch tutorial.great video btw
:O amazing, question are you able to make a tutorial that you can use this but as a tool so it’s mobile friendly and also tutorial on it doing damage? We would all appreciate it, we still appreciate this :D
the first couple of times the particles spawns where they supposed to but sometimes they randomly switch location
Thanks so much now I can make bomb fruit
How to make it do dmg though ?
That's the easiest part
@@Devmaxxer meh didn't seem easy to me , tell me how to do it
Amazing, can you make another tutorial on how to make it work when clicked a gui button? Like in your games they are awesome and this helped a lot, please think about making gui button activation tutorial no one else makes a tutorial on it (not I seen) it would help so much 😊
Doubt youll respond, But why in my animator does it only allow me to animate Core body parts, i dont have 2 parts on each arm or leg just the entire leg.
this vid helped me a lot but isnt there a way to keep the effects u added in the animation instead of adding them in scripting?
you can also make a super saiyan script just by changing the fx and duration
is there a way to make it like this but for a weapon like a wand?
Insert the scripts into whichever tool what you want. Then copy the code from the scripts you're editing, delete it and type: script.Parent.Equipped:Connect(function)
how would u make the effect appear where your mouse is pointing? I'm making a battlegrounds game and I'm making a ranged explosion attack for a skill
You'll need to get the player's mouse by using :GetMouse() iirc
Then make either make a BodyVelocity or a tween that sets the effect's Position to the Mouse's Position
poderia tentar fazer a bomba do Netero?
when i try to use the attack the particle stays for like 0.5 seconds but the scrit i put game.Debris:AddItem(Effect, 4) so it plays for 4 seconds and when i try to increase the number it still stays for 0.5 seconds help me pls
how would i make the move proc in front of me and not on me?
local KeyPressed = Input.Keycode Keycode is not a valid member of InputObject "InputObject" Help pls
Should be "KeyCode"
Capital "C"
ty
thats the best tutorial i ever seen thank you but how can i change the size of this?
also one more thing, setting the cframe of any part, also sets its orientation to be the same as the other part
What if i can't do animations i tried for and hour now i can do everything else but tha
hey can we use a sword for the animation btw i use moon animator
Hello! Sorry i'm late watching this right now, since i'm learning right now, but if you don't mind, how do you make your own particle effects? In case someone gets creative :D thanks!
I draw them on Ibis Paint, export the image -> transfer it into my laptop -> Open roblox website -> Create -> Upload decal -> Open Roblox studio and add a ParticleEmitter -> paste the decal's asset ID -> modify the particles properties.
This is a summary of how I usually do it
@@NinJaredXD ooh i see, and also do you only specifically use that canvas to draw particles? and not gonna lie, how do you make your brushes get those tipped edges in the ends of the line? i cant seem to get that in krita or photoshop D: also wow didnt expect u to respond that fast :D
@@TheBlueWasabi Yeah, I always use the same 1x1 canvas, and also to get the line edges theres an option called force fade, basically makes your brushes sharper
@@NinJaredXD ahh i see, and also the force fade makes the 2 edges of my line have a sharp tip?
Are you mangodev?
Also why did you add a wait?
Idk what a mango dev is, wait is to wait for stuff to load
@@NinJaredXD mangodev is a RUclipsr who sounds like u
I dunno if it is just me but when I go to publish and try to do it just does not show the save option
For me it says something about "Stack End" after line 5 of my localscript, and it just doesnt play the animation. Is there a reason why? please help me
Can you make so when the attack hit somebody, it will take damage or instantly kill someone.
where did you get all those effects?
uhm question how do you make the buttons for mobile cuz my friend is mobile and hes mad he cant play XD
Pls can you make to particle Killing other peoples?
Pls
Pls im 590 who likes
im back one more question how to put it on tools?
Is it just me or it doesn't so dmg
How do I make it so dmg thougggh
How do i make it so the particles keep following the player? i made it so the player can move
also how would you connect a particle to your hand? also how do you make the particles keep spawning for longer
it doesnt work for me it says remoteEvent is not a valid member of local script and onserverevent isnt a valid member of backpack?
Does not work for some reason. I think that it is berceuse I am using a r6 player rig
Local Script:
wait(3)
local UserInputService = game.GetService("UserInsertService")
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Remote = script.Remote
local Key = "Z"
local Cooldown = true
UserInputService.InputBegan:Connect(function(Input, IsTyping)
if IsTyping then return end
local KeyPressed = Input.KeyCode
if KeyPressed == Enum.KeyCode[Key] and Character and Cooldown == true then
Cooldown = false
Remote:FireServer("Explode")
wait(14)
Cooldown = true
end
end)
Script:
local ReplicatedStorge = game:WaitForChild("ReplicatedStorage")
local Remote = script.Parent
Remote.OnServerEvent:Connect(function(player, Skill)
local Character = player.Character
local RootPart = Character.HumanoidRootPart
local TweenServicve = game:GetService("TweenService")
if Skill == "Explode" then
local Track = Instance.new("Animation")
Track.AnimationId = "rbxassetid://15277071925"
local Anim = Character.Humanoid:LoadAnimation(Track)
Anim:Play()
local Effect = ReplicatedStorge.Effects.ExplosionFX:Clone()
Effect.CFrame = RootPart.CFrame
Effect.Orientation = RootPart.Orientation
Effect.Parent = workspace.FX
game.Debris:AddItem(Effect,0.5)
wait(0.4)
Effect.A.P1:Emit(20)
Effect.P2:Emit(30)
wait(0.2)
Effect.A.P3:Emit(20)
Effect.A.P4:Emit(10)
end
end)
Can you open the Output Tab and check what error it says
Can you open the Output Tab and check what error it says
Note R6 animations dont run on a R15 :D
i need help my animation and effects only play once do you know a way to fix this
edit: also how do i make a second ability in the game
What should I use to make this effect shoot forward?
You can use either tweenservice or add a BodyVelocity to the Part and uncheck the Anchored value
local offset = Vector3.new() -- in your case, Vector3.new(0,0,5), or something like that
Part.CFrame = root.CFrame*CFrame.new(offset) -- should offset while keeping rotations of root.CFrame
--source from devform
nothing is happening when i click r no animation plays and theres no errors in output i used a r6 rig and my avatar is r6 is there a reason?(fixed it was save to roblox not publish)