I took Pictures as a reference to my question
What I am trying to do is set a Hint
for this game but make the colors glow neon and black so it pops out better.
This is the current hint: Edit: it didn't go through because of a bugup in my Bandicam's video/picture capture.
Note:
The hint I was trying to make is just the default black and white hint.
This is my desired hint: Imgur link to Hint
The thing is, I'm not sure of the way. I know that there has something to do with the Color of it, but I can't tell what to edit, so I pieced it out.
01 | while true do |
02 | local h = Instance.new( "Hint" ) |
03 | h.Parent = game.Workspace |
04 | h.Text = "Welcome to Paintball Warfare, created by JustGimmeDaBux" -- The message I'm talking about. |
05 | wait( 8 ) --I know wait(8) is a small wait time but it will be updated in the future. |
06 | h.Text = "Mapmakers will soon be needed! Start working on maps!" -- Not yet ;) |
07 | wait( 8 ) |
08 | h.Text = "The expected release date is 02/01/2015" |
09 | wait( 8 ) |
10 | h.Text = "Have fun on Paintball Warfare!" |
11 | end |
Once I rewrote it and dillydallied with some colors, this is what I got:
01 | while true do |
02 | local h = Instance.new( "Hint" ) |
03 | h.Parent = game.Workspace |
04 | h.Text = "Welcome to Paintball Warfare, created by JustGimmeDaBux" -- I excluded the green text. |
05 | local .Color(Lime green, Really black) |
06 | wait( 8 ) |
07 | h.Text = "Mapmakers will soon be needed! Start working on maps!" |
08 | local .Color(Lime green, Really black) |
09 | wait( 8 ) |
10 | h.Text = "The expected release date is 02/01/2015" |
11 | local .Color(Lime green, Really black) |
12 | wait( 8 ) |
13 | h.Text = "Have fun on Paintball Warfare!" |
14 | local .Color(Lime green, Really black) |
15 | end |
16 | end --My friend told me that when you add in the local.Color script you need to end it separately, but I doubt it. |
All the help I can get would be awesome. Thanks
You all rock. Have a nice day SH!
Hints are now deprecated and I don't believe that you can colour a hint. You have to create a TextLabel.
01 | local Screen = Instance.new( "ScreenGui" ) |
02 | local Label = Instance.new( "TextLabel" ,Screen) |
03 | Label.Size = UDim 2. new( 1 , 0 ,. 04 , 0 ) --Change Size to your liking, |
04 | Label.TextColor 3 = Color 3. new( 0 , 1 , 0 ) --Lime Green |
05 | Label.BackgroundColor 3 = BrickColor.Black().Color |
06 | Label.BackgroundTransparency = . 5 |
07 | Screen.Name = "Hint" |
08 | Label.Text = "Welcome!" |
09 |
10 | --Give the Gui to who you want to. |
11 | Game.Players.PlayerAdded:connect( function (Player) |
12 | Screen:Clone().Parent = Player.PlayerGui |
13 | end ) |
Like messor said, this is impossible. Although i was so surprised that I went to test it. But you can make what you want with a textlabel. I can also show you how to change a single player's ambient if you want.
To add on to notsopwnedg's code:
01 | --Please note that this will not work if you have Filtering enabled |
02 |
03 | local Screen = Instance.new( "ScreenGui" ) |
04 | local Label = Instance.new( "TextLabel" ,Screen) |
05 | Label.Size = UDim 2. new( 1 , 0 ,. 04 , 0 ) --Change Size to your liking, |
06 | Label.TextColor 3 = Color 3. new( 0 , 1 , 0 ) --Lime Green |
07 | Label.BackgroundColor 3 = BrickColor.Black().Color |
08 | Label.BackgroundTransparency = . 5 |
09 | Screen.Name = "Hint" |
10 | Label.Text = "Welcome!" |
11 |
12 | --Give the Gui to who you want to. |
13 | Game.Players.PlayerAdded:connect( function (Player) |
14 | Player.CharacterAdded:connect( function (char) |
15 | wait() |
16 | Screen:Clone().Parent = Player:WaitForChild( 'PlayerGui' ); |
17 | end ) |
No no no... what you took a picture of is called a Gui--> TextLabel
there is no way in Rbx.Lua to change color of a 'Hint' or a 'Message'. There two different things.
-- Comment posted by #Gravity Tech.