yea man, but the script for the checkpoints are not working take a look local ServerStorage = game:GetService("ServerStorage") local PlayerDataFolder = ServerStorage:WaitForChild("PlayerData") game.Players.PlayerAdded:Connect(function(player)
local playerFolder = Instance.new("Folder") playerFolder.Name = player.UserId playerFolder.Parent = PlayerDataFolder
Hey the Script didn't work out did I do something wrong? local ServerStorage = game:GetService("ServerStorage") local PlayerDataFolder = ServerStorage:WaitForChild("PlayerData") game.Players.PlayerAdded:Connect(function(player)
local playerFolder = Instance.new("Folder") playerFolder.Name = player.UserId playerFolder.Parent = PlayerDataFolder
For the disappearing block script in 3:40 you can use: for i, v in pairs(script.Parent:GetChildren()) do if v:IsA("Part") then v.Touched:Connect(function(otherPart) if otherPart.Parent:FindFirstChild("Humanoid") then wait(0.2) v.CanCollide = false v.Transparency = 1 wait(2) v.CanCollide = true v.Transparency = 0 end end) end
thanks soooo much for but would recommend a little late to disappear like: for i, v in pairs(script.Parent:GetChildren()) do if v:IsA("Part") then v.Touched:Connect(function(otherPart) if otherPart.Parent:FindFirstChild("Humanoid") then wait(0.4) v.CanCollide = false v.Transparency = 1 wait(2) v.CanCollide = true v.Transparency = 0 end end) end end
I tried for the data saving but it didnt work, i looked for mistakes in my script, but besides that you are the only roblox creating that is ACTUALLY helping people learn. I salute you mate.
I had a part 3 to this video which covered saving the stages, but you'd have to follow these videos in order for it to work, so you'd had to watch part 1 (this video), part 2 and part 3
this is a good tutorial but, I have a few questions. how would I make a platform that moves constantly? how would I script it so that when I reach a stage, but then go back to a previous stage I still spawn at the highest stage I'm at? how could I add in a stage selector?
yo man where did u learn to script? ur so good at it and i see that u only have tutorials for the fundamentals of lua and i already know them so im asking where can i get more guidance
The Name: Making a game in 15 minutes just @Scriptix : After 5 minutes Me : hell no Just joking your video is nice this i the best tutorial i saw in my life i learned a lot from that video
When I tried to do the data saving it wouldn’t work and the folders weren’t showing up when I play the game. I tried checking my script but it was fine and the same as yours. Do you know why that is?
How do you make it so if u die, your body part that touches the next spawn ahead doesn't count towards the next stage? syntax of ROBLOX Lua is still very confusing to me.
Every time I put the stages into the folder it doesent get in order(1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,2,3,4,5,6,7,8,9,) does that affect me?
Nope! Just make sure your first stage is stage 1, second stage is stage 2, etc. The order that its in inside the folder doesn't matter. Roblox automatically tries to stuff in a specific order, don't worry too much about it :3
Yo, i was making the script for the playerdata and user id but when i ran the code, it Didnt show me the user id nor it gave me the int Value. Can you help me, i wrote the code right
Hi, I am having a problem with the spawns, I have the stage display but it wont count when I go on stage 2 and when I reset on stage 2 or any other stage I go back to stage 1. Is there any way to help? Here is my code: local Spawns = game.Workspace:WaitForChild("Spawns") local PlayerDataFolder = game:GetService("ServerStorage"):WaitForChild("PlayerData") for i, v in pairs(Spawns:GetChildren()) do v.Touched:Connect(function(otherPart) if otherPart.Parent:FindFirstChild("Humaniod") then local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local playerFolder = PlayerDataFolder:FindFirstChild(player.UserId)
local currentStage = playerFolder:WaitForChild("Stage")
local spawnStage = tonumber(v.Name)
if (spawnStage - currentStage.Value == 1) then currentStage.Value = currentStage.Value + 1 player.RespawnLocation = v end
so basically i tried the same exact scripts and did the spawn points thing but once i go to serverstorage and PlayerData it doesn't even show everything else like wich stage i am etc
hey can you pls copy and paste the script "playerjoin" and "stagemanager" i mess up everytime i try to write the script again. ty if you reply the stuff to me
Hey so I am in the middle of creating my first roblox obby and I was wondering if I could ask you about any of the problems I come by while doing so? Right now, I don't know how to make it so that the player has to be alive and touch the checkpoint for it to save them and spawn them at the next level. For example, I don't want their dead dead body parts to touch the next checkpoint and for the game to register that they completed the level. Is there a script for this? Thank you!!
I suppose you can have a secondary if statement checking that the humanoid's health is more than 0 after you've confirmed that the part that touched the checkpoint has a humanoid.
every time i reset or just join i get teleported to random spawns local Spawns = game.Workspace:WaitForChild("Spawns") local PlayerDataFolder = game:GetService("ServerStorage"):WaitForChild("PlayerData") for i, v in pairs(Spawns:GetChildren()) do
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local playerFolder = PlayerDataFolder:FindFirstChild(player.UserId)
local currentStage = playerFolder:WaitForChild("Stage")
local spawnStage = tonumber(v.Name)
if (spawnStage - currentStage.Value == 1) then
currentStage.Value = currentStage.Value + 1 player.RespawnLocation = v
Hello Scriptix, when the player died and the humanoid "parts" touched the spawn location the player can actually spawn on that spawn location so I have a question. Can I make a script where I check if the players health == 0 then it will not work. btw great vid i learned a lot, knew to scripting so, imma find this solution myself
Of course. You can simply just add an if statement under where it checks if the otherPart.Parent has a humanoid to check if the humanoid.Health is ~= 0.
@@Scrip_tix Can you give an example of this? im just starting so i wouldnt know how to make an if statement like that myself. Nor do i know where to put it.
my stage manager script local Spawns = game.Workspace:WaitForChild("Spawns") local PlayerDataFolder = game:GetService("ServerStorage"):WaitForChild("PlayerData") for i, v in pairs(Spawns:GetChildren()) do
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local playerFolder = PlayerDataFolder:FindFirstChild(player.UserId)
local currentStage = playerFolder:WaitForChild("Stage")
local spawnStage = tonumber(v.Name)
if (spawnStage - currentStage.Value == 1) then
currentStage.Value = currentStage.Value + 1 player.RespawnLocation = v
Yo mate, thanks a lot. You helped me a lot!! New subb Btw, when I tried to load my game, it says "We could not join the Team Create session for place_" If you can help, please respond. Thanks!! :)
"Try to: Restart roblox Studio Turn off and turn on Wi-Fi Try to report support or search for Incident ID Try to reinstall Roblox Studio Try to clean all cache and Temp files." - from DevForum
I tried all of this, but none works :( But when I tried to open my old games, it works. But it does not work to my new ones. I don't know what's the problem here
I can't seem to figure out the data saving or stage values other than that this probably one of the best tutorials ive seen ill Definitely watch the next one
bro i tried everything it doesnt work man pls help me like the storage folder the value folder doesnt come in it and then stage manager doesnt work for me
Hi, #7:30 PlayerData dosen't work for me? Dosen't add the folder when I test play? local ServerStorage = game:GetService("ServerStorage") local PlayerDataFolder = ServerStorage:WaitForChild("PlayerData") game.Players.PlayerAdded:Connect(function(player)
local playerFolder = Instance.new("Folder") playerFolder.Name = player.UserId playerFolder.Parent = PlayerDataFolder
Hey sorry to bother but with the disappearing parts part it works the first time but after they reappear you can no longer collide with them, any idea on how to fix this issue?
Im unsure in why the server script service script for spawns is not creating the folder for players, ive coppied the code exactly and made the PlayerData folder, am i missing something
The PlayerData folder is manually created (so you have to add the folder in ServerStorage yourself). If you've created the PlayerData folder already, the reason it's not showing when you run the game might be because you are viewing the ServerStorage from the client. So try switching to the Server view, which you can do by clicking the button beside the play button that says "Current: client" to toggle between the modes (while you're running the game).
@@Scrip_tix at the end when u test it I can't get mine to do that, I see it's on the thing to the side where u did all ur scrips but mine doesn't pop up like that so i'm a little confused
Like at 14:55? It's the same obstacle as the one in 03:50. Basically I had a bunch of parts which would create the path that players hop on. I placed them all inside a folder, and inserted a regular script inside that folder and wrote the code I had at 03:43. Don't forget that your parts have to be anchored, otherwise they fall out of the world!! :3
Thank you for the video, it helped :) Before this, I watched another tutorial and got rlly far, but, I accidentally deleted the spawn button and didn’t know until it was too late😢pls help me.
Did you name your spawns correctly? They should start at 1 and go up. Also, could you please paste your code here? It's possible you missed something. Are there any errors in the output window?
for some reason when i use your script in the killerblocks it doesn't work :( i have all the blocks selected when i write it and the script unselected but on the same folder
@@Scrip_tix i fixed by using another code and appliying it to every killer block individually, thanks for the quick attention tho, really appreciate it 💝
every time i type the script in 7:14 when i run the game and stop, it doesn't even print the id, still the tutorial was kinda helpfull but my obby is now checkpointless☠☠
Can you help me out with this issue, I got the issue “Spawns is not a valid member of Workspace “Workspace””. When I spawn in, it dosent spawn me to the 1st level and instead spawns in random stages. is there any way to solve the problem?
Enjoyed the video? Consider subscribing! 🏆
CHECK OUT PART 2 HERE: ruclips.net/video/0hIQgUETgpo/видео.html
Btw could you make a full obby game, like without skips so we know eveythin is right, thanks 👍
please write the script in the comments🙃
I just love how straight-foward you are in this video and your voice is calming making it so much better. You explain really well Thank you!
Haha, I'm flattered you find my voice calming. Thanks for watching :3
yea man, but the script for the checkpoints are not working take a look
local ServerStorage = game:GetService("ServerStorage")
local PlayerDataFolder = ServerStorage:WaitForChild("PlayerData")
game.Players.PlayerAdded:Connect(function(player)
local playerFolder = Instance.new("Folder")
playerFolder.Name = player.UserId
playerFolder.Parent = PlayerDataFolder
local currentStage = Instance.new("IntValue")
currentStage.Name = "Stage"
currentStage.Value = 1
currentStage.Parent = playerFolder
end)@@Scrip_tix
Hey the Script didn't work out did I do something wrong?
local ServerStorage = game:GetService("ServerStorage")
local PlayerDataFolder = ServerStorage:WaitForChild("PlayerData")
game.Players.PlayerAdded:Connect(function(player)
local playerFolder = Instance.new("Folder")
playerFolder.Name = player.UserId
playerFolder.Parent = PlayerDataFolder
local currentStage = Instance.new("IntValue")
currentStage.Name = "Stage"
currentStage.Value = 1
currentStage.Parent = playerFolder
end)
Are you getting any errors in the output window?
@@Scrip_tix the data for the folder isn't working for me like numbers then stage one
Thanks dude this actually helps alot, I didn't know how to do respawns for so long 😭
You're welcome :3
For the disappearing block script in 3:40 you can use:
for i, v in pairs(script.Parent:GetChildren()) do
if v:IsA("Part") then
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
wait(0.2)
v.CanCollide = false
v.Transparency = 1
wait(2)
v.CanCollide = true
v.Transparency = 0
end
end)
end
end
Thx i did his and i didn't work i checked and everything urs worked
thanks soooo much for
but would recommend a little late to disappear like:
for i, v in pairs(script.Parent:GetChildren()) do
if v:IsA("Part") then
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
wait(0.4)
v.CanCollide = false
v.Transparency = 1
wait(2)
v.CanCollide = true
v.Transparency = 0
end
end)
end
end
Your so kind
bro ur best dude ever tyms
I tried for the data saving but it didnt work, i looked for mistakes in my script, but besides that you are the only roblox creating that is ACTUALLY helping people learn. I salute you mate.
Do you have any suggestions?
I had a part 3 to this video which covered saving the stages, but you'd have to follow these videos in order for it to work, so you'd had to watch part 1 (this video), part 2 and part 3
There are actually a lot of Roblox creators that make coding videos he's just one of them
this is a good tutorial but, I have a few questions. how would I make a platform that moves constantly? how would I script it so that when I reach a stage, but then go back to a previous stage I still spawn at the highest stage I'm at? how could I add in a stage selector?
I use chatGPT
@@Whosthishuhwhyyouask it's not good to
for the moving parts, you would have to use vector3 and maybe a for loop. you can search up how to use them
Nice video :) I actually learned a lot from this video
Thank you for watching :)
@@Scrip_tix ur video are helping me thanks
yo man where did u learn to script? ur so good at it and i see that u only have tutorials for the fundamentals of lua and i already know them so im asking where can i get more guidance
The DevForum is a good place to start :)
Tysm for teaching me the basics, definetly worthy of a sub
Great video! The other videos that i searched up didnt teach anything, so thank you for making this! It helped me a lot.
You're welcome 🤗
Can I see your code?
@@Scrip_tix I realized I forgot to name the win or lose event lol
I'm watching that in 2024 and that video helped me sooooooooooooo much, your channel shoud have 100K SUBS!
You’re good at scripting
The Name: Making a game in 15 minutes just
@Scriptix : After 5 minutes
Me : hell no
Just joking your video is nice this i the best tutorial i saw in my life i learned a lot from that video
Thanks for watching :3
When I tried to do the data saving it wouldn’t work and the folders weren’t showing up when I play the game. I tried checking my script but it was fine and the same as yours. Do you know why that is?
Same here I’m guessing it’s out dated but idk
i found how to do that, you have to switch client to server while testing
hi bro/sorry to bother you but can we use toolbox to make games. If we can then what are the advanrages and Disadvantages?
Yes you can but if you use some stuff that already have scripts it may ruin your game
How do you make it so if u die, your body part that touches the next spawn ahead doesn't count towards the next stage? syntax of ROBLOX Lua is still very confusing to me.
Nice vid!, Sciptix how’d u learn how to script? Ur good at it I wanna start learning
I watched RUclips videos like this: ruclips.net/video/6XxY_zrgzPI/видео.html
And took on projects
Ok!
Bro we need part 2 btw love ur video ❤
Just made it! ruclips.net/video/0hIQgUETgpo/видео.html
check for uppercase letters if something doesn't work in your script
Oh ok thanks
whenever someone rejoins the checkpoints stop working, the leaderboard doesn't change either
Could you elaborate, what do you mean they stop working? The stages don't save (at least in this part)
sadly it tells me to put "end" somewhere and then there's no values such as "v" so i gave up
Every time I put the stages into the folder it doesent get in order(1,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,2,3,4,5,6,7,8,9,) does that affect me?
Nope! Just make sure your first stage is stage 1, second stage is stage 2, etc. The order that its in inside the folder doesn't matter. Roblox automatically tries to stuff in a specific order, don't worry too much about it :3
Thank you so much bro, I tried to search for a tutorial like this and even made a 120 lines script for it not to work
You deserve 1,000,000 subs
This is the best obby tutorial out there
You're very welcome :3@@Minebloxtom
Yo, i was making the script for the playerdata and user id but when i ran the code, it Didnt show me the user id nor it gave me the int Value. Can you help me, i wrote the code right
Wait same it also happens to me I don't know what to do
Could you make a video about the kill brick and go more in depth
THANKS MAN
;
Hi, I am having a problem with the spawns, I have the stage display but it wont count when I go on stage 2 and when I reset on stage 2 or any other stage I go back to stage 1. Is there any way to help? Here is my code: local Spawns = game.Workspace:WaitForChild("Spawns")
local PlayerDataFolder = game:GetService("ServerStorage"):WaitForChild("PlayerData")
for i, v in pairs(Spawns:GetChildren()) do
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humaniod") then
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local playerFolder = PlayerDataFolder:FindFirstChild(player.UserId)
local currentStage = playerFolder:WaitForChild("Stage")
local spawnStage = tonumber(v.Name)
if (spawnStage - currentStage.Value == 1) then
currentStage.Value = currentStage.Value + 1
player.RespawnLocation = v
end
end
end)
end
so basically i tried the same exact scripts and did the spawn points thing but once i go to serverstorage and PlayerData it doesn't even show everything else like wich stage i am etc
And how did you click the + button without the smaller page popping up and you used starterPack for the folder how did you do that?
Hi love the vid but when a player joins the game they spawn on a random checkpoint any idea how to fix?
amazing video
Thank you :))
Nice video! Thanks you
Your welcome!
to make the part disapear in 3:24 you can do this script instead to:
local part = script.Parent
part.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
task.wait(.2)
part.Transparency = 1
part.CanCollide = false
task.wait(1.5)
part.Transparency = 0
part.CanCollide = true
end
end)
you enter word to number location try this your this code is wrong ask.wait(.2w) only 2 or 0.2 like number not word
@@17halilibo17 I didn’t mean to put a w
Thank you
Is there any way you can help?
hey can you pls copy and paste the script "playerjoin" and "stagemanager" i mess up everytime i try to write the script again. ty if you reply the stuff to me
I didn’t understand how to make that it will start in he stage 1
CAN YOU TELL ME THE SCRIPS? IM TO LAZY
I wonder what’s inside of the models and the 2 obstacles models
could you make an updated leaderstats? since roblox updated it so it doesnt work anymore
My script in ServerScriptService for save data doesnt work idk how copied word for word
Hey so I am in the middle of creating my first roblox obby and I was wondering if I could ask you about any of the problems I come by while doing so? Right now, I don't know how to make it so that the player has to be alive and touch the checkpoint for it to save them and spawn them at the next level. For example, I don't want their dead dead body parts to touch the next checkpoint and for the game to register that they completed the level. Is there a script for this? Thank you!!
I suppose you can have a secondary if statement checking that the humanoid's health is more than 0 after you've confirmed that the part that touched the checkpoint has a humanoid.
for i, v in pairs(script.Parent:GetChildren()) do
if v:IsA("Part") then
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
task.wait(0.5)
v.transparency=1
v.CanCollide=false
task.wait(2)
v.transparency=0
v.CanCollide=true
end
end)
end
end
it dosent work help me
Transparency needs to be spelt with a capital 'T'.
I encourage you to watch this video for tips: ruclips.net/video/bHFFho2ltKo/видео.html
can u say why my scrit with layerdata isnt workin?
Even After Replaying the video a 100 times . I keep Respawning here and there. Could u suggest me a way to fix it . :)
its the same fr me
guys just a tip, if the player data script isnt working, check spelling, and make sure your looking at current client
Okay but what exactly do u mean by current client?
it says on the top current client@@2Sawsy
Right
u are the best in the entire world i was stuck on it not working for atleast 3 hours@@Koreanman-xL
i ment @justaguy_5042
every time i reset or just join i get teleported to random spawns
local Spawns = game.Workspace:WaitForChild("Spawns")
local PlayerDataFolder = game:GetService("ServerStorage"):WaitForChild("PlayerData")
for i, v in pairs(Spawns:GetChildren()) do
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local playerFolder = PlayerDataFolder:FindFirstChild(player.UserId)
local currentStage = playerFolder:WaitForChild("Stage")
local spawnStage = tonumber(v.Name)
if (spawnStage - currentStage.Value == 1) then
currentStage.Value = currentStage.Value + 1
player.RespawnLocation = v
end
end
end)
end
did i mess up the code???
Are there any errors in the output window? Did you name your spawns in order of their positions?
You just helped me so freaking much
Then how to make a stage leaderboard like if someone got to stage 30 the top used to be 29 and they will become first place
Hello Scriptix, when the player died and the humanoid "parts" touched the spawn location the player can actually spawn on that spawn location so I have a question. Can I make a script where I check if the players health == 0 then it will not work.
btw great vid i learned a lot, knew to scripting so, imma find this solution myself
Of course. You can simply just add an if statement under where it checks if the otherPart.Parent has a humanoid to check if the humanoid.Health is ~= 0.
@@Scrip_tix Can you give an example of this? im just starting so i wouldnt know how to make an if statement like that myself. Nor do i know where to put it.
in my stage manager script on line 14 it says "attempt to index nil with 'WaitForChild'" do you know what this means?
What thing do you use to make an obby on?
I have a question why dont the disppearing blocks work i put in everything
good video
so when im walking around on the spawn point, the stage numbers keep going up every time i move on it. does anyone have a fix?
Can you show me your code? Are the stages labelled in ascending order (ex. 1,2,3,4...)?
Do you think we could team create? I'm still not that good at making games yet
This is a good tutorial! Thank u so much!
Did it work?
When I was adding spawns on to my game, it stop registering it past spawn 7. Do you know why this could be happening?
How did you do that blue thing from script to all parts in killbrick folder? Pls let me know bc it didnt work for me
Same
Same
I don't know what I've done wrong for the killbricks. The script is the same. But it won't kill.
from where did you get the 407 code thing
Can you do this whit more stage or only 6
As many stages as you want!
hi the tt is good but when i try and copy the thing to make it invisable it does not work i tryed many time i dont know what i am doing wrong
can you help me please my spawns works tottaly randomly everytime i join i teleport to other spawn
my stage manager script
local Spawns = game.Workspace:WaitForChild("Spawns")
local PlayerDataFolder = game:GetService("ServerStorage"):WaitForChild("PlayerData")
for i, v in pairs(Spawns:GetChildren()) do
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild("Humanoid") then
local player = game.Players:GetPlayerFromCharacter(otherPart.Parent)
local playerFolder = PlayerDataFolder:FindFirstChild(player.UserId)
local currentStage = playerFolder:WaitForChild("Stage")
local spawnStage = tonumber(v.Name)
if (spawnStage - currentStage.Value == 1) then
currentStage.Value = currentStage.Value + 1
player.RespawnLocation = v
end
end)
end
Any errors in the code?
Ty for responding but i alerdy fixed problem:)
Yo mate, thanks a lot. You helped me a lot!! New subb
Btw, when I tried to load my game, it says "We could not join the Team Create session for place_"
If you can help, please respond. Thanks!! :)
"Try to:
Restart roblox Studio
Turn off and turn on Wi-Fi
Try to report support or search for Incident ID
Try to reinstall Roblox Studio
Try to clean all cache and Temp files."
- from DevForum
I tried all of this, but none works :(
But when I tried to open my old games, it works. But it does not work to my new ones. I don't know what's the problem here
how do you stop them from falling when you take out the floor?
Anchor the parts..?
i was so confused at everything how do you even copy that and like place the same thing there. this is my first time so thats why
underrated
for i, v in pairs(script.Parent:GetChildren)() do
if v:IsA("Part") then
v.Touched:Connect(function(otherPart)
if otherPart.Parent:FindFirstChild:("Humanoid") then
otherPart.Parent:FindFirstChild("Humanoid"):takeDamage(100)
end
end)
end
end
can you tell me what I did wrong? because I did it 4 times and always nothing happend with my lava bricks.
First line should not have '()'
I can't seem to figure out the data saving or stage values other than that this probably one of the best tutorials ive seen ill Definitely watch the next one
did u figure out how to fix it? i need help too
@@issy938 not that I know off I doesn't seem to work anymore although I found out how to save checkpoints just had to look up
Hello, im having problems beacuse whenever i make the player folder it doesnt have anything in it
same this is happening to me as well @Scriptix
@scriptix
bro i tried everything it doesnt work man pls help me like the storage folder the value folder doesnt come in it and then stage manager doesnt work for me
is there some where where i can copy the scripts so i dont have to write it all myself?
Thanks
Nice Video but i have a question when a character respawn its give a hemlock and the hemlock is 9 sec how to do it to not get hemlock
Hi I’m new to the channel I’ll do this tomorrow.
Hi, #7:30 PlayerData dosen't work for me? Dosen't add the folder when I test play?
local ServerStorage = game:GetService("ServerStorage")
local PlayerDataFolder = ServerStorage:WaitForChild("PlayerData")
game.Players.PlayerAdded:Connect(function(player)
local playerFolder = Instance.new("Folder")
playerFolder.Name = player.UserId
playerFolder.Parent = PlayerDataFolder
local currentStage = Instance.new("IntValue")
currentStage.Name = "Stage"
currentStage.Value = 1
currentStage.Parent = playerFolder
end)
bro can you show us what keybinds you use to select and stuff cuz we don't even know what to click when u already did it
Hey! Could you tell me in which parts of the video you were looking for? (Timestamps please)
Hey sorry to bother but with the disappearing parts part it works the first time but after they reappear you can no longer collide with them, any idea on how to fix this issue?
Can you show me your script? It's likely that you forgot to set v.CanCollide = true again.
for some reason the script at 3:43 isnt working for me
Are your parts anchored and the script placed inside the folder with the parts? If so, and it still isn't working, can you show me your code?
@@Scrip_tix It was my fault in the script i accidentally wrote "Isa" instead of "IsA" thanks for helping
@@Scrip_tix also, the stage number on the leaderboard doesnt show up for me even though my scripts match yours, do you know why?
Can someone help i made the same scripts but mine doesn't work
Same
How do you make the parts blue and then connect then to the command like that
Fir the killbrick
v.Touched:Connect(function(otherpart)
if otherpart.Parent:FindFirstChild("Humanoid") then
v.brickcolor = brickcolor.new("selectcolor")
end
Could I have all the scripts in a file with info of where to put them?
Im unsure in why the server script service script for spawns is not creating the folder for players, ive coppied the code exactly and made the PlayerData folder, am i missing something
The PlayerData folder is manually created (so you have to add the folder in ServerStorage yourself). If you've created the PlayerData folder already, the reason it's not showing when you run the game might be because you are viewing the ServerStorage from the client. So try switching to the Server view, which you can do by clicking the button beside the play button that says "Current: client" to toggle between the modes (while you're running the game).
@@Scrip_tix I had the same problem but you fix it ty
Hi my falling blocks aren't working and i wrote the ame script do you know how to fix this
Did you anchor the blocks first? If so, show me your code :3
how did u get the floor to remove when doing a playthrough?
Are you talking about the obstacle at 03:50? I believe I wrote the code for it right before that :3
@@Scrip_tix at the end when u test it I can't get mine to do that, I see it's on the thing to the side where u did all ur scrips but mine doesn't pop up like that so i'm a little confused
Like at 14:55? It's the same obstacle as the one in 03:50. Basically I had a bunch of parts which would create the path that players hop on. I placed them all inside a folder, and inserted a regular script inside that folder and wrote the code I had at 03:43. Don't forget that your parts have to be anchored, otherwise they fall out of the world!! :3
Thank you for the video, it helped :) Before this, I watched another tutorial and got rlly far, but, I accidentally deleted the spawn button and didn’t know until it was too late😢pls help me.
Pls, even if you aren’t the video creator but you know what to do, I’m begging, help me
When I Spawn in My leaderstats don't show till I hit stage 2.
Can you show me your script for the leaderstats?
Hey, I did the all the script identical but my leader board is stuck on one and won't go up? How do I fix this
Did you name your spawns correctly? They should start at 1 and go up. Also, could you please paste your code here? It's possible you missed something. Are there any errors in the output window?
for some reason when i use your script in the killerblocks it doesn't work :( i have all the blocks selected when i write it and the script unselected but on the same folder
Can you show me your code?
@@Scrip_tix i fixed by using another code and appliying it to every killer block individually, thanks for the quick attention tho, really appreciate it 💝
i got an error please help me: "DataStore can't be accessed from client"
I need help. # Stage doesn't show up for me in ServerStorage/Playerdata/xyz/
Also when I die I spawn at my first spawn and leaderstats aren't showing
Can you show me your code?
same i need help😭😭😭😭
How do i make a skip stage button???
Im pretty sure u can make it when u buy the gamepass it sets ur stage to +1 and they u can kill the player so they tp to the next checkpoint
ruclips.net/video/0hIQgUETgpo/видео.html : I just made a part 2 of this where I show you how to make it!
What do u have to press
every time i type the script in 7:14 when i run the game and stop, it doesn't even print the id, still the tutorial was kinda helpfull but my obby is now checkpointless☠☠
selection box is not showing in my studio :(
SAME
The checkpoints keep randomising 😢 can you help me?
5:23
(saving my point)
tysm i finally made my first game
it says on stageManager line 12 that "Argument 1 missing or nil" and its not saving the checkpoint - please respond
I need you to show me your code. Please paste it here :3
Can you help me out with this issue, I got the issue “Spawns is not a valid member of Workspace “Workspace””. When I spawn in, it dosent spawn me to the 1st level and instead spawns in random stages. is there any way to solve the problem?
Do you have a folder called "Spawns" in the workspace?
I'm having the same problem
@@Scrip_tix
Idk why but the first script wont work for me do u know why?? I did every step :(
Can you show me your code?
@@Scrip_tixhow tho?
@@Scrip_tix how do I show u that??
Paste that first script here.
@@Scrip_tix but how am now on iPad not on my pc??