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
NEW CODE "FREAKYBLOX" 50% OFF (expires in 5 days): www.udemy.com/course/byteblox-expert/?referralCode=B83EFB1A86A5C3D5F206
@creeperplayzz
Ай бұрын
Oil up daddy 😫
@slavsit7600
Ай бұрын
can you give me robux
@sussybaki819
Ай бұрын
Can I draw female version of you?
@byteblox100
Ай бұрын
@@sussybaki819 sure bro
@ginormousBalls
Ай бұрын
𝓯𝓻𝓮𝓪𝓴𝔂 𝓫𝓵𝓸𝔁
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._
Ай бұрын
thank you for this
@penginator88
Ай бұрын
Whats a module script
@d0gshn
Ай бұрын
@@penginator88 a table/dictionary so big you had to create a specific script for it
@studsheep
Ай бұрын
NOOOO I WAS TOO LATE TO PROVIDE A QUICK SPEEDY SUMMARY *cries in nerd *
@Jake_Gotthard
Ай бұрын
@@studsheepplease explain it to me like im a Golden retriever with adhd
*Stops for a second* and my character has a very interesting shadow. *continues the video*
@jimmydavis8172
17 күн бұрын
when?
@lolcat69
13 күн бұрын
@@jimmydavis8172 when?
@finjer5018
12 күн бұрын
@@jimmydavis8172 2:22
@rockernan89-gaming
5 күн бұрын
@@jimmydavis81722:19
@beepingbops312
15 сағат бұрын
@@jimmydavis8172 0:49
I watch your videos on the little mini player from when you hover over the video thumbnail
@ProSureStrings
Ай бұрын
Same fr
@Franchescovisk
Ай бұрын
same
@The_Alex_YT
Ай бұрын
does he still earn his moneyz? 🤑
@cosobi
28 күн бұрын
relatable
your videos are as entertaining as informative, thanks dude
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
Ай бұрын
npc
@yukisoba8888
Ай бұрын
@@ajojofann thanks man
@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
23 күн бұрын
npc
@yukisoba8888
22 күн бұрын
@@lamp7746 OK I GET IT :(
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.
We don't see the world as it is We see the world as we are.
@fernandavqstz
Ай бұрын
from our perspective
@Tanuki5919
Ай бұрын
ZA WARUDO
Thank you for telling me this I am planning to code roblox games in the future and might need this when I can 👍
yes... very interesting shadow 2:19 ....
@connordendy
Ай бұрын
Oh my god bruh why did you point it out
@Randi_MyMan
Ай бұрын
bluds shadow is gonna ban us all 🔨💀
@quotetry8998
Ай бұрын
What are you talking about? That’s not ByteBlox’s shadow.. *..not a shadow of his body, but..*
@MarzFromMars
Ай бұрын
dang.
@Softcap
Ай бұрын
@@quotetry8998holy shit😳
we were just talking about needing something like this in our game. what a coincidence! thx man livesaver
Dude, this is really used for battleground games as well. Nice tutorial 😁
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)
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
with this video you fixed a lot of problems of my game , thank you
your -shadow- video is very interesting! good to know.
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
Ай бұрын
Wait what have you been doing in studio?
@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
Ай бұрын
@@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 😭
we going to banland with this shadow🗣🗣🗣🔥🔥2:19
@brainlesssayspro3738
Ай бұрын
Interesting mindset
@TheGenericNoobTGN
Ай бұрын
it is totally a ban hammer and not anything else
@CamOrSomething
Ай бұрын
@@TheGenericNoobTGNits also a snow angel
LOL i loved this video, super helpful too!
i mostly know these topics but i still watch your video cause they are really enjoyabls
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.
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
Ай бұрын
LMAOOOOOO
what strand or career did you pick in shs and college? i want to be just like you
Thx bro this is very useful to me
@phlippy
Ай бұрын
Very useful indeed....
Bro your videos help so much
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
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
Ай бұрын
do a weld
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
Ай бұрын
Send an event to the server, and then send an event back to everyone using FireAllClients and open their gui there
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.
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
Ай бұрын
Good to know ig, now he should make a datastore video 😭
@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
Ай бұрын
@@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
Ай бұрын
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
does that also work if I destroy a part ?
ahh another video to edge on😊😊😊
@TxtallyNotKev
Ай бұрын
😟
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.
Is there a way to make the color random when you click the button?
How would I make it so there is a different color for every player
is the colour wheel thing a free plugin
cant u just do color.random() in a local script? i saw this and didnt watch it
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
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
do you have a star code?
Imagine making a game with an object as a random color for everyone in the server, and weren't ever informed about it.
idk if someones already said this, but because of network ownership physics calculations are done on the client
freakyblox 😛😛
@Sir_Lemons
Ай бұрын
freakyblox 🤑🤑
@Sir_Lemons
Ай бұрын
freakyblox 🤑🤑
@Trazor_
Ай бұрын
freakyblox 😛🤑
@kovoneka
Ай бұрын
freakyblox 🤑😛
@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
Do you know how to make when to part touching each other they Will become new part
i thought it was some philosophy thing than i realized "oh wait its just local code"
Hey can you make that if you press a key (example M) a settings menu opens?
@byteblox100
Ай бұрын
game.UserInputService.InputBegan I have a whole video on keybinds
Here are some examples of client sided objects/models or decals. Monday morning misery backgrounds, Pet simulator, Any “simulator” game, Any game with toggles.
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
I was like "Simple, local scripts." and "Filtering Enabled."
Best example of player's seeing different things is splattoon
2:26 looks like the logo you see on koenigseggs
Can you explain how to make ragdoll things?
Local scripts (cyan ones) - only affects 1 player(client) Server scripts (normal, grey ones) - affects the server
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
Imaginary technique: Hollow Purple!
You don't consider me normal though, so how do I comment normally? Anyway, good video.
Explain combat systems 🗣🗣🔥🔥
@adamhtg1339
Ай бұрын
💀
byteblox explaining the difference between server and client for the 537204th time
@ProSureStrings
Ай бұрын
69420th time*
@GuestNotZ_YT
Ай бұрын
math.huge()*
@player9315
Ай бұрын
@@GuestNotZ_YTmath.huge*
I'm new to development and I have always wondered how
unrelated but yall ever been hungry af without food so u just start chomping into dry pasta just me?
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.
CTC desync? (Client to client desync)
id treat you so well byteblox
This is how the path tools work
this would probably be helpful if luau wasnt my first coding language
bro explained exploits for everyone who asks exploiters " can you kill him? " or " give me inf coins "
A explanation video that is not 30 min long!!
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
Ай бұрын
I think I have a plugin that sets network ownership of everything to the server
@player9315
Ай бұрын
The network owner of the part handles physics it’s not always the closest player
Lil bro spent such time to explain local and game scripts...
Step one, get 2 ppl, step 2, make them look in different directions, boom they see diff things
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.
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.
actually pog video
Hammer shape shadow
day one asking for byteblox third leg inside studio buddy
This is helpful yeah
hi
2:25 BAN HAMMER SHADOW
So local scripts are client side and scripts are server side?
@electroncat
Ай бұрын
Ya
@anomaly22
Ай бұрын
And then there's module script 🥶
I can send you more anime girls
@Medic576
Ай бұрын
What
@hypeman958
Ай бұрын
Sir, this is a suicide hotline.
@312erutaerC
Ай бұрын
Sir, this is a suicide hotline.
@YohanTheEgg
3 күн бұрын
???
Oh yea, time for another class
can i change the contents of a script using scripts
@player9315
Ай бұрын
Only with plugins (.Source) I think
could you try to explain the _G function in the next video?
@player9315
Ай бұрын
_G stands for global it is a table that you can access from any scripts (not across to the server)
@legally4946
Ай бұрын
@@player9315 yes i know that but i think it would be great for byteblox to explain in further details
local scrip😃😃😃😃
Haven't watched video yet, its on a AD. I say its bc of local scripts.
this sounds familiar...
Its over for you lil bro, oil up right now
Is Simple: 1 must be colorblind
Client replication is useful asf
maybe
i cant wait for someone to make a schizophrenia simulator on roblox using this
Day 35 of edging to your videos
why am i watching this i already know how to do this
freaky!
i dont even use roblox studio and this is still useful
@bennyrbx6047
5 сағат бұрын
how
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)
“6!” “9!”
..or the other player is colorblind
Why is the red line all the way across the screen
@tashan3898
16 күн бұрын
On this video
Its magic, duh.