****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
1 | script.Parent.Touched:connect( function (hit) |
2 | local plr = game.Players:GetPlayerFromCharacter(hit.Parent) |
3 | if plr.Name = = "Drooling Zombie" then |
4 | --Code here |
5 | end |
6 | end ) |