Advertisement
Hugo1234cool

Untitled

Mar 18th, 2019
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.88 KB | None | 0 0
  1. local s = Instance.new("Sound")
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,game,owner = owner,game
  5. local RealPlayer = Player
  6. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  7. s.Name = "Kool Aid 1"
  8. s.SoundId = "http://www.roblox.com/asset/?id=718581626"
  9. s.Volume = 2
  10. s.Looped = true
  11. s.archivable = false
  12.  
  13. s.Parent = game.Workspace
  14.  
  15.  
  16. s:play()
  17. function giant(p, size)
  18. local pchar = p.Character
  19. if pchar then
  20. local function scale(chr,scl)
  21.  
  22. for _,v in pairs(pchar:GetChildren()) do
  23. if v:IsA("Hat") then
  24. v:Clone()
  25. v.Parent = game.Lighting
  26. end
  27. end
  28.  
  29. local Head = chr['Head']
  30. local Torso = chr['Torso']
  31. local LA = chr['Left Arm']
  32. local RA = chr['Right Arm']
  33. local LL = chr['Left Leg']
  34. local RL = chr['Right Leg']
  35. local HRP = chr['HumanoidRootPart']
  36.  
  37. shirt = chr:findFirstChild("Shirt")
  38. if shirt ~= nil then
  39. shirt:Destroy()
  40. end
  41. print("Shirt removed")
  42. pants = chr:findFirstChild("Pants")
  43. if pants ~= nil then
  44. pants:Destroy()
  45. end
  46. print("Pants removed")
  47. tshirt = chr:findFirstChild("Shirt Graphic")
  48. if tshirt ~= nil then
  49. tshirt:Destroy()
  50. end
  51. print("T-Shirt destroyed")
  52.  
  53. p = game.Players.LocalPlayer
  54. p.Character.Humanoid.MaxHealth = math.huge
  55.  
  56.  
  57. wait(0.1)
  58. local char = game.Players.LocalPlayer.Character
  59. local tshirt = char:FindFirstChild("Shirt Graphic")
  60. if not tshirt then
  61. tshirt = Instance.new("ShirtGraphic",char)
  62. end
  63. tshirt.Graphic = "rbxassetid://512041013"
  64.  
  65.  
  66. Head.formFactor = 1
  67. Torso.formFactor = 1
  68. LA.formFactor = 1
  69. RA.formFactor = 1
  70. LL.formFactor = 1
  71. RL.formFactor = 1
  72. HRP.formFactor = 1
  73.  
  74. Head.Size = Vector3.new(scl * 2, scl, scl)
  75. Torso.Size = Vector3.new(scl * 2, scl * 2, scl)
  76. LA.Size = Vector3.new(scl, scl * 2, scl)
  77. RA.Size = Vector3.new(scl, scl * 2, scl)
  78. LL.Size = Vector3.new(scl, scl * 2, scl)
  79. RL.Size = Vector3.new(scl, scl * 2, scl)
  80. HRP.Size = Vector3.new(scl * 2, scl * 2, scl)
  81.  
  82.  
  83. ---
  84.  
  85.  
  86.  
  87.  
  88. Head.Transparency = 1
  89. Torso.BrickColor = BrickColor.new("Bright red")
  90. LA.BrickColor = BrickColor.new("Bright red")
  91. RA.BrickColor = BrickColor.new("Bright red")
  92. RL.BrickColor = BrickColor.new("Bright red")
  93. LL.BrickColor = BrickColor.new("Bright red")
  94. Head.face:Remove()
  95.  
  96.  
  97.  
  98.  
  99. local Motor1 = Instance.new('Motor6D', Torso)
  100. Motor1.Part0 = Torso
  101. Motor1.Part1 = Head
  102. Motor1.C0 = CFrame.new(0, 1 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  103. Motor1.C1 = CFrame.new(0, -0.5 * scl, 0) * CFrame.Angles(-1.6, 0, 3.1)
  104. Motor1.Name = "Neck"
  105.  
  106. local Motor2 = Instance.new('Motor6D', Torso)
  107. Motor2.Part0 = Torso
  108. Motor2.Part1 = LA
  109. Motor2.C0 = CFrame.new(-1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  110. Motor2.C1 = CFrame.new(0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  111. Motor2.Name = "Left Shoulder"
  112.  
  113. local Motor3 = Instance.new('Motor6D', Torso)
  114. Motor3.Part0 = Torso
  115. Motor3.Part1 = RA
  116. Motor3.C0 = CFrame.new(1 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  117. Motor3.C1 = CFrame.new(-0.5 * scl, 0.5 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  118. Motor3.Name = "Right Shoulder"
  119.  
  120. local Motor4 = Instance.new('Motor6D', Torso)
  121. Motor4.Part0 = Torso
  122. Motor4.Part1 = LL
  123. Motor4.C0 = CFrame.new(-1 * scl, -1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  124. Motor4.C1 = CFrame.new(-0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, -1.6, 0)
  125. Motor4.Name = "Left Hip"
  126.  
  127. local Motor5 = Instance.new('Motor6D', Torso)
  128. Motor5.Part0 = Torso
  129. Motor5.Part1 = RL
  130. Motor5.C0 = CFrame.new(1 * scl, -1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  131. Motor5.C1 = CFrame.new(0.5 * scl, 1 * scl, 0) * CFrame.Angles(0, 1.6, 0)
  132. Motor5.Name = "Right Hip"
  133.  
  134. local Motor6 = Instance.new('Motor6D', HRP)
  135. Motor6.Part0 = HRP
  136. Motor6.Part1 = Torso
  137. Motor6.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  138. Motor6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(-1.6, 0, -3.1)
  139.  
  140. end
  141.  
  142. scale(pchar, size)
  143. pchar.Humanoid.WalkSpeed = 15 * size
  144.  
  145. for _,v in pairs(game.Lighting:GetChildren()) do
  146. if v:IsA("Hat") then
  147. v.Parent = pchar
  148. end
  149. end
  150. end
  151. end
  152.  
  153. local plr = game.Players.LocalPlayer
  154. giant(plr, 1)
  155. for i, v in pairs(plr.Character:GetChildren()) do
  156. if v:IsA("BasePart") then
  157. v.Touched:connect(function(p)
  158. if p.Size.X<30 then
  159. p.Anchored = false
  160. p:BreakJoints()
  161. end
  162. end)
  163. end
  164. end
  165.  
  166. local csize = 1
  167.  
  168. local sgui = Instance.new("ScreenGui", game.CoreGui)
  169. local base = Instance.new("Frame", sgui)
  170. base.BackgroundTransparency = 1
  171. base.Size = UDim2.new(0, 110, 0, 200)
  172. base.Position = UDim2.new(1, -120, 1, -180)
  173. local indicator = Instance.new("TextLabel", base)
  174. indicator.Size = UDim2.new(1, 0, 0, 25)
  175. indicator.TextColor3 = Color3.new(1, 1, 1)
  176. indicator.BackgroundTransparency = 0
  177. indicator.FontSize = Enum.FontSize.Size18
  178. indicator.Font = Enum.Font.SourceSans
  179. indicator.Text = "Current Size: 1"
  180. local PlusOne = Instance.new("TextButton", base)
  181. PlusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  182. PlusOne.Position = UDim2.new(0, 0, 0, 40)
  183. PlusOne.Size = UDim2.new(1, 0, 0.5, -50)
  184. PlusOne.BorderSizePixel = 2
  185. PlusOne.Font = Enum.Font.SourceSansBold
  186. PlusOne.FontSize = Enum.FontSize.Size24
  187. PlusOne.Text = "+1 Size"
  188. local MinusOne = Instance.new("TextButton", base)
  189. MinusOne.BackgroundColor3 = Color3.new(214/255, 214/255, 214/255)
  190. MinusOne.Position = UDim2.new(0, 0, 0.5, 10)
  191. MinusOne.Size = UDim2.new(1, 0, 0.5, -50)
  192. MinusOne.Text = "-1 Size"
  193. MinusOne.BorderSizePixel = 2
  194. MinusOne.Font = Enum.Font.SourceSansBold
  195. MinusOne.FontSize = Enum.FontSize.Size24
  196.  
  197. PlusOne.MouseButton1Down:connect(function()
  198. csize = csize + 1
  199. giant(plr, csize)
  200. indicator.Text = "Current Size: "..tostring(csize)
  201. end)
  202.  
  203.  
  204.  
  205. MinusOne.MouseButton1Down:connect(function()
  206. csize = csize - 1
  207. giant(plr, csize)
  208. indicator.Text = "Current Size: "..tostring(csize)
  209. end)
  210. local char = game.Players.LocalPlayer.Character
  211. --char.Humanoid.Died:connect(function()
  212. --s:remove()
  213. --end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement