How to OPTIMIZE Your Roblox Game... Easiest Guide!

แชร์
ฝัง
  • เผยแพร่เมื่อ 13 ม.ค. 2025

ความคิดเห็น • 150

  • @lilredrhino
    @lilredrhino 2 ปีที่แล้ว +34

    I will come back to this video when I need it in the future. Also congrats on hitting 10k

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว

      Awesome! Thank you!

  • @kynze5228
    @kynze5228 8 หลายเดือนก่อน +10

    I've rendered hundreds of unions on a phone and they didn't cause any frame drops. Unions are not the most laggy object in roblox studio, Decals, Textures, SurfaceGUIs and ParticleEmitters whould be the least performant objects since it usualy loads hundreds of pixels with unique colours and opacity to make an image every frame. ParticlesEmitters calculates the forces applied on the individual particles so it whould require more computing power. Sounds are pretty laggy on less performant devices. MaterialVariants should be worse than Textures since it has 4 images at once and the lighting calculates how the material should look from you view each frame.
    If you want your game to be the most performant, use Compatibility, Use the least amount of triangles as possible, Don't use any images throughout your game (Except Skybox), Make your collisions as low poly as possible and remove any collision that whouldn't matter, animations shouldn't be smooth and your scripts should be really performant.

  • @southwestohioemergencyvideos
    @southwestohioemergencyvideos ปีที่แล้ว +119

    Pro Tip: LIMIT YOUR USE OF UNIONS. Use meshes or models instead

    • @angus80w
      @angus80w ปีที่แล้ว +1

      Aw man

    • @Fauconmax
      @Fauconmax ปีที่แล้ว +5

      What if I union all unions?

    • @elegantatrocity
      @elegantatrocity ปีที่แล้ว +4

      @@Fauconmaxit still renders the same things
      meshes or models made with performance in mind are much more consistently... clean
      when a union is simple enough and doesn't need used everywhere, it might be fine
      but uhrm yeaaa better to make sure the thing you need is as simple as possible while still looking good

    • @Scr1pt6
      @Scr1pt6 ปีที่แล้ว +8

      i turn my unions into meshes, does that help?

    • @Fauconmax
      @Fauconmax ปีที่แล้ว

      @@Scr1pt6 I think, yes

  • @xnnocence
    @xnnocence 5 หลายเดือนก่อน +6

    I rarely subscribe to people but you are one of the people that i will subscribe to. These are straight up Life Lessons

    • @SmartyRBX
      @SmartyRBX  5 หลายเดือนก่อน +1

      Dope! Welcome 🔥
      Life lessons!?

    • @xnnocence
      @xnnocence 4 หลายเดือนก่อน

      @@SmartyRBX i researched further and found out a few more ways to optimize. Inside of the model setting the model to Nonatomic and StreamingMesh would give the best results along with giving the model's children Custom Physics and removing the elasticity and elasticity weight completely (unless necessary) and also, an anchored part with collisions turned off and shadows turned off is little to no perfomance cost at all, so i made a script that makes everything anchor true regardless of whether its a npc, enemy or part when there are no players in a range of 200 around it. CanQuery by the way does determine whether a raycast will detect and stop when it collides with the part, so turning it off for assets like bushes and grass would be preferable, and also veryy slightly decreases memory cost for the part itself. (i learned all this based on research correct me if im wrong, ive tried every single one of them though so i believe these are true)

  • @Scripty1
    @Scripty1 ปีที่แล้ว +5

    this guys actally smart giving good agruments to watch another video

  • @LastFridayOfSummer
    @LastFridayOfSummer ปีที่แล้ว +4

    god bless youuuu omg! This worked so fine, thank you so much!

  • @barbbbH
    @barbbbH 10 หลายเดือนก่อน +3

    TYSM DUDE. IVE BEEN FINDING VID LIKE THIS FOR SO LONG N FINALLYY

  • @tombStone-ek6cf
    @tombStone-ek6cf 2 ปีที่แล้ว +26

    Question, for future lightning, what is the best way to optimize it? Doors for example has it, and it's the one of the only games I can run fine with at max graphics

    • @prodcielos
      @prodcielos 2 ปีที่แล้ว

      Doors is really easy to run

    • @omgdin
      @omgdin ปีที่แล้ว +16

      Doors it easy to run because
      1. The whole map is randomly generated .
      2. The entire map takes place in an interior setting.
      3. Most of the monsters are just pngs.
      4. The game has two places, the lobby and the game itself. they take place in DIFFERENT games.

    • @Fr0stKnight0k
      @Fr0stKnight0k ปีที่แล้ว

      @@omgdin the only outside part is the room with the metal gates

    • @omgdin
      @omgdin ปีที่แล้ว +3

      @@Fr0stKnight0k it's still a room because it's a enclosed space but it's a exterior setting

    • @IMadeACheeseThatCantBeMade
      @IMadeACheeseThatCantBeMade ปีที่แล้ว

      ​@@omgdinDoors uses a deloading system
      If your far from the room you were in, it'll get removed and will no longer be there

  • @sattacgamer8295
    @sattacgamer8295 2 ปีที่แล้ว +16

    How to fix the bug terrain (Big Map) when the camera is lagging

    • @LunarBasilux
      @LunarBasilux 5 หลายเดือนก่อน +2

      idk if u still need help cause its 1 year later: but terrain on Roblox is quite unoptimized and you can't really so much against it of [at least of what I know], but you could remove some terrain you're not able to see!

    • @HelixAdamOxford
      @HelixAdamOxford 4 หลายเดือนก่อน +1

      @@LunarBasiluxwell i guess im cooked becuase my game is mostly terrain

  • @snplayzz9113
    @snplayzz9113 2 ปีที่แล้ว +15

    This is so helpful. Thank you man.

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว +2

      You're welcome!

    • @glitchfa8764
      @glitchfa8764 2 ปีที่แล้ว

      @@SmartyRBX hi, when i dev in roblox studio it takes a long time to load, even normal baseplate, and when i test i crash any tips?

    • @shadeoverseer279
      @shadeoverseer279 2 ปีที่แล้ว +1

      @@glitchfa8764 tip:better pc

    • @shadeoverseer279
      @shadeoverseer279 2 ปีที่แล้ว

      @@iamsilent8367 im not talking trash bc I even have that problem

  • @dbzfan81
    @dbzfan81 ปีที่แล้ว +2

    ty, this helps a lot!

  • @ImPonds
    @ImPonds 2 ปีที่แล้ว +9

    Great vid. Will you make one on the Game Design Document?

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว +1

      Eventually!

  • @Spooky.Studios
    @Spooky.Studios 10 หลายเดือนก่อน +1

    CanQuery will make it so ray will ignore the part/instance once being casted
    same for any other actions include BasePart information/hits

  • @Geehwbbwbevwvevrvrbfh7171
    @Geehwbbwbevwvevrvrbfh7171 2 ปีที่แล้ว +5

    there can be lag at roblox studio but this is how to not make lag in roblox studio:
    make sure u have a small project
    make sure your computer is good enough
    make sure dont use big model

    • @parcle_dev
      @parcle_dev ปีที่แล้ว

      Use sub places for things like maps and things you can teleport to

  • @i_khaledaziz
    @i_khaledaziz 2 ปีที่แล้ว +10

    Thia terrain is awesome 😎

  • @RebornBlade
    @RebornBlade 2 ปีที่แล้ว +3

    Man am going on whit my scripting skills and am grateful for you

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว

      Good to hear!!

  • @NotFallen_21
    @NotFallen_21 2 ปีที่แล้ว +6

    Hey how long do you think it'll take for the advanced scripting to come out?

  • @Flairex
    @Flairex 7 หลายเดือนก่อน +2

    Unrelated, but you sound exactly like TurkeyTom

    • @YUG0_G30.21Yugo_geo
      @YUG0_G30.21Yugo_geo 26 วันที่ผ่านมา

      bruh i got alot of buildings my pc almost exploded, so this cant work for me

  • @FabelWings
    @FabelWings ปีที่แล้ว +2

    good tips, but man your video editing gives me more motion sickness than my vr headset ever gave me.

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +1

      Thanks. Its been improved from here

  • @ogurec7344
    @ogurec7344 ปีที่แล้ว +4

    1 question, i wanted to make security cameras screen and it is working great but it lags server so much and besides that theres 2 surface guis on one screen, so how to fix it when i intend to keep 2 surface guis (1 camera, 1 video asset)

  • @venzzy5908
    @venzzy5908 ปีที่แล้ว +3

    My question would be, just removing the shadow on meshes is enough or also for parts?

    • @RoBeaters
      @RoBeaters 10 หลายเดือนก่อน

      Depends. If you have like 10k parts - shadows will affect a lot, like try to make minimum shadows possible and not to ruin a game😅

  • @zbritishteaman
    @zbritishteaman 2 ปีที่แล้ว +17

    how do you limit render distance? my game seems to be loading in every part no matter the graphics quality and it is lagging like crazy

    • @baumerbaum
      @baumerbaum ปีที่แล้ว +6

      I don't know if you still have this problem after 3 months, but you have to enable the ContentStreaming property located in workspace and adjust the StreamingTargetRadius(I think) which defines the maximum distance from the camera a part will be rendered.

    • @zbritishteaman
      @zbritishteaman ปีที่แล้ว +1

      @@baumerbaum I did manage to solve the problem, but it (my solution) was a lot more complex than your solution so i'll keep this in mind, thanks

    • @geor42
      @geor42 ปีที่แล้ว +1

      @@baumerbaum yo, thank you verymuch

  • @atsturkiye
    @atsturkiye 9 หลายเดือนก่อน +1

    TYSM

  • @Antonio15029
    @Antonio15029 ปีที่แล้ว

    thanks dude you helped me alot

  • @VelocitySoftwareGames
    @VelocitySoftwareGames ปีที่แล้ว +2

    bro future is not laggy at all but ok, also future makes lighting and shadows look way better for scenic builds just saying.

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +2

      It is laggy if you use lights or lots of parts. Depends, you're right.

    • @VelocitySoftwareGames
      @VelocitySoftwareGames ปีที่แล้ว +1

      @@SmartyRBX i guess so, but me personally ive never had the issue

    • @southwestohioemergencyvideos
      @southwestohioemergencyvideos ปีที่แล้ว +1

      @@SmartyRBX You are correct on this, Smarty.

  • @bl_ckmatt4317
    @bl_ckmatt4317 ปีที่แล้ว +1

    Automatic or performance? Tbh I use most of the union because I can change the render fidelity

  • @Wapoluchka
    @Wapoluchka ปีที่แล้ว

    useful dude! ill come back later.

  • @icallchoco
    @icallchoco 11 หลายเดือนก่อน

    Thanks !!

  • @Outdoor_rodent
    @Outdoor_rodent ปีที่แล้ว +4

    Bro adds to many capcut animations to his vids

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +1

      I
      use
      premiere
      lol

  • @Killer_the_exister
    @Killer_the_exister ปีที่แล้ว +2

    I have a question. In my roblox studio, for the renderfidelity, there is no performance option. is it some sort of plugin? please i need to know!

    • @brembobrakesG
      @brembobrakesG ปีที่แล้ว +1

      i think the performance option appears for meshes, but not for unions (side note: performance doesnt work if the mesh is too simple)

  • @Skitborting
    @Skitborting 8 หลายเดือนก่อน

    Thanks broski!

  • @superdoo
    @superdoo 2 ปีที่แล้ว +1

    ive done every single thing in this video, made the game look like crap, and nothing works. It lags every 3 seconds no matter what I do.

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว +4

      You may have a virus in your game, or a humanoid in workspace. Delete free models/edit them, and make sure to search humanoid in workspace and make sure there are none directly under workspace (if it’s in a character, it’s Ok). Strangely, this causes a ton of lag since it classifies the workspace as a character, which has unique properties, and therefore breaks the game.

    • @rahul2980
      @rahul2980 ปีที่แล้ว

      @@SmartyRBX Deleting free models wont work free models make it easier

  • @flworescent_altx
    @flworescent_altx 2 ปีที่แล้ว +7

    Hi, I've followed almost every step here, but my game won't stop lagging. Any ideas?

    • @MiLa-hq5so
      @MiLa-hq5so 2 ปีที่แล้ว +1

      Maybe you can make a few parts to a union. I think it can make it less laggy.

    • @MaxGamerFun
      @MaxGamerFun 2 ปีที่แล้ว +2

      @@MiLa-hq5so Unions actually create more lag, I would explain why but there’s plenty of forum posts that explain it. DO. NOT. MAKE. UNIONS.

    • @MiLa-hq5so
      @MiLa-hq5so 2 ปีที่แล้ว +1

      @@MaxGamerFun are models better?

    • @omgdin
      @omgdin ปีที่แล้ว +4

      @@MiLa-hq5so meshes are better

  • @JP-ry5ox
    @JP-ry5ox 9 หลายเดือนก่อน

    the camera movements are going to give me motion sickness

  • @troy2428
    @troy2428 2 ปีที่แล้ว +1

    you think i can get some personal help for creating my game?

  • @OwenUwaifo-e5k
    @OwenUwaifo-e5k หลายเดือนก่อน

    Problem is i cant get onto my game because of how full it is 😅😭😭

  • @just_a_zombie6718
    @just_a_zombie6718 ปีที่แล้ว +1

    i have a question. does making your object invisible or opacity on value of one not including it on render process?

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +1

      It doesn't render yea

    • @ultranam4
      @ultranam4 ปีที่แล้ว +1

      it does less lag but the collisions will still work

  • @sobz_0
    @sobz_0 6 หลายเดือนก่อน

    my game has like 10 parts and its crazy lagging going down to like 5fps and its only studio

  • @ArtificialIntelligenceMaster-1
    @ArtificialIntelligenceMaster-1 9 หลายเดือนก่อน

    Thx❤

  • @bjd8390
    @bjd8390 28 วันที่ผ่านมา

    SOMEONE HELP! How do you edit settings for multiple objects? I am having to do 1 by 1 😭

  • @battlearenagamerfan
    @battlearenagamerfan 10 หลายเดือนก่อน

    I need help I made a game but when you play it on devices like ps5 Xbox series good pc or good phone my game is delayed how do I fix it

  • @JOLLYJOSH277
    @JOLLYJOSH277 ปีที่แล้ว

    i dont understand how to turn some off that stuff off.

  • @davidkentdecatoria6899
    @davidkentdecatoria6899 ปีที่แล้ว

    I dont have the performance option for render fidelity

  • @CIGS13
    @CIGS13 11 หลายเดือนก่อน

    I thought its a video about lua optimizations

  • @Souhshadow
    @Souhshadow 3 หลายเดือนก่อน

    Will it help reduce lag

  • @kuyt3400
    @kuyt3400 3 หลายเดือนก่อน

    Yo i cant find the castshadows box to uncheck it....

  • @PutriAlisyaZh
    @PutriAlisyaZh 6 หลายเดือนก่อน

    THANK YOU!!!!!!!!!!!!

  • @The_LilViking
    @The_LilViking ปีที่แล้ว

    the game isnt the laggy thing its the studios

  • @Someone36272
    @Someone36272 11 หลายเดือนก่อน

    how to open the properties menu?

  • @AresStrom
    @AresStrom 3 หลายเดือนก่อน

    how to selcet more elements

  • @robert0263
    @robert0263 2 ปีที่แล้ว

    my game used to use 500Mb memory at his peak, now he uses 720 because i added so much content, but the playtime is lower bc low devices are having lag, i already did these thinks but is not good enough what shoul i do ?

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว

      Do you have scripts? Scripts could be causing the issue like loops, etc. Also you could make a system where aspects of the map load when you enter them, but disappear when you go away (like livetopia with furniture), and turn on streaming enabled with workspace and turn down the values to 64 for minradius and mess around with the maxradius setting it as low as possible.

    • @robert0263
      @robert0263 2 ปีที่แล้ว

      @@SmartyRBX was my leaderboard, was updating every 10 seconds, and the games has a lot of players and this was causing lag, now loads every 5 minutes. tysm, keep with your good content.

    • @Tipixter
      @Tipixter 2 ปีที่แล้ว

      @@robert0263 if you want to change it back to 10 seconds you could make it so that the leaderboard is visible only if you're within a certain radius

    • @aboveaveragebluesenjoyer9953
      @aboveaveragebluesenjoyer9953 ปีที่แล้ว

      @@Tipixter the problem is it still fires the script meaning every 10 seconds this leaderboard is lagging the game out

  • @Tr1dun9
    @Tr1dun9 8 หลายเดือนก่อน

    Maybe only for computer, no one uses mobiles to guide

  • @NewbiexdRoblox
    @NewbiexdRoblox ปีที่แล้ว

    I have one question hope you see... how did pet simulator x do it... its one of the biggest games i have ever seen on Roblox with heavy construction but has no lag ?

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว

      Pet sim is pretty light. They use models so they can use less parts. Then areas are loaded in when you teleport to them.

    • @NewbiexdRoblox
      @NewbiexdRoblox ปีที่แล้ว

      @@SmartyRBX ohh... so would u suggest me using meshs ?

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว

      @@NewbiexdRoblox 100%
      It reduces parts cause… instead of 50 parts to make a house it can be one mesh with a texture

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว

      @@NewbiexdRoblox there’s guides on my channel for blender which should help a lot

    • @NewbiexdRoblox
      @NewbiexdRoblox ปีที่แล้ว

      @@SmartyRBX Thanks sir.. I recently discovered your channel today... and now motivated I almost quit on making my dream game Thanks 😊

  • @dzamadzama_llama4536
    @dzamadzama_llama4536 ปีที่แล้ว +11

    Jesus loves us

    • @SmartyRBX
      @SmartyRBX  ปีที่แล้ว +3

      Yes! ✝️

    • @capdetigla
      @capdetigla 9 หลายเดือนก่อน

      Amen

    • @kakabosha
      @kakabosha 6 หลายเดือนก่อน

      but he hates you

    • @Daynus1
      @Daynus1 5 หลายเดือนก่อน

      ​@@kakaboshaHe Loves everyone. He even sacrificed his life to save ALL of us.

    • @soulsurvivor32
      @soulsurvivor32 5 หลายเดือนก่อน

      ​@@kakabosha who hurt you?

  • @DylanWortel
    @DylanWortel 24 วันที่ผ่านมา

    I have thousands of objects so I can’t do none of these

  • @MrMcEggz
    @MrMcEggz 2 หลายเดือนก่อน

    tried it all nothing worked

  • @DxrkLxght
    @DxrkLxght 2 ปีที่แล้ว +1

    3k in a few weeks? 😄

  • @october6432
    @october6432 ปีที่แล้ว

    Why does your editor zoom the video in and out so much? Other than that though nice video

  • @YouL1Que
    @YouL1Que 2 ปีที่แล้ว

    what if I don’t have some of those options ?

    • @LordixEpico
      @LordixEpico ปีที่แล้ว

      Thats not possible?

    • @notaverage315
      @notaverage315 6 หลายเดือนก่อน +1

      @@LordixEpicocould you then explain to me why my game has 200 fps at the beginning but by just staying for like 2 minutes it goes down to 20

    • @doctorelijah
      @doctorelijah 6 หลายเดือนก่อน

      @notaverage315 check the dev console (/console) and see if theres any errors or warnings from scripts

    • @notaverage315
      @notaverage315 6 หลายเดือนก่อน +1

      @@doctorelijah alr thanks ill try to fix the problem

    • @notaverage315
      @notaverage315 6 หลายเดือนก่อน +1

      @@doctorelijah okay i see there's smth like: Player:Move called but player currently has no humanoid
      infinite yield possible on game.Workspace.(myuser).Accessory(Cube.001.Accessory):WaitForChild("Humanoid") and 3 more errors like this but with different accessories
      humanoid is not a valid member of my user's model
      not pretty sure about fixing that

  • @lunarispro9802
    @lunarispro9802 2 ปีที่แล้ว

    when advanced scripting tutorial

    • @SmartyRBX
      @SmartyRBX  2 ปีที่แล้ว

      Working hard on it! Hopefully within the next few weeks!

  • @Chickersons
    @Chickersons 7 หลายเดือนก่อน

    im dizzy

  • @vaclavdefender6103
    @vaclavdefender6103 ปีที่แล้ว

    The editting makes me sick.

  • @ThatGuy-uy3xe
    @ThatGuy-uy3xe 2 ปีที่แล้ว +1

    Robux

  • @parcle_dev
    @parcle_dev ปีที่แล้ว

    @SmartyRBX i get in the future a system what import models from other sub places to the game when running this should reduce the lag in edit mode but for the run mode i can use streaming enabled but it not stream terain so it gone look wierd if its used also i make a sci-fi game with skyscrapers and alot npcs and future tools i will like make a mall here what i made on another place and import with that system i hope this tips will help reduce lag if it comes there also do you know whats the lowest processor Roblox is available for i will search somoene with that processor to do a part count lag test and with a plugin count parts in studio to know the limits and reduce the limit

  • @i_khaledaziz
    @i_khaledaziz 2 ปีที่แล้ว +2

    First

  • @Bbraticc
    @Bbraticc ปีที่แล้ว

    69th comment best comment pin

  • @arturkozak2485
    @arturkozak2485 ปีที่แล้ว

    I did everything and yet the lag still hasn't gone yet for me.

  • @MufftinsTheMuffin
    @MufftinsTheMuffin 2 ปีที่แล้ว

    W