|
| 22 Aug 2011 10:21 PM |
| What Number is the White for Guis i tryed 1001 but it just showed it black D: |
|
|
| Report Abuse |
|
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 10:40 PM |
Should be 1001 ?
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 10:42 PM |
| It is but when i put it just changes it to 23 and thats black D: |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 10:46 PM |
Maybe there's something wrong with your code.
Share it?
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 10:48 PM |
self = PluginManager():CreatePlugin() toolbar = self:CreateToolbar("Test") button = toolbar:CreateButton("", "Test", "icon.png") button.Click:connect(function() gui = Instance.new("ScreenGui",game.CoreGui) frame = Instance.new("Frame",gui) text = Instance.new("TextButton",frame) text.Name = "Part" text2 = Instance.new("TextButton",frame) text2.Name = "Truss" text3 = Instance.new("TextButton",frame) text3.Name = "Wedge" text3.Text = "Wedge" text2.Text = "Truss" text.Text = "Part" text.Size = UDim2.new(0,100,1,0) text2.Size = UDim2.new(0,100,1,0) text3.Size = UDim2.new(0,100,1,0) frame.Size = UDim2.new(0,320,0,100) text.TextColor3 = Color3.new(1001) frame.Style = "RobloxRound" text.Style = "RobloxButton" text2.Style = "RobloxButton" text3.Style = "RobloxButton" text.Font = "ArialBold" text2.Font = "ArialBold" text3.Font = "ArialBold" text.FontSize = "Size24" text2.FontSize = "Size24" text3.FontSize = "Size24" text2.Position = UDim2.new(0,100,0,0) text3.Position = UDim2.new(0,200,0,0) function Part() pts = Instance.new("Part",Workspace) pts.Anchored = true end function Wedge() wedge = Instance.new("WedgePart",Workspace) wedge.Anchored = true end function Truss() truss = Instance.new("TrussPart",Workspace) truss.Anchored = true end text.MouseButton1Down:connect(Part) text2.MouseButton1Down:connect(Truss) text3.MouseButton1Down:connect(Wedge) self:GetMouse().Button1Down:connect(function() end) end)
|
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 10:48 PM |
| Forgot to warn you it kinda long :3 |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 10:53 PM |
Should work :/
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 10:54 PM |
| It works but the Color3.new(1001) makes the TextColor really black D: |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 10:55 PM |
TextColor=BrickColor.new("Institutional white")
Use that instead, I guess.
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 10:56 PM |
| Didnt work its a Gui gui works with Color3. |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 10:57 PM |
That should work.
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
| |
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 11:02 PM |
It should. I just tested it.
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 11:04 PM |
Did you test my script or your little code? Because my Code is a Plugin... |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 11:06 PM |
Either way, it should work
self = PluginManager():CreatePlugin() toolbar = self:CreateToolbar("Test") button = toolbar:CreateButton("", "Test", "icon.png") button.Click:connect(function() gui = Instance.new("ScreenGui",game.CoreGui) frame = Instance.new("Frame",gui) text = Instance.new("TextButton",frame) text.Name = "Part" text2 = Instance.new("TextButton",frame) text2.Name = "Truss" text3 = Instance.new("TextButton",frame) text3.Name = "Wedge" text3.Text = "Wedge" text2.Text = "Truss" text.Text = "Part" text.Size = UDim2.new(0,100,1,0) text2.Size = UDim2.new(0,100,1,0) text3.Size = UDim2.new(0,100,1,0) frame.Size = UDim2.new(0,320,0,100) text.TextColor=BrickColor.new("Institutional white") frame.Style = "RobloxRound" text.Style = "RobloxButton" text2.Style = "RobloxButton" text3.Style = "RobloxButton" text.Font = "ArialBold" text2.Font = "ArialBold" text3.Font = "ArialBold" text.FontSize = "Size24" text2.FontSize = "Size24" text3.FontSize = "Size24" text2.Position = UDim2.new(0,100,0,0) text3.Position = UDim2.new(0,200,0,0) function Part() pts = Instance.new("Part",Workspace) pts.Anchored = true end function Wedge() wedge = Instance.new("WedgePart",Workspace) wedge.Anchored = true end function Truss() truss = Instance.new("TrussPart",Workspace) truss.Anchored = true end text.MouseButton1Down:connect(Part) text2.MouseButton1Down:connect(Truss) text3.MouseButton1Down:connect(Wedge) self:GetMouse().Button1Down:connect(function() end) end)
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|
|
| 22 Aug 2011 11:08 PM |
Nvm i got it to work it was...
TextColor3 = Color3.new(1,1,1) |
|
|
| Report Abuse |
|
|
nate890
|
  |
| Joined: 22 Nov 2008 |
| Total Posts: 21686 |
|
|
| 22 Aug 2011 11:24 PM |
Alright. But my method should work .
<'eof' expected near 'end' on line 9001> |
|
|
| Report Abuse |
|
|