How to make a SKILL in ROBLOX STUDIO!
ฝัง
- เผยแพร่เมื่อ 10 ก.ค. 2024
- How to make a Skill in Roblox Studio
This video has damage included unlike the last one!!
This is a tutorial about making a Skill/Power in Roblox Studio. Make sure to subscribe and leave a like!
Thanks so much for watching!
VFX Tutorial: • How to make EXPLOSION ...
Chapters:
0:00 Intro
0:49 Scripting
2:45 Animation
3:15 Scripting again
4:48 Charge Particles
7:22 Scripting again again
14:38 Info
15:09 Outro
Music used:
Animal Crossing - Able Sisters: • Able Sisters (Sabel & ...
SMS - Delfino Plaza: • Super Mario Sunshine -...
TLoZ:OoT - Shop: • Shop - The Legend of Z...
Wii Shop Channel - Shop: • Wii Shop Channel Main ...
Wii Sports - Title: • Wii Sports - Title (HQ)
Yoshi's Island - Flower Garden: • Yoshi's Island OST - F...
Mii Channel - Plaza: • Mii Channel - Plaza Th...
TLoZ:SS - Groose's Theme: • Groose's Theme - The L...
roblox particle,roblox tutorials,lighting tutorials,roblox studio,roblox plugin,roblox anime vfx,modeling tutorials,building tutorials,lighting,particles,particle tutorials,particle emitter,lights,modeling,building,roblox vfx,vfx tutorials,light,roblox,studio,tutorials,gaming,builds,models,blender,tutorial,build,games,model,plugins,help,game - เกม
you now have another sub. awesome video man.
Your awesome man keep up the good work!!!
Exactly what I needed
Thank you for the ability tutorial.
Great Video!
There is an insane amount of memory leaks in this tutorial. Really great for helping people understand the functionality of how the process would look though. Great job!
tell us where and how to remove them pls i need to learn how to stop them pls pls
@@noobfartIn this script, everytime the tool is Equipped, it creates a new InputBegan connection. Meaning, it’s constantly creating new connections, it only doesn’t fire multiple times because of the debounce. But I guarantee that if you were to unequip it and press the keybind, it’ll still run the code.
@@alexendarkehow do you fix that
@@alexendarke I got you, new connection is created and not the same event handler doing its job every time the event happens, leaving garbage on the heap memory , i.e. memory leaks. We could fix that using a bool value for signaling equipped or unequipped of the tool I guess.
@@alexendarke the vid also did not destroy or debris the hitbox, but generally saying, a good learning vid
Really good video the only thing i recommend is having vfx be client sided rather than server since its better for performance and reduces the load on the server
well then people in the game will not see it, and it will just play the animation for others
@@SnakesRobbs When you fire a remote to the client instead of doing remote:fireclient() you can do remote:fireallclients() which will allow you to render the vfx for every client and not increase the load on the server
Jesus is lord follow him and you will be saved..
@@SnakesRobbs Jesus is lord follow him and you will be saved..
@@victorpena2566 Jesus is lord follow him and you will be saved..
Nice video :)
For anyone who says this isn't working for them, make sure to set your part used to hold the VFX to Anchored.
You can do this in the script or in the Explorer.
Ex. partName.Anchored = true
Mine says that Walkspeed isnt a valid member of the model "Workspace.ipadtofu"
Can u help in any way? I dunno how to fix the error
@@Ehehehhdj that means u are accessing the character not the characters humanoid just add an .Humanoid
my anims and effects arent playing
Do yk how to make the charge particles actually get on me? I did everything in the vid, but once I equip the thing it just shows it in the box instead of on me+the animation.
@@ethankirkland2018 uh i quess you have to attach the attachment to a BodyPart but im not sure
Good! Video! :D
I love your vids because you always choose quality over quantity which is good, anyways I have a suggestion. Could you make a tutorial about a skill that you hold down and your character gets stuck in place and constantly looks at your mouse cursor, then when you let go of the key the skill releases, you stop looking at your cursor and you get unstuck? (I've tried making a system like this many times and I think im getting there but I have no idea what the best way to make one is and there's basically no tutorials on this topic AT ALL. also for reference I'm talking about attacks similar to blox fruits/gpo)
Jesus is lord follow him and you will be saved..
@@amanewithjesus5244 Yeah.
@@amanewithjesus5244 can he help me with scripting
good idea😀
use bodygyro to make the character look at the cursor and then use body position to make the character stand still. A video to learn this is fireball tutorial by Ampro
This is something i can actually understand (I'm a beginner) good job 😀 Btw i think u should make a vid about scripting Gui's since it's like in almost every game and i can't find any tutorials that aren't super long
Edit: U deserve more subs and likes ur vids are really good quality
Im subbing ty
ur my fav for learning how to dev
Jesus is lord follow him and you will be saved..
ikr this guy is the best even though he doesnt talk he still explains stuff and i understand
@@amanewithjesus5244I don't see him making videos about how to do this
@@realmadduck2464 fr
For the input began I would make a local variable that’s above the equipped function called local input then you would do input = uis.InputBegan(continued) then in tool.unequipped function your disconnect it to prevent memory leaks
thank you so much omg, because you i can make my own ability
Dont suffer.
local db - false local dbtime
local uis - game:GetService ("UserInputService")
local remote - script. Parent:WaitForChild ("RemoteEvent")
• script. Parent. Equipped: Connect (function () uis. InputBegan:Connect (function (anput, istypina)
11 istyping then return end if input. KeyCode Enum. KeyCode. E then
if db
raise then
db
Local char = script.Parent. Parent
local humanoid - char: FindFirstChild ("Humanoid")
Local prevws = humanoid. WalkSpeed
humanoid.WalkSpeed - 0
Local anim = humanoid. Animator: LoadAnimation script.Animation
wait (dbtime)
false
end
end end)
love you so much
Very good video, but can I ask you one question? Can you make a tutorial on how to make an ultimate bar? That would be very cool!
Jesus is lord follow him and you will be saved..
pro video
It's awesome!, what about laser beam?
Thanks bro
You should totally do an advanced series about a skill framework
Jesus is lord follow him and you will be saved..
1:26 "this is the part you skip if you want a click based skill, not a keybind" does that mean to finish putting in the function(input)? or do I not write the UIS part? Also do I start back with the tool at 1:45 with the start of debounce stuff?
Basically if you want a click based skill, there's no need to write the if statement enum.keycode... as shown in the line 10. Keep everything else. Ask if you are still unsure about anything.
this is a good video!
thanks!
I just have a small question, how do I change the CFrame to be in front of the character?
@@theninjajayden7869 Try using the lookvector of the humanoidRootPart
As a starting Roblox dev this really helped, thank you!
Happy to help!
btw guys i recommend watching this video to understand it and if you don't know the basic then it's gonna be hard
if you don't understand the script then you probably won't able to do it or you're gonna miss something thats why lot of people has issues doing it i had the same problem when i watch the video for the first time
Still goated music
video about -menu skills like blox fruit- or earth break skill
edited: make a tutorial how to make the effect of breaking the earth with blocks pls
You are criminally underrated.
tysm
I suggest using the debounce on the server not the client.
Can u make a homing spear attack, like its a spear but u throw it when u throw it it follows a player/(expect the player that's throwing it)
the script works perfectly fine except for one part : the charge
the animation works perfectly fine but the charge particcles (and only the charge particles) won't appear and there will be an error upon charge that says " Players.[Username].Backpack.Explosion.Script:6: attempt to index nil with 'Clone' "
i double checked the code and there's no mistake everywhere where there's code related to the charge so i don't really know why the error occurs
Did you out :Clone()?
Jesus is lord follow him and you will be saved..
Jesus is lord follow him and you will be saved..
@@evil5766 Jesus is lord follow him and you will be saved..
@@amanewithjesus5244 i think you missed the 12th to 21st century updates we ain't in the crusades anymore 💀
When I made the vfx the charged fx came when the explosion was meant to happen
Can you make earth skill next. I really need one.
so im trying to make a tcm type game and i want it to be where the characters have a certain ability do you know how to do so...? cuz all i see is anime abilities on youtube when i don't care for that stuff
can you do an update projectiles one next?
can u make a cooldown like in tsb when u use the move?
i was wondering if you could do a beam where theres like 3 stages, first stage a animation plays for a time period then switches to the other one after the time period is up, for the 2nd stage vfx spawns out of thin air and another animation plays until let go and when you let go the 3rd stage happens, 3rd stage is when the beam comes out,
Thats a good idea! I will consider it
@@SnakesRobbs alright thanks for even replying
please do more ability conent, maybe a projectile? like a bolt that deals damage when hitting a player or a flight ability?
I've done a projectile video, check my channel!
what do you use to edit
I've got a question
It's about your projectile tutorial, but I feel like it would be more fitting here.
In this video, you show how to bind it to another key instead of click, so, can I do the same with the projectile from one of your videos?
of course!
@@SnakesRobbs Thank you!
how do u connect an mesh part inside a dummy's body i mean how do u connect a mesh part skill for it to be an animation skill
for some reson my explosin particle is not plying
can someone help me with the script for localscript?
it does not work when i type it in
Does anyone know if there's a way to make the effects stick to the character?
and if you can make it disappear after a little bit?
enable lock to part
@@nivea4591 thanks man
Please teach how to make a grab atack/move i realy need it for a game im making [one punch man game, its for garou]
Tutorial how to make sword skill with dash animation
can u make this into a model or not cus i tried this it didnt work
the VFX is not emit particles on the local server side. I test it all, but i don´t find the problem ;(
pd: in server side it works
Is there a way you could make the skill into a counter ability?
it work but it didnt show to explosionparticle emit, how to use Emit Correctly PLEASE HELPP
Does anybody know how to get the id/ save the animation in moon animator?
how to make the vfx follow the arm?
if you reset or die, your power gives trouble?
you can make tutorial skill like jajanken in hunter x hunter ?
can you show us how to make a ultimate metrt
I was fascinated by the tutorial and it has been of great help to me, but when it comes to putting ":Emit" in the script for the explosion, I only get the effects on the server side, on the local side I don't get anything. I've reviewed the video several times, but I haven't seen anything wrong. I have also tried setting it to enabled, and it does work for me, but it does not work with emit.
I have also seen another person in the comments who had the same thing happen to them. Please tell me what I can have wrong. Thank you
(if you find any errors in the text, I'm sorry, I'm from another language and I'm using the translator xdd)
Hello! I think I know the reason why such thing is happening. Emit function gets run right after it got parented into the workspace, to fix this you can add a millisecond or lesser to wait for the Particles to get loaded in the workspace as the Particles is not preloaded when transferring from the server side to the local client. This is only from what I've experienced and I could be completely wrong but this same thing happened to me too.
@@ETHYRSOUL Hello, as soon as I read the message I tried it, and changing that now works for me. Thank you very much, I was searching for a long time but I didn't find anything. I apreciate it :)
@@ETHYRSOUL please help me how to do that
Video about shields or something idk
its not working for me and i dont know why
when i press the keybind nothing happens
How can I make time so that I can use skillafter a few seconds?
how do i make auto active?
Can u make vfx tutorial like lightining
i think you got your lightning tutorial
does this still works on mobile users?
I’m using r15 for explosion, I did everything in the video but my animations won’t play nor will my particles charge on me
Maybe you need to change "Torso" to "UpperTorso"? If that doesn't work, Can you send your script?
it doesnt work unfortunately idk if its out dated but lmk if yall have the same problems
updated sword ability next?
here is the local script
have fun ;)
local db = false
local dbtime = 3
local uis = game:GetService("UserInputService")
local remote = script.Parent:WaitForChild("RemoteEvent")
script.Parent.Equipped:Connect(function()
uis.InputBegan:Connect(function(input, istyping)
if istyping then return end
if input.KeyCode == Enum.KeyCode.E then
if db == false then
db = true
local char = script.Parent.Parent
local humanoid = char:FindFirstChild("Humanoid")
local prevwes = humanoid.WalkSpeed
humanoid.WalkSpeed = 0
local anim = humanoid.Animator:LoadAnimation(script.Animation)
anim:Play()
anim:GetMarkerReachedSignal("explode"):Connect(function(parameter)
print(parameter)
remote:FireServer("explode")
wait(0.5)
humanoid.WalkSpeed = prevwes
end)
wait(dbtime)
db = false
end
end
end)
end)
you should type the scripts in the chat that makes it much better
not all heroes have capes.
the hitbox doesnt work
it works fine for me but it wont deal damage, can someone help?
i cant see the numbers in animation
can we hired you?
I know this sounds really lazy but can someone just put all the script into one comment? I just dont have the time to do this and are sorta in a rush
It does not works for me for some reasons
It just doesnt work for me. Animatiom doesnt even play. Btw where did u put the animation id?
Same for me
What do you use to emit the particles one time?
:Emit(amount of particles to emit)
@@SnakesRobbs thank you so much, but in commands?
@@alekperma6242 what do you mean in commands?
@@SnakesRobbs sorry, i wasnt clear. I meant execute a command, or just make a button with this?
nothing is working
For some reason, the charge particles and animation aren’t appearing on me. I have the tool, it just doesn’t work. Any suggestions?
you need to anchor the chargeparticles part
@@lexusupraisntfamous2832 i did but it doesnt work
2:45
its blurry i cant see anything
the marker feature isnt working for me and i tried debugging but nothing appears in the output of the server script
Did you create the marker? Silly question but it could happen
@@SnakesRobbs yeah i did and i made sure i used the right spellings
cant u just give the scripts so we copy and paste it
where or how did you learn to do this
i am skile
Good thing its not working🤡🤡 theres a = what has a red line and also the animation is not loading i did it 3 times and nothing,
Could we use our own particles perhaps?
Also, how to make it r 15
@@Eyooooz from setting of you mean your character r15
if you means dummy you can just spawn r15
How to make it not place a square everytime?
destroy the charge particle part after disabling the particle emiter which is inside of it btw u can just clone the particle inside of the part then put it into of your character's root instead of cloning the part idk why he did that
i think i did somehing wrong, the particles wont be to the player and the animations not playing heres the scripts:
lOCAL:local db = false
local dbtime = 3
local uis = game:GetService("UserInputService")
local remote = script.Parent:WaitForChild("RemoteEvent")
script.Parent.Equipped:Connect(function()
uis.InputBegan:Connect(function(input, istyping)
if istyping then return end
if input.KeyCode == Enum.KeyCode.E then
if db == false then
db = true
local char = script.Parent.Parent
local humanoid = char:FindFirstChild("Humanoid")
local prevws = humanoid.WalkSpeed
humanoid.WalkSpeed = 0
local anim = humanoid.Animator:LoadAnimation(script.SlayerMark)
anim:Play()
anim:GetMarkerReachedSignal("charge") :Connect(function(parameter)
print(parameter)
remote:FireServer("charge")
wait(0.5)
humanoid.WalkSpeed = prevws
end)
anim:GetMarkerReachedSignal("explode") :Connect(function(parameter)
print(parameter)
remote:FireServer("explode")
wait(0.5)
humanoid.WalkSpeed = prevws
end)
wait(dbtime)
db = false
end
end
end)
end)
scipt:local remote = script.Parent:WaitForChild("RemoteEvent")
remote.OnServerEvent:Connect(function(player, parameter)
if parameter == "charge" then
local char = player.Character or player.CharacterAdded:Wait()
local charge = script:FindFirstChild("charge") :Clone()
charge.Parent = char
charge.CFrame = char.HumanoidRootPart.CFrame
for i,v in pairs(charge.charge:GetChildren()) do
local emitCount = v:GetAttribute("EmitCount")
v:Emit(emitCount)
end
end
end)
Service script : local remote = script.Parent:WaitForChild("RemoteEvent")
remote.OnServerEvent:Connect(function(player, parameter)
if parameter == "Charge" then
local char = player.Character or player.CharacterAdded:Wait()
local chargeParticles = script:FindFirstChild("ChargeParticles") :Clone()
chargeParticles.Parent = char
chargeParticles.CFrame = char.Torso.CFrame
chargeParticles.ParticleEmitter.Enable = true
wait(0.5)
chargeParticles.ParticleEmitter.Enable = false
wait(chargeParticles.ParticleEmitter.Lifetime.Max)
chargeParticles:Destroy()
end
end)
ahh come on why it is not working for me whyyyyyyyyyyyyyyyyyyyyyy]
it doesn't work for me
isn't working for me animaition and particles
Can you send your script?
5:24
._. what happens if i have no markers ;-;
cuz i dont got that type of plugin ;-;
these markers are created without plugins
you can just use "wait()" after you play the animation and just try to find the correct time in the animation to fire the remote
How Do I Make Skill With My Fists?
i might make a tutorial for that
8:37
how did you learn coding?
by accident
bro isnt spawning vfx on server side bad practice?
?
local db = false
local dbtime = 3
local uis = game:GetService("UserInputService")
local remote = script.Parent:WaitForChild("RemoteEvent")
script.Parent.Equipped:Connect(function()
uis.InputBegan:Connect(function(input, istyping)
if istyping then return end
if input.KeyCode == Enum.KeyCode.E then
if db == false then
db = true
local char = script.Parent.Parent
local humanoid = char:FindFirstChild("Humanoid")
local prevws = humanoid.WalkSpeed
humanoid.WalkSpeed = 0
local anim = humanoid.Animator:LoadAnimation(script.Animation)
anim:Play()
anim:GetMarkerReachedSignal("Charge"):Connect(function(parameter)
print(parameter)
remote:FireServer("Charge")
end)
anim:GetMarkerReachedSignal("Explode"):Connect(function(parameter)
print(parameter)
remote:FireServer("Explode")
wait(0.5)
humanoid.WalkSpeed = prevws
end)
wait(dbtime)
db = false
end
end
end)
end) i did it but it wont work whats wrong?
it didnt work bc at 1:36 u did something wrong