wait(1) local Player = game.Players.LocalPlayer ra = Player.Character:FindFirstChild("Right Arm") if ra.BrickColor then script.Parent.Handle.BrickColor.Color = ra.BrickColor.Color end
I want to find the color of the characters right arm and make it the color of the Handle This is in a LocalScript
This might work:
wait(1) Player = game.Players.LocalPlayer local ra = Player.Character:FindFirstChild("Right Arm") if ra.BrickColor then script.Parent.Handle.BrickColor = BrickColor.new(ra.BrickColor) end
Sorry if I'm wrong.
If this is in a part, I don't think you can use LocalPlayer. So try this:
player =script.Parent.Parent wait(1) Player:WaitForChild("Right Arm") script.Parent.Handle.BrickColor.Color = ra.BrickColor.Color
This should work...
local Player = game.Players.LocalPlayer repeat wait() until Player.Character.Humanoid ~= nil -- Checks to make sure the Players Character is Loaded ra = Player.Character:FindFirstChild("Right Arm") if ra then -- Checks to make sure ra Exists script.Parent.Handle.BrickColor = BrickColor.new( ra.BrickColor) end