MasterControlProgram

Pet script {ROBLOX}

Apr 8th, 2011
24,905
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. print("Loading Pet Script... By dyarian")
  3. -- THIS IS A PET SCRIPT BY DYARIAN, FOR ROBLOX --
  4.  
  5. me = game.Players.InsertNameHere --If you can't figure out what this means, You should just go on about your day...
  6. local petname = "Tribbles 2.0" -- You can put ANYTHING here.
  7. local petcolor = "Lime green"  -- Change to any color available on ROBLOX.
  8. local o = me.Character  -- DO NOT EDIT, Unless you know what you are doing.
  9. fly = o -- DO NOT EDIT.
  10.  
  11.  
  12. part = Instance.new("Part")  -- DO NOT EDIT.
  13. model = Instance.new("Model")  -- DO NOT EDIT.
  14. model.Name = petname  -- DO NOT EDIT.
  15. model.Parent = o  -- DO NOT EDIT.
  16. h = Instance.new("Humanoid")  -- DO NOT EDIT..
  17. h.MaxHealth = 0 -- If it is changed to anything other than '0', the pet will break.
  18. h.Parent = model -- Really no reason to edit this.
  19. part.Name = "Head"  -- Got bored so I named it... Feel free to rename it... But Check the (Vector3.new(fly.Head.Position.X,Y,Z) If you rename it.
  20. part.Shape = "Cylinder" --Shapes are Block, Ball, Cylinder
  21. part.Position = o.Head.Position -- Do not edit this.
  22. part.Parent = model  -- DO NOT EDIT THIS AT ALL.
  23. part.Anchored = true  -- Don't edit this unless you want your pet to go through the baseplate.
  24. part.CanCollide = false -- Leave this alone, otherwise your pet will knock you down and mess with your camera.
  25. part.BrickColor=BrickColor.new(petcolor) -- Don't mess with this please.
  26. part.Transparency = 0.1553 --Change it to anything between 0-1. (Ex. 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, etc. 1)
  27. part.Size = Vector3.new(4.5,4.5,4.5) --DO not change this to anything over 7...
  28. while true do
  29. part.Position = Vector3.new(fly.Head.Position.X + 1.6,fly.Head.Position.Y + 3.7,fly.Head.Position.Z + 2) -- I wouldn't mess with this unless you are epic at scripting.
  30.  wait()
  31. end
RAW Paste Data