Roblox INTERMEDIATE Lua Scripting Tutorial - Functions

Publicado em: 12 Fevereiro 2011
no canal de: Roblox News 2010
11,794
77

In this video we are going to be learning about functions. This is intermediate, ALMOST advanced, so you might want to watch the other intermediate tutorials before you watch this one.

Script 1:

function lava(hit)
hit:Remove()
end
script.Parent.Touched:connect(lava)

Script 2:

function lava(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid ~= nil then
humanoid.Health = 0
end
end

script.Parent.Touched:connect(lava)

script 3:

function lava(hit)
function remove2
hit:Remove()
end
remove2()
end
script.Parent.Touched:connect(lava)


Nesta página do site você pode assistir ao vídeo on-line Roblox INTERMEDIATE Lua Scripting Tutorial - Functions duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Roblox News 2010 12 Fevereiro 2011, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 11,794 vezes e gostou 77 espectadores. Boa visualização!