|
| 21 Nov 2014 08:19 PM |
| How would i hide the chat bar? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Nov 2014 08:30 PM |
game.StarterGui:SetCoreGuiEnabled ("Chat", false)
thanks for using the SH tag! |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:13 PM |
game.StarterGui:SetCoreGuiEnabled ("Chat", false)
local screen = Instance.new("ScreenGui") screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel") local loadlabel = Instance.new("TextLabel") textLabel.Parent = screen loadlabel.Parent = screen loadlabel.BackgroundTransparency = "1" textLabel.BackgroundColor3 = BrickColor.Black() loadlabel.TextColor3 = BrickColor.White() loadlabel.Text = "Loading Assets! Please Wait!" textLabel.TextColor3 = BrickColor.White() textLabel.Text = "Loading Assets! Please Wait!" textLabel.Size = UDim2.new(10,0,10,0) textLabel.FontSize = Enum.FontSize.Size14
Btw, i need help it will not show teh text, can someone help? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Nov 2014 09:17 PM |
You can't use BrickColors when it's asking for a Color3 value. Luckily, BrickColor has a property called Color. Try this:
BrickColor.White ().Color (or if that doesn't work, Color3.new (1,1,1)) |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:22 PM |
Now the whole loading screen is gone!
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Nov 2014 09:30 PM |
That's interesting... any errors? Just use Color3 |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:36 PM |
game.StarterGui:SetCoreGuiEnabled ("Chat", false)
local screen = Instance.new("ScreenGui") screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel")
textLabel.Parent = screen
textLabel.BackgroundColor3 = BrickColor.Black()
textLabel.TextColor3 = BrickColor.White ().Color textLabel.Text = "Loading Assets! Please Wait!" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size14
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:41 PM |
Don't put a space between White and the parenthesis, and put Color on the black.
game.StarterGui:SetCoreGuiEnabled ("Chat", false) local screen = Instance.new("ScreenGui") screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel") textLabel.Parent = screen textLabel.BackgroundColor3 = BrickColor.Black().Color textLabel.TextColor3 = BrickColor.White().Color textLabel.Text = "Loading Assets! Please Wait!" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size14
Lord of all things, breaded and unbreaded. |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Nov 2014 09:42 PM |
Ghost, Lua ignores whitespace. BrickColor.White () is just as good as BrickColor.White()
every single time |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:44 PM |
Okay. I'm coming from background in other languages, so I'll mess some of these things up.
Anyways, it's better to have a convention, and do the same everywhere, if just for readability, so I would pick one way or the other.
Lord of all things, breaded and unbreaded. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 09:52 PM |
game.StarterGui:SetCoreGuiEnabled ("Chat", false) local screen = Instance.new("ScreenGui") screen.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui") local textLabel = Instance.new("TextLabel") textLabel.Parent = screen textLabel.Text = "Loading Assets! Please Wait!" textLabel.BackgroundColor3 = BrickColor.Black().Color textLabel.TextColor3 = BrickColor.White().Color textLabel.Text = "Loading Assets! Please Wait!" textLabel.Size = UDim2.new(1,0,1,0) textLabel.FontSize = Enum.FontSize.Size14
wait(3)
textLabel.BackgroundColor3 = BrickColor.White().Color textLabel.Text = "Done!" screen:Destroy()
Loading screen wont work!
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:01 PM |
Got any errors, or anything that actually happens?
Lord of all things, breaded and unbreaded. |
|
|
| Report Abuse |
|
|
demon8845
|
  |
| Joined: 07 Feb 2010 |
| Total Posts: 335 |
|
|
| 21 Nov 2014 10:11 PM |
| This should be in a local script since you removed the leaderboard. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:18 PM |
It is in a local script...
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
demon8845
|
  |
| Joined: 07 Feb 2010 |
| Total Posts: 335 |
|
|
| 21 Nov 2014 10:19 PM |
| Put the leaderboard remover in a seperate script. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:20 PM |
i never removed a leaderboard.
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Nov 2014 10:21 PM |
he mispoke and meant the chatbar
I forgot to mention that local script thing... |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:25 PM |
its in a local script, also putting the chat remover in another script wont do anything.
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
maxomega3
|
  |
| Joined: 11 Jun 2010 |
| Total Posts: 10668 |
|
|
| 21 Nov 2014 10:26 PM |
And you still can't see the loading GUI? Does it work without turning off chat? |
|
|
| Report Abuse |
|
|
demon8845
|
  |
| Joined: 07 Feb 2010 |
| Total Posts: 335 |
|
|
| 21 Nov 2014 10:26 PM |
Chatbar* just do it, you will never figure out the error if you don't try -_____-
Nursing a baby pinecone back to health. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:29 PM |
Nope does not work with chatbar on, also no matter what i try the loading screen gui will not show up.
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|
demon8845
|
  |
| Joined: 07 Feb 2010 |
| Total Posts: 335 |
|
|
| 21 Nov 2014 10:38 PM |
k I didn't read the script but i'm assuming you are trying to make an intro when a player joins?
in a regular script put the gui in serverstorage
game.Players.PlayerAdded:connect(function(Player) game.ServerStorage.gui:clone().Player.PlayerGui
end)
Nursing a baby pinecone back to health. |
|
|
| Report Abuse |
|
|
|
| 21 Nov 2014 10:52 PM |
il fix it myself...
Siggy enough for you m8? |
|
|
| Report Abuse |
|
|