This video shows Roblox Intermediate scripting. You will be learning the "while true do" and "if" statement. If you have any questions, leave it in the comment section below.
First script:
while true do
wait(0.01)
if game.Workspace.Value.Value == true then
game.Workspace.Player.Humanoid.Health = game.Workspace.Player.Humanoid.Health + 1
elseif game.Workspace.Value.Value == false then
game.Workspace.Player.Humanoid.Health = game.Workspace.Player.Humanoid.Health - 1
end
end
Nesta página do site você pode assistir ao vídeo on-line Roblox INTERMEDIATE Lua Scripting Tutorial - 'While True Do' and 'If' duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Roblox News 2010 13 Janeiro 2011, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 5,513 vezes e gostou 23 espectadores. Boa visualização!