generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Club Houses » Clans & Guilds
Home Search
 

Re: Making a Terminal, Having some issues... -No output-

Previous Thread :: Next Thread 
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 04:57 PM
Okay so I am making a terminal for my friend from scratch and it is a term where you click a button to capture it and you wait 15 seconds to capture it and it changes the GUIs accordingly. You need to capture it for 1200 seconds to win (I didn't yet write a winning message due to too many issues already).

The issues:
-Not all the GUIs on the Player's screens say the same thing
-The Capture Timer GUI is highly broken, if a person clicks the button 2+ times it will count down from 15 for each click they do.
-The bricks are changing colors when they aren't supposed to (Possibly connected to the GUIs showing different things).

Here is what I have in the game:
Workspace
-SOtime
-RaiderTime
-Terminal
--Button
---Script
---ClickDetector
--capture
---timePart
---Other Parts
--Lots of Parts

StarterGui
-TermGUIs
--Title
--Status
--CaptureTime
---LocalScript

In the LocalScript (Inside StarterGui > TermGUIs > CaptureTime):
while wait() do
wait()
if game.Workspace.Terminal.captured.timePart.BrickColor == BrickColor.new("Toothpaste") then
script.Parent.Text = "Capture Time: "..tostring(game.Workspace.SOtime.Value)
elseif game.Workspace.Terminal.captured.timePart.BrickColor == BrickColor.new("New Yeller") then
script.Parent.Text = "Capture Time: "..tostring(game.Workpace.RaiderRime.Value)
end
end

----------

Script inside the button (Workspace > Terminal > Button > Script):
term = game.Workspace.Terminal
blok = term.captured

SOcaptured = false
RaiderCaptured = false

script.Parent.ClickDetector.MouseClick:connect(function(playerWhoClicked)
a = game.Players[playerWhoClicked.Name]
if a.TeamColor == BrickColor.new("Pastel Blue") or a.TeamColor == BrickColor.new("Bright green") then --SO Team Color
if game.Workspace.Terminal.captured.timePart.BrickColor ~= BrickColor.new("Toothpaste") then
if a.PlayerGui.TermGUIs.CaptureTime.Text ~= "0" then
for i,v in pairs(game.Players:GetChildren()) do
v.PlayerGui.TermGUIs.Status.Text = "Being Captured for SO"
for p = 15,1,-1 do
v.PlayerGui.TermGUIs.CaptureTime.Text = "Capture Time: "..p
wait(1)
end
for k,j in pairs(blok:GetChildren()) do
j.BrickColor = BrickColor.new("Toothpaste")
end
SOcaptured = true
RaiderCaptured = false
v.PlayerGui.TermGUIs.Status.Text = "Starlight Order"
SOcaptured = true
while SOcaptured == true and game.Workspace.SOtime.Value <= 1200 do
wait(1)
game.Workspace.SOtime.Value = game.Workspace.SOtime.Value + 1
print(game.Workspace.SOtime.Value)
end
end
end
end


elseif a.TeamColor == BrickColor.new("Bright yellow") then --Enemy team Color
if game.Workspace.Terminal.captured.timePart.BrickColor ~= BrickColor.new("New Yeller") then
if a.PlayerGui.TermGUIs.CaptureTime.Text ~= "0" then
for i,v in pairs(game.Players:GetChildren()) do
v.PlayerGui.TermGUIs.Status.Text = "Being Captured for Raiders"
for p = 15,1,-1 do
v.PlayerGui.TermGUIs.CaptureTime.Text = "Capture Time: "..p
wait(1)
end
for k,j in pairs(blok:GetChildren()) do
j.BrickColor = BrickColor.new("New Yeller")
end
v.PlayerGui.TermGUIs.Status.Text = "Raiders"
RaiderCaptured = true
SOcaptured = false
while RaiderCaptured == true and game.Workspace.RaiderTime.Value <= 1200 do
wait(1)
game.Workspace.SOtime.Value = game.Workspace.RaiderTime.Value + 1
end
end
end
end
else
for i,v in pairs(game.Player:GetChildren()) do
v.PlayerGui.TermGUIs.Status.Text = "ERROR: Invalid Team"
end
end
end)

----------

If anyone can help me, that would be awesome. I highly doubt anyone will though because it is a really long thread and long scripts, but I am just trying to give as much detail as I can to help solve the issues. Thanks!
(Whoever reads all this, you're awesome)


|| devTools | get out me mooms car | broom broom ||
Report Abuse
thea96 is not online. thea96
Joined: 09 Feb 2011
Total Posts: 37634
26 Dec 2014 04:58 PM
not going to read the whole thing, but i suggest doing spawn functions and debounce
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 04:59 PM
Thanks for the suggestion, anyone else?


|| devTools | get out me mooms car | broom broom ||
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:04 PM
Bump


|| devTools | get out me mooms car | broom broom ||
Report Abuse
Vekiro is not online. Vekiro
Joined: 22 Jul 2013
Total Posts: 4253
26 Dec 2014 05:04 PM

- Be Pragmatist, the master scripter.
Report Abuse
CoffeeFlux is not online. CoffeeFlux
Joined: 02 Sep 2009
Total Posts: 1731
26 Dec 2014 05:05 PM
why are you not indenting
why are you not giving more info
finally
why are you posting this here
there's a forum for this kind of thing and C&G isn't it


~CoffeeFlux. For you.
Report Abuse
FuritIgnis is not online. FuritIgnis
Joined: 05 Mar 2011
Total Posts: 1411
26 Dec 2014 05:05 PM
change toothpaste with mouthwash
11/10
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:05 PM
Posted this here and in scripters. I knew that C7Gers use Terms for their bases and stuff, so let's hope someone here knows what they are talking about.


|| devTools | get out me mooms car | broom broom ||
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:06 PM
I didn't indent because i copy pasted it from studio and you can't indent in the forums.


|| devTools | get out me mooms car | broom broom ||
Report Abuse
CoffeeFlux is not online. CoffeeFlux
Joined: 02 Sep 2009
Total Posts: 1731
26 Dec 2014 05:06 PM
Please just post in scripters.


~CoffeeFlux. For you.
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:06 PM
Also, what more info do you need? I gave the issues, the scripts, and the entire Explorer.


|| devTools | get out me mooms car | broom broom ||
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:11 PM
If you want indents, go here:
PASTE in that BIN
/4jkSQSK2 -- Main Term script
/pcJBJAbJ -- LocalScript Inside the Captured Timer GUI

Thanks.


|| devTools | get out me mooms car | broom broom ||
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:21 PM
Test it here if you need to:
http://www.roblox.com/Script-Testing-place?id=177649942


|| devTools | get out me mooms car | broom broom ||
Report Abuse
Pragmatist is not online. Pragmatist
Joined: 17 Oct 2008
Total Posts: 16170
26 Dec 2014 05:22 PM
ugh


just give me the place if you want
Report Abuse
DPLX is not online. DPLX
Joined: 10 Dec 2014
Total Posts: 768
26 Dec 2014 05:25 PM
god no dont post it in scripters

scripting helpers was merged so there really isnt a place to ask anymore which sucks.

put prints in the lines of code and figure out where it stops printing, and work backwards.
Report Abuse
LeadingForever is not online. LeadingForever
Joined: 17 Jan 2013
Total Posts: 366
26 Dec 2014 05:31 PM
This is ironic considering your name is DevTools.
Report Abuse
devTools is not online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
26 Dec 2014 05:39 PM
@Leading
I'm a high detailed, advanced builder but I am only an intermediate scripter since I started 3 months ago.


|| devTools | get out me mooms car | broom broom ||
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Clans & Guilds
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image