XLV
|
  |
| Joined: 03 Jan 2008 |
| Total Posts: 16 |
|
|
| 10 May 2014 07:39 PM |
trying to make a script that controls an external bolean value and makes desisons based on said value
here is the code:
model = game.Workspace.building messageText = "Regenerating building..."
message = Instance.new("Message") message.Text = messageText backup = model:clone() gamesystem.bolean.Value = false --message.Parent= "Lava Escape! by XLV"
while gamerunning==false do wait(5)
message.Parent = game.Workspace model:remove()
wait(4)
model = backup:clone() model.Parent = game.Workspace model:makeJoints() message.Parent = nil target = CFrame.new(-17, 0.59, 65) --could be near a brick or in a new area for i, player in ipairs(game.Players:GetChildren()) do player.Character.Torso.CFrame = target + Vector3.new(0, i * 5, 0) --add an offset of 5 for each character end gamesystem.bolean.Value= true end
please tell me what's wrong & give soultion
|
|
|
| Report Abuse |
|
|
XLV
|
  |
| Joined: 03 Jan 2008 |
| Total Posts: 16 |
|
| |
|
XLV
|
  |
| Joined: 03 Jan 2008 |
| Total Posts: 16 |
|
| |
|
XLV
|
  |
| Joined: 03 Jan 2008 |
| Total Posts: 16 |
|
|
| 12 May 2014 09:10 PM |
| I will bump this till I get a response (I need this for a school project) |
|
|
| Report Abuse |
|
|
XLV
|
  |
| Joined: 03 Jan 2008 |
| Total Posts: 16 |
|
|
| 12 May 2014 09:17 PM |
| My code worked fine until I attempted to use an external bolean value |
|
|
| Report Abuse |
|
|
XLV
|
  |
| Joined: 03 Jan 2008 |
| Total Posts: 16 |
|
|
| 26 May 2014 01:27 PM |
| fixed with missing variable |
|
|
| Report Abuse |
|
|