Advertisement
refrop

Charizard pet /ended/x1

Nov 1st, 2017
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local PetName = "Charizard"
  3. local MeshId = "rbxassetid://557067172"-----you can change the mesh to change the pokemon
  4. local TextureId = "rbxassetid://557067180"
  5.  
  6. local PetModel = Instance.new("Model")
  7. PetModel.Parent = Player.Character
  8. PetModel.Name = ""..Player.Name.."'s "..PetName
  9.  
  10. local Humanoid = Instance.new("Humanoid")
  11. Humanoid.Parent = PetModel
  12. Humanoid.MaxHealth = 0
  13. Humanoid.Health = 0
  14.  
  15. local Pet = Instance.new("Part")
  16. Pet.Parent = PetModel
  17. Pet.Name = "Head"
  18. Pet.Size = Vector3.new(0.50,0.50,0.50)
  19. Pet.Anchored = true
  20. Pet.CanCollide = true
  21.  
  22. local Mesh = Instance.new("FileMesh")
  23. Mesh.Parent = Pet
  24. Mesh.Name = "PetMesh"
  25. Mesh.MeshId = MeshId
  26. Mesh.TextureId = TextureId
  27.  
  28. while wait() do
  29. Pet.CFrame = Player.Character.Head.CFrame + Vector3.new(3,1,0)
  30. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement