****i know this script turn in a script here:
Ontouched:FindHumanoid"Drooling Zombie"
****i know this script turn in a script here:
Ontouched:FindHumanoid"Drooling Zombie"
Well first off that's not even a script, but that's okay you're a beginner! Touched Wiki Article
This may work I didn't really test it
script.Parent.Touched:connect(function(hit)
local plr = game.Players:GetPlayerFromCharacter(hit.Parent)
if plr.Name == "Drooling Zombie" then
--Code here
end
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
I think he's trying to find the Humanoid of an NPC called "Drooling Zombie", not a Player model.