How To Make A Fireball Projectile | Roblox Studio

  Рет қаралды 12,714

Ludius

Ludius

Күн бұрын

Пікірлер: 96
@Josh-vv7gx
@Josh-vv7gx Жыл бұрын
I love how you broke every part down, amazing tutorial man. I'm trying to get back into scripting but I basically need to restart as its been a year, I followed because you are the best guy for scripting that I have ever found. Amazing video btw, I am looking forward to a part 2.
@iamLudius
@iamLudius Жыл бұрын
Thanks for the positive comment man I'll be doing a part two then :]
@DarkHunter044
@DarkHunter044 Ай бұрын
​@@iamLudiuswill the input keycode Work for mobile clicks or need click detector and MouseButton1Click???
@Chxrrypie
@Chxrrypie Жыл бұрын
Nice tutorial! Btw thanks for teaching the stuff I requested in the devcall! It is really fun and I liked how detailed you were in all of the stuff you taught! I hope to see you again in the next upcoming devcall!
@iamLudius
@iamLudius Жыл бұрын
You're welcome, thanks for the comment and see ya in the next dev call :]
@corbinwalton9996
@corbinwalton9996 9 ай бұрын
oh my gosh this is the only good projectile tutorial that is recent, thank you SO MCUH!
@chuanchay6976
@chuanchay6976 Жыл бұрын
Epic vid as always ! Hope u keep doing more tutorials
@novaify9144
@novaify9144 6 ай бұрын
i love this so much! Unlike most tutorials, u actually explains what the different things does.
@ChillinNoob
@ChillinNoob Жыл бұрын
ludius thanks to you ive been able to start learning to script! I have a dream game and as a young person i can imagine it so well.
@iamLudius
@iamLudius Жыл бұрын
This is awesome to know man! I'm happy I was able to inspire you to take those first steps, best of luck on your dev journey :]
@Developer_Shark
@Developer_Shark 11 ай бұрын
Thanks for the tutorial it really helped
@iamLudius
@iamLudius 11 ай бұрын
Thanks for watching the video :]
@KexaStudio
@KexaStudio Ай бұрын
The scripts don't working! check if I made a mistake somewhere, tell me pls :( -- StarterCharacter Scripts - InputManager local userInputService = game:GetService(`UserInputService`) local replicatedStorage = game:GetService(`ReplicatedStorage`) local fireballFolder = replicatedStorage:WaitForChild(`Fireball`) local remoteEvent = fireballFolder:WaitForChild(`RemoteEvent`) userInputService.InputEnded:Connect(function(input, gameProcessedEvent) if not gameProcessedEvent then if input.KeyCode == Enum.KeyCode.F then remoteEvent:FireServer() end end end) -- ServerScriptService - Fireball local replicatedStorage = game:GetService(`ReplicatedStorage`) local fireballFolder = replicatedStorage:WaitForChild(`Fireball`) local remoteEvent = fireballFolder:WaitForChild(`RemoteEvent`) remoteEvent.OnServerEvent:Connect(function(plr) local character = plr.Character if character then local humanoidRootPart = character:FindFirstChild(`HumanoidRootPart`) if humanoidRootPart then local fireball = fireballFolder:WaitForChild(`Fireball`):Clone() fireball.CFrame = humanoidRootPart.CFrame + CFrame.new(0, 0.5, -1) fireball.Parent = workspace local bodyVelocity = Instance.new(`BodyVelocity`) bodyVelocity.MaxForce = Vector3.new(100000, 100000, 100000) bodyVelocity.Velocity = humanoidRootPart.CFrame.LookVector + 100 bodyVelocity.Parent = fireball end end end) -- I didn't forget to create the remoteevent and Fireball part (RiplicatedStorage)
@QuadraticFurmula
@QuadraticFurmula 23 күн бұрын
you probably dont need this anymore but i noticed you did +100 instead of * 100
@ErenPotter
@ErenPotter 20 күн бұрын
bodyvelocity is deprecated
@Soly5112
@Soly5112 11 ай бұрын
Amazing tutorial dude
@iamLudius
@iamLudius 11 ай бұрын
Thanks bro :]
@tricksen
@tricksen Жыл бұрын
W video 🔥Maybe a SetNetworkOwner tutorial?
@iamLudius
@iamLudius Жыл бұрын
Part 2 includes SetNetworkOwner tutorial, so maybe part 2?
@tricksen
@tricksen Жыл бұрын
@@iamLudius yesss part 2
@WizardKingChelly
@WizardKingChelly 11 ай бұрын
@@iamLudius pls make part 2
@ComicHeroesOfficialYT
@ComicHeroesOfficialYT 7 ай бұрын
i wish that my script worked but ty for making me understand lua abit more
@aabd-fj9tq
@aabd-fj9tq 5 ай бұрын
It work but the ball will shoot where you facing at first shot but if you do it again it will be the same spot that you facing at first shoot i hope someone understands my broken English and tell my what i did worng
@goku_black-zl1c
@goku_black-zl1c 4 ай бұрын
Amazing tutorial! Btw maybe can u tell me how do I add an animation to that?
@JimmyButBetter
@JimmyButBetter Жыл бұрын
2:40 for two years, i did not know this now i do.
@iamLudius
@iamLudius Жыл бұрын
Thanks for the comment :]
@unfortunate4you
@unfortunate4you Жыл бұрын
Please do a part 2
@iamLudius
@iamLudius Жыл бұрын
Alright then, I'll do part two :]
@thalaor
@thalaor 4 ай бұрын
tysm this helped alot
@positroniic
@positroniic Жыл бұрын
Liked and subscribed! By the way, how would you apply a cooldown to this so you can't just spam it?
@iamLudius
@iamLudius 11 ай бұрын
Kinda hard to explain it in the comments, maybe ask it in the discord?
@positroniic
@positroniic 11 ай бұрын
ok dokay@@iamLudius
@frostbyte-64
@frostbyte-64 11 ай бұрын
you can actually do math.huge on the x y and z of the max force because math.huge is just a BIG number
@hikchik2065
@hikchik2065 8 ай бұрын
Why my projectile is just becomes parent of workspace and doesnt change it's cframe and bodyvelocity doesnt apply to it
@rev69anime
@rev69anime 8 ай бұрын
same
@pedrorodriguesdossantos746
@pedrorodriguesdossantos746 11 ай бұрын
This can be an example of doing a lot of things, now let's get more complicated, what if I wanted the projectile to penetrate structures with defined widths? There is no video about this
@pedrorodriguesdossantos746
@pedrorodriguesdossantos746 11 ай бұрын
I would use this as an example to make ammunition that penetrates a wall
@iamLudius
@iamLudius 11 ай бұрын
You’d have to make a way for the script to identify which structures it’s allowed to collide or interact with
@kolysov
@kolysov 5 ай бұрын
Thank you for this lesson) Could you help me please? When you create a new ball with LinearVelocity there is a small delay before the ball starts moving. The same problem with Part.Velocity for example. Is there any way to remove this delay?
@taimu4624
@taimu4624 Жыл бұрын
🔥
@iamLudius
@iamLudius Жыл бұрын
🔥
@Dankyfox-dl3fx
@Dankyfox-dl3fx 8 ай бұрын
PLEASEEE POST THE PART 2 of it ...i want to understand the animation PLEASE PLEASE PLEASEPLEASE PLEASEPLEASE PLEASE PLEASE PLEASE PLEASEPLEASE
@Deltasens
@Deltasens 4 ай бұрын
it doesnt work for me there arent any thing wrong in the output window
@DDog09
@DDog09 9 ай бұрын
Would it be a good idea as well to have the visuals of the fireball on the client for smoothness?
@abounded_j5557
@abounded_j5557 4 ай бұрын
i can't even use these tutorials because half of them never work why can't any tutorials not be outdated
@fariss.m
@fariss.m Жыл бұрын
First!
@iamLudius
@iamLudius Жыл бұрын
Thanks for the support man :]
@phazeyt
@phazeyt 6 ай бұрын
Nice tutorial man but where is part 2? Just asking kk
@MuhammadAamir94
@MuhammadAamir94 2 ай бұрын
can we get a part 2
@infinitymane9948
@infinitymane9948 6 ай бұрын
ay bru how do u remove the delay w the bodyvelocity thing
@Jairmbwn
@Jairmbwn Жыл бұрын
It says that InputObject number is invalid
@iamLudius
@iamLudius Жыл бұрын
I see what you're doing
@mcrafterpro563
@mcrafterpro563 Жыл бұрын
w vid
@iamLudius
@iamLudius Жыл бұрын
W Comment
@FWS_Sinister
@FWS_Sinister 8 ай бұрын
can u make a vfx tutorial pls
@ruster644
@ruster644 9 ай бұрын
is there a way to make it shoot multiple fireballs?
@ultrabob2532
@ultrabob2532 6 ай бұрын
try putting all the projectile creation code inside a for loop
@elite_scientist_tv_man
@elite_scientist_tv_man 2 ай бұрын
where is part two
@OnlyFable
@OnlyFable 7 ай бұрын
Where is part 2?
@anthonykrasko5264
@anthonykrasko5264 7 ай бұрын
it deosnt work
@tazdidiscool6235
@tazdidiscool6235 5 ай бұрын
check for any spelling or capitalization errors
@NinjaClash0
@NinjaClash0 5 ай бұрын
Maybe ask ChatGPT and ask to give you the errors
@tazdidiscool6235
@tazdidiscool6235 5 ай бұрын
@Ninjaclash0 there is an output tab in Roblox studio that shows you what is wrong, ChatGPT is useful but it needs your help a lot to fix the problem
@Hi_there_this_is_SJ
@Hi_there_this_is_SJ Ай бұрын
I can't see my fire ball
@Quantum-hw2hu
@Quantum-hw2hu Ай бұрын
\Please make a part 2!!!!!!!!
@Ooga_OnYT
@Ooga_OnYT 7 ай бұрын
I cant find part 2 😭😭😭😭
@otdoxnite
@otdoxnite 3 ай бұрын
PLS PART 2 BRO
@rtxheal777
@rtxheal777 11 ай бұрын
Hi im rtx heal im gonna make a game so you knows good scripting i was going to ask that if you can help me on it
@GigyasAltAccount
@GigyasAltAccount 4 сағат бұрын
ts does not work bruh
@Ooga_OnYT
@Ooga_OnYT 7 ай бұрын
plsss part 2
@BloxP1ayer
@BloxP1ayer 2 ай бұрын
I want it as a tool
@RealAimYT
@RealAimYT Жыл бұрын
Second
@iamLudius
@iamLudius Жыл бұрын
That's wassup
@RealAimYT
@RealAimYT Жыл бұрын
@@iamLudius fr, and I'm first on the video u just uploaded
@xL-S3er
@xL-S3er 3 ай бұрын
where p2?
@elite_scientist_tv_man
@elite_scientist_tv_man 2 ай бұрын
true
@untitledshortperson7664
@untitledshortperson7664 9 ай бұрын
I think i did something wrong
@sevemaster3315
@sevemaster3315 10 ай бұрын
doesnt work🤡
@wacktv_
@wacktv_ 10 ай бұрын
it does, ur just bad at scripting lol
@notaverage315
@notaverage315 3 ай бұрын
@@wacktv_ cuz it really doesnt lmao
@wacktv_
@wacktv_ 3 ай бұрын
@@notaverage315 i mean i did it myself and it worked totally fine so ig you're also just bad at following tutorials
@notaverage315
@notaverage315 3 ай бұрын
@@wacktv_ no, just most tutorials suck on roblox studio, you see, a projectile tutorial should take less than 2 minutes, while most are 30 MINUTES LONG. like what the hell? can't they just put a model or the 2 scripts in the description? they don't have to make their animations, models etc in the video, but just say: yo you gotta make a model and an animation before you watch this video AND THIS WOULD MAKE IT 15 MINS SHORTER
@AtomiccKaiju
@AtomiccKaiju 6 ай бұрын
Touched event is for bad coders.
@stommerik
@stommerik 3 ай бұрын
Whats a better substitute?
@AtomiccKaiju
@AtomiccKaiju 3 ай бұрын
@@stommerik Raycast, even get touching parts is better.
@elite950
@elite950 3 ай бұрын
What should touch event be used for then? 🤔
@AtomiccKaiju
@AtomiccKaiju 3 ай бұрын
@@elite950 If you want a move that constantly doesn't register, even when it hits something. Or something that lags out, and creates memory leaks. Then touched event is for you. Just because it exists doesn't mean its good, and you are a fool to act so smug about it. Touched event is useless, and when I was a beginner creating my own move sets it constantly failed. The only reason I can think to use it is to trick roblox to think non collidable parts are collidable so they show up on :GetTouchingParts. But instancing touch interest is easier, and less resource intensive.
@Geerxxx
@Geerxxx 8 ай бұрын
Doesnt work dont waste yall time
@davidfreshh7160
@davidfreshh7160 8 ай бұрын
lol it does u just did it wrong probably
@Mist_5
@Mist_5 7 ай бұрын
@@davidfreshh7160give me script pls?🥺
@alexfigueroa9066
@alexfigueroa9066 7 ай бұрын
I was not able to get it working with what is shown, I had to adjust the local variables to: local replicatedStorage = game:GetService("ReplicatedStorage") local remoteEvent = replicatedStorage:WaitForChild('Fireball'):WaitForChild('RemoteEvent') local fireballObject = replicatedStorage:WaitForChild('Fireball'):WaitForChild('Fireball') and inside the body of the fireball event change this variable as well : local fireball = fireballObject:Clone() Hope this helps!
@SoreSight160
@SoreSight160 5 ай бұрын
​@@alexfigueroa9066 get some basic scripting knowledge
The Only Thing You Need To Learn How To Script
4:36
Ludius
Рет қаралды 240 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
Make an easy fireball VFX in 9:59min
10:00
ThorpCooks
Рет қаралды 6 М.
How To Toggle Weapons Like A Pro | Roblox Studio
15:14
Ludius
Рет қаралды 15 М.
How to make a Simple Explosion Attack in Roblox Studio [Tutorial]
14:56
The Most ACCURATE Projectile in ROBLOX!!
25:37
fidgetspinner71
Рет қаралды 49 М.
Starting Over In Fisch but with $5,000,000!
21:50
PixelPlayss
Рет қаралды 300 М.
I spent 1000 DAYS Building My Roblox Game!
12:23
DeHapy
Рет қаралды 348 М.
How to Script a FIREBALL ABILITY in ROBLOX STUDIO
10:50
WunDev
Рет қаралды 51 М.
The 4 Stages Of A Roblox Scripter | Roblox Studio
10:05
Ludius
Рет қаралды 10 М.
This Is What 2 Years Of Scripting Looks Like
45:59
Ludius
Рет қаралды 37 М.
Can you make a VR game in Scratch? (devlog #1)
10:00
STEM MC
Рет қаралды 142 М.
黑天使被操控了#short #angel #clown
00:40
Super Beauty team
Рет қаралды 61 МЛН