how to make MINI GAMES Part 2 | Roblox Studio 2024

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

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

  • @CozyCoin
    @CozyCoin  7 месяцев назад +3

    Part 3 is out!! ruclips.net/video/loJ7tIEP81s/видео.html

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

    9:00 what kind line did you use😅 i try every love line that has on my keyboard but it still didn't work pls explain

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

    I got this error: ServerStorage.MiniGames.LavaRising:32: attempt to call a nil value
    Can you help me fix that error if anyone knows how?

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

    Im getting the error: Attempted to call require with invalid argument(s).
    It points to the line - require(chosenGameModule).RunGame(). But its the same thing in the tutorial and it worked so i dont know whats wrong.

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

      So the script is not working becase 'require()' needs a module script, which is what chosenGameModule should be. Make sure that chosenGameModule is the module script by doing some print statements or something

  • @AdvancedBLOX
    @AdvancedBLOX 28 дней назад

    just finished adding the lava rising minigame, but when testing the text doesn't show up or do anything, I looked in the output and it said "Infinite yield possible on 'ServerStorage:WaitForChild("MiniGames")'" Anybody know how to help?

  • @Ylient
    @Ylient 7 месяцев назад +3

    Man your going to become famous

  • @goldyapple
    @goldyapple 7 месяцев назад +2

    W vid bro. I can finally make my dream game!

    • @CozyCoin
      @CozyCoin  7 месяцев назад +1

      Lets gooo!

  • @Cols1029IsCool
    @Cols1029IsCool 7 месяцев назад +1

    I have some ideas for the game. first add a shop where u get items like one that u speed and another gives u moon gravity ad the last gives u both, secondly music for the lobby and minigames and lasty a mini game where a person has a bomb with 20 secs and u have to past it to another person, once it explodes another player gets a bomb

    • @CozyCoin
      @CozyCoin  7 месяцев назад +1

      Yeah, next episode will have a shop

  • @ultraflame54
    @ultraflame54 17 дней назад

    When it says choosing game, why does iti not choose game? I am not teleported to the game, can someone please help me

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

    can anyone help me out? when i try and test the game, it says that AFK is not a valid property name. i tried changing it to Afk and it said the same thing, did i miss a line of code on accidient?
    and is anyone having this issue?

  • @Mr.0049-
    @Mr.0049- Месяц назад

    (I find problem and fix)
    me not work in: _G.TeleportPlayers(newGame.SpawnPoint.CFrame)
    me show error: ServerStorage.MiniGames.Lava RIsing:35: attempt to call a nil value

  • @SoulCabecudo
    @SoulCabecudo 5 месяцев назад +1

    oops, I hope you answer but my lava is bugged, it's not going up, it's going vertically as if it were turning into a ramp instead of going up

    • @thatrobloxguy-l4y
      @thatrobloxguy-l4y 4 месяца назад +1

      maybe try rotating the part so It goes up.

  • @PedrouGamer
    @PedrouGamer 6 месяцев назад +1

    Bro! That's insane! Thanks! (+1 sub)

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

    8:10 Just Saving My Spot

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

    Bro Ur the best ❤

  • @Bindarim12
    @Bindarim12 4 месяца назад +1

    Bro I dont think you are going to see this but if you do I want to make a red versus blue game you can do a tutorial for that(+1 sub)

  • @EnvoGT
    @EnvoGT 4 месяца назад

    I keep getting an error that says ServerScriptService.GameHandeler:24: attempt to get length of an instance value
    Can anyone help me?

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

      can you copy and paste line 24 on your script called GameHandeler for me?
      I can't know the problem without seeing the text first.

  • @the5thber
    @the5thber 6 месяцев назад +1

    everything works its just not teleporting the players which stops the game.

    • @the5thber
      @the5thber 6 месяцев назад +1

      heres the error: ServerStorage.Minigames.Flood Escape!:32: attempt to call a nil value

    • @CozyCoin
      @CozyCoin  6 месяцев назад +1

      You might have not added the teleport players function into _G so when your script tries to use the function it can't find it (attempt to call a nil value)

    • @the5thber
      @the5thber 6 месяцев назад +1

      @@CozyCointhank you it worked mb I didn’t see that there 😂

  • @ACHRAFBLOX
    @ACHRAFBLOX 7 месяцев назад +1

    Add more minigames and a lobby

    • @CozyCoin
      @CozyCoin  7 месяцев назад +2

      I will definitely make more minigames, but I'll probably leave the lobby as it is because I am trying to focus on scripting for this series

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

    Can anyone give my the lava rising script please? my dont work

  • @grappleronyt4662
    @grappleronyt4662 6 месяцев назад

    Hey Cozy, I am not sure what I did wrong. It picks the game then loads it but it doesn’t teleport the player

    • @grappleronyt4662
      @grappleronyt4662 6 месяцев назад

      I’ll check it over later but there is no errors

    • @grappleronyt4662
      @grappleronyt4662 6 месяцев назад

      Oh it works I forgot a comma 😂 great game btw

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

      @@grappleronyt4662 where did you forget the missing comma?

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

      @@Krabs_GamingYT sorry I am not sure I stopped working on the project.

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

      @@grappleronyt4662 its ok i got past the bug

  • @Limird-rbx
    @Limird-rbx 6 месяцев назад

    I getting error: Unable to cast to Dictionary - Server - LavaObby 25

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

      can you send my line 25 on your script called LavaObby?
      I can't know the problem without seeing the text first.

  • @KingNoobsito
    @KingNoobsito 6 месяцев назад +1

    i get this error when a match starts: Module code did not return exactly one value - Server-GameHandler:32
    can someone help me

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

      This means that your ModuleScript returned 2 or more values, in other words your ModuleScript attempted to return a tuple, ModuleScripts can only return a single value, typically a table value containing all of the features of the ModuleScript itself.

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

      @@Gorillix2024do you know how to fix it?

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

      @@fuzedits5767 One of the reasons can be a typo. Make sure all words are spelt correctly and the exact same.
      Example:
      local Hi = print("Hi")
      hi
      In the example you made a variable and called it "Hi" but when you executed the variable you spelt it "hi" and not "Hi" which makes more than one value which causes the error.
      also make sure at the top line of your module script it says "local (whatever you want your variable to be called) =" and then a value. If you want to make the value to be worth nil simply put in "{}" after the equals. Then make sure at the bottom of your script you put "return (the name you made the variable called)" and make sure it is spelt EXACTLY the same as the one on the top.

  • @BARTEFI
    @BARTEFI 5 месяцев назад

    once there is no players that won game frozes

  • @ImmulsiveC
    @ImmulsiveC 5 месяцев назад

    it doesnt work for me its not teleporting me to the game and its calling values that dont work attempt to index nil with 'Create' Script 'ServerStorage.MiniGames.Lava Rising', Line 20 - function RunGame - Studio - Lava Rising:20
    10:25:14.230 Script 'ServerScriptService.GameHandler', Line 28

    • @CozyCoin
      @CozyCoin  4 месяца назад

      When your script error says "index nil with 'Create'" it means if your try to do something like 'TweenService:Create' and you didn't properly define the TweenService variable, so the :Create method wont exist giving the error.

    • @Tobatabi
      @Tobatabi 4 месяца назад

      ​@@CozyCoinmy player winners it's not work, can you fix it?

  • @jandrosdumb
    @jandrosdumb 6 месяцев назад +1

    7:44

  • @un_blup
    @un_blup 6 месяцев назад

    can I have the game file so I can spot what's wrong with mine

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

      it is on his patreon

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

      @@Gorillix2024 wym

  • @Cols1029IsCool
    @Cols1029IsCool 7 месяцев назад

    Mine when i round starts it just gives me a win and there are no error codes

    • @CozyCoin
      @CozyCoin  7 месяцев назад +1

      Make sure the script for your mini game is setup correctly so it does not instantly end once it has started

  • @BasedPolish_Edits
    @BasedPolish_Edits 4 месяца назад

    2:52

  • @sanchezgabriel5369
    @sanchezgabriel5369 5 месяцев назад

    @CozyCoin hello had a problem in lava Rising Tab line 33
    when i run it and it says ServerStorage.MiniGames.Lava Rising : 33 : attempt to call nil value - Server - lava Rising: 33

    • @thatrobloxguy-l4y
      @thatrobloxguy-l4y 4 месяца назад

      me too,

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

      Me three

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

      @@BloxemmaxGTA me four i keep getting this one: ServerStorage.MiniGames.Lava Rising:30: attempt to call a nil value - Server - Lava Rising:30

  • @ethanmachii
    @ethanmachii 6 месяцев назад

    SUBSCRIBE GUYS

  • @TheVoid4Life
    @TheVoid4Life 5 месяцев назад +1

    for some reason my afk code does nothing
    local localPlayer = game.Players.LocalPlayer
    local afkEvent = game.ReplicatedStorage:WaitForChild("Events"):WaitForChild("AfkMode")
    local afkButton = script.Parent:WaitForChild("AfkButton")
    local afkStatusLabel = afkButton:WaitForChild("AfkStatus")
    afkButton.Activated:Connect(function()
    afkEvent:FireServer()
    end)
    localPlayer:GetAttributeChangedSignal("AFK"):Connect(function()
    local isAfk = localPlayer:GetAttribute("AFK")
    if isAfk then
    afkStatusLabel.Text = "ON"
    afkStatusLabel.TextColor3 = Color3.fromRGB(0, 255, 60)
    else
    afkStatusLabel.Text = "OFF"
    afkStatusLabel.TextColor3 = Color3.fromRGB(202, 5, 5)
    end
    end)

    • @TheVoid4Life
      @TheVoid4Life 5 месяцев назад

      nvm i realised i forgot a colon