|
| 11 Jun 2015 03:11 PM |
This script is in my game: wait(10.0) game.Players.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) Character.Torso.BrickColor = BrickColor.new("Really red") end) end)
But it doesn't change the player's torso. What's wrong with it? |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 11 Jun 2015 03:14 PM |
local Players = game:GetService("Players") local TorsoColor = BrickColor.new("Really red")
Player.PlayerAdded:connect(function(Player) Player.CharacterAdded:connect(function(Character) local Torso = Character:WaitForChild("Torso") Torso.BrickColor = TorsoColor end) end)
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 03:17 PM |
| But "Player" isn't defined. Didn't you mean Players? |
|
|
| Report Abuse |
|
|
vlekje513
|
  |
| Joined: 28 Dec 2010 |
| Total Posts: 9057 |
|
|
| 11 Jun 2015 03:18 PM |
I did yes.
~Master bug finder twitch.tv/ROBLOX/c/4691695 14:07-14:25~ |
|
|
| Report Abuse |
|
|
|
| 11 Jun 2015 03:22 PM |
| It is not working for me. I am placing it as a script (not local) in game.Workspace. I did not alter it, except for the variable mismatch. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 11 Jun 2015 04:04 PM |
Not sure if this will work
local color = BrickColor.new("Really red") local Players = game:GetService("Players")
Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) local BodyColors = character:WaitForChild("Body Colors") BodyColors.TorsoColor = color end) end) |
|
|
| Report Abuse |
|
|