Roblox INTERMEDIATE Lua Scripting Tutorial - 'While True Do' and 'If'

Publié le: 13 janvier 2011
sur la chaîne: Roblox News 2010
5,513
23

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


Sur cette page du site, vous pouvez voir la vidéo en ligne Roblox INTERMEDIATE Lua Scripting Tutorial - 'While True Do' and 'If' durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Roblox News 2010 13 janvier 2011, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 5,513 fois et il a aimé 23 téléspectateurs. Bon visionnage!