Hello I'm trying to make vampires burn and I litellary stuck in the point where I don't know what to do
local replicatedstorage = game:GetService("ReplicatedStorage")
local plr = game:GetService("Players").LocalPlayer
local replicatedstorage = game:GetService("ReplicatedStorage")
repeat
wait()
until plr.Character and plr.Character:FindFirstChild("Humanoid")
local PlayerCharacter = plr.Character
local Fire = replicatedstorage.Fire
local RunService = game:GetService("RunService")
local Lighting = game:GetService("Lighting")
local SunDir= Lighting:GetSunDirection ( )
So uh what do I do now?

5 comments
You could try making a map wide local part that is cancollide=false that is only accessible by vampires, and have it disappear at night or only be available outside during daytime
That's a garbage idea.
What about remaining vampires?ngl but it's too easy when I want to make sure that they,also I want to add some cape that will make vampires resistant to the Sun
Just check the clock time... if its a certain time then burn the vampire.
ngl but another terrible idea since It will burn all vampires NOT the ones who are outside,under trees