Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---Dog Gui by vlad20020---
- local plr = game:GetService("Players").LocalPlayer
- local plrg = plr.PlayerGui
- local char = plr.Character
- local t = char.Torso
- local h = char.Head
- local ra = char["Right Arm"]
- local la = char["Left Arm"]
- local rl = char["Right Leg"]
- local ll = char["Left Leg"]
- local ff = Instance.new("ForceField",char) ff.Visible = false
- local hum = char:FindFirstChildOfClass("Humanoid")
- hum.MaxHealth = "inf" hum.Health = "inf"
- local sg = Instance.new("ScreenGui",plrg)
- function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
- local frame = Instance.new("Frame")
- frame.BackgroundTransparency = TRANSPARENCY
- frame.BorderSizePixel = BORDERSIZEPIXEL
- frame.Position = POSITION
- frame.Size = SIZE
- frame.BackgroundColor3 = COLOR
- frame.BorderColor3 = BORDERCOLOR
- frame.Name = NAME
- frame.Parent = PARENT
- return frame
- end
- local frame = CreateFrame(sg,1,1,UDim2.new(0,0,.5,.5),UDim2.new(.15,0,.15,0),Color3.fromRGB(100,0,255),Color3.fromRGB(0,0,0),"Frame")
- local tbox = Instance.new("TextBox",frame) tbox.Size = UDim2.new(1,0,.5,0) tbox.BackgroundColor3 = Color3.new(1,1,1) tbox.TextColor3 = Color3.fromRGB(255,160,0) tbox.ClearTextOnFocus = false tbox.Text = "Enter Target`s Name"
- local button = Instance.new("TextButton",frame) button.TextScaled = true button.Size = UDim2.new(.33,0,.5,0) button.Position = UDim2.new(0,0,.5,0) button.BackgroundColor3 = Color3.new(0,1,0) button.TextColor3 = Color3.new(1,1,1) button.Text = "Submit"
- local clear = Instance.new("TextButton",frame) clear.Size = UDim2.new(.34,0,.5,0) clear.Position = UDim2.new(.66,0,.5,0) clear.BackgroundColor3 = Color3.new(1,0,0) clear.TextColor3 = Color3.new(1,1,1) clear.Text = "Clear"
- local des = Instance.new("TextButton",frame) clear.TextScaled = true des.Size = UDim2.new(.33,0,.5,0) des.Position = UDim2.new(.33,0,.5,0) des.TextScaled = true des.Text = "Oof" des.BackgroundColor3 = Color3.fromRGB(255,160,0) des.TextColor3 = Color3.new(1,1,1)
- clear.MouseButton1Click:connect(function()
- tbox.Text = ""
- end)
- run = true
- button.MouseButton1Click:connect(function()
- local naim = tbox.Text
- local target = workspace:FindFirstChild(naim)
- if target ~= nil then
- local thum = target:FindFirstChildOfClass("Humanoid")
- if thum ~= nil then
- if target.Name == char.Name then
- else
- local dog = Instance.new("Model",workspace) dog.Name = char.Name.."`s Cat"
- local head = Instance.new("Part",dog) head.Name = "Head" head.Size = Vector3.new(0.01,0.01,0.01)
- local la1 = Instance.new("Part",dog) la1.Name = "Left Arm" la1.Size = Vector3.new(1,2,1) local t1 = Instance.new("Part",dog) t1.Name = "Torso" t1.Size = Vector3.new(2,2,1) local ra1 = Instance.new("Part",dog) ra1.Name = "Right Arm" ra1.Size = Vector3.new(1,2,1)
- local ll1 = Instance.new("Part",dog) ll1.Name = "Left Leg" ll1.Size = Vector3.new(1,2,1) local rl1 = Instance.new("Part",dog) rl1.Name = "Right Leg" rl1.Size = Vector3.new(1,2,1)
- local dhum = Instance.new("Humanoid",dog) local hmesh = Instance.new("SpecialMesh",head) hmesh.Scale = Vector3.new(1.25,1.25,1.25)
- dhum.MaxHealth = "inf" dhum.Health = "inf" dhum.AutoJumpEnabled = true
- dhum.Died:connect(function()
- local boom = Instance.new("Explosion",dog) boom.Position = t1.Position
- end)
- function die(hit)
- if hit.Parent ~= nil then
- local dumbass = hit.Parent:FindFirstChildOfClass("Humanoid")
- if dumbass ~= nil then
- if hit.Parent == char then
- else
- dumbass.MaxHealth = 100
- dumbass.Health = dumbass.Health -math.random(1,5)
- end
- end
- end
- end
- t1.Touched:connect(die)
- --Colors--
- head.BrickColor = BrickColor.new("Neon orange") t1.BrickColor = BrickColor.new("Neon orange") ra1.BrickColor = BrickColor.new("Neon orange") la1.BrickColor = BrickColor.new("Neon orange") rl1.BrickColor = BrickColor.new("Neon orange") ll1.BrickColor = BrickColor.new("Neon orange")
- --End Of Colors--
- local fais = Instance.new("Decal",head) fais.Texture = "http://www.roblox.com/asset/?id=1077397727" local zivot = Instance.new("Decal",t1) zivot.Texture = "http://www.roblox.com/asset/?id=631168527"
- local hath = Instance.new("Part",dog) hath.Size = Vector3.new(2,1,1) hath.CFrame = head.CFrame local hw = Instance.new("Weld",hath) hw.Part0 = head hw.Part1 = hath hath.Name = "Ears" local mesh = Instance.new("SpecialMesh",hath) mesh.MeshType = "FileMesh" mesh.MeshId = "http://www.roblox.com/asset/?id=379552190" mesh.TextureId = "http://www.roblox.com/asset/?id=379541232" mesh.Scale = Vector3.new(1.55, 1.5, 1.55)
- local nec = Instance.new("Motor6D",t1) nec.Part0 = t1 nec.Part1 = head nec.C0 = nec.C0 * CFrame.new(-0.5,1,0.4)
- local ris = Instance.new("Motor6D",t1) ris.Part0 = t1 ris.Part1 = ra1 ris.C0 = ris.C0 * CFrame.new(1.5,0,0)
- local lis = Instance.new("Motor6D",t1) lis.Part0 = t1 lis.Part1 = la1 lis.C0 = lis.C0 * CFrame.new(-1.5,0,0)
- local rih = Instance.new("Motor6D",t1) rih.Part0 = t1 rih.Part1 = rl1 rih.C0 = rih.C0 * CFrame.new(.5,-2,0)
- local lih = Instance.new("Motor6D",t1) lih.Part0 = t1 lih.Part1 = ll1 lih.C0 = lih.C0 * CFrame.new(-.5,-2,0)
- local pos = math.random(1,5)
- if pos == 1 then
- head.CFrame = h.CFrame * CFrame.new(4,0,0)
- t1.CFrame = t.CFrame * CFrame.new(4,0,0)
- ra1.CFrame = ra.CFrame * CFrame.new(4,0,0)
- la1.CFrame = la.CFrame * CFrame.new(4,0,0)
- rl1.CFrame = rl.CFrame * CFrame.new(4,0,0)
- ll1.CFrame = ll.CFrame * CFrame.new(4,0,0)
- end
- if pos == 2 then
- head.CFrame = h.CFrame * CFrame.new(-3,0,4)
- t1.CFrame = t.CFrame * CFrame.new(-3,0,4)
- ra1.CFrame = ra.CFrame * CFrame.new(-3,0,4)
- la1.CFrame = la.CFrame * CFrame.new(-3,0,4)
- rl1.CFrame = rl.CFrame * CFrame.new(-3,0,4)
- ll1.CFrame = ll.CFrame * CFrame.new(-3,0,4)
- end
- if pos == 3 then
- head.CFrame = h.CFrame * CFrame.new(-6,5,-2)
- t1.CFrame = t.CFrame * CFrame.new(-6,5,-2)
- ra1.CFrame = ra.CFrame * CFrame.new(-6,5,-2)
- la1.CFrame = la.CFrame * CFrame.new(-6,5,-2)
- rl1.CFrame = rl.CFrame * CFrame.new(-6,5,-2)
- ll1.CFrame = ll.CFrame * CFrame.new(-6,5,-2)
- end
- if pos == 4 then
- head.CFrame = h.CFrame * CFrame.new(1,0,-2)
- t1.CFrame = t.CFrame * CFrame.new(1,0,-2)
- ra1.CFrame = ra.CFrame * CFrame.new(1,0,-2)
- la1.CFrame = la.CFrame * CFrame.new(1,0,-2)
- rl1.CFrame = rl.CFrame * CFrame.new(1,0,-2)
- ll1.CFrame = ll.CFrame * CFrame.new(1,0,-2)
- end
- if pos == 5 then
- head.CFrame = h.CFrame * CFrame.new(-3,1,3)
- t1.CFrame = t.CFrame * CFrame.new(-3,1,3)
- ra1.CFrame = ra.CFrame * CFrame.new(-3,1,3)
- la1.CFrame = la.CFrame * CFrame.new(-3,1,3)
- rl1.CFrame = rl.CFrame * CFrame.new(-3,1,3)
- ll1.CFrame = ll.CFrame * CFrame.new(-3,1,3)
- end
- local tors = target:FindFirstChild("Head")
- while run do
- dhum.WalkToPoint = tors.Position
- wait(.05)
- end
- end
- end
- end
- end)
- des.MouseButton1Click:connect(function()
- for i,v in pairs(workspace:GetChildren()) do
- if v.Name == char.Name.."`s Cat" then
- v:Destroy()
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement