06-17-2011, 08:41 PM
(06-17-2011, 08:40 PM)broloxer Wrote:(06-17-2011, 08:22 PM)BlandFlakes Wrote:(06-17-2011, 07:34 PM)Fish Wrote: Ok, How do you script? This random LUA is making me CRAZY! So how do you script? :O
Lua is pretty simple.
game is the game (no duh right?)
World is where all the boxes and anything you want the players to see goes.
So lets say we want to make a script that removes my character.
In english we would say In the buildism game remove BlandFlakes's character.
But english won't work in coding instead you have to state where everything is located.
so in Lua is would be.
game.World.BlandFlakes:remove()
Or on roblox..
game.Players.broloxer:Remove()
That would also work on buildism, I said players character not the player.