So I'm makeing a ro-bio type game but makeing custom viruses. And I need a script that will turn the ro-bio npc in to a noob. It would just need to turn the npcs avatar in to a noob.
Something I like to do is put a noob in the ReplicatedStorage and then a part in the workspace. The part will have this script:
script.Parent.Touched:Connect(function(hit) if hit.Parent:FindFirstChild("Humanoid") then local character = game.ReplicatedStorage:FindFirstChild("Noob") character.Name = hit.Parent.Name game.Players:GetPlayerFromCharacter(hit.Parent).Character = character character.Parent = workspace end end)
This script fires when the part is touched. If the object that touches it is in the player, it will make the player a noob.