what do you mean? have I started on the username/health and time overhead GUI? if you meant that then yeah
I just need help with the script that will show the health and your username and the time
this is the script in starter character scripts
local player = game.Players:GetPlayerFromCharacter(character)
local humanoid = character:WaitForChild('Humanoid')
local leaderstats = player.leaderstats
local timeAlive = leaderstats["Time Alive"]
local bestTime = leaderstats["Best Time"]
local regionPart = workspace.Region
local min = regionPart.Position - (0.5 * regionPart.Size)
local max = regionPart.Position + (0.5 * regionPart.Size)
local region = Region3.new(min, max)
local function CheckSpawnRegion()
local objects = workspace:FindPartsInRegion3WithWhiteList(region, {character})
if #objects > 0 then
if not character:FindFirstChildOfClass("ForceField") then
local forceField = Instance.new("ForceField")
forceField.Visible = true
forceField.Parent = character
end
return true
else
local forceField = character:FindFirstChildOfClass("ForceField")
if forceField then
forceField:Destroy()
end
return false
end
end
local hasDied = false
humanoid.Died:Connect(function()
hasDied = true
end)
while wait() do
if hasDied then break end
while not hasDied and not CheckSpawnRegion() do
timeAlive.Value += 1
if timeAlive.Value > bestTime.Value then
bestTime.Value = timeAlive.Value
end
wait(1)
end
if hasDied then
timeAlive.Value = 0
end
end