How to make Difficulty Chart Obby on Roblox (Part 1)

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

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

  • @devmelonroblox
    @devmelonroblox  Год назад +12

    Thank you for watching this video make sure to like and subscribe to see more content like this and to see the next part of the video!

    • @reyzshorts3271
      @reyzshorts3271 Год назад

      I have an issue where when I spawn I fall and when I step on a checkpoint it says the next stage but when I reset it spawns me back at spawn falling and I have an error that says (Players.ReyzOtherAccount.PlayerGui.tptostage:9: attempt to index nil with ‘position’)

    • @Crito361
      @Crito361 11 месяцев назад +1

      BRO THE SCRIPS DONT WORK😢😢

    • @behlülaltindag
      @behlülaltindag 9 месяцев назад

      @@Crito361 by me olso

    • @DopaVita
      @DopaVita 8 месяцев назад

      it doesnt work with multiplayer it just breaks... do u know how to fix it? (it works in singleplayer only)

    • @snowrazijuneptune9272
      @snowrazijuneptune9272 8 месяцев назад

      UM THE STAGE VALUE DIDN'T WORK IS IT A GLITCH

  • @Crumpetstar
    @Crumpetstar Год назад +2

    I honestly love this vid it’s simple and works great! Definitely following the whole series and subbing!

  • @StopThisImmediately
    @StopThisImmediately Год назад +5

    I always had some issues with the checkpoints, then magically 10 seconds later you explain how to fix it. You earned a sub.

  • @Levcreater9909
    @Levcreater9909 9 месяцев назад +2

    IMPORTANT STEP: when making the obby remember to go to file then Save to Roblox then game settings go to avatar and make body type R6 and Inner Box then hit save

  • @BlueSpeakerman1
    @BlueSpeakerman1 Год назад +7

    if it says index nil with postiton on tptostage line 7 change findfirstchild to waitforchild

  • @brayism
    @brayism Год назад +1

    amazing video!!! Loved how you had bugs and errors and didn’t just cut them out. but instead explained why it didn’t work. As the viewer… anyone can just copy someone’s code, However not everyone can fix the issues and have a real understanding of each line and why it does what it does :D . so thanks again for showing a real tutorial and that it isn’t always just “peaches and cream”. and to get viewers into the habit of actually understanding it or else they will come across many errors they won’t be able to fix! sorry for the long message, love what you do. dropped a sub!

  • @GuiltyRic
    @GuiltyRic Месяц назад +1

    if u copy the spawnpoint, does it copy the whole script?

  • @PupsikPOP
    @PupsikPOP Год назад +1

    Dude your the best, all works, thanks so much because now i know how make difficult chart obby

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

    ITS WORKING I LOVE YOUR VIDS :D

  • @illuminatixy
    @illuminatixy Год назад +2

    thank you for the tutorial, it help me a lot

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

    WAIT OMG IT WORKED I WAS SUPPOST TO RENAME IT TO PRACTICESCRIPT THANK YOU!

  • @behlülaltindag
    @behlülaltindag 9 месяцев назад +1

    hello it is a verry good vidio but i have only one problem on the script i cant see witch stage i am i send you the script i wrihte
    game.Players.PlayerAdded:Connect(function(player)
    local leaderstads = Instance.new("Folder")
    leaderstads.Name = "leaderstads"
    leaderstads.Parent = player

    local Stage = Instance.new(IntValue)
    stage.Name = "stage"
    Stage.Parent = leaderstads
    Stage.Value = 1
    end)
    i am looking for your anser

    • @thegamingdeath123
      @thegamingdeath123 9 месяцев назад +1

      will you spelled leaderstats wrong but i think the real error here is that you need to make sure stage is always Stage or stage because you put 'stage.Name = "stage"' when the "stage" should be "Stage"

  • @0fferDev
    @0fferDev Год назад +2

    Tutorial is amazing, but I am having issues with the TpToStage Local script, Ive tried the fix in the Video, but i keep getting the error: Players.0fferDev.PlayerGui.TpToStage:9: Attempt to index nil with 'Position'

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

    devmelon how do you have the yellow thing when u scale it ? i mean i have it too but i cant scale it just like u do.
    Please reply i really need to know because i painted everything into black.

  • @ItzNyxel
    @ItzNyxel Год назад

    amazing tutorial! btw you can just make the spawn point bigger to not noclip through the map.

  • @Nanabunn
    @Nanabunn Год назад

    thank you so much! 💗

  • @r4izeee
    @r4izeee Год назад +2

    Great tutorial

  • @PinguinFx
    @PinguinFx Год назад +1

    hey i am having a problem can you help me fix it?

  • @Notsk12
    @Notsk12 Год назад +1

    Amazing Tutorial

  • @AWKGAMINGS2
    @AWKGAMINGS2 Год назад +1

    can you help me with these errors:
    Workspace.Checkpoints.2.Script:12: Expected 'then' when parsing if statement, got '=' - Studio -
    Workspace.Checkpoints.1.Script:12: Expected 'then' when parsing if statement, got '=' - Studio -

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

    Im a little bit late to this video, but I wanna ask this. Shouldnt it save your data when you leave and then join back? Following your steps, you start from the beginning every time you join the game.

  • @AfdinOficial
    @AfdinOficial Год назад

    How do I fix leaderstats is not a valid member of DataModel "Baseplate" - Client - TpToStage:6? I deleted the baseplate

  • @RipRept
    @RipRept 9 месяцев назад

    hey i had a problem when you had the humanoid root problem i had "local PlayerName = Player.Name on line four" wrong it said " Players.Repted.PlayerGui.TpToStage:4: attempt to index nil with 'Name' please help with this

  • @Mak_N_Chez
    @Mak_N_Chez Год назад +1

    i typed this script game.Player.PlayerAdded:Connect(function(player)
    local leaderstats = Instance.new("Folder")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = player

    local Stage = Instance.new("IntValue")
    Stage.Name = "Stage"
    Stage.Parent = leaderstats
    Stage.Value = 1
    end) but it didnt work

    • @cratoks6969
      @cratoks6969 Год назад

      its supposed to be game.Players not game.Player

    • @Mak_N_Chez
      @Mak_N_Chez Год назад

      @@cratoks6969 thanks

  • @mrgoodman7837
    @mrgoodman7837 Год назад +1

    Bro, why the RPG so cool? Me likey melon head funny times

  • @PixticGamesOfficial
    @PixticGamesOfficial 10 месяцев назад

    I need a little help. On the TpToStage Script on line 4, it says attempt to index nil with “Name”

  • @BearbloxNooby
    @BearbloxNooby Год назад +2

    Nothing showed in the leaderboard

  • @MC_starz
    @MC_starz Год назад +1

    if i walk on stage 2 from 1 and doesn't change do i write down the script you did for stage 1???

    • @devmelonroblox
      @devmelonroblox  Год назад

      Join my discord if you need help! Find it on my channel I could help you out in dm's

  • @NoobieWithAGun
    @NoobieWithAGun Год назад

    I was doing part 3 but this error keeps happening and it made it so that I can`t go back, I even rewrote the line, it`s line 12 can u please help? i don`t really have discord

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

    yea i rlly messed up cuz i reset and spawned to the 1st checkpoint (please tell what to do)

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

    Dude Something up with your Code. I did Everything word for word and i can't spawn on a Checkpoint or spawn when i die on stage 2. I aint joining discord with it using some fishy Bloxlink giving it access to my Roblox Account no.

  • @NoobieWithAGun
    @NoobieWithAGun Год назад

    why does it keep saying : Workspace.1.Script:12: attempt to index nil with 'leaderstats'

  • @LivingElmsecret
    @LivingElmsecret Год назад +1

    Help me it says
    Unable to assign property CFrame. CoordinateFrame expected, got nil

    • @devmelonroblox
      @devmelonroblox  Год назад

      Join my discord link on my channel and I can help you out there!

  • @Astroblemo
    @Astroblemo Год назад

    When I try to test it kicks me and says "You're not trusted!" Why?

  • @Mad_Plays
    @Mad_Plays Год назад

    When I check my player there’s only backpack and player scripts, no parts

  • @Nova_Horizon
    @Nova_Horizon Год назад

    nah i tryed 5 diff vids, none work, not even this one. please help

  • @kassidycooper221
    @kassidycooper221 Год назад

    How do you move/rotate/scale freely instead of it snapping?

  • @KChipAnimates
    @KChipAnimates Год назад

    when i respawn my head is clipped into the floor any fixes?

  • @MicuraLmm
    @MicuraLmm Год назад +1

    Workspace.2.Script:12: attempt to index nil with 'leaderstats' pls help me

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

    my textlabel isnt working
    everytime i try to write effortless the textlabel is too small

  • @regittejaneleguro1417
    @regittejaneleguro1417 11 месяцев назад

    is the video outdated or anything the checkpoints wont work?
    nevermind i just had a typo in the script

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

    can somone tell me whats wrong with this?
    local PS = game:GetService("Players")
    local part = script.Parent
    local PartName = script.Parent.Name
    local StageNumber = tonumber(PartName)
    script.Parent.Touched:Connect(function(hit)
    local Charecter = hit.Parent
    local Player = PS:GetPlayerFromCharacter(Charecter)

    if StageNumber - Player.leaderstats.Stage.Value == 1 then
    Player.leaderstats.Stage.Value = StageNumber
    end
    )
    end)

    • @ArandomDUDE-s3y
      @ArandomDUDE-s3y 15 дней назад

      try this code -> local PS = game:GetService("Players")
      local part = script.Parent
      local PartName = part.Name
      local StageNumber = tonumber(PartName)
      if StageNumber then
      part.Touched:Connect(function(hit)
      local Character = hit.Parent
      local Player = PS:GetPlayerFromCharacter(Character)
      if Player and Player:FindFirstChild("leaderstats") and Player.leaderstats:FindFirstChild("Stage") then
      local playerStage = Player.leaderstats.Stage
      if StageNumber - playerStage.Value == 1 then
      playerStage.Value = StageNumber
      end
      end
      end)
      else
      warn("Part name is not a valid number, cannot set StageNumber.")
      end
      ____________________________________________________________________________
      leaderstats = nil so there is an error.
      "if Player and Player:FindFirstChild("leaderstats") and Player.leaderstats:FindFirstChild("Stage") then
      local playerStage = Player.leaderstats.Stage"
      will check if there is leaderstats HOPE THIS HELP :)

  • @sypark6232
    @sypark6232 8 месяцев назад +1

    i am a kid using my dads account but i have a problem it says leaderstat is not a valid member of player "Players.sisip17" (my username)

  • @DopaVita
    @DopaVita 9 месяцев назад

    28:18 kinda got confused what to do here when you did the cut...

  • @bariltomas9491
    @bariltomas9491 Год назад +1

    What why u cut the video when u fix the script bug, wtf i cant write the script if u cut

    • @devmelonroblox
      @devmelonroblox  Год назад +1

      Sorry! I won’t do that again in the upcoming videos!

  • @ajmalchawdhury4848
    @ajmalchawdhury4848 9 месяцев назад

    Can anyone see what's wrong with this?
    local PS = game:GetService("players")
    local part = script.Parent
    local PartName = script.Parent.Name
    local StageNumber = tonumber(PartName)
    script.Parent.Touched:Connect(Function(hit)
    local Character = hit.Parent
    local Player = PS:GetPlayerFromCharacter(Character)
    if Stagenumber - Player.leaderstats.Stage.Vaule == 1 then
    Player.leaderstats.Stage.Vaule = StageNumber
    end
    end)

    • @themankostas
      @themankostas 8 месяцев назад

      if Stagenumber - Player.leaderstats.Stage.Vaule ----> spelling mistake, don't know a lot of scripting otherwise but i noticed that

    • @ajmalchawdhury4848
      @ajmalchawdhury4848 8 месяцев назад

      @@themankostas tysm

  • @NoobieWithAGun
    @NoobieWithAGun Год назад

    how do i fix argument 1 cuz it says it`s missing or nill

  • @EPSILON22312
    @EPSILON22312 Год назад +1

    no stage select?

  • @Blixurr
    @Blixurr Год назад +1

    Great Tutorial but i have an error that says "Players.Wemmyxx.PlayerGui.TpToStage:4: attempt to index nil with 'Name' " any idea how to fix it?

  • @NoobieWithAGun
    @NoobieWithAGun Год назад

    I FIXED IT but it still says error with leaderstats idk why it says that

  • @Jovanmitrovich
    @Jovanmitrovich Год назад +1

    How you scale and move things like that?

    • @devmelonroblox
      @devmelonroblox  Год назад

      You have to go home and you select the scale and then you move the circles where you want to scale also you can select the move in the home.

    • @Jovanmitrovich
      @Jovanmitrovich Год назад

      @@devmelonroblox Yea bro but you can scale like to 0.01 is that a plugin or? I can scale it to like 1stud

    • @devmelonroblox
      @devmelonroblox  Год назад

      @@Jovanmitrovich I know what you mean! I went to model and set the move and rotate to 0 degrees and studs!

  • @1GonFreecss2
    @1GonFreecss2 Год назад +1

    W

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

    Word To word what you did and it did not work:
    local Players = game:GetService("Players")
    local Player = game.Players.LocalPlayer
    local Playername = Player.Name
    local CurrentStage = Player.leaderstats.Stage.Value
    local CurrentCheckpoint = game.Workspace.CheckList:WaitForChild(tostring(CurrentStage))
    local CheckpointPos = CurrentCheckpoint.Position
    local XPos = CheckpointPos.X
    local YPos = CheckpointPos.Y
    local ZPos = CheckpointPos.Z
    local TeleportPos = CFrame.new(XPos,YPos,ZPos)
    Player.Character:WaitForChild("HumanoidRootPart").Cframe = TeleportPos

    • @ArandomDUDE-s3y
      @ArandomDUDE-s3y 15 дней назад

      try -> local Players = game:GetService("Players")
      local Player = Players.LocalPlayer
      local PlayerName = Player.Name
      -- Ensure leaderstats and Stage exist
      if not Player:FindFirstChild("leaderstats") or not Player.leaderstats:FindFirstChild("Stage") then
      warn("Leaderstats or Stage not found for player: " .. PlayerName)
      return
      end
      local CurrentStage = Player.leaderstats.Stage.Value
      -- Check if Checkpoints exists in Workspace
      local Checkpoints = game.Workspace:FindFirstChild("Checkpoints")
      if not Checkpoints then
      warn("Checkpoints folder not found in Workspace")
      return
      end
      -- Check if the checkpoint exists for the current stage
      local CurrentCheckpoint = Checkpoints:FindFirstChild(tostring(CurrentStage))
      if not CurrentCheckpoint then
      warn("Checkpoint for stage " .. tostring(CurrentStage) .. " not found in Checkpoints")
      return
      end
      local CheckpointPos = CurrentCheckpoint.Position
      local TeleportPosition = CFrame.new(CheckpointPos.X, CheckpointPos.Y, CheckpointPos.Z)
      -- Teleport the player
      local humanoidRootPart = Player.Character:WaitForChild("HumanoidRootPart")
      humanoidRootPart.CFrame = TeleportPosition

  • @monkeman31
    @monkeman31 Год назад

    i cant see the script its too fuzzy on this laptop is there anyway i can copy it from somewhere to paste it into my game?

  • @ExtremeShadow
    @ExtremeShadow 8 месяцев назад

    can someone please help me? when I did this script, It gives me this problem in the output: 18:57:08.584 Shadowfight27896 is not a valid member of ReplicatedStorage "ReplicatedStorage" - Server - Script:12
    local PS = game:GetService("Players")
    local part = script.Parent
    local PartName = script.Parent.Name
    local StageNumber = tonumber(PartName)
    game.Players.PlayerAdded:Connect(function(player)
    script.Parent.Touched:Connect(function(hit)
    local Character = hit.Parent
    local Player = PS:GetPlayerFromCharacter(Character)
    local Stage = game.ReplicatedStorage[player.Name].Value
    if StageNumber - Stage == 1 then
    Player.leaderstats.Stage.Value = StageNumber
    end
    end)

    • @ArandomDUDE-s3y
      @ArandomDUDE-s3y 15 дней назад

      try this code -> local PS = game:GetService("Players")
      local part = script.Parent
      local PartName = part.Name
      local StageNumber = tonumber(PartName)
      if StageNumber then
      part.Touched:Connect(function(hit)
      local Character = hit.Parent
      local Player = PS:GetPlayerFromCharacter(Character)
      if Player and Player:FindFirstChild("leaderstats") and Player.leaderstats:FindFirstChild("Stage") then
      local playerStage = Player.leaderstats.Stage
      if StageNumber - playerStage.Value == 1 then
      playerStage.Value = StageNumber
      end
      end
      end)
      else
      warn("Part name is not a valid number, cannot set StageNumber.")
      end
      __________________________________________________________________________
      leaderstats = nil so there is an error.
      "if Player and Player:FindFirstChild("leaderstats") and Player.leaderstats:FindFirstChild("Stage") then
      local playerStage = Player.leaderstats.Stage"
      will check if there is leaderstats HOPE THIS HELP :)

  • @ket_.
    @ket_. Год назад +1

    13:00

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

    Hey man sorry for the delay, but there are two plugins, which are for studs, which is the old lego part
    If I'm not mistaken, one is *automatic stud*
    And another *Stud* just

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

    I feel like the dumbest person alive dude I had to watch your videos a few times just to realize my problem with just I had to use : instead of a . Somewhere

  • @ObitoIsTheBest
    @ObitoIsTheBest 9 месяцев назад

    Yoo this tutorial is very well made! But i'm having some isseus with the script for the stages i've writted it completly the same but it doesn't work please help me!
    ( just saying i got banned on discord)

  • @MicuraLmm
    @MicuraLmm Год назад +1

    local PS = game:GetService("Players")
    local part = script.Parent
    local PartName = script.Parent.Name
    local StageNumber = tonumber(PartName)
    script.Parent.Touched:Connect(function(hit)
    local Character = hit.Parent
    local Player = PS:GetPlayerFromCharacter(Character)

    if StageNumber - Player.leaderstats.Stage.Value == 1 then
    Player.leaderstats.Stage.Value = StageNumber
    end
    end) no work please help me

  • @wowyummyyy
    @wowyummyyy Год назад +1

    L I K E 👍 👍 👍 👍👍💯💯 💯 💯💯🤩🤩🤩🤩🤩

  • @yada2pro
    @yada2pro Год назад +1

    why it dont go to stage 2 for me i did the script right

  • @turtles4707
    @turtles4707 Год назад +1

    It doesn't go to stage 2 for me even though I change the name did I do something wrong?
    Btw whenever I duplicate the checkpoint the script doesnt go on the one that I duplicated, is that the problem?

  • @TokugawaRBLX
    @TokugawaRBLX Год назад

    I cant see the scripts on the video.

  • @PaintBallBluzzy
    @PaintBallBluzzy Год назад +1

    3083 views but only 71 likes and 325 subscribers let me change it to 72 likes and 326 subscribers

  • @Intergalacticprismaticcreature
    @Intergalacticprismaticcreature 9 месяцев назад

    lol why is scaling set to 0 for you, it hurts my brain

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

    Bro the drag feature is so annoying

  • @ActuallyShades123
    @ActuallyShades123 8 месяцев назад

    20:00

  • @Itzdan30
    @Itzdan30 Год назад

    How to you scale like that

    • @H4_Edits
      @H4_Edits 8 месяцев назад

      go to model tab on tool bar then where it says move change it to 0

  • @ket_.
    @ket_. Год назад

    It doesnt work stage 1 i got the script right tho

    • @ibrahimhm1544
      @ibrahimhm1544 Год назад

      same here, i copied everything that he just typed on the script and still it doesnt work.

  • @NoobieWithAGun
    @NoobieWithAGun Год назад

    im dumb i forgot the "" LOL

  • @ActuallyShades123
    @ActuallyShades123 8 месяцев назад

    28:21

  • @BearbloxNooby
    @BearbloxNooby Год назад

    Bruh I didn’t work

  • @felipe614pc
    @felipe614pc 8 месяцев назад

    11:22

  • @fusion__4
    @fusion__4 Год назад

    checkpoints dont work

    • @devmelonroblox
      @devmelonroblox  Год назад

      Strange, can you dm me on discord by joining the server I can help you out

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

    Why is the video soooooooooooo long?

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

      old videos didnt know hwo to edit srry!

  • @BananUngen
    @BananUngen Год назад

    I typed this for the checkpoints "local PS = game:GetService("Players")
    local part = script.Parent
    local PartName = script.Parent.Name
    local StageNumber = tonumber(PartName)
    script.Parent.Touched:Connect(function(hit)
    local Character = hit.PArent
    local Player = PS:GetPlayerFromCharacter(Character)

    if StageNumber - Player.leaderdstats.Stage.Value == 1 then
    Player.leaderstats.Stage.Value = StageNumber
    end
    end)" But it wont work

    • @TempoTech_
      @TempoTech_ Год назад

      A lot of typos, fix them up and u should be good

  • @ActuallyShades123
    @ActuallyShades123 8 месяцев назад

    25

  • @Rob3rt_YT
    @Rob3rt_YT 8 месяцев назад +1

    Is it me or how this videos has 0 likes

  • @Extolium
    @Extolium Год назад +1

    how do i fix index nil
    it says Leaderstats is not a valid member of Player "Players.yvtzal"
    please help :(

    • @devmelonroblox
      @devmelonroblox  Год назад

      Make sure to make the leaderstats, the first letter not a capital letter

    • @Extolium
      @Extolium Год назад

      @@devmelonroblox alr tank

    • @Extolium
      @Extolium Год назад

      @@devmelonroblox oh wait i forgot i got Unable to assign property CFrame. CoordinateFrame expected, got nil

    • @devmelonroblox
      @devmelonroblox  Год назад

      @@Extolium Join my discord, link in the latest video I can help you out

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

    someone help plss. i put in
    local Players = game:GetService("Players")
    local Player = game.Players.localplayer
    local PlayerName = Player.name
    local Currentstage = Player.leaderstats.Stage.Value
    local CurrentCheckpoint = game.Workspace.Checkpoints:FindFirstChild(tostring(Currentstage))
    local CheckpointPos = CurrentCheckpoint.Positions
    local XPos = CheckpointPos.X
    local YPos = CheckpointPos.Y
    local ZPos = CheckpointPos.Z
    local TeleportPosition = CFrame.new(XPos, YPos, ZPos)
    Player.Character:WaitForChild("HumanoidRootPart").CFrane = TeleportPosition
    for the teleport script but it doesnt work

  • @Adobaskiller
    @Adobaskiller Год назад

    when i join it gives me Value is not a valid member of Folder "Players.my username.leaderstats" in the output and upon spawning i fall into the void once, after that happens everything works fine

    • @Adobaskiller
      @Adobaskiller Год назад

      nevermind i think ill just put a loading screen to hide it lol

  • @JUMPYYELLOWfr
    @JUMPYYELLOWfr Год назад

    Players.JumpyYellow.PlayerGui.TpToStage:9: attempt to index nil with 'Position' ??????

    • @bombzer
      @bombzer Год назад

      bruh i have the same problem

    • @BeigeAnims
      @BeigeAnims 11 месяцев назад +1

      change FindFirstChild to WaitForChild

    • @Sir-beans17
      @Sir-beans17 5 месяцев назад

      same

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

    10:40