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’)
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
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!
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
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"
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'
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.
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 -
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.
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
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
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
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.
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)
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 :)
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)
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
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
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)
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 :)
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
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
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)
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
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?
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
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
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
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!
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’)
BRO THE SCRIPS DONT WORK😢😢
@@Crito361 by me olso
it doesnt work with multiplayer it just breaks... do u know how to fix it? (it works in singleplayer only)
UM THE STAGE VALUE DIDN'T WORK IS IT A GLITCH
I honestly love this vid it’s simple and works great! Definitely following the whole series and subbing!
I always had some issues with the checkpoints, then magically 10 seconds later you explain how to fix it. You earned a sub.
Hahahah! I’m happy to hear that!
What part was it?
@@devmelonroblox the uh spawning in the ground
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
Good tip!
if it says index nil with postiton on tptostage line 7 change findfirstchild to waitforchild
Nice! Good job for finding that
tysm
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!
Thanks for the feedback!
if u copy the spawnpoint, does it copy the whole script?
Dude your the best, all works, thanks so much because now i know how make difficult chart obby
No problem! I’m glad I helped!
ITS WORKING I LOVE YOUR VIDS :D
thank you for the tutorial, it help me a lot
No problem!
WAIT OMG IT WORKED I WAS SUPPOST TO RENAME IT TO PRACTICESCRIPT THANK YOU!
But Can I Make It Scarier Every 20 Stages?
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
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"
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'
Yes me too
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.
amazing tutorial! btw you can just make the spawn point bigger to not noclip through the map.
thank you so much! 💗
Great tutorial
Glad you think so!
hey i am having a problem can you help me fix it?
Amazing Tutorial
Glad you liked it
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 -
Did you write then after the ig statement?
If*
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.
How do I fix leaderstats is not a valid member of DataModel "Baseplate" - Client - TpToStage:6? I deleted the baseplate
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
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
its supposed to be game.Players not game.Player
@@cratoks6969 thanks
Bro, why the RPG so cool? Me likey melon head funny times
What?
I need a little help. On the TpToStage Script on line 4, it says attempt to index nil with “Name”
Nothing showed in the leaderboard
Because there’s part 2
if i walk on stage 2 from 1 and doesn't change do i write down the script you did for stage 1???
Join my discord if you need help! Find it on my channel I could help you out in dm's
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
yea i rlly messed up cuz i reset and spawned to the 1st checkpoint (please tell what to do)
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.
why does it keep saying : Workspace.1.Script:12: attempt to index nil with 'leaderstats'
Help me it says
Unable to assign property CFrame. CoordinateFrame expected, got nil
Join my discord link on my channel and I can help you out there!
When I try to test it kicks me and says "You're not trusted!" Why?
When I check my player there’s only backpack and player scripts, no parts
nah i tryed 5 diff vids, none work, not even this one. please help
How do you move/rotate/scale freely instead of it snapping?
when i respawn my head is clipped into the floor any fixes?
Workspace.2.Script:12: attempt to index nil with 'leaderstats' pls help me
me too
my textlabel isnt working
everytime i try to write effortless the textlabel is too small
is the video outdated or anything the checkpoints wont work?
nevermind i just had a typo in the script
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)
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 :)
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)
pls help
28:18 kinda got confused what to do here when you did the cut...
What why u cut the video when u fix the script bug, wtf i cant write the script if u cut
Sorry! I won’t do that again in the upcoming videos!
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)
if Stagenumber - Player.leaderstats.Stage.Vaule ----> spelling mistake, don't know a lot of scripting otherwise but i noticed that
@@themankostas tysm
how do i fix argument 1 cuz it says it`s missing or nill
no stage select?
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?
I FIXED IT but it still says error with leaderstats idk why it says that
How you scale and move things like that?
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.
@@devmelonroblox Yea bro but you can scale like to 0.01 is that a plugin or? I can scale it to like 1stud
@@Jovanmitrovich I know what you mean! I went to model and set the move and rotate to 0 degrees and studs!
W
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
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
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?
same
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)
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 :)
13:00
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
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
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)
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
L I K E 👍 👍 👍 👍👍💯💯 💯 💯💯🤩🤩🤩🤩🤩
Thank you for watching!
why it dont go to stage 2 for me i did the script right
Have you changed the name of the checkpoint?
@@devmelonroblox bro ofc we have
@@BananUngen What are your errors?
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?
Probably add scripts to all checkpoints
I cant see the scripts on the video.
3083 views but only 71 likes and 325 subscribers let me change it to 72 likes and 326 subscribers
Thank you!!!
I can’t wait to watch more of your amazing tutorials later!
Thank you
lol why is scaling set to 0 for you, it hurts my brain
Bro the drag feature is so annoying
20:00
How to you scale like that
go to model tab on tool bar then where it says move change it to 0
It doesnt work stage 1 i got the script right tho
same here, i copied everything that he just typed on the script and still it doesnt work.
im dumb i forgot the "" LOL
lol
28:21
Bruh I didn’t work
11:22
checkpoints dont work
Strange, can you dm me on discord by joining the server I can help you out
Why is the video soooooooooooo long?
old videos didnt know hwo to edit srry!
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
A lot of typos, fix them up and u should be good
25
Is it me or how this videos has 0 likes
how do i fix index nil
it says Leaderstats is not a valid member of Player "Players.yvtzal"
please help :(
Make sure to make the leaderstats, the first letter not a capital letter
@@devmelonroblox alr tank
@@devmelonroblox oh wait i forgot i got Unable to assign property CFrame. CoordinateFrame expected, got nil
@@Extolium Join my discord, link in the latest video I can help you out
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
same problem with me
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
nevermind i think ill just put a loading screen to hide it lol
Players.JumpyYellow.PlayerGui.TpToStage:9: attempt to index nil with 'Position' ??????
bruh i have the same problem
change FindFirstChild to WaitForChild
same
10:40