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

Published: 13 January 2011
on channel: 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


On this page of the site you can watch the video online Roblox INTERMEDIATE Lua Scripting Tutorial - 'While True Do' and 'If' with a duration of hours minute second in good quality, which was uploaded by the user Roblox News 2010 13 January 2011, share the link with friends and acquaintances, this video has already been watched 5,513 times on youtube and it was liked by 23 viewers. Enjoy your viewing!