How to make Difficulty Chart Obby on Roblox (Part 3)
HTML-код
- Опубликовано: 13 сен 2024
- In this roblox scripting tutorial you will learn how to make roblox difficulty chart obby in roblox studio and potentially earn some free robux. Here you will learn the basics of Roblox Studio and program in the Roblox Studio Scripting Language LUA! In the last part we made a simple conveyor and KillBrick! In this part we made the level system and checkpoint system work better by adding a GUI that selects what Check point we are on! Like and subscribe to see part 3
RESOURCES:
DevHub: developer.robl...
DevForum: devforum.roblo...
How to make Difficulty Chart Obby Tutorial Roblox studio (PART 3)
SUBSCRIBE HERE! ➜ / @devmelonroblox
Be sure to hit the bell to turn on notifications!
Be sure to hit that like button!
Watch The Full Playlist Here: • Roblox Difficulty Char...
#roblox #robloxscripting #robloxstudio
How to make Difficulty Chart Obby Tutorial Roblox studio (PART 3)
How to make Difficulty Chart Obby Tutorial Roblox studio (PART 3)
I’m not able to post much at the moment because of school but part 4 will be out soon!
a more accurate way to do the forward arrow is to do
if currentstage.Value +1
awesome video! this really helped me out in my obby!
Thats good to hear!
This is so amazing! Thank you so much!!
Best RBX studio Yt I really mean it
Thank you!
why when I teleport to stage 1, it is saved in leaderstats and I have to go through obby again
an another way to do maximum strength if the maxium strength stays as 0 1st check if the maxium strength is 0 you can do this by doing print(MaximumStrength) if it says zero then go to the next step 2. change the thing to how much checkpoints you in your obby eg local MaximumStrength = 4
Good video
Thanks!
why doesnt my stage move on right where the arrows are at ? The sound doesnt play too.
Hello, what is the script for data saving the checkpoints?
14:15
anyone mind helping me? I did the move back stage script and The output tells me " You cannot move stage" and I am stage 3. Anyone mind helping me?
If u want to the stage to be set to 0 when trying to go back whilst already at 1 or trying to go forward whilst already at the maximum you've completed legitimately, aswell as when skipping 10 forwards or backwards near the maximum/0 that it be set to 0/the max you've completed instead of not working. Example: You're at Stage 94, you've completed up to stage 97, and you then try to skip forwards 10 stages, Instead of it not working it will take you to stage 97, and if you're at stage 97 and then try to skip 10 or 1 forward it will then take you to 0. (which would be the lobby) Then feel free to use this script: (Must be inserted at line 18)
script.Parent.BackArrow.MouseButton1Down:Connect(function()
local CurrentStage = game.ReplicatedStorage[player.Name]
if CurrentStage.Value -1 >0 then
CurrentStage.Value -= 1
MoveToStage()
elseif CurrentStage.Value == 0 then
CurrentStage.Value = player.leaderstats.Stage.Value
MoveToStage()
elseif CurrentStage.Value -1 == 0 then
CurrentStage.Value = 0
MoveToStage()
else
print("Cannot Move 1 Stage Backwards")
end
end)
script.Parent.BackArrow2.MouseButton1Down:Connect(function()
local CurrentStage = game.ReplicatedStorage[player.Name]
if CurrentStage.Value -10 >0 then
CurrentStage.Value -= 10
MoveToStage()
elseif CurrentStage.Value == 0 then
CurrentStage.Value = player.leaderstats.Stage.Value
MoveToStage()
elseif CurrentStage.Value -10
to anyone who was trying to use the StageMover code and it didn't work, make sure you used a local script.
dawg whats in his replicated storage though
it keeps saying "username" is not a valid member of ReplicatedStorage "ReplicatedStorage"
same bro
Obi fun tomes
I tried this and nothing worked, I have watched the video mutliple times and my script is the exact same as yours but mine does not work.
Do you have any errors?
@@devmelonroblox No, but the arrows just dont work. Everything else does work like the sound effect but the main part doesnt
@@skvb030 just join the discord once I come back home, that will be tommorow then dm me and I’ll try helping you out
@@devmelonroblox Alright, Thank you man
The backarrow is not working, could you try help?
Mine says You Cannot Move - Client - StageMover:24
even if im on stage 2 or 3 it still prints no
it says that the "Stage" in this is errored and it wont put me on stage 4
if StageNumber - Stage == 1 then
Can you join the server and send screenshots of the error and code?
i dont have discord,
but the error says that it cant be found
Workspace.Checkpoints.1.Script:13: attempt to perform arithmetic (sub) on number and nil is the error and its named 4
@@devmelonroblox NEVERMIND, I just had to relace the checkpoint lol
The StageMover script is broken for me, it won’t work
if the player leaves the game does the checkpoint save?
Yeah
at 13:37 it says my user can not be moved to replication storage what does that mean?
Have you said .Name after the player?
@@devmelonroblox ill check tommorow i have to sleep
@@devmelonroblox Yea i have it still doesnt work for some reason
cant you help me?
Yeah join the discord if will be much easier to help
it says my user is not a valid member of ReplicatedStorage "ReplicatedStorage" - Client - StageMover:19 Pls help me
same
Mine don’t work ☹️
Doesnt work anymore!
I sadly just found that out the hard way
Part 4 When?
it says that Players.IGOTH8ACKED2T9MES.PlayerGui.StagePicker.Frame.LocalScript:19: attempt to index nil with 'Name' idk why
Join the discord server I’ll help you out there it will be easier
i kinda fixed it but now it says that im not a valid member of replicated stroage
@@SKEPPY0_0MAN i changed it idk what to name it so i just did whatever i wanted with it
Good username 🤨
The arrows doesn't work I copied the exact same script there aren't any errors Idk why it isn't working and heres my script :
local Player = game.Players.LocalPlayer
local Name = Player.Name
local Character = game.Workspace:WaitForChild(tostring(Name))
local MaxmuimStage = #game.Workspace.Checkpoints:GetChildren()
function MoveToStage()
local currentstage = game.ReplicatedStorage[Player.Name].Value
local currentCheckpoint = game.Workspace.Checkpoints:FindFirstChild(tostring(currentstage))
local CheckPointPositon = currentCheckpoint.Position
local Xpos = CheckPointPositon.X
local Ypos = CheckPointPositon.Y
local Zpos = CheckPointPositon.Z
local TpPosition = CFrame.new(Xpos, Ypos+5, Zpos)
Player.Character:WaitForChild("HumanoidRootPart").CFrame = TpPosition
end
script.Parent.BackArrow.MouseButton1Down:Connect(function()
local currentstage = game.ReplicatedStorage[Player.Name]
if currentstage.Value - 1 >0 then
currentstage.Value -= 1
MoveToStage()
else
print("Teleport failed")
end
end)
Same :(
it should be local player not local Player
appologize if wrong i havent tried it
@@Mak_N_Chez tysm but i already found another and better tutorial
@@gamingandschool2230 what is the link
@@gamingandschool2230 link?
Can u paste the scripts I'm too lazy