Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do i surround light on an avatar?

i dont know how to put light around my avatar because i want to put my games light to 0 because im working on a creepy typed game, could anyone tell me?

1 answer

You can insert a spotlight into the characters HRP:

 Players = game:GetService("Players")

Players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local light = Instance.new("PointLight", character.HumanoidRootPart)
	end)
end)
 

1 comment

0

did this work? please mark it as accepted if it works.

This discussion is preserved as it was. New answers, comments, and votes are closed.