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

This script isnt working for some reason?

Asked by 8 years ago
local KAH = game.Lighting.KAHair:Clone()
    KAH.Parent =  script.Parent.Parent.Parent.Parent.Parent.Character

1 answer

Log in to vote
0
Answered by 8 years ago

Try this in a local script, It should give the desired output:

local plr = game.Players.LocalPlayer
local char = plr.Character
local KAH = game:GetService("Lighting").KAHair:Clone()
    KAH.Parent =  char

Hope this helped

Ad

Answer this question