View difference between Paste ID: 6aP36dQx and sp5NznFv
SHOW: | | - or go back to the newest paste.
1
print("Loading Pet Script... By dyarian")
2
-- THIS IS A PET SCRIPT BY DYARIAN, FOR ROBLOX --
3
4
me = game.Players.FirstNamer --If you can't figure out what this means, You should just go on about your day...
5-
me = game.Players.InsertNameHere --If you can't figure out what this means, You should just go on about your day...
5+
6
local petcolor = "Lime green"  -- Change to any color available on ROBLOX.
7
local o = me.Character  -- DO NOT EDIT, Unless you know what you are doing.
8
fly = o -- DO NOT EDIT.
9
10
11
part = Instance.new("Part")  -- DO NOT EDIT.
12
model = Instance.new("Model")  -- DO NOT EDIT.
13
model.Name = petname  -- DO NOT EDIT.
14
model.Parent = o  -- DO NOT EDIT.
15
h = Instance.new("Humanoid")  -- DO NOT EDIT..
16
h.MaxHealth = 0 -- If it is changed to anything other than '0', the pet will break.
17
h.Parent = model -- Really no reason to edit this.
18
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.
19
part.Shape = "Cylinder" --Shapes are Block, Ball, Cylinder 
20
part.Position = o.Head.Position -- Do not edit this.
21
part.Parent = model  -- DO NOT EDIT THIS AT ALL.
22
part.Anchored = true  -- Don't edit this unless you want your pet to go through the baseplate.
23
part.CanCollide = false -- Leave this alone, otherwise your pet will knock you down and mess with your camera.
24
part.BrickColor=BrickColor.new(petcolor) -- Don't mess with this please.
25
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)
26
part.Size = Vector3.new(4.5,4.5,4.5) --DO not change this to anything over 7...
27
while true do 
28
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.
29
 wait() 
30
end