beginner sctipter
Hey guys, I'm a beginner to scripting. I just know how to kill ppl with killbricks/game. Wrokspace and some other. Iff there's anyone out there who couldhelp me, it would be appreciated
also i don't get this local leaderstats = Instance.new("Folder", player)
leaderstats.Name = "leaderstats"
local stage = Instance.new("IntValue", leaderstats)
stage.Name = "Stage"
stage.Value = StageData:GetAsync(player.UserId) or 1
-- Retrieve the player's data, but if there is none, start the player on stage 1
player.CharacterAdded:Connect(function(character)
\-- The function we're connecting to this event will be called everytime the player's character spawns
GoToCheckpoint(character, stage.Value)
end)
Posted Dec 4, 2025, 9:53 PM UTC
01