Advertisement
cat568

Untitled

Jun 22nd, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ---Dog Gui by vlad20020---
  2. local plr = game:GetService("Players").LocalPlayer
  3. local plrg = plr.PlayerGui
  4. local char = plr.Character
  5.  
  6. local t = char.Torso
  7. local h = char.Head
  8. local ra = char["Right Arm"]
  9. local la = char["Left Arm"]
  10. local rl = char["Right Leg"]
  11. local ll = char["Left Leg"]
  12. local ff = Instance.new("ForceField",char) ff.Visible = false
  13. local hum = char:FindFirstChildOfClass("Humanoid")
  14. hum.MaxHealth = "inf" hum.Health = "inf"
  15.  
  16. local sg = Instance.new("ScreenGui",plrg)
  17. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  18.     local frame = Instance.new("Frame")
  19.     frame.BackgroundTransparency = TRANSPARENCY
  20.     frame.BorderSizePixel = BORDERSIZEPIXEL
  21.     frame.Position = POSITION
  22.     frame.Size = SIZE
  23.     frame.BackgroundColor3 = COLOR
  24.     frame.BorderColor3 = BORDERCOLOR
  25.     frame.Name = NAME
  26.     frame.Parent = PARENT
  27.     return frame
  28. end
  29. 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")
  30. 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"
  31. 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"
  32. 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"
  33. 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)
  34.  
  35. clear.MouseButton1Click:connect(function()
  36.     tbox.Text = ""
  37. end)
  38. run = true
  39. button.MouseButton1Click:connect(function()
  40.     local naim = tbox.Text
  41.     local target = workspace:FindFirstChild(naim)
  42.     if target ~= nil then
  43.         local thum = target:FindFirstChildOfClass("Humanoid")
  44.         if thum ~= nil then
  45.             if target.Name == char.Name then
  46.                
  47.             else
  48.         local dog = Instance.new("Model",workspace) dog.Name = char.Name.."`s Cat"
  49.         local head = Instance.new("Part",dog) head.Name = "Head" head.Size = Vector3.new(0.01,0.01,0.01)
  50.         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)
  51.         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)
  52.         local dhum = Instance.new("Humanoid",dog) local hmesh = Instance.new("SpecialMesh",head) hmesh.Scale = Vector3.new(1.25,1.25,1.25)
  53.         dhum.MaxHealth = "inf" dhum.Health = "inf" dhum.AutoJumpEnabled = true
  54.         dhum.Died:connect(function()
  55.         local boom = Instance.new("Explosion",dog) boom.Position = t1.Position
  56.         end)
  57.         function die(hit)
  58.         if hit.Parent ~= nil then
  59.             local dumbass = hit.Parent:FindFirstChildOfClass("Humanoid")
  60.             if dumbass ~= nil then
  61.                 if hit.Parent == char then
  62.                 else
  63.                     dumbass.MaxHealth = 100
  64.                     dumbass.Health = dumbass.Health -math.random(1,5)
  65.                 end
  66.                 end
  67.         end
  68.     end
  69.         t1.Touched:connect(die)
  70.         --Colors--
  71.         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")
  72.         --End Of Colors--
  73.         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"
  74.         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)
  75.         local nec = Instance.new("Motor6D",t1) nec.Part0 = t1 nec.Part1 = head nec.C0 = nec.C0 * CFrame.new(-0.5,1,0.4)
  76.         local ris = Instance.new("Motor6D",t1) ris.Part0 = t1 ris.Part1 = ra1 ris.C0 = ris.C0 * CFrame.new(1.5,0,0)
  77.         local lis = Instance.new("Motor6D",t1) lis.Part0 = t1 lis.Part1 = la1 lis.C0 = lis.C0 * CFrame.new(-1.5,0,0)
  78.         local rih = Instance.new("Motor6D",t1) rih.Part0 = t1 rih.Part1 = rl1 rih.C0 = rih.C0 * CFrame.new(.5,-2,0)
  79.         local lih = Instance.new("Motor6D",t1) lih.Part0 = t1 lih.Part1 = ll1 lih.C0 = lih.C0 * CFrame.new(-.5,-2,0)
  80.         local pos = math.random(1,5)
  81.         if pos == 1 then
  82.         head.CFrame = h.CFrame * CFrame.new(4,0,0)
  83.         t1.CFrame = t.CFrame * CFrame.new(4,0,0)
  84.         ra1.CFrame = ra.CFrame * CFrame.new(4,0,0)
  85.         la1.CFrame = la.CFrame * CFrame.new(4,0,0)
  86.         rl1.CFrame = rl.CFrame * CFrame.new(4,0,0)
  87.         ll1.CFrame = ll.CFrame * CFrame.new(4,0,0)
  88.         end
  89.         if pos == 2 then
  90.         head.CFrame = h.CFrame * CFrame.new(-3,0,4)
  91.         t1.CFrame = t.CFrame * CFrame.new(-3,0,4)
  92.         ra1.CFrame = ra.CFrame * CFrame.new(-3,0,4)
  93.         la1.CFrame = la.CFrame * CFrame.new(-3,0,4)
  94.         rl1.CFrame = rl.CFrame * CFrame.new(-3,0,4)
  95.         ll1.CFrame = ll.CFrame * CFrame.new(-3,0,4)
  96.         end
  97.         if pos == 3 then
  98.         head.CFrame = h.CFrame * CFrame.new(-6,5,-2)
  99.         t1.CFrame = t.CFrame * CFrame.new(-6,5,-2)
  100.         ra1.CFrame = ra.CFrame * CFrame.new(-6,5,-2)
  101.         la1.CFrame = la.CFrame * CFrame.new(-6,5,-2)
  102.         rl1.CFrame = rl.CFrame * CFrame.new(-6,5,-2)
  103.         ll1.CFrame = ll.CFrame * CFrame.new(-6,5,-2)
  104.         end
  105.         if pos == 4 then
  106.         head.CFrame = h.CFrame * CFrame.new(1,0,-2)
  107.         t1.CFrame = t.CFrame * CFrame.new(1,0,-2)
  108.         ra1.CFrame = ra.CFrame * CFrame.new(1,0,-2)
  109.         la1.CFrame = la.CFrame * CFrame.new(1,0,-2)
  110.         rl1.CFrame = rl.CFrame * CFrame.new(1,0,-2)
  111.         ll1.CFrame = ll.CFrame * CFrame.new(1,0,-2)
  112.         end
  113.         if pos == 5 then
  114.         head.CFrame = h.CFrame * CFrame.new(-3,1,3)
  115.         t1.CFrame = t.CFrame * CFrame.new(-3,1,3)
  116.         ra1.CFrame = ra.CFrame * CFrame.new(-3,1,3)
  117.         la1.CFrame = la.CFrame * CFrame.new(-3,1,3)
  118.         rl1.CFrame = rl.CFrame * CFrame.new(-3,1,3)
  119.         ll1.CFrame = ll.CFrame * CFrame.new(-3,1,3)
  120.         end
  121.         local tors = target:FindFirstChild("Head")
  122.         while run do
  123.             dhum.WalkToPoint = tors.Position
  124.             wait(.05)
  125.             end
  126.             end
  127.             end
  128.         end
  129. end)
  130. des.MouseButton1Click:connect(function()
  131.     for i,v in pairs(workspace:GetChildren()) do
  132.         if v.Name == char.Name.."`s Cat" then
  133.             v:Destroy()
  134.         end
  135.     end
  136. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement