Yes, send one of the scripts. They will likely all be the same. That is quite an inefficient way of managing checkpoints considering they could be managed with one.
Do they have anything about moving the player’s character in them? Otherwise, they may not be that useful to me.
I suggest that you search the server scripts for anything in relation to the stage value and check if it does anything to the player’s character.
1 Like
local playersService = game:GetService(“Players”)
local tweenService = game:GetService(“TweenService”)
local part = script.Parent
– Defining Variables
local partName = script.Parent.Name
local partNum = tonumber(partName)
local partSize = part.Size
script.Parent.Touched:Connect(function(charPart)
local char = charPart.Parent
local plrTouched = playersService:GetPlayerFromCharacter(char)
if partNum - plrTouched.leaderstats.Stage.Value == 1 then
plrTouched.leaderstats.Stage.Value = partNum
end
end)