I'm trying to make some fire appear above a players head but it just goes inside their head and it looks really weird. I noticed that fire doesn't have a position attribute so I was wondering how I could set the fire to be above the players head, not in.
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
if plr.Name == "zomspi" then
local fire = game.ServerStorage.FireHeads.Blue:Clone()
fire.Parent = char.Head
end
end)
end)
EDITED VERSION
game.Players.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)
if plr.Name == "zomspi" then
local part = game.ServerStorage.FireHeads.Blue
part.Size = Vector3.new(.2,.2,.2)
part.Parent = char
local weld = Instance.new("Weld")
weld.Part0 = char.Head
weld.Part1 = part
weld.Parent = part
wait(0.1) -- this is only here because i couldn't get the position to move right but this makes it work. probably because the character wasn't loaded in
part.Position = Vector3.new(char.Head.CFrame.X, (char.Head.CFrame.Y+5), char.Head.CFrame.Z) -- adjust the +1.5 however u want it
end
end)
end)
The fire is on the head but it doesn't go above it, just inside it, even if I increase the Y+5 Thanks!

5 comments
use a part. set the part above the players head (or on top of it really.) use CFrame to move it. make sure the part is not anchored and the transparency is 1 also make the part massless.
then put the fire inside of the part and modify it accordingly
That works but is there anyway I could do it without a while loop?
And my fire disappears after a short while
It just disappears instantly, I see a short burst of blue then it's gone