Advertisement
teotv202

Untitled

Jul 14th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.53 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("use h/ and not hl/") end
  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 = owner
  95. giant(plr,1)
  96.  
  97. gc = plr.Character:GetChildren()
  98. for i=1, #gc do
  99. if gc[i].ClassName == "Accessory" or gc[i].ClassName == "Hat" then
  100. gc[i].Handle.Transparency = 1
  101. end
  102. end
  103.  
  104. local csize = 1
  105.  
  106. local sgui = Instance.new("ScreenGui", plr.PlayerGui)
  107. local base = Instance.new("Frame", sgui)
  108. base.BackgroundTransparency = 1
  109. base.Size = UDim2.new(0, 110, 0, 200)
  110. base.Position = UDim2.new(1, -120, 1, -180)
  111. local indicator = Instance.new("TextLabel", base)
  112. indicator.Size = UDim2.new(1, 0, 0, 25)
  113. indicator.TextColor3 = Color3.new(1, 1, 1)
  114. indicator.BackgroundTransparency = 0
  115. indicator.FontSize = Enum.FontSize.Size18
  116. indicator.Font = Enum.Font.SourceSans
  117. indicator.Text = "Current Size: 3"
  118. local PlusOne = Instance.new("TextButton", base)
  119. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  120. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  121. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  122. PlusOne.BorderSizePixel = 2
  123. PlusOne.Font = Enum.Font.SourceSansBold
  124. PlusOne.FontSize = Enum.FontSize.Size24
  125. PlusOne.Text = "+.1 Size"
  126. local MinusOne = Instance.new("TextButton", base)
  127. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  128. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  129. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  130. MinusOne.Text = "-.1 Size"
  131. MinusOne.BorderSizePixel = 2
  132. MinusOne.Font = Enum.Font.SourceSansBold
  133. MinusOne.FontSize = Enum.FontSize.Size24
  134.  
  135. PlusOne.MouseButton1Down:connect(function()
  136.     csize = csize + .1
  137.     giant(plr, csize)
  138.     indicator.Text = "Current Size: "..tostring(csize)
  139. end)
  140.  
  141. MinusOne.MouseButton1Down:connect(function()
  142.     csize = csize - .1
  143.     giant(plr, csize)
  144.     indicator.Text = "Current Size: "..tostring(csize)
  145. end)
  146. local remote = NLS ([==[
  147. while wait() do
  148. game:GetService("Workspace").CurrentCamera.CameraSubject = owner.Character.Head
  149. end
  150. ]==], owner.Character):WaitForChild 'ServerRemote';
  151. mouse = owner:GetMouse ();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement