This tutorial is so amazing. In addition to the literal content of the title, there are many other things you can learn from this TH-camr's videos. Learning all things he teaches, you can be sure that the possibilities for scripting will greatly increase.
I am on a trip and I found his channel yesterday! When I come back home I am going to watch a lot of his video and my script skill will increase like stonk
Bro this must be a coincidence I watched ur vid 2 hours ago on global leaderboards with datastore2 and applied it then just now I immediately recognized ur pfp
Your tutorials excel in detail, with clear examples, engaging delivery, and high production quality, making you the top creator in my opinion... I remember "Y3llow Mustang," who, like you, provided advanced tutorials for those more familiar with Lua, but he stopped creating content for a while.
@@5uphi no genuinely thank you so much, so many roblox tutorials are outdated and no one makes alot anymore. this is really helpful, i'm going to be watching through these tysm.
Thank you for this tutorial! It was really helpful! I'm still trying to wrap my head around the applications of self and metatables, but hopefully as I work with more advanced code like this I'll start understanding :)
damn that looks good, thank you for these videos too they make everything so much simpler and easier to understand including your visualizations, I found you from the flight physics video and really like your drone stuff hope you work on the flight stuff more, having an advanced physics simulation is very hard in roblox (as in stalling and stuff) some games try to apply it but it just doesn't feel right
Your videos are helpful! Request: Could you make a video on making projectiles using math.sin and math.cos if possible? (I've seen it in games and it's really cool. It will also help knowing how these math functions really work)
Your videos are so interesting and I learn so much, I love you man most roblox studio youtubers make everything extremely boring and its hard with my ADHD, but when I see your videos I cant get my eyes off it :D
Love the tutorial! I was wondering how you were gonna sync the movement of parts on all clients! Awesome you used because GetServerTimeNow because I tested it in my game and it was pretty accurate! With this function, it makes it easier to make rollback on the client side with vfx attacks. Never knew there was this vector3curve thing before! Seems useful when creating rollercoasters! Very cool!
This guy saved me, I learn so much! And I was learning ray casting and I couldn’t understand how to get the direction, this guy had the correct answer!
Ooh, I had a feeling You’d make a tutorial on it, this indirectly reminded my of verlet integration for some reason. Do you plan on Making a Video on it too? Currently trying to do a rope with collisions
Hello! I really like things you do, and I have a request, can you please make phasmophobia screen thing in a car that will show where are the players and also they will have a color like player1 green player2 red player3 purple and player4 blue or like so, please I really need that. That would be actually very helpful!
Is there any way to implement orientations as well? I've been tinkering around with it, but I can't seem to figure out how to reference the CFrame instead of (or in unison with) the Positions. Regardless, thank you so much for showing me FloatCurves, they're a lifesaver!
flying broom tutorial? i tried making one it works but im not good at angular velocity and stuff and i want it to be smooth like the hoverboard tutorial and love ur vids i recently discovered your channel and i love it ❤
I know there is basically nothing to do with the video, but is there any problem on using a colon on the set function to automatically assign self as a parameter and using the traditional function module.new() end instead of module.new = function() end ?
function module.new() Is the same as module.new = function() And function module:new() Is the same as module.new = function(self) Feel free to use whatever you're comfortable with
very cool but how do i make the part go thru it one time and stop at the end with the ability to initiate it again after like with a function Move() or something. im trying to make a one way coaster that zips to the end and then can be respawned at the beginning by a player
Any insights on how to use the curve:SetKeys method? I'm passing an array with RotationCurveKey(s) but it always give me an error saying that the type of object inside the array is wrong ("Variant cast failed"). Since you're one of the few that i could found using this feature and there are no examples of use i'm asking here.
@@5uphi Yes, exactly, i was using one. Nevertheless, i coudn't use this method even passing an array full of RotationCurveKeys. Did you already use it in the past?
can you do a video on how to make a tornado game? im trying to make one but i dont know how to do a forming script, a movement script and the damage script
There is about 0.016 seconds between frames so a tween that lasts 0.03 seconds is about 2 frames so you won't really notice a tween in 2 frames you might as well just teleport the part to it's target as this would almost have the same result
Very interested in learning lua for game development as I don’t want to rely on tutorials and free models. I know the very basics, where can I learn lua in detail.
@@5uphihave been doing that for a while now, and it does help, I definitely have gained experience by just experimenting, but is this how you learn it aswell?
Do you know how to make physics slow down or stop for example I was planning to make a script that make all physics movement, etc slow down when ever is near my body or humanoid/humanoidrootpart so like if a part is near me it would slow down and the closer the slower until it stop and when i move away the part would regain it movement again
Hello! I'm trying to use the first segment of the video to make a graphing calculator however whenever I input an equation such as y=10x +2 it still outputs a straight line(y = 10)
local floatCurve = Instance.new("FloatCurve") local x = Instance.new("NumberValue") x.Parent = workspace x.Value = 10 local y = x.Value * 2 + 2 print(x.Value..","..y) local floatCurveKeys = { FloatCurveKey.new(x.Value, y) } floatCurve:SetKeys(floatCurveKeys) for floatTime = 1, 200 do local part = Instance.new("Part") part.Position = Vector3.new(floatTime, floatCurve:GetValueAtTime(floatTime), -20) if floatTime == x.Value then part.Color = Color3.new(0.156863, 1, 0.0627451) end part.Anchored = true part.Size = Vector3.one part.Shape = Enum.PartType.Ball part.Parent = workspace end
I know i'm late but this is really confusing, I know you're trying your best but I still don't get it. I feel like lots of the things you're doing you say that you did them but you don't explain WHY. I think that's the issue.
Can you make a rocket launcher with smooth projectile and fastcast also with explosion damage and if a Player is behind a wall then He doesnt get damage.
if i wanted to use my mouse cursors position in world space as a position, how do i find the closest point on any given curve, then tween an object along that curve to that point on the curve? (and, make it a parabola that is bounded, so say for example split along the middle with a quarter of it missing on the right side)
This tutorial is so amazing.
In addition to the literal content of the title, there are many other things you can learn from this TH-camr's videos.
Learning all things he teaches, you can be sure that the possibilities for scripting will greatly increase.
I am on a trip and I found his channel yesterday! When I come back home I am going to watch a lot of his video and my script skill will increase like stonk
An extremely in-depth and useful guide.
Thank you so much Suphi.
I'm currently in so much need for curves like these, thanks so much for saving me once again!
I heard about bezier curves but this float curve feature sounds very epic to use.
Bro this must be a coincidence I watched ur vid 2 hours ago on global leaderboards with datastore2 and applied it then just now I immediately recognized ur pfp
He's alive! 😲
Your tutorials excel in detail, with clear examples, engaging delivery, and high production quality, making you the top creator in my opinion... I remember "Y3llow Mustang," who, like you, provided advanced tutorials for those more familiar with Lua, but he stopped creating content for a while.
Thank you for your kind words it makes me very happy that you like my content
@@5uphi no genuinely thank you so much, so many roblox tutorials are outdated and no one makes alot anymore. this is really helpful, i'm going to be watching through these tysm.
@@5uphi if i ever make a front page game i will put you in the credits i promise you
this gave me better flexibility with object oriented programming, thanks
Thank you for this tutorial! It was really helpful! I'm still trying to wrap my head around the applications of self and metatables, but hopefully as I work with more advanced code like this I'll start understanding :)
Checkout this video it might help th-cam.com/video/bk8UVm-gxBs/w-d-xo.html
damn that looks good, thank you for these videos too they make everything so much simpler and easier to understand including your visualizations, I found you from the flight physics video and really like your drone stuff hope you work on the flight stuff more, having an advanced physics simulation is very hard in roblox (as in stalling and stuff) some games try to apply it but it just doesn't feel right
Awesomee!! I used this tutorial to create a lookup curve table for simulating tire grip based on velocity! :D
Your videos are helpful! Request: Could you make a video on making projectiles using math.sin and math.cos if possible? (I've seen it in games and it's really cool. It will also help knowing how these math functions really work)
Wow, a genuinely brilliant Roblox scripting tutorial. Thank you
You're welcome!
Your coding is soo clean! and the explanations are soo good !! i learned so much from this !! TYSM
This was an amazing tutorial... I finally understand metatables after all this time.
Thanks so much, I very rarely comment but this was really helpful and exactly what I was looking for. Definitely will be using your channel again!
Your videos are so interesting and I learn so much, I love you man
most roblox studio youtubers make everything extremely boring and its hard with my ADHD, but when I see your videos I cant get my eyes off it :D
Wow. Just... wow. This video is so informative. Thank you so much, and I hope to see you keep on uploading!
Love the tutorial! I was wondering how you were gonna sync the movement of parts on all clients! Awesome you used because GetServerTimeNow because I tested it in my game and it was pretty accurate! With this function, it makes it easier to make rollback on the client side with vfx attacks. Never knew there was this vector3curve thing before! Seems useful when creating rollercoasters! Very cool!
This guy saved me, I learn so much! And I was learning ray casting and I couldn’t understand how to get the direction, this guy had the correct answer!
Back in my days, i still had to come up with bezier curve math
yeah dude u meant to be a real teacher with the way you actually explain everything that's a thing most of these yters dont do props to u man
Man, you're a great teacher.
ABSOLUTELY SENSATIONAL
Love this acc full of tutorials. thats what i was looking for ty u so much !!!!
Amazing Video, Muchas gracias por el video! 🎉
This is amazing , as always !
Amazing tutorial as usual, thank you
Your Videos Are Extremely Good! Keep Goin
suphi uploaded yay
Thx for this beautiful and helpful tutorials
I really love you dude
you have no idea how much youve helped
yess a new upload
MY GOAT
Great content. Didn't even know this existed
this was soooo helpfulll thanks!!!!!!!!!!
Can you also make a tutorial to make a sort of sword fighting combat system or somting
Ooh, I had a feeling You’d make a tutorial on it, this indirectly reminded my of verlet integration for some reason. Do you plan on Making a Video on it too? Currently trying to do a rope with collisions
Hello! I really like things you do, and I have a request, can you please make phasmophobia screen thing in a car that will show where are the players and also they will have a color like player1 green player2 red player3 purple and player4 blue or like so, please I really need that. That would be actually very helpful!
Can you do a tutorial for a full auto weapon, Like an Ak-47, or M4A1 with recoil that you can reload, and UI that shows how much ammo you have left?
Love the work you do :)
Iam so hyped for this video
Amazing bro
Yo bro good tutorial, and can you add options for buying coins in Ro-drone because its very hard to grind for them
Could you make a tutorial on smooth viewmodel with actions like punching slicing etc please :>
Will you ever consider doing a BigNum video?
With the style of your content I think it would be perfect!
I feel that a game should not require big numbers
@@5uphi love this reply!
Keep the good work ❤
Wow video hasn't even started and i like it when i finish i will show the scripts
This is what I needed thanks mate
No problem 👍
Can you explain wave function collapse by generating terrain?
I love the look of that algorithm
Is there any way to implement orientations as well? I've been tinkering around with it, but I can't seem to figure out how to reference the CFrame instead of (or in unison with) the Positions. Regardless, thank you so much for showing me FloatCurves, they're a lifesaver!
Use the previous position and the current position then use cframe.lookat
ohh seen the leaks on discord lol nice content bro
flying broom tutorial? i tried making one it works but im not good at angular velocity and stuff and i want it to be smooth like the hoverboard tutorial and love ur vids i recently discovered your channel and i love it ❤
Maybe this video might help you th-cam.com/video/FYl0JvUZq4I/w-d-xo.html
legend
Hello! I love your tutorials. May you make a tutorial about prodecural movement and how to make it? Thanks
Hey, may I ask, what keyboard and switches do you have? they sound really nice and quiet.
I use a Magicforce 68 key with brown switches but I can't remember the brand of witches
@@5uphi Okay, thank you!
Can you do a Blade ball tutorial? I’m very curious of how they make the ball movement
Prob using a vector force towards the targeted player in a loop that breaks if it gets deflected
Or a tween for it to not delay on any client
really cool!
I know there is basically nothing to do with the video, but is there any problem on using a colon on the set function to automatically assign self as a parameter and using the traditional
function module.new()
end
instead of
module.new = function()
end
?
function module.new()
Is the same as
module.new = function()
And
function module:new()
Is the same as
module.new = function(self)
Feel free to use whatever you're comfortable with
How would you be able to make the tween repeat a set amount of times and then stop?
New video let's gooo!
very cool but how do i make the part go thru it one time and stop at the end with the ability to initiate it again after like with a function Move() or something. im trying to make a one way coaster that zips to the end and then can be respawned at the beginning by a player
Your videos really help but please can you try to remove the keyboard sound as it really annoys me and possibly other people.
good tutorial !
Thank you :)
Any insights on how to use the curve:SetKeys method? I'm passing an array with RotationCurveKey(s) but it always give me an error saying that the type of object inside the array is wrong ("Variant cast failed"). Since you're one of the few that i could found using this feature and there are no examples of use i'm asking here.
You must use a RotationCurve for RotationCurveKeys
@@5uphi Yes, exactly, i was using one. Nevertheless, i coudn't use this method even passing an array full of RotationCurveKeys. Did you already use it in the past?
I have not used s rotation curve before but I don't see why it would not work can you show me the full error message
@@5uphi Yes, do you have a discord? I don't think it's practical sending it here
Check the description of the video
Please make a game with the cars and planes from FPV drone with simple race tracks 🙏
Hey! Could you make a video on how to make a water physics system with waves that works with boats?
Can you make a tutorial of a placement system with grid?
thanks for the video!
can anyone paste me the code as Im having trouble, it doesnt work
For “Ro drones” can you do realistic settings tutorial
what plugin was suphi using for autocompleting code?
AutoHotKey
can you do a video on how to make a tornado game? im trying to make one but i dont know how to do a forming script, a movement script and the damage script
Is there a way to make the whole tween finish in 0.03 secs? Or is it stuck to a minimum of 0.03 seconds per position
There is about 0.016 seconds between frames so a tween that lasts 0.03 seconds is about 2 frames so you won't really notice a tween in 2 frames you might as well just teleport the part to it's target as this would almost have the same result
@@5uphi thanks
Very interested in learning lua for game development as I don’t want to rely on tutorials and free models. I know the very basics, where can I learn lua in detail.
Experiment
@@5uphihave been doing that for a while now, and it does help, I definitely have gained experience by just experimenting, but is this how you learn it aswell?
What if the target point is constantly moving? Would this still work or should I use something else?
Something like alignposition might work better for you
Do you know how to make physics slow down or stop for example I was planning to make a script that make all physics movement, etc slow down when ever is near my body or humanoid/humanoidrootpart so like if a part is near me it would slow down and the closer the slower until it stop and when i move away the part would regain it movement again
It would be difficult using Robloxs physics engine making your own physics engine would be the correct method
do you know how to make it so it flys back to the start instead of just teleporting back to the start?
You can script it or just place another part at the end that overlaps the first part
Hello! I'm trying to use the first segment of the video to make a graphing calculator however whenever I input an equation such as y=10x +2 it still outputs a straight line(y = 10)
local floatCurve = Instance.new("FloatCurve")
local x = Instance.new("NumberValue")
x.Parent = workspace
x.Value = 10
local y = x.Value * 2 + 2
print(x.Value..","..y)
local floatCurveKeys = {
FloatCurveKey.new(x.Value, y)
}
floatCurve:SetKeys(floatCurveKeys)
for floatTime = 1, 200 do
local part = Instance.new("Part")
part.Position = Vector3.new(floatTime, floatCurve:GetValueAtTime(floatTime), -20)
if floatTime == x.Value then part.Color = Color3.new(0.156863, 1, 0.0627451) end
part.Anchored = true
part.Size = Vector3.one
part.Shape = Enum.PartType.Ball
part.Parent = workspace
end
The only idea I have of the problem is that it only runs once so it doesn't change the y x axis
Your only making 1 key with a x value of 10
@@5uphi is there no way to automate it? I guess I can make it so every 1x is a key but I just want the most accurate that I can
❤
How could I use this but with a model instead of a moving part
Model:PivotTo(cframe)
@@5uphido you know how I can make multiple parts go on it?
how would you make it so the part looks at where its going, if i wanted to make a missile of sorts?
You would use the previous position to workout the cframe:lookat
I know i'm late but this is really confusing, I know you're trying your best but I still don't get it. I feel like lots of the things you're doing you say that you did them but you don't explain WHY. I think that's the issue.
Would this work on a humboid root part/ a player.
Yes
very cool
sick
Can you make a rocket launcher with smooth projectile and fastcast also with explosion damage and if a Player is behind a wall then He doesnt get damage.
I don't think I'll be doing any videos on how to use pre made modules like fastcast we would make everything from scratch in the video
@@5uphi do u think there is a way to raycast a explosion What I mean is that a explosion doesn't go through walls
might as well have him code the rest of your game too lol
I guess roblox uses Splines to calculate the curves. Could you explain how it works?
en.wikipedia.org/wiki/Spline_interpolation
how can i get so smart like you
ayo first
can you calibrate the hardware in this game?
th-cam.com/video/l-gwBQlsbtE/w-d-xo.html
Why is your name Suphi Kaner? This name was the name of a Turkish film actor who died in the past(it's not a famous name...PLS answer me
I even remember that he committed suicide
I was given the same name as my grandfather
I'm not 100% sure if he intentionally killed himself but the media say it was suicide but I'm not 100% sure if that is true
Please make a roblox script, where if a player joins the game, a hoverboard is cloned, and the hoverboard is placed on the players feet
game.Players.PlayerAdded:Connect(function(player)
Player.CharacterAdded:Connect(function(character)
Local clone = hoverboard:Clone()
Clone.Parent = workspace
Clone.CFrame = character.PrimaryPart.CFrame + Vector3.new(0,-2,0)
End)
End)
The vector3 is to put the hoverboard under the feet and will need to be adjusted
@@13physcnow make the player float and the movement tweening sound vfx and done!
Suphi, when new video? 😓
I'm currently working on a project I might do a devlog once I'm happy to share my progress
@@5uphi 👀👀
are float curves new?
No
@@5uphi ok, thanks for the great video 🙂
who else thought he was going to use bezier curves
Not me
w
this is a game changing feature
no more bezier ?!??!
Bezier be gone
if i wanted to use my mouse cursors position in world space as a position, how do i find the closest point on any given curve, then tween an object along that curve to that point on the curve? (and, make it a parabola that is bounded, so say for example split along the middle with a quarter of it missing on the right side)
You can use GetKeys on the FloatCurve to get an array of keys then you loop the keys to find the one that is closest
I'm dream of you every night Suphi Kaner
How tf u write that quick 😂
no cap 😂