nguyentuhuy123

Kool Aid Killer!

Apr 20th, 2017
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.73 KB | None | 0 0
  1. function giant(p, size)
  2. local pchar = p.Character
  3. if pchar then
  4. local function scale(chr,scl)
  5.  
  6. for _,v in pairs(pchar:GetChildren()) do
  7. if v:IsA("Hat") then
  8. v:Clone()
  9. v.Parent = game.Lighting
  10. end
  11. end
  12.  
  13. local Head = chr['Head']
  14. local Torso = chr['Torso']
  15. local LA = chr['Left Arm']
  16. local RA = chr['Right Arm']
  17. local LL = chr['Left Leg']
  18. local RL = chr['Right Leg']
  19. local HRP = chr['HumanoidRootPart']
  20.  
  21. wait(0.1)
  22.  
  23. Head.formFactor = 3
  24. Torso.formFactor = 3
  25. LA.formFactor = 3
  26. RA.formFactor = 3
  27. LL.formFactor = 3
  28. RL.formFactor = 3
  29. HRP.formFactor = 3
  30.  
  31. Head.Size = Vector3.new(scl * 2, scl, scl)
  32. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  33. LA.Size = Vector3.new(scl, scl * 2, scl)
  34. RA.Size = Vector3.new(scl, scl * 2, scl)
  35. LL.Size = Vector3.new(scl, scl * 2, scl)
  36. RL.Size = Vector3.new(scl, scl * 2, scl)
  37. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  38.  
  39. local Motor1 = Instance.new('Motor6D', Torso)
  40. Motor1.Part0 = Torso
  41. Motor1.Part1 = Head
  42. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  43. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  44. Motor1.Name = "Neck"
  45.  
  46. local Motor2 = Instance.new('Motor6D', Torso)
  47. Motor2.Part0 = Torso
  48. Motor2.Part1 = LA
  49. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  50. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  51. Motor2.Name = "Left Shoulder"
  52.  
  53. local Motor3 = Instance.new('Motor6D', Torso)
  54. Motor3.Part0 = Torso
  55. Motor3.Part1 = RA
  56. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  57. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  58. Motor3.Name = "Right Shoulder"
  59.  
  60. local Motor4 = Instance.new('Motor6D', Torso)
  61. Motor4.Part0 = Torso
  62. Motor4.Part1 = LL
  63. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  64. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  65. Motor4.Name = "Left Hip"
  66.  
  67. local Motor5 = Instance.new('Motor6D', Torso)
  68. Motor5.Part0 = Torso
  69. Motor5.Part1 = RL
  70. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  71. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  72. Motor5.Name = "Right Hip"
  73.  
  74. local Motor6 = Instance.new('Motor6D', HRP)
  75. Motor6.Part0 = HRP
  76. Motor6.Part1 = Torso
  77. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  78. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  79.  
  80. end
  81.  
  82. scale(pchar, size)
  83. pchar.Humanoid.WalkSpeed = 15 * size
  84.  
  85. for _,v in pairs(game.Lighting:GetChildren()) do
  86. if v:IsA("Hat") then
  87. v.Parent = pchar
  88. end
  89. end
  90. end
  91. end
  92.  
  93. local plr = game.Players.LocalPlayer
  94. giant(plr, 3)
  95. for i, v in pairs(plr.Character:GetChildren()) do
  96. if v:IsA("BasePart") then
  97. v.Touched:connect(function(p)
  98. if p.Size.X<30 then
  99. p.Anchored = false
  100. p:BreakJoints()
  101. end
  102. end)
  103. end
  104. end
  105.  
  106. local csize = 3
  107.  
  108. local sgui = Instance.new("ScreenGui", game.CoreGui)
  109. local base = Instance.new("Frame", sgui)
  110. base.BackgroundTransparency = 1
  111. base.Size = UDim2.new(0, 110, 0, 200)
  112. base.Position = UDim2.new(1, -120, 1, -180)
  113. local indicator = Instance.new("TextLabel", base)
  114. indicator.Size = UDim2.new(1, 0, 0, 25)
  115. indicator.TextColor3 = Color3.new(1, 1, 1)
  116. indicator.BackgroundTransparency = 0
  117. indicator.FontSize = Enum.FontSize.Size18
  118. indicator.Font = Enum.Font.SourceSans
  119. indicator.Text = "Current Size: 3"
  120. local PlusOne = Instance.new("TextButton", base)
  121. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  122. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  123. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  124. PlusOne.BorderSizePixel = 2
  125. PlusOne.Font = Enum.Font.SourceSansBold
  126. PlusOne.FontSize = Enum.FontSize.Size24
  127. PlusOne.Text = "+1 Size"
  128. local MinusOne = Instance.new("TextButton", base)
  129. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  130. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  131. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  132. MinusOne.Text = "-1 Size"
  133. MinusOne.BorderSizePixel = 2
  134. MinusOne.Font = Enum.Font.SourceSansBold
  135. MinusOne.FontSize = Enum.FontSize.Size24
  136.  
  137. PlusOne.MouseButton1Down:connect(function()
  138. csize = csize + 1
  139. giant(plr, csize)
  140. indicator.Text = "Current Size: "..tostring(csize)
  141. end)
  142.  
  143. MinusOne.MouseButton1Down:connect(function()
  144. csize = csize - 1
  145. giant(plr, csize)
  146. indicator.Text = "Current Size: "..tostring(csize)
  147. end)
Add Comment
Please, Sign In to add comment