DataModel Error Problem?
I wrote this code below. It does seem like theres an error?
01 | Sounds = game.GameSounding |
03 | game.Workspace.GameLighting.Light.PointLight.Enabled = false |
04 | game.Lighting.TimeOfDay = 0 |
05 | game.Lighting.FogEnd = 50 |
06 | game.Lighting.FogColor = Color 3. new( 0 , 0 , 0 ) |
09 | game.Workspace.GameLighting.Light.PointLight.Enabled = true |
10 | game.Lighting.TimeOfDay = 9 |
11 | game.Lighting.FogEnd = 100000 |
12 | game.Lighting.FogColor = Color 3. new( 214 , 156 , 21 ) |
I got this in my output box..
23:48:37.563 - GameSounding is not a valid member of DataModel
23:48:37.564 - Script 'Workspace.Hacks.Blackout', Line 1
23:48:37.564 - stack end
If someone could tell me whats wrong I would appreciate it. Btw game.GameSounding is a Model. Maybe a reply would help?