Can someone help me script?
#19
(06-17-2011, 09:03 PM)BlandFlakes Wrote:
(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: 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()
Ahh, Hey come to Buildismchat? <3
Reply


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

Forum Jump:


Users browsing this thread: 12 Guest(s)