Devlin
|
  |
| Joined: 21 May 2008 |
| Total Posts: 692 |
|
|
| 04 Jul 2017 06:13 PM |
This is what i've got so far, It affects the whole server but I need it to affect only the player who clicked on the GUI button. Can someone tell me how to make this affect only the one who clicked?
ColorCorrection is inside Lightning. Script is a Local Script (Parent = Textbutton) ----------------------------------------------------------------------------------------
local song = Instance.new("Sound") song.SoundId = "h###########################################song.Parent = script.Parent song.Volume = 0.5 song.Name = "Song"
function c3(r,g,b) return r/255, g/255, b/255 end
script.Parent.MouseButton1Click:connect(function() if game.Lighting.ColorCorrection.Enabled == true then game.Lighting.ColorCorrection.Enabled = false script.Parent.Text = "Scarry Mode: OFF" song:play() game.Lighting.Ambient = Color3.new(c3(20,20,20)) else game.Lighting.ColorCorrection.Enabled = true script.Parent.Text = "Scarry Mode: ON" song:play() game.Lighting.Ambient = ########################### end
end)
|
|
|
| Report Abuse |
|
|
Devlin
|
  |
| Joined: 21 May 2008 |
| Total Posts: 692 |
|
|
| 04 Jul 2017 06:13 PM |
Wherever it says hashtags are just numbers and links
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Jul 2017 06:14 PM |
You need to use filtering enabled.
|
|
|
| Report Abuse |
|
|
Devlin
|
  |
| Joined: 21 May 2008 |
| Total Posts: 692 |
|
|
| 04 Jul 2017 06:18 PM |
And how do I do that, I am new to this
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Jul 2017 06:22 PM |
http://wiki.roblox.com/index.php?title=FilteringEnabled http://wiki.roblox.com/index.php?title=Building_Games_with_Filtering_Enabled
|
|
|
| Report Abuse |
|
|
Devlin
|
  |
| Joined: 21 May 2008 |
| Total Posts: 692 |
|
| |
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 04 Jul 2017 06:25 PM |
If you need more explanation on FE just ask
|
|
|
| Report Abuse |
|
|
Devlin
|
  |
| Joined: 21 May 2008 |
| Total Posts: 692 |
|
|
| 04 Jul 2017 06:26 PM |
Ok, I am going to try. Let the games begin!
|
|
|
| Report Abuse |
|
|
Devlin
|
  |
| Joined: 21 May 2008 |
| Total Posts: 692 |
|
|
| 04 Jul 2017 06:31 PM |
OMG It actually worked! Thank you so much!
|
|
|
| Report Abuse |
|
|