I Was Searching on the roblox forums and i couldn't find anything so i decided to ask you guys here. Also if you were to kindly help me please also note where to put the script in
✓ ANSWER ACCEPTED
How Do i make Dynamic Lighting Around My Character?
2 answers
✓ Accepted answer
You'll be using -PlayerAdded -CharacterAdded -Instance.new -Variables
game.Players.PlayerAdded:connect(function(plr)
plr.CharacterAdded:connect(function(char)
local a = Instance.new("PointLight", char.Head)
a.Range = x --Replace x with how far you want the glow to be
a.Brightness = x --Replace x with how bright you want it to be
a.Color = Color3.new(x, x, x) --Set the color you want it to be (RGB value divided by 255)
a.Shadows = true --Do you want the light to be seen through bricks?
end)
end)
Insert a service called "PointLight" into the characters torso.
5 comments
0
where would i find characters torso srry im new to scripting
0
It depends what you want. Do you want every player that enters to have a light?
0
yeah cause im making a horror game with dynamic lighting and its gonna be dark but i need a light aura around them
0
Put this into a normal script in the players "StarterPack"
0
local light = Instance.new("PointLight") light.Parent = script.Parent.Parent.Character.Torso
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
do i put this is workspace or players
Workspace.