2DWorlds Forums
Convert this code to buildism please :> - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: Scripting (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=13)
+--- Thread: Convert this code to buildism please :> (/showthread.php?tid=7811)



Convert this code to buildism please :> - Excel - 08-07-2011

Code:
local debounce = false

function getPlayer(humanoid)

    local players = game.Players:children()
    for i = 1, #players do
        if players[i].Character ~= nil then
            if players[i].Character.Humanoid == humanoid then return players[i] end
        end
    end
    return nil
end


function putOnArmor(humanoid)

    local torso = humanoid.Parent.Torso

    humanoid.MaxHealth = 200
    
    
    local player = getPlayer(humanoid)
    if player ~= nil then
        local message = Instance.new("Message")
        message.Text = "You are a god!"
        message.Parent = player
        wait(5)
        message.Text = "Health Increased By 100"
        wait(5)
        message.Parent = nil
    end


end



RE: Convert this code to buildism please :> - Dangerdan - 10-26-2011

(08-07-2011, 08:55 PM)Excel Wrote:
Code:
local debounce = false

function getPlayer(humanoid)

    local players = game.Players:children()
    for i = 1, #players do
        if players[i].Character ~= nil then
            if players[i].Character.Humanoid == humanoid then return players[i] end
        end
    end
    return nil
end


function putOnArmor(humanoid)

    local torso = humanoid.Parent.Torso

    humanoid.MaxHealth = 200
    
    
    local player = getPlayer(humanoid)
    if player ~= nil then
        local message = Instance.new("Message")
        message.Text = "You are a god!"
        message.Parent = player
        wait(5)
        message.Text = "Health Increased By 100"
        wait(5)
        message.Parent = nil
    end


end

Nice roblox code, bro.


RE: Convert this code to buildism please :> - Paradox - 10-26-2011

(10-26-2011, 09:44 PM)Dangerdan Wrote:
(08-07-2011, 08:55 PM)Excel Wrote:
Code:
local debounce = false

function getPlayer(humanoid)

    local players = game.Players:children()
    for i = 1, #players do
        if players[i].Character ~= nil then
            if players[i].Character.Humanoid == humanoid then return players[i] end
        end
    end
    return nil
end


function putOnArmor(humanoid)

    local torso = humanoid.Parent.Torso

    humanoid.MaxHealth = 200
    
    
    local player = getPlayer(humanoid)
    if player ~= nil then
        local message = Instance.new("Message")
        message.Text = "You are a god!"
        message.Parent = player
        wait(5)
        message.Text = "Health Increased By 100"
        wait(5)
        message.Parent = nil
    end


end

Nice roblox code, bro.

I love the meaningfulness of your post.

[/sarcasm]


RE: Convert this code to buildism please :> - Derpy-Hooves - 11-25-2011

humanoids

where did we go wrong

Sad


RE: Convert this code to buildism please :> - lol - 11-26-2011

ok heres the code it took me like 10 hours to convert it, ur lucky punk.

Code:
local debounce or watevr = 235458629862545986958559

get haxor code= true

super l33t coder= true

(10) seconds to get player
message.text = pi divided by 0
while true do your mom

health = holy aluminum sheet its over 9000

end

end

pro