Can someone help me script?
#18
(06-17-2011, 09:02 PM)Fish Wrote:
(06-17-2011, 08:41 PM)BlandFlakes Wrote:
(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.
game.Players.Fish:Remove(Torso)? On ROBLOX?

Close, but on roblox it would be.

game.Workspace.Fish.Torso:remove()
Reply


Messages In This Thread
Can someone help me script? - by Fish - 06-17-2011, 06:09 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)