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

how do i surround light on an avatar?

Asked by 5 years ago

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

Log in to vote
0
Answered by
royaltoe 5144 Moderation Voter Community Moderator
5 years ago
Edited 5 years ago

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)


0
did this work? please mark it as accepted if it works. royaltoe 5144 — 5y
Ad

Answer this question