|
can you teach me whole scripts like starting with simple and moving upwards I ALLREADY KNOW ABOUT LUA!!! so if you want to help me then come here plz if you need help then come here if you find what you want but dont interfeer kk so remember I NEED HELP!!!!!!!!! |
|
lotiosJoin Date: 2009-01-27 Post Count: 727 |
It's Lua not LUA. |
|
b2bhpJoin Date: 2008-08-20 Post Count: 2146 |
lotios is right, it says that on the front page of the lua website along iwth the meaning af lua, its the greek word for moon |
|
Clone512Join Date: 2008-03-02 Post Count: 7810 |
In Roman mythology, Lua was a goddess to whom soldiers sacrificed captured weapons.
Weird huh? |
|
|
Ill try and teach you one of the simplest types of script.
while true do --never ending loop until script is removed
a = script.Parent --now instead of having to write 'script.Parent' everytime we can just wrie 'a'
a.Transparency = 1 --sets the scripts parent(a)'s transparency to 1
wait(3) --wait 3 seconds before the next thing happens
a.Transparency = 0 --you should know this one
wait(3) --some more waiting
end --the script is over, and it will now repeat over, and over, and over
Thats the first type of scripting I got into. While true do. |
|
|
i got that from somewhere else |
|
b2bhpJoin Date: 2008-08-20 Post Count: 2146 |
lol heres an easier script:
script.parent.Brickcolor = Brickcolor.new("Bright blue") |
|
|
b2bhpJoin Date: 2008-08-20 Post Count: 2146 |
woops p in parent should be capitalized
F L O O D C H E C K _ 1 2 3 4 5 6 7 8 9 |
|
|
lotiosJoin Date: 2009-01-27 Post Count: 727 |
Go to wiki.roblox.com for scripting help. If the wiki is to hard to understand, don't try to script for a while. |
|
|
that script is awsome you sholud check it out |
|
Clone512Join Date: 2008-03-02 Post Count: 7810 |
Here is an easier script:
_G = _G |
|
ballen7Join Date: 2008-09-26 Post Count: 819 |
this is easier
game.workspace.yourname.remove.torso() |
|
|
Clone512Join Date: 2008-03-02 Post Count: 7810 |
Actually, ballen, mine was easier; pointless but easier. |
|
|
abx1Join Date: 2008-11-13 Post Count: 4979 |
And this is a big script that i just scripted:
wait(8*3)
if 2+2 == 4 then
m = Instance.new("Message")
m.Text = "ZOMG!!! A BRICK WILL APPEAR IN FRONT OF ABX1 IN 5 SECONDS!!!"
wait(1)
m.Text = "5"
wait(1)
m.Text = "4"
wait(1)
m.Text = "3"
wait(1)
m.Text = "2"
wait(1)
m.Text = "1"
wait(1)
m.Text = "ZERO!!!!"
b = Instance.new("Part")
b.Name = "Brick In Front Of Abx1"
b.Position = game.Workspace.abx1.Position
m.Text = "IT WILL NOW DISAPPEAR IN 5 SECONDS......"
wait(1)
m.Text = "5"
wait(1)
m.Text = "4"
wait(1)
m.Text = "3"
wait(1)
m.Text = "2"
wait(1)
m.Text = "1"
wait(1)
b:remove() |
|
Clone512Join Date: 2008-03-02 Post Count: 7810 |
Actually, that's inefficient and not what I call, "big". Besides, I can cut alot of size off of that script:
wait(8*3)
if 2+2 == 4 then
m = Instance.new("Message")
m.Text = "ZOMG!!! A BRICK WILL APPEAR IN FRONT OF ABX1 IN 5 SECONDS!!!"
wait(1)
for x = 4, 1, -1 do
m.Text = tostring(x)
wait(1)
end
m.Text = "ZERO!!!!"
b = Instance.new("Part")
b.Name = "Brick In Front Of Abx1"
b.Position = game.Workspace.abx1.Position
m.Text = "IT WILL NOW DISAPPEAR IN 5 SECONDS......"
wait(1)
for x = 1, 5 do
m.Text = tostring(x)
wait(1)
end
m:Remove()
b:remove()
|
|
Clone512Join Date: 2008-03-02 Post Count: 7810 |
Oops, you made a mistake. >_> You never ended your, 'if' statement.
wait(8*3)
if 2+2 == 4 then
m = Instance.new("Message")
m.Text = "ZOMG!!! A BRICK WILL APPEAR IN FRONT OF ABX1 IN 5 SECONDS!!!"
wait(1)
for x = 4, 1, -1 do
m.Text = tostring(x)
wait(1)
end
m.Text = "ZERO!!!!"
b = Instance.new("Part")
b.Name = "Brick In Front Of Abx1"
b.Position = game.Workspace.abx1.Position
m.Text = "IT WILL NOW DISAPPEAR IN 5 SECONDS......"
wait(1)
for x = 1, 5 do
m.Text = tostring(x)
wait(1)
end
m:Remove()
b:remove()
end |
|
|
tycoons are rearly hard to make |
|
|
so can you help me with them |
|
b2bhpJoin Date: 2008-08-20 Post Count: 2146 |
tycoons are really easy to make XD for me anyways |
|
abx1Join Date: 2008-11-13 Post Count: 4979 |
I'll make one for you for tix. Price depends on what you want. |
|
|