Nenjin
|
  |
| Joined: 10 Apr 2013 |
| Total Posts: 25 |
|
|
| 28 Jun 2017 12:01 AM |
I got the script from AlvinBlox and I might have put a space somewhere or something that messed it up, can someone fix it?
[If you can't find it can you please make me a round script I will pay]
Main Script: local replicatedstorage = game:GetService ("replicatedstorage") local status - replicatedstorage:WaitForChild ("StatusValue")
while true do -- Intermission for i - 30, 0, -1 do status.Value - "Intermission: "..i wait(1) end local map - game.ServerStorage.Red Universe Map map:Clone(). Parent - game.workspace wait (15) game.workspace.Red Universe Map:Destroy () status.Value - "Game Over!" end
Local Script: local replicatedstorage = game:GetService("ReplicatedStorage") local status = replicatedstorage:WaitForChild("StatusValue")
script.Parent.Text = status.Value status.Changed:connect (function() end) |
|
|
| Report Abuse |
|
|
Telasim0
|
  |
| Joined: 10 Jun 2011 |
| Total Posts: 2263 |
|
| |
|
Iogician
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 116 |
|
|
| 28 Jun 2017 12:05 AM |
| The issue is when you use the children "Red Universe Map". Because it has spaces in it, the script fails to work because of a syntax error. If you remove the spaces in RedUniverseMap and try again, it may work. |
|
|
| Report Abuse |
|
|
Nenjin
|
  |
| Joined: 10 Apr 2013 |
| Total Posts: 25 |
|
| |
|
Telasim0
|
  |
| Joined: 10 Jun 2011 |
| Total Posts: 2263 |
|
|
| 28 Jun 2017 12:07 AM |
| DANG IT YOU FOILED MY SCHEME >:( |
|
|
| Report Abuse |
|
|
Thane_1
|
  |
| Joined: 08 Apr 2009 |
| Total Posts: 827 |
|
|
| 28 Jun 2017 12:08 AM |
@Telasim0: Get out.
You replaced a bunch of equal signs with minus signs. You also can't have a space in "Red Universe Map" or "Destroy ()" or "wait (15)"
This should work:
while true do -- Intermission for i = 30, 0, -1 do status.Value = "Intermission: "..i wait(1) end local map = game.ServerStorage["Red Universe Map"] map:Clone(). Parent = game.workspace wait(15) game.Workspace["Red Universe Map"]:Destroy() status.Value = "Game Over!" end
Local Script: local replicatedstorage = game:GetService("ReplicatedStorage") local status = replicatedstorage:WaitForChild("StatusValue")
script.Parent.Text = status.Value status.Changed:connect (function() end) |
|
|
| Report Abuse |
|
|
Iogician
|
  |
| Joined: 15 Aug 2013 |
| Total Posts: 116 |
|
|
| 28 Jun 2017 12:09 AM |
| Also, just to be safe, in line 1 when getting the ReplicatedStorage service, correctly capitalize "replicatedstorage" in line 1 (you can keep the local replicatedstorage lower case if you would like). If you do not capitalize it, it may lead to problems. |
|
|
| Report Abuse |
|
|
Telasim0
|
  |
| Joined: 10 Jun 2011 |
| Total Posts: 2263 |
|
|
| 28 Jun 2017 12:10 AM |
| easy there bucko I don't want any shenanigans :( |
|
|
| Report Abuse |
|
|
Thane_1
|
  |
| Joined: 08 Apr 2009 |
| Total Posts: 827 |
|
| |
|
|
| 28 Jun 2017 12:17 AM |
For your main script ReplicatedStorage should have caps: local replicatedstorage = game:GetService ("ReplicatedStorage")
|
|
|
| Report Abuse |
|
|
Nenjin
|
  |
| Joined: 10 Apr 2013 |
| Total Posts: 25 |
|
| |
|