Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I make a NPC change it's appearance by touch?

Asked by 6 years ago

I have been wondering how to make an NPC change its appearance and it's name to the player who touched it.

1 answer

Log in to vote
0
Answered by 6 years ago

You would put a script into the npc so whenever it is touched it changes the apearance.

--You can put this into the torso
script.Parent.Touched:connect(function(hit)

    if hit.Parent:FindFirstChild("Humanoid") then
        --put whatever you want to happen here 

    end

end)
Ad

Answer this question