Hey there, New scripter here.
I made this script when Touched the player goes on fire, However i'm trying to make the Fire disappear after a wait(5) put doesn't seem to be working?
Any ideas?
function lightOnFire(part)
fire = Instance.new("Fire")
fire.Parent = part
end
firePart = game.Workspace.FirePart
firePart.Touched:Connect(lightOnFire)
wait(5)
fire:Destroy()
Thanks,

2 comments
AW COME ON, who downvoted. I just got that 2 rep back (insert sad emoji here)
@BashGuy10 That didn't quite seem to work?, Im not totally sure what im meant to replace in my previous code