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
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)