Ariphael
|
  |
| Joined: 08 Apr 2015 |
| Total Posts: 2103 |
|
|
| 17 Apr 2015 04:14 AM |
I've searched up what Datamodel means on the wiki and found out it is the same as 'game'. However, I don't understand the error, Player is not a member of Datamodel. Note-I'm using the roblox studio play solo so the username is Player. Here's the script:
game.Lighting.FogColor = Color3.new(0,0,0) game.Lighting.TimeOfDay = "21:00:00"
game.Player.PlayerAdded:connect(function(ply) print("ply") local MII = Instance.new("Fire", ply.Character.Torso) MII.Enabled = true MII.Heat = 10 MII.Size = 10 local MIII = Instance.new("PointLight", ply.Character.Torso) MIII.Enabled = true MIII.Brightness = 10 MIII.Range = 10 end)
This is a triumph |
|
|
| Report Abuse |
|
Ariphael
|
  |
| Joined: 08 Apr 2015 |
| Total Posts: 2103 |
|
|
| 17 Apr 2015 04:15 AM |
FORGET ABOUT IT! I was too dumb to realize that there was no such thing as 'game.Player' but such thing as 'game.Players'.
-- Abandoning thread --
This is a triumph |
|
|
| Report Abuse |
|