Это видео недоступно.
Сожалеем об этом.

How Can Two Players See Different Things?

Поделиться
HTML-код
  • Опубликовано: 16 авг 2024

Комментарии • 297

  • @byteblox100
    @byteblox100  3 месяца назад +34

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

    • @creeperplayzz
      @creeperplayzz 3 месяца назад +10

      Oil up daddy 😫

    • @slavsit7600
      @slavsit7600 3 месяца назад +2

      can you give me robux

    • @kaijumaniacyt
      @kaijumaniacyt 3 месяца назад +9

      Can I draw female version of you?

    • @byteblox100
      @byteblox100  3 месяца назад +9

      @@kaijumaniacyt sure bro

    • @ginormousBalls
      @ginormousBalls 3 месяца назад

      𝓯𝓻𝓮𝓪𝓴𝔂 𝓫𝓵𝓸𝔁

  • @attackehhh
    @attackehhh 3 месяца назад +130

    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._ 3 месяца назад +1

      thank you for this

    • @penginator89
      @penginator89 3 месяца назад +1

      Whats a module script

    • @d0gshn
      @d0gshn 3 месяца назад +1

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

    • @studsheep
      @studsheep 3 месяца назад

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

    • @Jake_Gotthard
      @Jake_Gotthard 3 месяца назад +1

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

  • @tuxsteve1
    @tuxsteve1 3 месяца назад +54

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

  • @retovidos
    @retovidos 3 месяца назад +99

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

  • @yukisoba8888
    @yukisoba8888 3 месяца назад +15

    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 3 месяца назад +1

      npc

    • @yukisoba8888
      @yukisoba8888 3 месяца назад

      @@ajojofann thanks man

    • @yukisoba8888
      @yukisoba8888 3 месяца назад

      @@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 3 месяца назад

      npc

    • @yukisoba8888
      @yukisoba8888 3 месяца назад

      @@lamp7746 OK I GET IT :(

  • @this_commenter_had_a_stroke
    @this_commenter_had_a_stroke 3 месяца назад +4

    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.

  • @TheInfamousUmbrella
    @TheInfamousUmbrella 3 месяца назад +34

    your videos are as entertaining as informative, thanks dude

  • @askemadsen21
    @askemadsen21 3 месяца назад +24

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

    • @fernandavqstz
      @fernandavqstz 3 месяца назад

      from our perspective

    • @nezo4x
      @nezo4x 3 месяца назад +1

      ZA WARUDO

  • @Custic_
    @Custic_ 3 месяца назад +37

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

  • @Planetary-1
    @Planetary-1 3 месяца назад +58

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

    • @connordendy
      @connordendy 3 месяца назад +2

      Oh my god bruh why did you point it out

    • @Randi_MyMan
      @Randi_MyMan 3 месяца назад +1

      bluds shadow is gonna ban us all 🔨💀

    • @quotetry8998
      @quotetry8998 3 месяца назад +1

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

    • @MarzFromMars
      @MarzFromMars 3 месяца назад

      dang.

    • @Ðęłẽțëď
      @Ðęłẽțëď 3 месяца назад +1

      @@quotetry8998holy shit😳

  • @patoyt1437
    @patoyt1437 3 месяца назад +5

    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

  • @tip498
    @tip498 3 месяца назад +216

    freakyblox 😛😛

    • @Sir_Lemons
      @Sir_Lemons 3 месяца назад +6

      freakyblox 🤑🤑

    • @Sir_Lemons
      @Sir_Lemons 3 месяца назад +4

      freakyblox 🤑🤑

    • @Trazor_
      @Trazor_ 3 месяца назад +4

      freakyblox 😛🤑

    • @kovoneka
      @kovoneka 3 месяца назад +4

      freakyblox 🤑😛

    • @kovoneka
      @kovoneka 3 месяца назад +19

      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

  • @deltakr1s
    @deltakr1s 3 месяца назад +8

    ahh another video to edge on😊😊😊

  • @YJ_67
    @YJ_67 3 месяца назад +4

    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  3 месяца назад +1

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

  • @SuperPlayz
    @SuperPlayz 3 месяца назад +2

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

  • @droid812
    @droid812 3 месяца назад +3

    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

  • @Ralseee
    @Ralseee 3 месяца назад +3

    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 3 месяца назад

      do a weld

  • @Thatcringeanimator_
    @Thatcringeanimator_ 3 месяца назад +1

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

  • @nilsber.
    @nilsber. 3 месяца назад +1

    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 3 месяца назад

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

    • @nilsber.
      @nilsber. 3 месяца назад

      @@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 3 месяца назад

      @@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 3 месяца назад

      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

  • @Mavve69
    @Mavve69 3 месяца назад

    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 RUclips shows the dislikes)

  • @Z4nder00
    @Z4nder00 16 дней назад

    Thx for making this this tut so simple! :)

  • @Void_Robloxian
    @Void_Robloxian 3 месяца назад +5

    2:21 goofy ah player shadow

  • @swordlegend3256
    @swordlegend3256 3 месяца назад

    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

  • @MindsOfMany
    @MindsOfMany 2 месяца назад

    thanks im a beginner in scripting and this explained a lot

  • @Boredgamer6699
    @Boredgamer6699 3 месяца назад +2

    Thx bro this is very useful to me

    • @phlippy
      @phlippy 3 месяца назад

      Very useful indeed....

  • @nobody7277
    @nobody7277 2 месяца назад +1

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

  • @ZenSynth
    @ZenSynth 3 месяца назад

    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 3 месяца назад +1

      Wait what have you been doing in studio?

    • @ZenSynth
      @ZenSynth 3 месяца назад

      @@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 3 месяца назад +2

      @@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 😭

  • @Goobitle
    @Goobitle 3 месяца назад

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

  • @F.J.Gaming5063
    @F.J.Gaming5063 3 месяца назад

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

  • @gigimoosegaming3465
    @gigimoosegaming3465 2 месяца назад

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

  • @Gunanter
    @Gunanter 3 месяца назад

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

  • @HannahPlaysRobloxNDraws
    @HannahPlaysRobloxNDraws 3 месяца назад +1

    2:25 BAN HAMMER SHADOW

  • @MisterE1611
    @MisterE1611 3 месяца назад +1

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

  • @Korii_01
    @Korii_01 3 месяца назад

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

  • @anjaysabat1649
    @anjaysabat1649 3 месяца назад

    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

  • @Mr.happy689
    @Mr.happy689 3 месяца назад

    Best example of player's seeing different things is splattoon

  • @totally_not_mikey
    @totally_not_mikey 3 месяца назад

    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

  • @CreatorProductionsOriginal
    @CreatorProductionsOriginal 3 месяца назад +1

    Oh yea, time for another class

  • @aaamogusthespiderever2566
    @aaamogusthespiderever2566 3 месяца назад

    Imaginary technique: Hollow Purple!

  • @thephoenixx8136
    @thephoenixx8136 3 месяца назад

    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.

    • @bloggershoot4006
      @bloggershoot4006 Месяц назад

      Replicated storage is accessible by the client (Local script) and the server (Server script) while server storage is only accessible by the server (Server script)

  • @steelyx
    @steelyx 3 месяца назад

    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.

  • @geonesfa
    @geonesfa 3 месяца назад

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

  • @TheAmazingAnimator
    @TheAmazingAnimator 3 месяца назад

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

  • @RainbexTheRain
    @RainbexTheRain 3 месяца назад

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

  • @Ox-Ford
    @Ox-Ford 3 месяца назад +3

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

  • @Hermit_Wish
    @Hermit_Wish 3 месяца назад

    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.

  • @ToZzu-px2xd
    @ToZzu-px2xd 3 месяца назад

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

  • @Roovinggoove
    @Roovinggoove 3 месяца назад

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

  • @AndeeC
    @AndeeC 3 месяца назад

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

  • @Dapyking
    @Dapyking 3 месяца назад

    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.

  • @Luminary_yt
    @Luminary_yt 3 месяца назад

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

  • @Steelxfaze
    @Steelxfaze 3 месяца назад

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

  • @Druidwastaken
    @Druidwastaken 3 месяца назад

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

  • @LeBoina
    @LeBoina 3 месяца назад +11

    I can send you more anime girls

    • @Medic576
      @Medic576 3 месяца назад

      What

    • @hypeman958
      @hypeman958 3 месяца назад +6

      Sir, this is a suicide hotline.

    • @312erutaerC
      @312erutaerC 3 месяца назад +3

      Sir, this is a suicide hotline.

    • @YohanTheEgg
      @YohanTheEgg 2 месяца назад

      ???

  • @Changed.User100
    @Changed.User100 3 месяца назад

    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.

  • @hackermanwannabe3031
    @hackermanwannabe3031 3 месяца назад +1

    do you have a star code?

  • @Ink0r
    @Ink0r 3 месяца назад +3

    local scrip😃😃😃😃

  • @someonetoblame7253
    @someonetoblame7253 3 месяца назад +1

    Explain combat systems 🗣🗣🔥🔥

  • @buildermonkey2229
    @buildermonkey2229 3 месяца назад

    This is how the path tools work

  • @franchk27sscripts42
    @franchk27sscripts42 3 месяца назад

    Can you explain how to make ragdoll things?

  • @creeperplayzz
    @creeperplayzz 3 месяца назад +1

    Day 35 of edging to your videos

  • @Ogless
    @Ogless 3 месяца назад

    A explanation video that is not 30 min long!!

  • @Motivated-eu7cz
    @Motivated-eu7cz 3 месяца назад

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

  • @tristorishoti7129
    @tristorishoti7129 3 месяца назад

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

    • @byteblox100
      @byteblox100  3 месяца назад

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

  • @dryyicee
    @dryyicee 3 месяца назад +3

    hi

  • @ItzMePhoenix.
    @ItzMePhoenix. 3 месяца назад

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

  • @cristian505fr
    @cristian505fr 3 месяца назад +2

    Its over for you lil bro, oil up right now

  • @AgentGilded
    @AgentGilded 3 месяца назад

    LOL i loved this video, super helpful too!

  • @jerichofernandogaming1379
    @jerichofernandogaming1379 3 месяца назад

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

  • @Solvedplayer
    @Solvedplayer 3 месяца назад

    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.

  • @cosmicdive
    @cosmicdive 3 месяца назад

    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

  • @hqTheToaster
    @hqTheToaster 3 месяца назад

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

  • @DexNathan
    @DexNathan 3 месяца назад

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

  • @justawildboi
    @justawildboi 3 месяца назад +2

    ADHD version, local scripts and scripts.

  • @TheUnchainedPredator
    @TheUnchainedPredator 3 месяца назад

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

  • @mumpsimusceremonius
    @mumpsimusceremonius 3 месяца назад

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

  • @Felipefilip
    @Felipefilip 3 месяца назад

    Is Simple: 1 must be colorblind

  • @TheInfamousMelon7
    @TheInfamousMelon7 3 месяца назад

    is the colour wheel thing a free plugin

  • @BoomSki-pn9lb
    @BoomSki-pn9lb 3 месяца назад

    i dont even use roblox studio and this is still useful

  • @legally4946
    @legally4946 3 месяца назад +1

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

    • @player9315
      @player9315 3 месяца назад +1

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

    • @legally4946
      @legally4946 3 месяца назад +1

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

  • @Fidumo
    @Fidumo 3 месяца назад

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

  • @Blood_Streams
    @Blood_Streams 3 месяца назад

    does that also work if I destroy a part ?

  • @Nullive424
    @Nullive424 3 месяца назад

    Bro your videos help so much

  • @randomchannel-kh7oc
    @randomchannel-kh7oc 3 месяца назад

    this sounds familiar...

  • @GrimBeConfused
    @GrimBeConfused 3 месяца назад

    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  3 месяца назад

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

    • @player9315
      @player9315 3 месяца назад

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

  • @amaz1699
    @amaz1699 3 месяца назад

    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)

  • @dembones9275
    @dembones9275 3 месяца назад

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

  • @the_matvei9mir995
    @the_matvei9mir995 3 месяца назад

    2:23 hammer shadow

  • @masonboone4307
    @masonboone4307 3 месяца назад

    CTC desync? (Client to client desync)

  • @Aethel_Beorn
    @Aethel_Beorn 3 месяца назад

    ..or the other player is colorblind

  • @OumelaidBoulmani-xi3uh
    @OumelaidBoulmani-xi3uh 3 месяца назад

    Hammer shape shadow

  • @DigitalGeometryDash
    @DigitalGeometryDash 11 дней назад

    ty bruh

  • @adumbperson517
    @adumbperson517 3 месяца назад

    heres a simple explanation:local scripts.

  • @Spencer_TheSpender
    @Spencer_TheSpender 3 месяца назад

    “6!”
    “9!”

  • @GROWSNAPOFFICIAL
    @GROWSNAPOFFICIAL 3 месяца назад

    Client side, server side.

  • @TheVoidAscensionist
    @TheVoidAscensionist 3 месяца назад

    Client replication is useful asf

  • @HollowDog5899
    @HollowDog5899 3 месяца назад

    Its magic, duh.

  • @tashan3898
    @tashan3898 3 месяца назад

    Why is the red line all the way across the screen

  • @XDxbox420
    @XDxbox420 3 месяца назад

    day one asking for byteblox third leg inside studio buddy

  • @bob_the_brick
    @bob_the_brick 3 месяца назад +3

    Thanks for the info
    - exploiter