Advertisement
lafur

Untitled

Feb 25th, 2019
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. 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 --LUDWIG VON BALLENCRUSHER TELLS YOU TO GET OFF YOUR DESK, AND BEGIN SQUAT!!!--
  6. --MAKE YOUR HOME COUNTRY PROUD!!!--
  7. --ROOOOOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHH!!!!!!!!!!!!!!!!!!!!!!!!--
  8. Player=game:GetService("Players").LocalPlayer
  9. Character=Player.Character
  10. Character.Humanoid.Name = "noneofurbusiness"
  11. hum = Character.noneofurbusiness
  12. LeftArm=Character["Left Arm"]
  13. LeftLeg=Character["Left Leg"]
  14. RightArm=Character["Right Arm"]
  15. RightLeg=Character["Right Leg"]
  16. Root=Character["HumanoidRootPart"]
  17. Head=Character["Head"]
  18. Torso=Character["Torso"]
  19. Neck=Torso["Neck"]
  20. mouse = Player:GetMouse()
  21. walking = false
  22. attacking = false
  23. running = false
  24. up = true
  25. down = false
  26. position = nil
  27. MseGuide = true
  28. squadid = 1947759284
  29. settime = 0.05
  30. sine = 0
  31. n = 0
  32. change = 1
  33. t = 0
  34. dgs = 75
  35. mouse = Player:GetMouse()
  36. RunSrv = game:GetService("RunService")
  37. RenderStepped = game:GetService("RunService").RenderStepped
  38.  
  39. jurgenhurs = Instance.new("Sound",Torso)
  40. jurgenhurs.Volume = 4
  41. jurgenhurs.SoundId = "rbxassetid://1956230717"
  42.  
  43. mouse.KeyDown:connect(function(Press)
  44. Press=Press:lower()
  45. if Press=='t' then
  46. jurgenhurs:Play()
  47. end
  48. end)
  49.  
  50. godmode = coroutine.wrap(function()
  51. while true do
  52. hum.MaxHealth = math.huge
  53. wait(0.0000001)
  54. hum.Health = math.huge
  55. wait()
  56. end
  57. end)
  58. godmode()
  59. ff = Instance.new("ForceField", Character)
  60. ff.Visible = false
  61.  
  62.  
  63. squats = Instance.new("NumberValue")
  64. squats.Value = 0
  65.  
  66. squatmusic = Instance.new("Sound",Torso)
  67. squatmusic.Volume = 5
  68. squatmusic.SoundId = "rbxassetid://"..squadid
  69. squatmusic.Looped = true
  70. squatmusic:Play()
  71.  
  72. upp = Instance.new("Sound",Torso)
  73. upp.Volume = 5
  74. upp.Pitch = 1.1
  75. upp.SoundId = "rbxassetid://1948055056"
  76.  
  77. downn = Instance.new("Sound",Torso)
  78. downn.Volume = 5
  79. downn.Pitch = 1.1
  80. downn.SoundId = "rbxassetid://1948024901"
  81.  
  82. local function weldBetween(a, b)
  83. local weld = Instance.new("ManualWeld", a)
  84. weld.Part0 = a
  85. weld.Part1 = b
  86. weld.C0 = a.CFrame:inverse() * b.CFrame
  87. return weld
  88. end
  89.  
  90. coroutine.wrap(function()
  91. while wait() do
  92. squatmusic.SoundId = "rbxassetid://"..squadid
  93. squatmusic.Looped = true
  94. squatmusic.Pitch = 1
  95. squatmusic.Volume = 5
  96. squatmusic.Parent = Torso
  97. squatmusic:Resume()
  98. upp.Volume = 5
  99. upp.Pitch = 1.1
  100. upp.SoundId = "rbxassetid://1948055056"
  101. downn.Volume = 5
  102. downn.Pitch = 1.1
  103. downn.SoundId = "rbxassetid://1948024901"
  104.  
  105. if squats.Value < 10 then
  106. squadid = 1947759284
  107. squatmusic.SoundId = "rbxassetid://1947759284"
  108. elseif squats.Value < 25 then
  109. squadid = 1947760455
  110. squatmusic.SoundId = "rbxassetid://1947760455"
  111. elseif squats.Value < 50 then
  112. squadid = 1947762276
  113. squatmusic.SoundId = "rbxassetid://1947762276"
  114. elseif squats.Value < 100 then
  115. squadid = 1947763068
  116. squatmusic.SoundId = "rbxassetid://1947763068"
  117. elseif squats.Value < 150 then
  118. squadid = 1947763686
  119. squatmusic.SoundId = "rbxassetid://1947763686"
  120. elseif squats.Value < 199 then
  121. squadid = 1956489244
  122. squatmusic.SoundId = "rbxassetid://1956489244"
  123. elseif squats.Value > 199 then
  124. squadid = 1947764477
  125. squatmusic.Volume = 10
  126. squatmusic.SoundId = "rbxassetid://1947764477"
  127. end
  128. end
  129. end)()
  130.  
  131. coroutine.wrap(function()
  132. while true do
  133. if squats.Value > 199 then
  134. for i = 1, 20 do
  135. game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 2
  136. wait()
  137. end
  138. for i = 1, 20 do
  139. game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 2
  140. wait()
  141. end
  142. end
  143. wait()
  144. end
  145. end)()
  146.  
  147. DOYOUEVENLIFT = Instance.new("Part",Character)
  148. DOYOUEVENLIFT.Size = Vector3.new(1.01,1.01,1.01)
  149. DOYOUEVENLIFT.CanCollide = false
  150. DOYOUEVENLIFT.Transparency = 0
  151. DOYOUEVENLIFT.BrickColor = BrickColor.new("White")
  152. DOYOUEVENLIFT.Material = "Neon"
  153. DOYOUEVENLIFT.CFrame = Torso.CFrame
  154. DOYOUEVENLIFTmesh = Instance.new("SpecialMesh",DOYOUEVENLIFT)
  155. DOYOUEVENLIFTmesh.MeshId = "rbxassetid://122333663"
  156. DOYOUEVENLIFTmesh.TextureId = "rbxassetid://122333759"
  157. DOYOUEVENLIFTmesh.Scale = Vector3.new(1.9,2,2)
  158. DOYOUEVENLIFTweld = weldBetween(DOYOUEVENLIFT,Torso)
  159. DOYOUEVENLIFTweld.C0 = CFrame.new(0,-2.55,0)
  160.  
  161. local HEADLERP = Instance.new("ManualWeld")
  162. HEADLERP.Parent = Head
  163. HEADLERP.Part0 = Head
  164. HEADLERP.Part1 = Head
  165. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  166.  
  167. local TORSOLERP = Instance.new("ManualWeld")
  168. TORSOLERP.Parent = Root
  169. TORSOLERP.Part0 = Torso
  170. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  171.  
  172. local ROOTLERP = Instance.new("ManualWeld")
  173. ROOTLERP.Parent = Root
  174. ROOTLERP.Part0 = Root
  175. ROOTLERP.Part1 = Torso
  176. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  177.  
  178. local RIGHTARMLERP = Instance.new("ManualWeld")
  179. RIGHTARMLERP.Parent = RightArm
  180. RIGHTARMLERP.Part0 = RightArm
  181. RIGHTARMLERP.Part1 = Torso
  182. RIGHTARMLERP.C0 = CFrame.new(-1.3,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(10))
  183.  
  184. local LEFTARMLERP = Instance.new("ManualWeld")
  185. LEFTARMLERP.Parent = LeftArm
  186. LEFTARMLERP.Part0 = LeftArm
  187. LEFTARMLERP.Part1 = Torso
  188. LEFTARMLERP.C0 = CFrame.new(1.3,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(-10))
  189.  
  190. local RIGHTLEGLERP = Instance.new("ManualWeld")
  191. RIGHTLEGLERP.Parent = RightLeg
  192. RIGHTLEGLERP.Part0 = RightLeg
  193. RIGHTLEGLERP.Part1 = Torso
  194. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  195.  
  196. local LEFTLEGLERP = Instance.new("ManualWeld")
  197. LEFTLEGLERP.Parent = LeftLeg
  198. LEFTLEGLERP.Part0 = LeftLeg
  199. LEFTLEGLERP.Part1 = Torso
  200. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  201.  
  202. thetext = "Noob"
  203. coroutine.wrap(function()
  204. while wait() do
  205. if squats.Value < 10 then
  206. thetext = "Noob"
  207. elseif squats.Value < 25 then
  208. thetext = "Rookie"
  209. elseif squats.Value < 50 then
  210. thetext = "Amateur"
  211. elseif squats.Value < 100 then
  212. thetext = "Pro"
  213. elseif squats.Value < 150 then
  214. thetext = "Master"
  215. elseif squats.Value < 199 then
  216. thetext = "Legendary"
  217. elseif squats.Value > 199 then
  218. thetext = "OUT OF THIS WORLD!"
  219. end
  220. end
  221. end)()
  222.  
  223. b1 = Instance.new("BillboardGui",Head)
  224. b1.Size = UDim2.new(0,100,0,40)
  225. b1.StudsOffset = Vector3.new(0,3,0)
  226. b1.Adornee = Head
  227. b2 = Instance.new("TextLabel",b1)
  228. b2.BackgroundTransparency = 1
  229. coroutine.wrap(function()
  230. while wait() do
  231. b2.Text = "Squatting level: "..thetext
  232. end
  233. end)()
  234. b2.Font = "Arcade"
  235. b2.TextSize = 30
  236. b2.TextStrokeTransparency = 0
  237. b2.TextColor3 = BrickColor.new("Lime green").Color
  238. b2.TextStrokeColor3 = Color3.new(0,0,0)
  239. b2.Size = UDim2.new(1,0,0.5,0)
  240.  
  241. screenGui = Instance.new("ScreenGui")
  242. screenGui.Parent = script.Parent
  243.  
  244. fastmodee = Instance.new("TextButton")
  245. fastmodee.Parent = screenGui
  246. fastmodee.TextScaled = true
  247. fastmodee.Font = "Arcade"
  248. fastmodee.BackgroundTransparency = 1
  249. fastmodee.Position = UDim2.new(0, 1200, 0, 530)
  250. fastmodee.Size = UDim2.new(0, 150, 0, 50)
  251. fastmodee.BackgroundColor3 = BrickColor.White().Color
  252. fastmodee.Text = "Fast mode"
  253. fastmodee.TextColor = BrickColor.new("Really red")
  254. fastmode = false
  255.  
  256. fastmodee.MouseButton1Down:connect(function()
  257. if not fastmode then
  258. fastmode = true
  259. fastmodee.TextColor = BrickColor.new("Lime green")
  260. elseif fastmode then
  261. fastmodee.TextColor = BrickColor.new("Really red")
  262. fastmode = false
  263. end
  264. end)
  265.  
  266. squatw = Instance.new("TextLabel")
  267. squatw.Parent = screenGui
  268. squatw.TextScaled = true
  269. squatw.Font = "Arcade"
  270. squatw.BackgroundTransparency = 1
  271. squatw.Position = UDim2.new(0, 620, 0, 530)
  272. squatw.Size = UDim2.new(0, 150, 0, 50)
  273. squatw.BackgroundColor3 = BrickColor.White().Color
  274. squatw.Text = "Squats"
  275.  
  276. squatcounter = Instance.new("TextLabel")
  277. squatcounter.Parent = screenGui
  278. squatcounter.TextScaled = true
  279. squatcounter.Font = "Arcade"
  280. squatcounter.BackgroundTransparency = 1
  281. squatcounter.Position = UDim2.new(0, 544, 0, 555)
  282. squatcounter.Size = UDim2.new(0, 300, 0, 100)
  283. squatcounter.BackgroundColor3 = BrickColor.White().Color
  284. squatcounter.Text = "0"
  285.  
  286. light = Instance.new("PointLight", Torso)
  287. light.Color = Color3.new(0,0,0)
  288. light.Range = 0
  289. light.Brightness = 0
  290.  
  291. coroutine.wrap(function()
  292. c = 0
  293. while wait(.15) do
  294. c = c + 5
  295. squatcounter.Text = squats.Value
  296. if squats.Value > 199 then
  297. light.Range = 40
  298. light.Brightness = 40
  299. light.Color = BrickColor.Random().Color
  300. b2.TextColor3 = BrickColor.Random().Color
  301. squatcounter.TextColor3 = b2.TextColor3
  302. squatw.TextColor3 = b2.TextColor3
  303. end
  304. end
  305. end)()
  306.  
  307. coroutine.wrap(function()
  308. while wait() do
  309. if squats.Value > 199 then break end
  310. end
  311. sound = Instance.new("Sound",Torso)
  312. sound.Volume = 1
  313. sound.SoundId = "rbxassetid://157709133"
  314. sound:Play()
  315. particlemiter1 = Instance.new("ParticleEmitter", Torso)
  316. particlemiter1.Enabled = true
  317. particlemiter1.Texture = "rbxassetid://1955503112"
  318. particlemiter1.Lifetime = NumberRange.new(2.5)
  319. particlemiter1.Size = NumberSequence.new(1,0)
  320. particlemiter1.Rate = 50
  321. particlemiter1.VelocitySpread = 2000
  322. particlemiter1.RotSpeed = NumberRange.new(70)
  323. particlemiter1.Speed = NumberRange.new(50)
  324. particlemiter2 = Instance.new("ParticleEmitter", Torso)
  325. particlemiter2.Enabled = true
  326. particlemiter2.Texture = "rbxassetid://1956041489"
  327. particlemiter2.Lifetime = NumberRange.new(2.5)
  328. particlemiter2.Size = NumberSequence.new(1,0)
  329. particlemiter2.Rate = 50
  330. particlemiter2.VelocitySpread = 2000
  331. particlemiter2.RotSpeed = NumberRange.new(150)
  332. particlemiter2.Speed = NumberRange.new(50)
  333. particlemiter3 = Instance.new("ParticleEmitter", Torso)
  334. particlemiter3.Enabled = true
  335. particlemiter3.Texture = "rbxassetid://1956041141"
  336. particlemiter3.Lifetime = NumberRange.new(2.5)
  337. particlemiter3.Size = NumberSequence.new(1,0)
  338. particlemiter3.Rate = 50
  339. particlemiter3.VelocitySpread = 2000
  340. particlemiter3.RotSpeed = NumberRange.new(150)
  341. particlemiter3.Speed = NumberRange.new(50)
  342. coroutine.wrap(function()
  343. wait(1)
  344. bb1 = Instance.new("BillboardGui",Head)
  345. bb1.Size = UDim2.new(2.4,0,.9,0)
  346. bb1.StudsOffset = Vector3.new(0,6,0)
  347. bb1.AlwaysOnTop = true
  348. bb1.Adornee = Head
  349. smokeweed = Instance.new("ImageLabel",bb1)
  350. smokeweed.BackgroundTransparency = 1
  351. smokeweed.Image = "rbxassetid://293105733"
  352. smokeweed.Size = UDim2.new(1,0,1.5,0)
  353. for i = 1, 20 do
  354. bb1.StudsOffset = bb1.StudsOffset - Vector3.new(0,.28,0)
  355. wait()
  356. end
  357. end)()
  358. frame = Instance.new("Frame")
  359. frame.Parent = screenGui
  360. frame.Position = UDim2.new(0, 8, 0, -500)
  361. frame.Size = UDim2.new(100000000,10000000,10000000,10000000)
  362. frame.BackgroundColor3 = BrickColor.new("White").Color
  363. frame.BackgroundTransparency = 0
  364. ball = Instance.new("Part",Torso)
  365. ball.Shape = "Ball"
  366. ball.Size = Vector3.new(0,0,0)
  367. ball.BrickColor = BrickColor.new("White")
  368. ball.Anchored = true
  369. ball.CanCollide = false
  370. ball.Material = "Neon"
  371. ball.CFrame = Torso.CFrame
  372. coroutine.wrap(function()
  373. for i = 1, 20 do
  374. ball.Transparency = ball.Transparency + 0.05
  375. ball.Size = ball.Size + Vector3.new(2,2,2)
  376. wait()
  377. end
  378. end)()
  379. wait(.5)
  380. for i = 1, 20 do
  381. frame.BackgroundTransparency = frame.BackgroundTransparency + 0.05
  382. wait()
  383. end
  384. end)()
  385.  
  386. coroutine.wrap(function()
  387. settime = 0.05
  388. while wait() do
  389. if squats.Value > 199 then
  390. hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
  391. squatw.Rotation = squatw.Rotation + 10
  392. squatcounter.Position = UDim2.new(0, math.random(530,550), 0, math.random(550,570))
  393. sine = sine + change
  394. ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 + 15 * math.sin(sine/12))),.3)
  395. end
  396. end
  397. end)()
  398.  
  399. mouse.Button1Down:connect(function()
  400. if up then
  401. up = false
  402. down = true
  403. downn:Play()
  404. ROOTLERP.C0 = CFrame.new(0, -.8, 0)
  405. RIGHTLEGLERP.C0 = CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0))
  406. LEFTLEGLERP.C0 = CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0))
  407. elseif down then
  408. down = false
  409. up = true
  410. upp:Play()
  411. if fastmode then
  412. squats.Value = squats.Value + 5
  413. elseif not fastmode then
  414. squats.Value = squats.Value + 1
  415. end
  416. ROOTLERP.C0 = CFrame.new(0, 0, 0)
  417. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  418. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  419. end
  420. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement