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 » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Please Help Me Fix This.

Previous Thread :: Next Thread 
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 02:50 PM
I am trying to make a GUI popup that when Captute Progress Value is 1,000 and when the OwningTeam value is Really Red.


if CaptureProgress.Value == 1000
if OwniningTeam.Vale == Really Red then
gui.Frame.Visible = true
end

Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 02:52 PM
You're missing then on line 1, and another end on the last line.
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 02:52 PM
thx
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 02:53 PM
so this would do the trick Eh?
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 02:55 PM
Not unless it's surrounded by other code (for what you want).
I figured you had pasted the part of code that was broken.
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 02:55 PM
Oh, and on line 2 you need to surround Really Red in quotes.


print("Flood checks:",1)
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 02:56 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value == Really Red then
gui.Frame.Visible = true
end
end
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 02:57 PM
kai liek this?

if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value == ("Really Red") then
gui.Frame.Visible = true
end
end
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 03:00 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value == "Really Red" then
gui.Frame.Visible = true
end
end

OwningTeam is a StringValue or BrickColorValue?
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 03:00 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value == "Really Red" then
gui.Frame.Visible = true
end
end

OwningTeam is a StringValue or BrickColorValue?
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 03:14 PM
its a brick color value
Report Abuse
michaelaqz4 is not online. michaelaqz4
Joined: 23 Sep 2009
Total Posts: 1940
16 Nov 2012 03:15 PM
Then use ("Really red")

Also its Really red not Really Red
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 03:16 PM
No no, BrickColorValue you do

.Value.Name=="Really red"

Since BrickColor has a Name property.
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 03:17 PM
kk
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 03:18 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value == "Really red" then
gui.Frame.Visible = true
end
end


so this?
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
16 Nov 2012 03:20 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value.Name == "Really red" then
gui.Frame.Visible = true
end
end
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 03:22 PM
Its name is OwningTeam, Its value has to be Really red.
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 03:26 PM
why did you put Name?
Report Abuse
MisterScripter is not online. MisterScripter
Joined: 24 Sep 2010
Total Posts: 702
16 Nov 2012 03:53 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 and if Game.Workspace.CapturePoint1.OwniningTeam.Value == "Really Red" then
gui.Frame.Visible = true
end
end

Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 05:15 PM
Where do I insert et? Inside the model of the Values?
Report Abuse
Fredfishy is not online. Fredfishy
Joined: 21 Mar 2009
Total Posts: 4197
16 Nov 2012 05:20 PM
Assuming the coloury thing is a BrickColorValue, you need to use
BrickColorValue.Value = BrickColor.new("Really red")
Report Abuse
thedeathmaster01 is not online. thedeathmaster01
Joined: 14 Mar 2010
Total Posts: 6331
16 Nov 2012 05:22 PM
if Game.Workspace.CapturePoint1.CaptureProgress.Value == 1000 then
if Game.Workspace.CapturePoint1.OwniningTeam.Value == BrickColor.new("Really Red") then
gui.Frame.Visible = true
end
end

~ thedeathmaster01 ~
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 05:30 PM
I am seriously getting sick of this script. I've tried everyones script this place is just so stubburn that I cant seem to make it work. Anyone Else help me?
Report Abuse
Fredfishy is not online. Fredfishy
Joined: 21 Mar 2009
Total Posts: 4197
16 Nov 2012 05:31 PM
Post the outpoot?
Report Abuse
Locky2013 is not online. Locky2013
Joined: 14 Feb 2012
Total Posts: 2401
16 Nov 2012 05:34 PM
k
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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