How Can Two Players See Different Things?

Тәжірибелік нұсқаулар және стиль

50% OFF COUPON WITH "DOUBLEBYTE" (ends in 3 days):
linktr.ee/ByteBlox
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/ByteBlox
You’ll also get 20% off an annual premium subscription!
discord: / discord
wondered how to make a main menu in roblox studio? or how to create a shop which has working GUI? ive made lots of 2024 roblox scripting tutorials about all the different bits of roblox to give you some up-to-date information about all of its properties and events.
my goal is to simply give some insight on how to use the various features and instances roblox studio, and show you some fun stuff you can do with them. thanks for checking out this roblox scripting tutorial :)

Пікірлер: 283

  • @byteblox100
    @byteblox100Ай бұрын

    NEW CODE "FREAKYBLOX" 50% OFF (expires in 5 days): www.udemy.com/course/byteblox-expert/?referralCode=B83EFB1A86A5C3D5F206

  • @creeperplayzz

    @creeperplayzz

    Ай бұрын

    Oil up daddy 😫

  • @slavsit7600

    @slavsit7600

    Ай бұрын

    can you give me robux

  • @sussybaki819

    @sussybaki819

    Ай бұрын

    Can I draw female version of you?

  • @byteblox100

    @byteblox100

    Ай бұрын

    @@sussybaki819 sure bro

  • @ginormousBalls

    @ginormousBalls

    Ай бұрын

    𝓯𝓻𝓮𝓪𝓴𝔂 𝓫𝓵𝓸𝔁

  • @attackehhh
    @attackehhhАй бұрын

    TLDW: localscripts do stuff on the client (player's screen). scripts do stuff on the server (replicated to all player's screens and stores info). basically like changing the texture, it doesnt change that texture for everyone else since its only on your game

  • @sasvkeee._

    @sasvkeee._

    Ай бұрын

    thank you for this

  • @penginator88

    @penginator88

    Ай бұрын

    Whats a module script

  • @d0gshn

    @d0gshn

    Ай бұрын

    @@penginator88 a table/dictionary so big you had to create a specific script for it

  • @studsheep

    @studsheep

    Ай бұрын

    NOOOO I WAS TOO LATE TO PROVIDE A QUICK SPEEDY SUMMARY *cries in nerd *

  • @Jake_Gotthard

    @Jake_Gotthard

    Ай бұрын

    @@studsheepplease explain it to me like im a Golden retriever with adhd

  • @tuxsteve1
    @tuxsteve1Ай бұрын

    *Stops for a second* and my character has a very interesting shadow. *continues the video*

  • @jimmydavis8172

    @jimmydavis8172

    17 күн бұрын

    when?

  • @lolcat69

    @lolcat69

    13 күн бұрын

    ​@@jimmydavis8172 when?

  • @finjer5018

    @finjer5018

    12 күн бұрын

    @@jimmydavis8172 2:22

  • @rockernan89-gaming

    @rockernan89-gaming

    5 күн бұрын

    @@jimmydavis81722:19

  • @beepingbops312

    @beepingbops312

    15 сағат бұрын

    ​@@jimmydavis8172 0:49

  • @retovidos
    @retovidosАй бұрын

    I watch your videos on the little mini player from when you hover over the video thumbnail

  • @ProSureStrings

    @ProSureStrings

    Ай бұрын

    Same fr

  • @Franchescovisk

    @Franchescovisk

    Ай бұрын

    same

  • @The_Alex_YT

    @The_Alex_YT

    Ай бұрын

    does he still earn his moneyz? 🤑

  • @cosobi

    @cosobi

    28 күн бұрын

    relatable

  • @Humourless.
    @Humourless.Ай бұрын

    your videos are as entertaining as informative, thanks dude

  • @yukisoba8888
    @yukisoba8888Ай бұрын

    dude genuinely its amazing how you make anything sound so simple like icant thank oyu enough for explaining things down to the basics as if i dont know anything bc i barely do know anything so it really helps literally every other yter just doesnt explain or explains horribly, but you make everything so easy to understand

  • @ajojofann

    @ajojofann

    Ай бұрын

    npc

  • @yukisoba8888

    @yukisoba8888

    Ай бұрын

    @@ajojofann thanks man

  • @yukisoba8888

    @yukisoba8888

    Ай бұрын

    @@ajojofann ur kinda right i cant argue with u but i just wanted to say it cuz i was rlly happy how he was helping me understand scripting 😭😭😭

  • @lamp7746

    @lamp7746

    23 күн бұрын

    npc

  • @yukisoba8888

    @yukisoba8888

    22 күн бұрын

    @@lamp7746 OK I GET IT :(

  • @this_commenter_had_a_stroke
    @this_commenter_had_a_strokeАй бұрын

    I'd like to add, in the test tab you can launch a virtual testing server, and you can set how many virtual players to simulate. it will open as many roblox studio windows as you have players + 1 for the server. You can switch to any tab to control each player, and you can pretty much do and test anything a player can.

  • @askemadsen21
    @askemadsen21Ай бұрын

    We don't see the world as it is We see the world as we are.

  • @fernandavqstz

    @fernandavqstz

    Ай бұрын

    from our perspective

  • @Tanuki5919

    @Tanuki5919

    Ай бұрын

    ZA WARUDO

  • @Thatcringeanimator_
    @Thatcringeanimator_26 күн бұрын

    Thank you for telling me this I am planning to code roblox games in the future and might need this when I can 👍

  • @Planetary-1
    @Planetary-1Ай бұрын

    yes... very interesting shadow 2:19 ....

  • @connordendy

    @connordendy

    Ай бұрын

    Oh my god bruh why did you point it out

  • @Randi_MyMan

    @Randi_MyMan

    Ай бұрын

    bluds shadow is gonna ban us all 🔨💀

  • @quotetry8998

    @quotetry8998

    Ай бұрын

    What are you talking about? That’s not ByteBlox’s shadow.. *..not a shadow of his body, but..*

  • @MarzFromMars

    @MarzFromMars

    Ай бұрын

    dang.

  • @Softcap

    @Softcap

    Ай бұрын

    @@quotetry8998holy shit😳

  • @F.J.Gaming5063
    @F.J.Gaming5063Ай бұрын

    we were just talking about needing something like this in our game. what a coincidence! thx man livesaver

  • @RainbexTheRain
    @RainbexTheRainАй бұрын

    Dude, this is really used for battleground games as well. Nice tutorial 😁

  • @Mavve69
    @Mavve69Ай бұрын

    1:38 It’s also how client mods work, or client addons. (For example there’s ones that changes fonts, or in the case of KZread shows the dislikes)

  • @droid812
    @droid812Ай бұрын

    very annoying thing to script everytime along a game but thats not what im thinking of... you explained it to the ACTUAL PONT in... 7 MINS!!?! im surprised tbh, keep going also... btw, can you explain about OOP? (object oriented programming) im very interested on how you would explain it, tysm

  • @ToZzu-px2xd
    @ToZzu-px2xdАй бұрын

    with this video you fixed a lot of problems of my game , thank you

  • @Steelxfaze
    @SteelxfazeАй бұрын

    your -shadow- video is very interesting! good to know.

  • @ZenSynth
    @ZenSynthАй бұрын

    i have been using studio for years and never understood the difference between client and server and remote events have always stumped me, this helps a lot.

  • @anomaly22

    @anomaly22

    Ай бұрын

    Wait what have you been doing in studio?

  • @ZenSynth

    @ZenSynth

    Ай бұрын

    @@anomaly22 Im a modeler, builder, gui artist, animator, pretty much everything except a scripter, i couldent wrap my head around it and im still figuring it out.

  • @anomaly22

    @anomaly22

    Ай бұрын

    @@ZenSynth Oh, I guess it makes sense, visuals are also key stuff for game making and I just got a bit confused cuz "client vs server script" is not really that big compared to others things. By the way if you always have doubt in terms of scripting roblox have a dev forum where people help each other to solve their problem its worth to look at it, I use multiple times But I still have to learn what a module script is so 😭

  • @Custic_
    @Custic_Ай бұрын

    we going to banland with this shadow🗣🗣🗣🔥🔥2:19

  • @brainlesssayspro3738

    @brainlesssayspro3738

    Ай бұрын

    Interesting mindset

  • @TheGenericNoobTGN

    @TheGenericNoobTGN

    Ай бұрын

    it is totally a ban hammer and not anything else

  • @CamOrSomething

    @CamOrSomething

    Ай бұрын

    @@TheGenericNoobTGNits also a snow angel

  • @AgentGilded
    @AgentGildedАй бұрын

    LOL i loved this video, super helpful too!

  • @geonesfa
    @geonesfaАй бұрын

    i mostly know these topics but i still watch your video cause they are really enjoyabls

  • @thephoenixx8136
    @thephoenixx8136Ай бұрын

    Can you do a video explaining the difference between server storage/replicated storage/ script storage and all that stuff you see below the workspace? I don’t know why I would put a script(for example) in the script storage when I can just put it in the workspace or even replicated storage.

  • @SuperPlayz
    @SuperPlayzАй бұрын

    Idk what it is, but you are the only YTer with that zest that is able to actually teach stuff. Thank you Mr ZestyBlox ❤️

  • @mingyus_world

    @mingyus_world

    Ай бұрын

    LMAOOOOOO

  • @nobody7277
    @nobody72776 күн бұрын

    what strand or career did you pick in shs and college? i want to be just like you

  • @Boredgamer6699
    @Boredgamer6699Ай бұрын

    Thx bro this is very useful to me

  • @phlippy

    @phlippy

    Ай бұрын

    Very useful indeed....

  • @Nullive424
    @Nullive424Ай бұрын

    Bro your videos help so much

  • @swordlegend3256
    @swordlegend325629 күн бұрын

    1:50 further explaining this game has something it calls network owners network owners are clients that own an item like the server does so if somhing is owned by you you can lie to the server and if its not you cannot if something is not owned by you you can only edit it on the client and not server so if something is not owned by you you can still make it so game thinks you can go through it but other players cant

  • @Ralse0001
    @Ralse0001Ай бұрын

    byteblox I have a question : how do you make a part .touched function activate if the player is seated on a part and you want the part to connect with the player?

  • @Lua_You

    @Lua_You

    Ай бұрын

    do a weld

  • @YJ_67
    @YJ_67Ай бұрын

    this tutorial is really helpful but how do you make it so when you open up a frame or something by pressing a button it shows to the whole server? do i have to use a remote event?

  • @byteblox100

    @byteblox100

    Ай бұрын

    Send an event to the server, and then send an event back to everyone using FireAllClients and open their gui there

  • @Solvedplayer
    @SolvedplayerАй бұрын

    yo so I have a problem with Roblox studio I try to import animations and i'm the only one that can see them or if my friend does it only, he can see it please help meeeeee if you have the solution.

  • @nilsber.
    @nilsber.Ай бұрын

    as a very advanced scripter, this is the exact channel i would recommend to someone if they wanted to learn how to script. it's not alvinblox, it's not dev king, but it's byteblox. you bring up an idea and perfectly explain how and why it works

  • @fitmotheyap

    @fitmotheyap

    Ай бұрын

    Good to know ig, now he should make a datastore video 😭

  • @nilsber.

    @nilsber.

    Ай бұрын

    @@kylehickmen1684 you're toxic just because i mentioned what level of scripting im at, pipe down bro it was meant to be a positive comment

  • @fitmotheyap

    @fitmotheyap

    Ай бұрын

    @@kylehickmen1684 I have been scripting for like 2 days so far with years of prior experience in mostly java(not every day) and knowledge hammered into me by devs who have done it for years, if I learned anything it's to not put down others, because someone bad can still code whatever the better devs can just worse, in roblox a good dev would properly implement datastore(almost all well known games require datastore, arcane odyssey weapon wipe is what happens when you don't do it correctly), is capable of coding something like a combat system whether turn based or reaction based etc, secures remotes properly and makes sure nothing wrong can happen with them All in all the biggest difference is QUALITY, a bad dev can do the same as a good one just slower, worse and doesn't do it correctly

  • @fitmotheyap

    @fitmotheyap

    Ай бұрын

    Do note that my reply does NOT include "front-end devs", don't know the exact name for them but people who focus on aesthetics like gui, ingame objects having animations like door opening or skill animations and all that as I have 0 experience and know nothing about it yet

  • @Blood_Streams
    @Blood_StreamsАй бұрын

    does that also work if I destroy a part ?

  • @deltakr1s
    @deltakr1sАй бұрын

    ahh another video to edge on😊😊😊

  • @TxtallyNotKev

    @TxtallyNotKev

    Ай бұрын

    😟

  • @steelyx
    @steelyx27 күн бұрын

    To fast explain it: client is what your device is controlling, seeing and how you interact with some objects. All exploits run client and exploits change the code on your device only to change features of a object or elements in a game. Sometimes clients can exploit the server if the way the client communicates with the server is not secure or input is not verified. Server often called global and for good reason is the server making global changes meaning changes to everyone. The client or user has no access to manipulate the server directly and thus why it is better to store and manipulate important data on the server rather than the client. This way a player must rely on the premade communication between the client and server.

  • @Sillyhats
    @Sillyhats28 күн бұрын

    Is there a way to make the color random when you click the button?

  • @ItzMePhoenix.
    @ItzMePhoenix.Ай бұрын

    How would I make it so there is a different color for every player

  • @TheInfamousMelon7
    @TheInfamousMelon720 күн бұрын

    is the colour wheel thing a free plugin

  • @mumpsimusceremonius
    @mumpsimusceremoniusАй бұрын

    cant u just do color.random() in a local script? i saw this and didnt watch it

  • @cosmicdive
    @cosmicdive29 күн бұрын

    So I could just not use the client to handle any logic and only use the server through RemoteEvents? Is there any chance an exploiter can somehow hack a RemoteEvent? I know they can call RemoteFunctions which is why I ask

  • @patoyt1437
    @patoyt1437Ай бұрын

    Aunque ya sé sobre la comunicación entre Cliente y Servidor, me parece genial la certeza y sencillez con la que enseñas los conceptos... Sigue así. Espero que también llegues a explicar "any new feature" que sea implementada a Roblox Studio :D

  • @hackermanwannabe3031
    @hackermanwannabe3031Ай бұрын

    do you have a star code?

  • @Gunanter
    @Gunanter27 күн бұрын

    Imagine making a game with an object as a random color for everyone in the server, and weren't ever informed about it.

  • @gigimoosegaming3465
    @gigimoosegaming346511 күн бұрын

    idk if someones already said this, but because of network ownership physics calculations are done on the client

  • @tip498
    @tip498Ай бұрын

    freakyblox 😛😛

  • @Sir_Lemons

    @Sir_Lemons

    Ай бұрын

    freakyblox 🤑🤑

  • @Sir_Lemons

    @Sir_Lemons

    Ай бұрын

    freakyblox 🤑🤑

  • @Trazor_

    @Trazor_

    Ай бұрын

    freakyblox 😛🤑

  • @kovoneka

    @kovoneka

    Ай бұрын

    freakyblox 🤑😛

  • @kovoneka

    @kovoneka

    Ай бұрын

    why do we people see two or more people saying the same thing and we just go nuts and make a colossal line of responses with the same message over and over

  • @jerichofernandogaming1379
    @jerichofernandogaming1379Ай бұрын

    Do you know how to make when to part touching each other they Will become new part

  • @reyyuwu
    @reyyuwuАй бұрын

    i thought it was some philosophy thing than i realized "oh wait its just local code"

  • @tristorishoti7129
    @tristorishoti7129Ай бұрын

    Hey can you make that if you press a key (example M) a settings menu opens?

  • @byteblox100

    @byteblox100

    Ай бұрын

    game.UserInputService.InputBegan I have a whole video on keybinds

  • @Goobitle
    @GoobitleАй бұрын

    Here are some examples of client sided objects/models or decals. Monday morning misery backgrounds, Pet simulator, Any “simulator” game, Any game with toggles.

  • @totally_not_mikey
    @totally_not_mikeyАй бұрын

    1:39 this is exactly why most anti cheats are put in local scripts or modules, including an anti inf jump I made one time for an obby

  • @DexNathan
    @DexNathanАй бұрын

    I was like "Simple, local scripts." and "Filtering Enabled."

  • @Mr.happy689
    @Mr.happy689Ай бұрын

    Best example of player's seeing different things is splattoon

  • @bloxiest_
    @bloxiest_Ай бұрын

    2:26 looks like the logo you see on koenigseggs

  • @franchk27sscripts42
    @franchk27sscripts42Ай бұрын

    Can you explain how to make ragdoll things?

  • @AndeeC
    @AndeeCАй бұрын

    Local scripts (cyan ones) - only affects 1 player(client) Server scripts (normal, grey ones) - affects the server

  • @anjaysabat1649
    @anjaysabat164922 күн бұрын

    ok heres the reason: client only shows for 1 player, server shows for all players so if you change a red ball to a blue ball on client, you can see a blue ball but others can see a red ball

  • @aaamogusthespiderever2566
    @aaamogusthespiderever2566Ай бұрын

    Imaginary technique: Hollow Purple!

  • @hqTheToaster
    @hqTheToasterАй бұрын

    You don't consider me normal though, so how do I comment normally? Anyway, good video.

  • @someonetoblame7253
    @someonetoblame7253Ай бұрын

    Explain combat systems 🗣🗣🔥🔥

  • @adamhtg1339

    @adamhtg1339

    Ай бұрын

    💀

  • @MisterE1611
    @MisterE1611Ай бұрын

    byteblox explaining the difference between server and client for the 537204th time

  • @ProSureStrings

    @ProSureStrings

    Ай бұрын

    69420th time*

  • @GuestNotZ_YT

    @GuestNotZ_YT

    Ай бұрын

    math.huge()*

  • @player9315

    @player9315

    Ай бұрын

    @@GuestNotZ_YTmath.huge*

  • @Druidwastaken
    @DruidwastakenАй бұрын

    I'm new to development and I have always wondered how

  • @TheAmazingAnimator
    @TheAmazingAnimator16 күн бұрын

    unrelated but yall ever been hungry af without food so u just start chomping into dry pasta just me?

  • @Changed.User100
    @Changed.User100Ай бұрын

    FYI: This is also how exploiters can exploit client sided vs server sided client sided scripts are only visible to the exploiters POV and server sided scripts are much more deadly and destructive and appear in every single perons screen.

  • @masonboone4307
    @masonboone4307Ай бұрын

    CTC desync? (Client to client desync)

  • @sockswastakentwice
    @sockswastakentwiceАй бұрын

    id treat you so well byteblox

  • @buildermonkey2229
    @buildermonkey2229Ай бұрын

    This is how the path tools work

  • @Fidumo
    @FidumoАй бұрын

    this would probably be helpful if luau wasnt my first coding language

  • @Luminary385
    @Luminary385Ай бұрын

    bro explained exploits for everyone who asks exploiters " can you kill him? " or " give me inf coins "

  • @Ogless
    @OglessАй бұрын

    A explanation video that is not 30 min long!!

  • @GrimBeConfused
    @GrimBeConfusedАй бұрын

    nice video tho i did want to just note that the physics of unanchored objects are handled by the closest player and not the server.

  • @byteblox100

    @byteblox100

    Ай бұрын

    I think I have a plugin that sets network ownership of everything to the server

  • @player9315

    @player9315

    Ай бұрын

    The network owner of the part handles physics it’s not always the closest player

  • @Motivated-eu7cz
    @Motivated-eu7cz24 күн бұрын

    Lil bro spent such time to explain local and game scripts...

  • @user-yr5uc9ow6x
    @user-yr5uc9ow6xАй бұрын

    Step one, get 2 ppl, step 2, make them look in different directions, boom they see diff things

  • @Hermit_Wish
    @Hermit_WishАй бұрын

    Day 2 of posting this :') The code assist can be disabled in Studio Settings > Script Editor. You can uncheck "Enable code assist" to fully disable it, or you can uncheck "Auto-trigger"; you can manually trigger it by pressing Alt + \ if you choose to disable auto-trigger.

  • @Dapyking
    @DapykingАй бұрын

    that must be why I didn't see Statue when someone else who was in the code I was in did. I was in Gorilla Tag by the way.

  • @dnnzee
    @dnnzeeАй бұрын

    actually pog video

  • @OumelaidBoulmani-xi3uh
    @OumelaidBoulmani-xi3uhАй бұрын

    Hammer shape shadow

  • @XDxbox420
    @XDxbox420Ай бұрын

    day one asking for byteblox third leg inside studio buddy

  • @ColaThief
    @ColaThiefАй бұрын

    This is helpful yeah

  • @dry1ceee
    @dry1ceeeАй бұрын

    hi

  • @user-di4zi7rg2n
    @user-di4zi7rg2nАй бұрын

    2:25 BAN HAMMER SHADOW

  • @Tanuki5919
    @Tanuki5919Ай бұрын

    So local scripts are client side and scripts are server side?

  • @electroncat

    @electroncat

    Ай бұрын

    Ya

  • @anomaly22

    @anomaly22

    Ай бұрын

    And then there's module script 🥶

  • @LeBoinaXD
    @LeBoinaXDАй бұрын

    I can send you more anime girls

  • @Medic576

    @Medic576

    Ай бұрын

    What

  • @hypeman958

    @hypeman958

    Ай бұрын

    Sir, this is a suicide hotline.

  • @312erutaerC

    @312erutaerC

    Ай бұрын

    Sir, this is a suicide hotline.

  • @YohanTheEgg

    @YohanTheEgg

    3 күн бұрын

    ???

  • @CreatorProductionsOriginal
    @CreatorProductionsOriginalАй бұрын

    Oh yea, time for another class

  • @davidgy
    @davidgyАй бұрын

    can i change the contents of a script using scripts

  • @player9315

    @player9315

    Ай бұрын

    Only with plugins (.Source) I think

  • @legally4946
    @legally4946Ай бұрын

    could you try to explain the _G function in the next video?

  • @player9315

    @player9315

    Ай бұрын

    _G stands for global it is a table that you can access from any scripts (not across to the server)

  • @legally4946

    @legally4946

    Ай бұрын

    @@player9315 yes i know that but i think it would be great for byteblox to explain in further details

  • @Ink0r
    @Ink0rАй бұрын

    local scrip😃😃😃😃

  • @Ox-Ford
    @Ox-FordАй бұрын

    Haven't watched video yet, its on a AD. I say its bc of local scripts.

  • @randomchannel-kh7oc
    @randomchannel-kh7ocАй бұрын

    this sounds familiar...

  • @cristian505fr
    @cristian505frАй бұрын

    Its over for you lil bro, oil up right now

  • @Felipefilip
    @FelipefilipАй бұрын

    Is Simple: 1 must be colorblind

  • @TheVoidAscensionist
    @TheVoidAscensionistАй бұрын

    Client replication is useful asf

  • @fancen
    @fancenАй бұрын

    maybe

  • @dembones9275
    @dembones927521 күн бұрын

    i cant wait for someone to make a schizophrenia simulator on roblox using this

  • @creeperplayzz
    @creeperplayzzАй бұрын

    Day 35 of edging to your videos

  • @user-SW1Cb3V0YUdldERvd24
    @user-SW1Cb3V0YUdldERvd24Ай бұрын

    why am i watching this i already know how to do this

  • @RealLilJappy
    @RealLilJappyАй бұрын

    freaky!

  • @BoomSki-pn9lb
    @BoomSki-pn9lbАй бұрын

    i dont even use roblox studio and this is still useful

  • @bennyrbx6047

    @bennyrbx6047

    5 сағат бұрын

    how

  • @amaz1699
    @amaz1699Ай бұрын

    6:52 “And yeah, so comment something that y’know you.. would comment normally on a video like this” ok bet pls make a game/obby/simulator/tycoon that uses no variables (global and local)

  • @Spencer_TheSpender
    @Spencer_TheSpenderАй бұрын

    “6!” “9!”

  • @Aethel_Beorn
    @Aethel_Beorn22 күн бұрын

    ..or the other player is colorblind

  • @tashan3898
    @tashan389816 күн бұрын

    Why is the red line all the way across the screen

  • @tashan3898

    @tashan3898

    16 күн бұрын

    On this video

  • @HollowDog5899
    @HollowDog5899Ай бұрын

    Its magic, duh.

Келесі