2DWorlds Forums
Can someone help me script? - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: Can someone help me script? (/showthread.php?tid=5916)

Pages: 1 2


RE: Can someone help me script? - Login - 06-17-2011

(06-17-2011, 06:54 PM)broloxer Wrote:
(06-17-2011, 06:53 PM)BlandFlakes Wrote: On buildism though instead of Workspace it's game.

Roblox Buildism

Workspace World

Wait sleep

We need to gather up common ROBLOX commands and transfer them into Buildism commands. I'll get working on it - feel free to help or send me a PM with as many ROBLOX to Buildism commands as you know. Smile


RE: Can someone help me script? - Fish - 06-17-2011

Ok, How do you script? This random LUA is making me CRAZY! So how do you script? :O


RE: Can someone help me script? - Blandflakes - 06-17-2011

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




RE: Can someone help me script? - Scripter - 06-17-2011

(06-17-2011, 07:29 PM)Login Wrote:
(06-17-2011, 06:54 PM)broloxer Wrote:
(06-17-2011, 06:53 PM)BlandFlakes Wrote: On buildism though instead of Workspace it's game.

Roblox Buildism

Workspace World

Wait sleep

We need to gather up common ROBLOX commands and transfer them into Buildism commands. I'll get working on it - feel free to help or send me a PM with as many ROBLOX to Buildism commands as you know. Smile

I think when I get my computer working again, I'll start working on commands from scratch. :o


RE: Can someone help me script? - broloxer - 06-17-2011

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


RE: Can someone help me script? - Blandflakes - 06-17-2011

(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.



RE: Can someone help me script? - Fish - 06-17-2011

(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?




RE: Can someone help me script? - Blandflakes - 06-17-2011

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


RE: Can someone help me script? - Fish - 06-17-2011

(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



RE: Can someone help me script? - broloxer - 06-17-2011

(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.

[lua]game.World.broloxer:Remove() [/lua]
[lua] game.Workspace.broloxer:Remove()[/lua]

Buildism's will remove you from the game.

Roblox's will make your character disappear but you can still chat.