How to Make a Smart and Efficient Round System PART 2 | Roblox Studio Scripting Tutorial

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

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

  • @OverlyAlt
    @OverlyAlt 10 หลายเดือนก่อน +18

    If you are getting the message "everyone has died" when the round loads, change the "Everyone Has Died" script to this
    if #playing == -1 then
    staus.Value = "Everyone Has Died"
    wait(3)
    break
    end
    Note: I AM NOT A SCRIPTER, this worked for me... but no promises it will work for you

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

      appericiated it dude.

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

      YOU THANKS YOU SO MUCH YOU GOD!

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

      Your a lifesaver!

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

      ur such a goat

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

      yeah but when everybody dies, the round doesn't end

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

    Dude, I tried to write the script in your previous video, but it gave an error, I came across your new video while browsing the comments and I entered, you really made the model for it, thank you very much, I'm glad you have it, I subscribed

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

    You Deserve More Subscribers!

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

    When testing, it's only teleporting one player to the map and then instantly saying "Everyone had died". Do you know how to fix this?

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

      sammee

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

      probably because you reset before the round could start

  • @BLookYTIMO
    @BLookYTIMO 7 หลายเดือนก่อน +13

    When im in the game it keeps saying “everyone has died”

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

      same here

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

      Just remove the part where it says if theres 0 players

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

      I tried that and all it did was make my timer freeze

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

      Just do this:
      change the "Everyone Has Died" script to this
      if #playing == -1 then
      staus.Value = "Everyone Has Died"
      wait(3)
      break
      end

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

      samee

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

    This really is a fantastic tutorial. Really well put together and works well

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

    2:23 "So we're gonna make a poopy pants" i really should have not laughed at that as much as i did.

  • @Nathan-wn7vn
    @Nathan-wn7vn หลายเดือนก่อน +1

    if you all are confused on why it instantly says "Everyone Has Died" you need to add a bit of a delay right after the round value is set to true

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

      OMG LEMME TRY THIS RN

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

      Finally It Works💀Thank You!!

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

    Bro thank you so much, the model worked amazing and it was EXACTLY what I needed! I subbed

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

    Love you vids, they actually help and I learn something from them. Keep it up! Also, could you link the part 3? I can't seem to find it and I don't wanna mess anything up, thanks!

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

      Pretty sure its this: th-cam.com/video/K0bOJZaeQbk/w-d-xo.html

  • @madcowplayz
    @madcowplayz 6 หลายเดือนก่อน +7

    2:25 bro said lets make a poopy pants

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

    "poopy pants, aurgh sorry" lmfaoo idk where you got that from

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

    Thats What I was Talkin About Bro I only Found yours one working well (It is Sick)

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

    Best tutorial ever, explanation was spot on and was easy for me to understand and comment the code.

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

    I was working on a game and wanted to know how to make a round end when all the players die. I spent 45 minutes wondering why this tutorial wasn't working only to find out that I simply had the team colors the same, :| Great tutorial though this helped a lot.

    • @OmarMohamed-uc5jl
      @OmarMohamed-uc5jl ปีที่แล้ว +1

      45 mins? I SPENT 6 HOURS SEARCHING FOR A GOOD TUTORIAL ( i hope this one works)

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

    THANKS MAN SO MUCH! THIS IS REALLY HELPFUL!

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

    Yo this man is underrated

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

    the poopy pants made me laugh, good one!

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

    When I used the model and I was playing a round with bots, no one died but it said everyone lost automatically

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

      Mine just says "Everyone is dead"

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

    thank you bro just subscribed

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

    Thank you so much for the tutorial I now like and sub your channel

  • @campeoncito88
    @campeoncito88 11 หลายเดือนก่อน +2

    i followed the tutorial perfectly (to my knowledge) but when the game starts it just says "Everyone has died" and ends the game
    this is my script:
    local intermission = 10
    local roundLength = 150
    local inRound = game.ReplicatedStorage.InRound
    local status = game.ReplicatedStorage.Status
    local playingTeam = game.Teams.Playing
    local lobbyTeam = game.Teams.Lobby
    inRound.Changed:Connect(function()
    if inRound.Value == true then
    for _, plr in pairs(game.Players:GetPlayers()) do
    local char = plr.Character
    if char and char:FindFirstChild("HumanoidRootPart") then
    local humanRoot = char.HumanoidRootPart
    humanRoot.CFrame = game.Workspace.MapSpawn.CFrame
    plr.Team = playingTeam

    char:WaitForChild("Humanoid").Died:Connect(function()

    plr.Team = lobbyTeam

    end)

    end
    end
    else
    for _, plr in pairs(game.Players:GetPlayers()) do
    local char = plr.Character
    if char and char:FindFirstChild("HumanoidRootPart") then
    local humanRoot = char.HumanoidRootPart
    humanRoot.CFrame = game.Workspace.LobbySpawn.CFrame
    plr.Team = lobbyTeam
    end
    end
    end
    end)
    local function round()
    while true do
    inRound.Value = false
    for i = intermission, 0, -1 do
    status.Value = "Round will start in " .. i .. " seconds"
    wait(1)
    end
    inRound.Value = true
    for i = roundLength, 0, -1 do
    status.Value = "" .. i .. " Seconds left"

    local playing = {}

    for i, plr in pairs(game.Players:GetChildren()) do

    if plr.Team.Name == "Playing" then

    table.insert(playing, plr.Name)


    end
    end


    if #playing == 0 then

    status.Value = "Everyone has died"

    wait(3)
    break

    end


    if #playing == 1 then

    status.Value = playing[1].." Has won the game"
    wait(3)

    break

    end

    wait(1)
    end
    end
    end
    spawn(round)

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

      Alr I had the same issue, and the way I solved it was by changing either lobby’s Team color or Playing‘s team color

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

      if #playing == -1 then just keep going

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

      @@ahmedzahran358 Perfect

    • @Urfellowmonkey
      @Urfellowmonkey 9 วันที่ผ่านมา

      bipidy bopity.. YOUR SCRIPT IS NOW MY PROPERTY

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

    There is a problem if you join your game with yourself without local testing with 2 players. you will teleport in the air or the baseplate but not nay of the maps

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

      yo
      here is the working version of the script of last video. I also added lobby team alr
      local Intermission = 10
      local RoundLength = 15
      local InRound = game.ReplicatedStorage.InRound
      local Status = game.ReplicatedStorage.Status
      local Players = game.Players
      local PlayingTeam = game.Teams.Playing
      local LobbyTeam = game.Teams.Lobby

      InRound.Changed:Connect(function()
      if InRound.Value == true then
      for i, player in pairs(Players:GetPlayers()) do
      local Character = player.Character
      local HumanRoot = Character:WaitForChild("HumanoidRootPart")
      HumanRoot.CFrame = game.Workspace.MapSpawn.CFrame
      end
      else
      for i, player in pairs(Players:GetPlayers()) do
      local Character = player.Character
      local HumanRoot = Character:WaitForChild("HumanoidRootPart")
      HumanRoot.CFrame = game.Workspace.LobbySpawn.CFrame
      end
      end
      end)
      local function Round()
      while true do
      InRound.Value = false
      for i = Intermission, 0, -1 do
      Status.Value = "Game will start in " .. i .. " seconds"
      wait(1)
      end
      InRound.Value = true
      for i = RoundLength, 0, -1 do
      Status.Value = "Game will end in " .. i .. " seconds"
      wait(1)
      end
      end
      end
      -- Start the round loop
      coroutine.wrap(Round)()

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

    how do i make multiple spawns?

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

    so im having a problem as such that, when everyone loads in it instantly says "everyone has died" how can i fix this so that people can actually play it

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

      That’s what I’m trying to figure out too!

    • @OliverPaterson-g1m
      @OliverPaterson-g1m 8 หลายเดือนก่อน

      u need to instigate the team switching before the round start@@StickMansWorldYT

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

      @@StickMansWorldYT same

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

    2:21 so were gonna make a poppy pants is craxzyyyyy

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

    TYSM For the tutorial.

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

    hey when i get into the game it works for a little but then i get stuck in to map and the timer stops even when there is only on person left

  • @fryven1
    @fryven1 11 หลายเดือนก่อน +1

    why its writing "everyone has died" when everyone got teleported to the game

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

    Hello I really appreciate you doing this and I subbed! Also what can you do if you want to say "Not Enough Players" and you need like 2 players to play the rounds! Thank you!

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

      All you really need to do for that is make an if statement in the round function, it should look something like this:
      local function round()
      while true do
      if #game.Players:GetPlayers() >= 2 then
      status.Value = "Not enough players"
      wait(1)
      else
      [ all the code that is shown in the video ]
      end
      end
      end

    • @masterrayane
      @masterrayane 3 ปีที่แล้ว

      @@reactivemetal8956 Hello, Thank you but it still does not work for me.

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

      @@reactivemetal8956 Oh Nevermind! I found your mistake when it says if #game.Players:GetPlayers() >= 2 then it should be = Edit: Oops that also does not work I joined on my alt and it still says the same issue :(

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

      @MasterRayane hi I want to help you since I solved it if you still haven't solved the problem this is the solution:
      local intermission = 10
      local roundLength = 10
      local inRound = game.ReplicatedStorage.InRound
      local staus = game.ReplicatedStorage.Status
      local playingTeam = game.Teams.Playing
      local lobbyTeam = game.Teams.Lobby
      --Get player service
      local Players = game:GetService("Players")
      while #Players:GetPlayers() < 2 do
      staus.Value = "Not enough players"
      Players.PlayerAdded:Wait()
      end

  • @gardenheightsrecords8238
    @gardenheightsrecords8238 3 ปีที่แล้ว

    Thank you.. Appreciate you for this.

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

    Whenever I get teleported back to the lobby, I just fall through the floor and die

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

      anchor the lobby and move the lobby spawn a little high from lobby area

  • @MrMarkerFinder737
    @MrMarkerFinder737 7 หลายเดือนก่อน +1

    how do i add leaderstats

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

    It only says everyone has died

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

      same

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

      same

    • @Flanta-0
      @Flanta-0 4 หลายเดือนก่อน

      same did you know how to solve the problem

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

    I have been experimenting for a while to figure out how to make multiple teleports so that when the round starts, not everyone teleports in the same spot, but all teleport in their own quadrants. Do you have any tips I can use? I would really appreciate it.

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

      You can have a folder where inside it, it has several spawn points spread out everywhere, and when you make the teleport line for the player, instead of using mapSpawn.CFrame for example, instead do something like: spawnFolder:GetChildren(math.random(1,#spawnFolder:GetChildren())).CFrame
      where spawnFolder is the variable for the folder of all the different spawns for the map inside it, all this does is it makes a random spawn for each player to teleport to in the for loop

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

      @@reactivemetal8956 ok thank you very much

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

      @@reactivemetal8956 when i do this is just says everyone has died... how can i fix this?

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

      same, and the #spawnFolder part is underlined in red: edit you had to make a local variable in that for loop its in

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

      broit still doesnt work¨

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

    And how can i make it that only 2 players are in the round and the other teamates spectate them?

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

    if you want to make good games watch this guy

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

    it doesn't work if there is only one player left the game just freezes and one player is stuck in the game and the others are in the lobby

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

    Is it possible to have multiple spawns so players don't kill each other immediately?

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

    hey. i know its kinda late for this but. is there some way to turn on friendly fire for pvp cuz i wanna damage each other in the battlefield but it doesnt let me cuz the team

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

    Ty So much

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

    Cool amazing but how do i make it so that it displays the last ones standing on a frame after the round ends kind of like natural disasters?

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

      not sure about the scripting but i think you could use viewport frames to show the avatar

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

    is there any way for regeneration of a map when players go back to lobby the selected map be regenerated

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

    Everytime I win it keeps me in the players team not the lobby team

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

    @Reactive Metal When I vote for a specific map I don't teleport to that specific map what should I do?

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

    Is there a way to use multiple maps on this/it's a random map every time?

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

    i have a problem can somebody help me? When The Round Is About To start it says all players have died or something like that so the round never does start and yes i youse the map piece and the lobby piece pls tell me what is going on

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

      Try making sure there's no delay between when the round starts and when the player character is added to the isPlaying team. Double check the part of the script where the player is teleported, and make sure there's nothing in the way of the team-assigning function.

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

    This is a great tutorial but won't this cause lag with the amount of code your putting into the while loop?

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

      ikr i had the same question

  • @decem-yl7vm
    @decem-yl7vm ปีที่แล้ว +2

    Hello is there a way to make it so there are multiple spawns Im trying to make a game for fighting, but once it starts everyone is on top of each other?

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

      i need a tutorial on this

  • @picklebombbro4755
    @picklebombbro4755 9 หลายเดือนก่อน +2

    This is wrong, whenever I teleport to where it should say the game will end in… it just says everyone has died even though there are two ppl

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

      change the "Everyone Has Died" script to this
      if #playing == -1 then
      staus.Value = "Everyone Has Died"
      wait(3)
      break
      end

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

      @@Controlbro thanks bro it worked

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

      @@Controlbro W man

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

      @@Controlbro thank you 🙏🙏🙏

  • @h2iw-f1o
    @h2iw-f1o 10 หลายเดือนก่อน

    nice video but i wanted to make so that when the player dies they stil can play in the map until the time ends but i have no idea what to do or how to code the part can yu help with this?

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

    Whenever i join the game everything works but when it says " Round will end in ...., it just freezes

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

    y does it say everybody died

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

    Hey, it just says "everyone has died" when I spawn in

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

      same

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

    Thank you! Do you know how you can get an amount of coins when you win that get added to the leaderboard?

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

      on line 111 change wins to (your leaderstat) and then change the 1 to the amount u want it to give

  • @DawidKosowski-p9m
    @DawidKosowski-p9m ปีที่แล้ว

    record a guide on how to make a system so that you can not play the gui

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

    Any way for this to work on a base game system?
    Where when the game starts player will start with an base 3500 HP and once that destroyed they will no longer respawn. Thank

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

    how do you make it so that the maps will be random somebody help pls

  • @hello-di6wz
    @hello-di6wz 2 ปีที่แล้ว +1

    I need this by tommorow so if you dont see this till months its fine but how do you make only 1 certain team spawn with a sword?

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

      make a sword put it in replicated storage and when the game starts make it so that everyone in team 1 gets a clone of the sword in their backpack

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

    🔥

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

    OOOOOOOOOOOOOOOOOOOOH TYY!

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

    Can you add 'Join' button? so if player don't want to be in round they won't be joined

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

      Yeah sure, do you want me to make a part 3 for this?

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

      @@reactivemetal8956 yes

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

    Can you make it so the game doesn’t have a timer so when everyone dies accept one person they win

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

      K pretty sure you can change that yourself, change a couple uis and change the time it takes.

  • @miguel_gamers
    @miguel_gamers 26 วันที่ผ่านมา

    in my game just one player teleports to the game and player 2 stays in lobby. can fix this?

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

    I havent done this yet but when you die do you go to lobby or respawn in game? Because i want to make it so when you die you go to the lobby and wait.

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

    Hi, may i ask where to put the "script" thingy on the model? Should i put it on inround or?

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

      Because it doesnt work when i put it on the server script service :((

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

    what would I need to do to make it where you win, the leaderstat board adds a win ?

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

      That would be pretty easy, you should watch my leaderstats tutorial first: th-cam.com/video/96CyKrXQcLk/w-d-xo.html

      Then to add the wins, go to the if statement where it checks if there's one player left, then type after it:
      playing[1].leaderstats.Wins.Value += 1

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

    For some reason when I had 2 players who went into the same game, it said "Everyone Has Died" instead of the other text - and then it teleported us back to the lobby. Why is this happening?

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

      SAME

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

      @@LOYBROKINGSAME

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

      @@LOYBROKINGSOMEONE HELP ME I NEED THIS FOR MY GAME

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

      change the "Everyone Has Died" script to this
      if #playing == -1 then
      staus.Value = "Everyone Has Died"
      wait(3)
      break
      end

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

      change the "Everyone Has Died" script to this
      if #playing == -1 then
      staus.Value = "Everyone Has Died"
      wait(3)
      break
      end
      @@InfernoTheDonut

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

    for some reason when me and my friend test it it makes our limbs disappear how do I fix this

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

    can u make multiple maps and its random which one is chosen?

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

    3:58 dude wth is that notification

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

    how do i make when someone touch a part his name will display on the ui for 5 seconds and it will reset the time?

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

    Can you make an afk mode tutorial?

  • @SlasherAnimation
    @SlasherAnimation 3 ปีที่แล้ว

    Im doing all of this, but when im join my game, timer is dissapear and not working.

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

    Hello! I was wondering, how could I make it so there is no time limit when you play a round, the round ends when only one player is left standing? How would I do that?

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

      I think that you should remove the round length variable and anything that involves that variable

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

    BRO I HAVE DONE EVERYTHING CORRECTLY AND WHEN I PRESS PLAY THE TIMER NEVER STARTS AND ROUND NEVER BEGINS WHAT DO I DOOOOOOOO

  • @傳說精靈
    @傳說精靈 2 ปีที่แล้ว

    thanks! Excuse me, if you want everyone to be a team, how to modify it?

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

    I actually needed this for my friend but I was wondering if there was a way to make it remove your weapons once the match finishes? Cause I don’t want people to have like a bunch of swords and killing people at spawn

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

      When the script is looping through all the players after the round ended, put this: *plr.Backpack:ClearAllChildren()*

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

      @@reactivemetal8956 alr thanks!

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

      @@reactivemetal8956 I tried doing what you told me to do but I feel like I’m doing something wrong as it’s not working for me

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

      @@wsqu Put the item in replicated storage or server storage then do "item:Clone()" and "item.Parent = plr.Backpack" once you want to remove it just do item.Parent = game.replicatedStorage

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

      @@alphacomputer4986 thanks, i’ll try it out when i make my own version since i no longer have access to work on the game now

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

    Combine this with a wins leaderstats

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

    is there a way to make something spawn during the round system and despawn when the round is over

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

      Yes, put the item you want to spawn and despawn in replicated storage and then when you want to spawn it in just do "itemName:Clone()" then "itemName.Parent = game.Workspace" and when you want to despawn it just do "itemName:Destroy()" and I think that will work

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

    dident work for me like when i log into my game it dont show me the texte labbel or naything i rewatched both of the video twice btu still dont could u help i can show u it and u can tell me what i did wrong

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

    How do you make it where they get a win on the leaderstats?

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

    Does this work for teams? Like when one team all of the players in that team dies the other team will win?

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

    How could i make so a model in replicated storage spawns in when the round starts and when it ends it does not spawn in
    -------------------------------------[AUTHOR: reccur]--------------------------------
    local intermission = 10
    local roundLength = 15
    local inRound = game.ReplicatedStorage.InRound
    local staus = game.ReplicatedStorage.Status
    local playingTeam = game.Teams.Playing
    local lobbyTeam = game.Teams.Lobby
    inRound.Changed:Connect(function()


    if inRound.Value == true then

    for i, plr in pairs(game.Players:GetChildren()) do

    local char = plr.Character
    local humanRoot = char:WaitForChild("HumanoidRootPart")

    humanRoot.CFrame = game.Workspace.MapSpawn.CFrame

    plr.Team = playingTeam

    char:WaitForChild("Humanoid").Died:Connect(function()

    plr.Team = lobbyTeam


    end)

    end

    else

    for i, plr in pairs(game.Players:GetChildren()) do
    local char = plr.Character
    local humanRoot = char:WaitForChild("HumanoidRootPart")
    humanRoot.CFrame = game.Workspace.lobbySpawn.CFrame

    plr.Team = lobbyTeam

    end
    end
    end)
    local function round()
    while true do

    local requiredPlayers = 1

    repeat
    wait(1)
    staus.Value = "Atleast ".. requiredPlayers.." players are needed to start a round"

    until #game.Players:GetChildren() >= requiredPlayers

    inRound.Value = false


    for i = intermission, 0, -1 do

    staus.Value = "Game will start in "..i.." seconds"

    wait(1)

    end

    inRound.Value = true

    for i = roundLength, 0, -1 do

    staus.Value = "Game will end in "..i.." seconds"

    local playing = {}

    for i, plr in pairs(game.Players:GetChildren()) do

    if plr.Team.Name == "Playing" then


    table.insert(playing, plr.Name)


    end
    end


    if #playing == -1 then
    staus.Value = "Everyone Has Died"
    wait(3)
    break
    end


    if #playing == 1 then

    staus.Value = playing[1].." Has Won The Game!"

    for i, plr in pairs(game.Players:GetChildren()) do
    if playing[1] == plr.name then
    plr.leaderstats.Wins.Value += 1
    end
    end

    wait(3)



    break

    end

    wait(1)
    end
    wait(3)
    end
    end
    spawn(round)

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

    my rounds stopped working but i got the teams...

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

    after there is the one player in the round, it wont teleport my winner back to the lobby. it stays there even during the intermission. is there a way to fix this?

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

    rlly good tutorial but i have one thing happening thats wrong,
    when the round starts it instantly says draw no matter how many players, im not sure but i think its coz is not detecting the players playing,
    please help

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

      NVM I FIXED IT!!!! YAYYYY TYYYYYYYY

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

      @@Shr3kz how did u fix

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

      tell us @@Shr3kz

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

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

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

    Hey! Just wondering, how do i make it so there is multiple spawns? I am making a game for fighting, but once it starts, everyone is on top of each other.

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

      @KJ_Quixiation That doesn't work, that's literally the first thing i tried

  • @Urfellowmonkey
    @Urfellowmonkey 9 วันที่ผ่านมา

    worst fuck up is saying "where gonna make a poopy pants i mena uh uh" bro im crying rn ;-;

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

    I cant hit anyone because were on the same team. Can you help fix this?

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

    how do i make it have chances of spawning other rmaps

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

    does it do randomized?
    maps

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

    is there a way to make this but with a wave system for a wave defense type game?

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

      Not sure

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

    question : if both die doesnt that mean that there will still be zero in playing

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

    Battle round length stopped counting when I added this in. Someone know what I did wrong?

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

      same

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

    Everytime the round starts, only 1 player (the same player) immediately wins

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

      Just get the model 👍

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

    How to make add maps?

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

    the script is not working when the game starts and it teleports me and the test player to the map it already said "Everyone has died" i didn't even do anything when the game starts i also did the model

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

      change the "Everyone Has Died" script to this
      if #playing == -1 then
      staus.Value = "Everyone Has Died"
      wait(3)
      break
      end

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

    bro help me when I put everything in its place and do the test to see if it works, when doing the teleport to the game "Everyone has died"

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

      change the "Everyone Has Died" script to this
      if #playing == -1 then
      staus.Value = "Everyone Has Died"
      wait(3)
      break
      end

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

      @@Controlbrobro ur a life saver!