Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- wait(1)
- local animal = "Dog" --Only 2 values: Cat, Dog
- local owner = game:GetService("Players").LocalPlayer
- local model = Instance.new("Model",owner.Character)
- local humanoid = Instance.new("Humanoid",model)
- local name = "Bombo"
- local body = Instance.new("Part",model) --Very important.
- body.CanCollide = false
- body.Anchored = true
- model.Name = name
- body.Name = "Head"
- if animal == "Dog" then
- body.Size = Vector3.new(1.5, 2.3, 3.5)
- local mesh = Instance.new("FileMesh",body)
- local bark = Instance.new("Sound",body)
- bark.Name = "Call"
- bark.SoundId = "rbxassetid://348993071"
- bark.PlaybackSpeed = 0.750
- bark.Volume = 5
- mesh.TextureId = "http://www.roblox.com/asset/?id=68331520"
- mesh.Scale = Vector3.new(1.5,1.5,1.5)
- mesh.MeshId = "http://www.roblox.com/asset/?id=68340830"
- elseif animal == "Cat" then
- body.Size = Vector3.new(1, 2.4, 3)
- local mesh2 = Instance.new("FileMesh",body)
- local meow = Instance.new("Sound",body)
- meow.Name = "Call"
- meow.SoundId = "rbxassetid://138093919"
- meow.PlaybackSpeed = 0.750
- meow.Volume = 5
- mesh2.TextureId = "rbxassetid://121228565"
- mesh2.Scale = Vector3.new(1.5, 1.5, 1.5)
- mesh2.MeshId = "rbxassetid://121228532"
- end
- while true do
- body.CFrame = owner.Character["Right Leg"].CFrame + Vector3.new(0,0,5)
- body.Orientation = owner.Character.Torso.Orientation
- wait(-1)
- end
- while true do
- wait(3)
- body.Call:Play()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement