Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

Change Light according to team color? [closed]

Asked by 9 years ago

Please include the code which you are trying to use, so the community will be better-equipped to help you with your problem.

How do I change the light which I have put in side a players sword according to his/her team color?

local tool = script.Parent
local light = tool.PointLight
local player = game.Players.localplayer

light.Color = player.TeamColor

This is inside handle which have the point light.

Closed as Not Constructive by Goulstem, woodengop, and dyler3

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?