saba1517

K00L AID ( broken )

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