Online Gamers

We see you are not logged in. Please log in or join the Online Gamers community today! Thanks!

~Cheers~

- The Staff

Join the forum, it's quick and easy

Online Gamers

We see you are not logged in. Please log in or join the Online Gamers community today! Thanks!

~Cheers~

- The Staff

Online Gamers

Would you like to react to this message? Create an account in a few clicks or log in to continue.

The Best Place To Talk About all sorts of games

Forum Owner Death's contest is out! Check any forum and you'll find it as a global announcement.
Yes, The Arceus rank exists!
Read the portal news! It is where ALL updates are placed on at!

2 posters

    LUA scripting

    wafles26122
    wafles26122
    Super Veteran
    Super Veteran


    Likes Pie : Yes
    Post count : 153
    Fame : 1
    Join date : 2011-04-22
    Age : 25
    Location : :3
    Humor : :3

    HAX!
    Level:
    LUA scripting Left_bar_bleue91/250LUA scripting Empty_bar_bleue  (91/250)
    Inventory (ORPG):
    Nuke Field: 1337

    Idea LUA scripting

    Post by wafles26122 May 3rd 2011, 9:57 pm

    This is there you can talk about LUA! I love lua it's the scripting language of roblox, and im quite good at it.
    Heres just a few scripts i have written in a notepad.

    account age script:
    player = "wafles26122"

    p = game.Players:findFirstChild(player)
    age = p.AccountAge

    local m = Instance.new("Message")
    m.Parent = game.Workspace
    m.Text = player.." has been playing roblox "..age.." days."
    wait(3)
    m:remove()


    super powers script:

    wafles = game.Workspace.wafles26122

    local ff = Instance.new("ForceField")
    ff.Parent = wafles
    ff.Name = "ff"
    wafles.Humanoid.WalkSpeed = 45
    wafles.Humanoid.MaxHealth = 0
    wafles.Head.face.Texture = ""
    w = wafles:GetChildren()
    for i=1, #w do
    if w[i].className == "Part" then
    w[i].Transparency = 1
    else
    we = w[i]:GetChildren()
    for e=1, #we do
    if we[e].className == "Part" then
    we[e].Transparency = 1
    end
    end
    end
    end
    while true do
    wafles.ff:remove()
    wait(2)
    local ff = Instance.new("ForceField")
    ff.Parent = wafles
    ff.Name = "ff"
    wait(3)
    end


    Darkness script:

    script.Parent = game.Lighting
    script.Parent.Brightness = 0
    script.Parent.Ambient = Color3.new(0, 0, 0)
    local dark = Instance.new("Sky")
    dark.Parent = script.Parent
    dark.SkyboxBk = "http://www.roblox.com/asset/?id=3166724"
    dark.SkyboxDn = "http://www.roblox.com/asset/?id=3166724"
    dark.SkyboxFt = "http://www.roblox.com/asset/?id=3166724"
    dark.SkyboxLf = "http://www.roblox.com/asset/?id=3166724"
    dark.SkyboxRt = "http://www.roblox.com/asset/?id=3166724"
    dark.SkyboxUp = "http://www.roblox.com/asset/?id=3166724"
    dark.StarCount = 0
    script.Parent.TimeOfDay = "04:00:00"
    w = game.Workspace:GetChildren()
    while true do
    wait(1)
    for i=1, #w do
    local ff = Instance.new("ForceField")
    ff.Parent = w[i]
    if w[i].className == "Part" then
    w[i].BrickColor = BrickColor.new(1003)
    w[i].Reflectance = 0
    w[i].BackSurface = "Smooth"
    w[i].BottomSurface = "Smooth"
    w[i].FrontSurface = "Smooth"
    w[i].LeftSurface = "Smooth"
    w[i].RightSurface = "Smooth"
    w[i].TopSurface = "Smooth"
    end
    end
    end


    every part ff script:

    while true do
    wait(0.1)
    workspace = game.Workspace
    wait(1)
    print("wafles26122's ff script running")
    wait(2)
    w = workspace:GetChildren()
    for i=1, #w do
    local ff = Instance.new("ForceField")
    ff.Parent = w[i]
    end
    end



    I made all these and mostly use them in script builders.



    I made a even better account age script now, it shows the age of all players in a server in a brick, the longer they played the bigger the brick is.

    players = game.Players

    p = players:GetChildren()
    for i=1, #p do
    local m = Instance.new("Model")
    local part = Instance.new("Part")
    m.Parent = game.Workspace
    part.Parent = m
    part.Anchored = true
    part.Size = Vector3.new(1, 1, 1)
    local mesh = Instance.new("SpecialMesh")
    mesh.Parent = part
    mesh.MeshType = "Brick"
    mesh.Scale = Vector3.new((p[i].AccountAge / 50), (p[i].AccountAge / 50), (p[i].AccountAge / 50))
    part.CFrame = CFrame.new(math.random(1, 25), math.random(2, 4), math.random(1, 25))
    local h = Instance.new("Humanoid")
    h.Parent = m
    part.Name = "Head"
    h.MaxHealth = 0
    m.Name = p[i].Name.." has been playing roblox "..p[i].AccountAge.." days!"
    end


    Last edited by wafles26122 on May 4th 2011, 7:55 am; edited 1 time in total (Reason for editing : add)
    sop281
    sop281
    Arceus


    Badges : LUA scripting 2dkekk4LUA scripting XazynaLUA scripting PwntyfLUA scripting 2usedtyLUA scripting 2929thjLUA scripting 2nsv1aoLUA scripting Qso4flLUA scripting Mww9wmLUA scripting E0o7qxLUA scripting Default35LUA scripting 2gsefpx (+3 Spins)
    Likes Pie : Of course i do
    Post count : 630
    Fame : 11
    Join date : 2010-10-09
    Age : 27
    Location : Pennsylvania
    Humor : The only reason people get lost in thought is because it's unfamiliar territory.

    HAX!
    Level:
    LUA scripting Left_bar_bleue272/500LUA scripting Empty_bar_bleue  (272/500)
    Inventory (ORPG):
    Nuke Field: SKYRIM!!!!!!

    Idea Re: LUA scripting

    Post by sop281 May 4th 2011, 4:33 pm

    Awesome, because I cant script anything that is even worth a virtual high five.
    wafles26122
    wafles26122
    Super Veteran
    Super Veteran


    Likes Pie : Yes
    Post count : 153
    Fame : 1
    Join date : 2011-04-22
    Age : 25
    Location : :3
    Humor : :3

    HAX!
    Level:
    LUA scripting Left_bar_bleue91/250LUA scripting Empty_bar_bleue  (91/250)
    Inventory (ORPG):
    Nuke Field: 1337

    Idea Re: LUA scripting

    Post by wafles26122 May 4th 2011, 4:58 pm

    I'm good at LUA, it's actually quite fun when you learn it.

    Sponsored content


    Idea Re: LUA scripting

    Post by Sponsored content


      Current date/time is May 9th 2024, 8:07 pm