Local Scripts (Server vs Client) - Roblox Advanced Scripting #1 (2023)

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024
  • PATREON🎁
    Get Access to My Scripts + More Perks by Becoming a Patreon Member!
    / brawldev
    DISCORD 📜
    Join my Discord Community if you want scripting help, participate in events/challenges, and make friends!
    / discord
    ADVANCED ROBLOX SCRIPTING SERIES 🔴
    • Roblox Advanced Script...
    ROBLOX GUI TUTORIAL SERIES 🎨
    • Roblox GUI Tutorial Gu...
    BEGINNER ROBLOX SCRIPTING SERIES 🟢
    • Roblox Beginners Scrip...
    TWITTER / X 🐦
    / brawlbattlerblx
    In this 2023 Guide to Roblox Scripting for Advanced Developers, I will go through everything you need to know to continue scripting on Roblox!
    My new mission is to have fun teaching everything I know from developing games on Roblox since 2016. We will dive into scripting concepts as basic as printing to as complicated as raycasting. For every episode of this series, I encourage you to do everything I do to gain experience and let it stick with you so that you can create the games you're passionate about on your own. Enjoy this series and remember: being a competent scripter takes time and effort so don't get discouraged if things get too tricky. Remember where your inspirations came from; if you can be a Roblox scripter, then anyone can!
    Tags:
    #roblox #robloxstudio #robloxscript #robloxscripting #robloxadvancedscripting #robloxdev #robloxdevelopment #robloxdeveloper #robloxprogramming #scripting #programming #gamedev #gamedevelopment #gamedeveloper #robloxtutorial #robloxscriptingtutorial
    DOWNLOAD ROBLOX STUDIO HERE:
    create.roblox.....
    (On the left side under "Resources", click on "Download Studio")
    More Resources:
    create.roblox....

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

  • @BrawlDevRBLX
    @BrawlDevRBLX  5 หลายเดือนก่อน +17

    WATCH MY BEGINNERS SCRIPTING SERIES FIRST BEFORE THIS ONE!
    th-cam.com/play/PLQ1Qd31Hmi3W_CGDzYOp7enyHlOuO3MtC.html&si=6lWPfrILGGq1GLlW

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

      thank youuu

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

      can i still use
      local part = script.Parent
      on Local Scripts or it will only work on Server Scripts such as 'Script' and 'Module Script' ?

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

      i watched one

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

      @@SushiCat0316I’m assuming you can. Because that doesn’t really depend on client or server, it just runs regardless.

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

      pain

  • @suprisedbeeiscute
    @suprisedbeeiscute 6 หลายเดือนก่อน +99

    all those ''op'' scripts that teach you the basic codes in the start are 100% in the wrong. You are doing the right thing. Instead of telling us how to use local, or server or client.. all those terms. Tell us what ARE those terms. I can't understand how to use something in every situation if I don't know what exactly it is. For example: Someone can tell me how to use a fork while eating meat, but if I make a special dish, I won't know how to use it because I was only taught it for meat. (bad example im stupid)

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

      Good example. You're doing great.

    • @SushiCat0316
      @SushiCat0316 4 หลายเดือนก่อน +3

      no, you did a great reprentation...
      unlike the DevKing advance tutorial in ModuleScript, this dude's ModuleScript tutorial is more informative than theDevKing... and your example here is right

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

      ​@@SushiCat0316no offense to thedevking, but i just got even more confused about modulescripts after i watched his modulescript video.

    • @AhmedKhan-gh6zb
      @AhmedKhan-gh6zb 3 หลายเดือนก่อน +1

      @@deludedfire Basically module scripts are json files used to store value, functions, etc. It's used for more neat and compiled code rather than messy code.

    • @Dinther-r4i
      @Dinther-r4i 2 หลายเดือนก่อน

      Just first watch begginer tutorials

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

    🎁Get Access to my Scripts + More Perks by Becoming a Channel Member! 👇
    www.youtube.com/@BrawlDevRBLX/join

  • @WilleRBX
    @WilleRBX 11 หลายเดือนก่อน +25

    Keep up the good work! You deserve much more attention. Thanks for the tutorial man!

    • @BrawlDevRBLX
      @BrawlDevRBLX  11 หลายเดือนก่อน +3

      Much appreciated!

    • @Maple-the-Gamedev
      @Maple-the-Gamedev 2 หลายเดือนก่อน

      didnt expect to see you here lol

  • @aggggggg98
    @aggggggg98 5 หลายเดือนก่อน +9

    I started developing last year and wanted to clear my topics as i haven't scripted for like 4-5 months because of exams, this new channel is gonna help me out sm! ty

  • @Unmatcheddoestsbg
    @Unmatcheddoestsbg 7 หลายเดือนก่อน +24

    3 months later and this shit still works

    • @ObliviousNoob1
      @ObliviousNoob1 6 หลายเดือนก่อน +3

      yeah ofc its the main part of lua

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

      @@ObliviousNoob1 no i meant in tutorial wise its a great tutorial

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

      @@Unmatcheddoestsbg yah im already a decent scripter i just need some of the things in this tutorial

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

      You can follow a tutorial from 9 years ago and probably all of it is the same

    • @shadow982
      @shadow982 5 หลายเดือนก่อน +3

      @@dinguzzy Just gotta watch out for deprecated features :)

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

    been here on multiple accounts, but the way you explained every step by step in everything, LITTERALY EVERYTHING TO OPENING UP THE TABS ON THE RIGHT... it's majestic. I was thinking ''this guy is an angel''.

  • @Trecinus
    @Trecinus 9 หลายเดือนก่อน +4

    In summary:
    *Server*: The computer at Roblox that oversees the experience and all of it's connected clients. Whatever happens on the server should occur on the clients as well. Use a Script to run code on Server.
    *Clients*: Computers that run a copy of the experience, but said copy changes depending on synchronization from Server, or LocalScripts. Use a LocalScript (or a Script with RunContext property set to Client) to run code on Client.

  • @YakoBlast
    @YakoBlast 8 หลายเดือนก่อน +11

    The actual examples are really useful!! I love them

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

    thank you bro you teach very well! i came from the beginners series and cant wait to start this playlist

  • @k1ng_chicken
    @k1ng_chicken 8 หลายเดือนก่อน +5

    Your thumbnails are pretty sick.

  • @JayBoiKobe
    @JayBoiKobe 11 หลายเดือนก่อน +10

    this is so good! you really need more attention I will share your channel!

  • @overlording
    @overlording 6 หลายเดือนก่อน +3

    I watched Averciles playlist and learned all the basic things from functions to tables. Hopefully this playlist will help me become able to do cooler things.

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

    Great video, but C++, C, Assembly, malloc(), client server model, actually 🤓. So actually maybe Python, 100001001101010101010110.
    while true do. It's just more performant.

  • @lor3m1psum
    @lor3m1psum 4 หลายเดือนก่อน +2

    the dedication is crazy W

  • @cupcakesshorts
    @cupcakesshorts 3 วันที่ผ่านมา

    whay is your roblox studio looke difrent then my
    ??????

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

    finally. Advanced scripting. You helped a brother out, new sub!

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

    who came from devkings tutorials?

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

    thanks for showing the difference!, gotta understand now

  • @KittyCat_Cute
    @KittyCat_Cute 20 วันที่ผ่านมา

    "I have control of 1.9k or 2k". Now its 2k! >:D

  • @nyctinasty4753
    @nyctinasty4753 8 วันที่ผ่านมา

    Wonderful tutorial series! I just joined a team of Robblox game devs, who have a large messy codebase and have been lacking a competent developer for years and it's one big mess that needs an entire undertaking to even begin to refactor and bugfix. And although I have no prior experience with Roblox or game development, I have with programming and computer science, so i'm hoping I can put that to good use and do my best. Aside to the surprisingly great API docs for Luau and Roblox Engine, these vids will help with that a lot!

  • @user-kr5wo9lf6o
    @user-kr5wo9lf6o 27 วันที่ผ่านมา

    This is the best Local Script explanation I've ever heard, Thx

  • @الواد-أبو-مناخير
    @الواد-أبو-مناخير 3 หลายเดือนก่อน

    just came back here to remember the difference more accurately.
    also...
    Read more..

  • @Eqjdodwjcieichefiuchef
    @Eqjdodwjcieichefiuchef 18 วันที่ผ่านมา

    Feels so awkward after watching the end of the beginners tutorial guide

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

    Thank you so much i was able to figure out and test some stuff by doing what you did. I have 10 other videos of yours open on my tab lol, your videos are really helpful

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

    Thank you for creating this series beacuse your helping me how to do script

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

    OMG I AM SEARCHING IT SO LONG TIME YOU ARE KING THANK YOU SO MUCH !!!

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

    i thought i knew but i learned so much thank you a lot

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

    Is that an error or is it something I haven't learnt yet?
    I added a LocalScript in StarterCharacterScripts and wrote a code that changes the part color to red whenever the player touches it.
    The problem is, I tested the game with two players, and I touched the part with player 1. The part then changed its color to red on both Player 1's screen and Player 2's screen, even though Player 2 hasn't touched the part yet.
    How is that possible?
    Could you help me?

    • @TRV-bs6he
      @TRV-bs6he 4 หลายเดือนก่อน

      thats how local scripts work, that is completly ok. loacl script are script the only you can see (i.e input, gui etc) and a normal script is a global scri[t that happens in all clients(pepole who paly the game)

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

      Yes, that is correct. I had the same issue and article "verifying-part-touches-via-the-client-for-client-side-interactions/359133" explains why. In summary, "Touched" is fired for Player 2, even though he did not touch the brick, as Player 2 is monitoring all parts and interactions that it can see. It can 'see' Player 1 touch the brick and so he receives the Touched event and the brick changes colour in the scene for Player 2. If we only want the colour to change for Player 1, we need to check if this player touched the brick. Example:
      local BrickPart = game.Workspace:WaitForChild("Part")
      local LocalPlayer = game:GetService("Players").LocalPlayer
      BrickPart.Touched:Connect(function(partThatTouchedTheBrick)
      if LocalPlayer.Character and partThatTouchedTheBrick:IsDescendantOf(LocalPlayer.Character) then
      BrickPart.BrickColor = BrickColor.new("Really red")
      end
      end).

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

    Nah i used the local script because it looked cooler, didnt know this tho thanks man!💀💀

  • @Mesuid
    @Mesuid 23 วันที่ผ่านมา

    local script only works in workspace if the parent of the script is not a child of the workspace

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

    11:52 thats what I am searching for, thank you dude so much

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

    reupload without comments so my adhd stays calm

  • @ASillyDeveloper
    @ASillyDeveloper 3 หลายเดือนก่อน +1

    This guy is like DevKing, but BETTER.

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

      I like thedevking more

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

    Podia ter uma tradução portuguesa :()

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

    so basicly it is frontend and backend

  • @SameForYouWasTaken
    @SameForYouWasTaken 10 หลายเดือนก่อน +2

    This is why remote events are important; You can use remote events to send local data to the server. Much like when you say something in chat. If you use a serverside script for that, then everyone will say soemthing instead of just you. Thats why roblox uses remote events. It checks if the player said something in the chat, gets that message and you can get the information from that remote event with "event.OnServerEvent" and get the arguments so everyone can see what you said, but only you say what you typed, and not everyone else.

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

      Funny you say that, I just made a video today on what you just said lol

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

      prediction level higher than my iq 💀💀@@BrawlDevRBLX

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

      crazy@@SameForYouWasTaken

  • @miguelitto999
    @miguelitto999 15 วันที่ผ่านมา

    for today's learning objective I have made a local script that changes the color and then turns it back to yellow
    local part = game.Workspace:WaitForChild("Part")
    part.Touched:Connect(function()
    part.BrickColor = BrickColor.new("Really red")

    task.wait(5)

    if part.BrickColor == BrickColor.new("Really red") then
    part.BrickColor = BrickColor.new("New Yeller")
    end

    end)

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

    You need more subscribers!
    Ive been trying to find a good advanced scripting tutorial and oh my god you are the best!
    new sub! (706th sub)

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

      Glad to hear my videos are helping you!

  • @gum6680
    @gum6680 8 หลายเดือนก่อน +3

    so basically the server is a box, now us the player are the clients, we are inside that box?

    • @BrawlDevRBLX
      @BrawlDevRBLX  8 หลายเดือนก่อน +1

      In the most basic sense, yes.

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

      oh okay
      @@BrawlDevRBLX

    • @الواد-أبو-مناخير
      @الواد-أبو-مناخير 3 หลายเดือนก่อน

      @@BrawlDevRBLX
      What do you mean 'In the most basic sense'?
      Are there rare situations in which this definition isn't accurate?

    • @blazintwitch
      @blazintwitch 2 หลายเดือนก่อน +1

      @@الواد-أبو-مناخير he is saying a lot goes on behind the scenes. And calling the server a box just visualizes the basic idea.

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

    to test if i understand everything correctly i wrote this:
    local part = game.workspace:WaitForChild("Part")
    part.Touched:Connect(function()
    part.BrickColor = BrickColor.new("Really red")
    end)
    local part = game.workspace:WaitForChild("Part2")
    part.Touched:Connect(function()
    part.BrickColor = BrickColor.new("Really blue")
    wait(2)
    part.BrickColor = BrickColor.new("White")
    end)
    First i made two different files for each part but then i experimented and put it in one, and it worked! For a person like me its something big lol

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

    Thank you for this amazing tutorial, I mean you explained everything clearly. One of the greatest factors of this is that you give way for people to understand the concept of local scripts by giving an example which is so reliable and new in teaching. Thanks broo

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

    Omg yes thats what i was looking for i only found tutorials like "what are variables" and i already know that stuff and finally i found you thanks

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

    thanks for the 2nd tutorial playlist, i havnt been able to go from knowing the basics to actually using the knowledge

  • @zunairakhalidd3163
    @zunairakhalidd3163 25 วันที่ผ่านมา

    im not gonna succed as a game dev

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

    That example literally made me realize what i've been missing. TYSM

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

    YOU FINALLY GOT WINDOWS, I HATED THE WATERMARK!!!

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

    why uis every script not working this is an freaking edit

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

    thank you Brawl you made me want to code again you actually made it more fun compare when i was learning it in school

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

    Algorithm

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

    thanks for this amazing tutorial i made you too reach 1k likes

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

    W vid🎉 rlly helps me on my scripting journey

  • @Rmu-oh8qt
    @Rmu-oh8qt หลายเดือนก่อน

    Goat playlist

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

    My savior 🙏

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

    God bless😍😍

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

    dang i just change from an advance scripting tutorial to this

  • @megavoice1038
    @megavoice1038 วันที่ผ่านมา

    yeah, thats cool and all but how do you get the command prompt thing on the bottom...

    • @megavoice1038
      @megavoice1038 วันที่ผ่านมา

      nvm, I got it im just a little slow lol.

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

    good vid

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

    Thanks brother your the man

  • @VisUals-Edits
    @VisUals-Edits หลายเดือนก่อน

    erm

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

    Bro this tutorial is underrated asf other TH-camrs just makes me confused sometimes

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

    what studio texture are you using

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

    when you go into StarterPlayer i've never really understood the difference with "StarterCharacter" and "StarterCharacter" what is the difference

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

      This runs for the player and other one runs for Avatar like shown in this video

  • @ChipiChipiKAYRA
    @ChipiChipiKAYRA 27 วันที่ผ่านมา

    help i cant enter roblox studio :(

    • @ChipiChipiKAYRA
      @ChipiChipiKAYRA 27 วันที่ผ่านมา

      when i enter after like 1 - 2 minutes it automatically closes :(

  • @Appolo-dw7hi
    @Appolo-dw7hi 4 หลายเดือนก่อน

    Thanks i learnt now

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

    bro i am going to watch all 28 VIDEOS and if i learn script.... Im subscribing and i am going to like every 28 VIDEOS

    • @mintlemoncay5457
      @mintlemoncay5457 2 วันที่ผ่านมา

      so, what happened? Have you manage to learn it

    • @ghosthunterroblox2549
      @ghosthunterroblox2549 2 วันที่ผ่านมา

      @@mintlemoncay5457 Yes im happy now i can make my game and im currently doing it with my friend

    • @mintlemoncay5457
      @mintlemoncay5457 2 วันที่ผ่านมา

      @@ghosthunterroblox2549 can you give me your discord? I want to ask some questions if u dont mind ofc.

    • @mintlemoncay5457
      @mintlemoncay5457 วันที่ผ่านมา

      @@ghosthunterroblox2549 can you send me your discord? I want to ask u a quick question if u dont mind

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

    you are the besttttt❤❤❤❤

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

    BRO I LOVE YOUR ANALOGY YOOO

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

    Bro... thank you so much, this helps a lot!

  • @HatsuneMiku-t9n
    @HatsuneMiku-t9n หลายเดือนก่อน

    00:00:00 In this section of the Roblox Advanced Scripting tutorial, the speaker introduces the concept of local scripts and the server client model, which is essential for understanding Roblox game development. The server is described as the overseer of the game, controlling everything that happens, while clients represent individual players. Replication is discussed as a key aspect of the server client model, ensuring all players see the same thing. Transmitting data between the server and clients is also important, and local scripts are used to change things for one specific player without affecting others. The speaker provides in-game examples to illustrate these concepts.00:05:00 In this section of the TH-cam video titled "Local Scripts (Server vs Client) - Roblox Advanced Scripting #1 (2023)", the speaker explains the difference between client-side and server-side gameplay in Roblox using the example of a hoverboard teleport system. The speaker notes that the teleport options are unique to each player and can only be seen by the player who owns the account. To demonstrate the client-server model, the speaker shows how to switch between the client and server perspectives in Roblox Studio. The speaker then goes on to explain the importance of understanding the client-server model for developing games in Roblox. Finally, the speaker shows how to create a local script, which runs only on the client side and not on the server, using the example of a "print hello world" script. The speaker emphasizes that local scripts are useful for making things happen specifically for a player without replicating the action throughout the entire game.00:10:00 In this section of the TH-cam video titled "Local Scripts (Server vs Client) - Roblox Advanced Scripting #1 (2023)", the creator explains how to create a local script in Roblox that changes the color of a part only on the client-side when a player steps on it. The creator first creates a new part and then goes to the starter character scripts to create a new local script. They then make a reference to the part and add a touched event. However, they encounter an error because the part did not load in fast enough to catch it being in the server. To fix this, they wrap the script in a wait for child function. The creator then changes the color of the part instead of printing random mumble jumble. They test the script and see that the color changes only on the client-side when the player steps on the part, while other players see the part in its original color. The creator concludes by explaining that local scripts can only show what happens with the execution when a specific player interacts with an object and are not replicated to every other player in the game.

    • @RandomFunk16
      @RandomFunk16 4 วันที่ผ่านมา

      I can't tell if you're a bot or this is a joke

    • @green2173
      @green2173 4 วันที่ผ่านมา

      @@RandomFunk16 He used a youtube video summarizer tool and just pasted it here

    • @RandomFunk16
      @RandomFunk16 4 วันที่ผ่านมา

      @@green2173 Kinda means its a bot after all

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

    I LUV U BRO

  • @sans-_-oemar
    @sans-_-oemar 10 หลายเดือนก่อน

    wow bro ty ye hilp me so matsh❤❤❤❤❤😊

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

    love this

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

    hot

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

    Thanks

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

    underrated series fr

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

    Great video :)

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

    Nice!

  • @КсенияДмитриева-ы7т
    @КсенияДмитриева-ы7т 10 หลายเดือนก่อน

    Янв ення

  • @الواد-أبو-مناخير
    @الواد-أبو-مناخير 6 หลายเดือนก่อน

    Is that an error or is it something I haven't learnt yet?
    I added a LocalScript in StarterCharacterScripts and wrote a code that changes the part color to red whenever the player touches it.
    The problem is, I tested the game with two players, and I touched the part with player 1. The part then changed its color to red on both Player 1's screen and Player 2's screen, even though Player 2 hasn't touched the part yet.
    How is that possible? Why does that happen?

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

      I have the same problem

    • @الواد-أبو-مناخير
      @الواد-أبو-مناخير 3 หลายเดือนก่อน

      @@Leponty7134
      Nevermind. I already figured it out.
      I can tell you how to fix it, but I want to know if you have replies notifications enabled on your account so I know if you'll see the solution or not.

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

      @@الواد-أبو-مناخير Please could you tell me :)

    • @الواد-أبو-مناخير
      @الواد-أبو-مناخير 3 หลายเดือนก่อน

      @@Leponty7134
      Alright, for some reasons, TH-cam keeps deleting the reply which has the solution, Idk why.
      Do you have a Twitter account so I can send you the solution there?

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

      @@الواد-أبو-مناخير can you tell me too i need help

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

    It didnt work on me somehow am i doing something wrong? The brick didnt change color all i got was an error saying Brickcolor doesnt exist type of thing