auto aluno
Views: 969Executions: 277
  • Keyless
  • Mobile friendly

Advertisement

About this script

local checkpoint = script.Parent

checkpoint.Touched:Connect(function(hit)

local player = game.Players:GetPlayerFromCharacter(hit.Parent)

if player then

local leaderstats = player:FindFirstChild("leaderstats")

if leaderstats and leaderstats:FindFirstChild("Stage") then

leaderstats.Stage.Value = leaderstats.Stage.Value + 1

end

local nextSpawn = workspace.Checkpoints:FindFirstChild(tostring(leaderstats.Stage.Value))

if nextSpawn then

hit.Parent:MoveTo(nextSpawn.Position + Vector3.new(0,3,0))

endgame.Players.PlayerAdded:Connect(function(player)

local leaderstats = Instance.new("Folder")

leaderstats.Name = "leaderstats"

leaderstats.Parent = player

local stage = Instance.new("IntValue")

stage.Name = "Stage"

stage.Value = 1

stage.Parent = leaderstlocal checkpoint = script.Parent

checkpoint.Touched:Connect(function(hit)

local player = game.Players:GetPlayerFromCharacter(hit.Parent)

if not player then return end

local stage = player.leaderstats.Stage

local number = tonumber(checkpoint.Name)

if number and stage.Value < number then

stage.Value = number

game.Players.PlayerAdded:Connect(function(player)

player.CharacterAdded:Connect(function(character)

task.wait(0.5)

local stage = player.leaderstats.Stage.Value

local cp = workspace.Checkpoints:FindFirstChild(tostring(stage))

if cp then

character:MoveTo(cp.Position + Vector3.new(0,3,0))

end

eCrie um mapa completo para Roblox chamado Kill Me Keep.

O mapa deve ser grande, com estilo sombrio e moderno, compatível com celular.

Áreas do mapa

- Lobby principal.

- Floresta escura.

- Castelo abandonado.

- Caverna com cristais.

- Vila destruída.

- Arena final.

Objetos

- Checkpoints automáticos.

- Portais entre as fases.

- Baús de recompensa.

- Luzes, neblina e efeitos de partículas.

Jogabilidade

- O jogador desbloqueia novas fases ao completar a anterior.

- As fases ficam salvas automaticamente.

- O mapa deve ser otimizado para FPS no celular e ter visual de alta qualidade.nd)

end) end

end)ats

end)

end

end)