Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --https://github.com/Mokiros/roblox-FE-compatibility
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,game,owner = owner,game
- local RealPlayer = Player
- 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!!!--
- --MAKE YOUR HOME COUNTRY PROUD!!!--
- --ROOOOOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHHHH!!!!!!!!!!!!!!!!!!!!!!!!--
- Player=game:GetService("Players").LocalPlayer
- Character=Player.Character
- Character.Humanoid.Name = "noneofurbusiness"
- hum = Character.noneofurbusiness
- LeftArm=Character["Left Arm"]
- LeftLeg=Character["Left Leg"]
- RightArm=Character["Right Arm"]
- RightLeg=Character["Right Leg"]
- Root=Character["HumanoidRootPart"]
- Head=Character["Head"]
- Torso=Character["Torso"]
- Neck=Torso["Neck"]
- mouse = Player:GetMouse()
- walking = false
- attacking = false
- running = false
- up = true
- down = false
- position = nil
- MseGuide = true
- squadid = 1947759284
- settime = 0.05
- sine = 0
- n = 0
- change = 1
- t = 0
- dgs = 75
- mouse = Player:GetMouse()
- RunSrv = game:GetService("RunService")
- RenderStepped = game:GetService("RunService").RenderStepped
- jurgenhurs = Instance.new("Sound",Torso)
- jurgenhurs.Volume = 4
- jurgenhurs.SoundId = "rbxassetid://1956230717"
- mouse.KeyDown:connect(function(Press)
- Press=Press:lower()
- if Press=='t' then
- jurgenhurs:Play()
- end
- end)
- godmode = coroutine.wrap(function()
- while true do
- hum.MaxHealth = math.huge
- wait(0.0000001)
- hum.Health = math.huge
- wait()
- end
- end)
- godmode()
- ff = Instance.new("ForceField", Character)
- ff.Visible = false
- squats = Instance.new("NumberValue")
- squats.Value = 0
- squatmusic = Instance.new("Sound",Torso)
- squatmusic.Volume = 5
- squatmusic.SoundId = "rbxassetid://"..squadid
- squatmusic.Looped = true
- squatmusic:Play()
- upp = Instance.new("Sound",Torso)
- upp.Volume = 5
- upp.Pitch = 1.1
- upp.SoundId = "rbxassetid://1948055056"
- downn = Instance.new("Sound",Torso)
- downn.Volume = 5
- downn.Pitch = 1.1
- downn.SoundId = "rbxassetid://1948024901"
- local function weldBetween(a, b)
- local weld = Instance.new("ManualWeld", a)
- weld.Part0 = a
- weld.Part1 = b
- weld.C0 = a.CFrame:inverse() * b.CFrame
- return weld
- end
- coroutine.wrap(function()
- while wait() do
- squatmusic.SoundId = "rbxassetid://"..squadid
- squatmusic.Looped = true
- squatmusic.Pitch = 1
- squatmusic.Volume = 5
- squatmusic.Parent = Torso
- squatmusic:Resume()
- upp.Volume = 5
- upp.Pitch = 1.1
- upp.SoundId = "rbxassetid://1948055056"
- downn.Volume = 5
- downn.Pitch = 1.1
- downn.SoundId = "rbxassetid://1948024901"
- if squats.Value < 10 then
- squadid = 1947759284
- squatmusic.SoundId = "rbxassetid://1947759284"
- elseif squats.Value < 25 then
- squadid = 1947760455
- squatmusic.SoundId = "rbxassetid://1947760455"
- elseif squats.Value < 50 then
- squadid = 1947762276
- squatmusic.SoundId = "rbxassetid://1947762276"
- elseif squats.Value < 100 then
- squadid = 1947763068
- squatmusic.SoundId = "rbxassetid://1947763068"
- elseif squats.Value < 150 then
- squadid = 1947763686
- squatmusic.SoundId = "rbxassetid://1947763686"
- elseif squats.Value < 199 then
- squadid = 1956489244
- squatmusic.SoundId = "rbxassetid://1956489244"
- elseif squats.Value > 199 then
- squadid = 1947764477
- squatmusic.Volume = 10
- squatmusic.SoundId = "rbxassetid://1947764477"
- end
- end
- end)()
- coroutine.wrap(function()
- while true do
- if squats.Value > 199 then
- for i = 1, 20 do
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView - 2
- wait()
- end
- for i = 1, 20 do
- game.Workspace.CurrentCamera.FieldOfView = game.Workspace.CurrentCamera.FieldOfView + 2
- wait()
- end
- end
- wait()
- end
- end)()
- DOYOUEVENLIFT = Instance.new("Part",Character)
- DOYOUEVENLIFT.Size = Vector3.new(1.01,1.01,1.01)
- DOYOUEVENLIFT.CanCollide = false
- DOYOUEVENLIFT.Transparency = 0
- DOYOUEVENLIFT.BrickColor = BrickColor.new("White")
- DOYOUEVENLIFT.Material = "Neon"
- DOYOUEVENLIFT.CFrame = Torso.CFrame
- DOYOUEVENLIFTmesh = Instance.new("SpecialMesh",DOYOUEVENLIFT)
- DOYOUEVENLIFTmesh.MeshId = "rbxassetid://122333663"
- DOYOUEVENLIFTmesh.TextureId = "rbxassetid://122333759"
- DOYOUEVENLIFTmesh.Scale = Vector3.new(1.9,2,2)
- DOYOUEVENLIFTweld = weldBetween(DOYOUEVENLIFT,Torso)
- DOYOUEVENLIFTweld.C0 = CFrame.new(0,-2.55,0)
- local HEADLERP = Instance.new("ManualWeld")
- HEADLERP.Parent = Head
- HEADLERP.Part0 = Head
- HEADLERP.Part1 = Head
- HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local TORSOLERP = Instance.new("ManualWeld")
- TORSOLERP.Parent = Root
- TORSOLERP.Part0 = Torso
- TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local ROOTLERP = Instance.new("ManualWeld")
- ROOTLERP.Parent = Root
- ROOTLERP.Part0 = Root
- ROOTLERP.Part1 = Torso
- ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local RIGHTARMLERP = Instance.new("ManualWeld")
- RIGHTARMLERP.Parent = RightArm
- RIGHTARMLERP.Part0 = RightArm
- RIGHTARMLERP.Part1 = Torso
- RIGHTARMLERP.C0 = CFrame.new(-1.3,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(10))
- local LEFTARMLERP = Instance.new("ManualWeld")
- LEFTARMLERP.Parent = LeftArm
- LEFTARMLERP.Part0 = LeftArm
- LEFTARMLERP.Part1 = Torso
- LEFTARMLERP.C0 = CFrame.new(1.3,1.7,0) * CFrame.Angles(math.rad(180),math.rad(0),math.rad(-10))
- local RIGHTLEGLERP = Instance.new("ManualWeld")
- RIGHTLEGLERP.Parent = RightLeg
- RIGHTLEGLERP.Part0 = RightLeg
- RIGHTLEGLERP.Part1 = Torso
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- local LEFTLEGLERP = Instance.new("ManualWeld")
- LEFTLEGLERP.Parent = LeftLeg
- LEFTLEGLERP.Part0 = LeftLeg
- LEFTLEGLERP.Part1 = Torso
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- thetext = "Noob"
- coroutine.wrap(function()
- while wait() do
- if squats.Value < 10 then
- thetext = "Noob"
- elseif squats.Value < 25 then
- thetext = "Rookie"
- elseif squats.Value < 50 then
- thetext = "Amateur"
- elseif squats.Value < 100 then
- thetext = "Pro"
- elseif squats.Value < 150 then
- thetext = "Master"
- elseif squats.Value < 199 then
- thetext = "Legendary"
- elseif squats.Value > 199 then
- thetext = "OUT OF THIS WORLD!"
- end
- end
- end)()
- b1 = Instance.new("BillboardGui",Head)
- b1.Size = UDim2.new(0,100,0,40)
- b1.StudsOffset = Vector3.new(0,3,0)
- b1.Adornee = Head
- b2 = Instance.new("TextLabel",b1)
- b2.BackgroundTransparency = 1
- coroutine.wrap(function()
- while wait() do
- b2.Text = "Squatting level: "..thetext
- end
- end)()
- b2.Font = "Arcade"
- b2.TextSize = 30
- b2.TextStrokeTransparency = 0
- b2.TextColor3 = BrickColor.new("Lime green").Color
- b2.TextStrokeColor3 = Color3.new(0,0,0)
- b2.Size = UDim2.new(1,0,0.5,0)
- screenGui = Instance.new("ScreenGui")
- screenGui.Parent = script.Parent
- fastmodee = Instance.new("TextButton")
- fastmodee.Parent = screenGui
- fastmodee.TextScaled = true
- fastmodee.Font = "Arcade"
- fastmodee.BackgroundTransparency = 1
- fastmodee.Position = UDim2.new(0, 1200, 0, 530)
- fastmodee.Size = UDim2.new(0, 150, 0, 50)
- fastmodee.BackgroundColor3 = BrickColor.White().Color
- fastmodee.Text = "Fast mode"
- fastmodee.TextColor = BrickColor.new("Really red")
- fastmode = false
- fastmodee.MouseButton1Down:connect(function()
- if not fastmode then
- fastmode = true
- fastmodee.TextColor = BrickColor.new("Lime green")
- elseif fastmode then
- fastmodee.TextColor = BrickColor.new("Really red")
- fastmode = false
- end
- end)
- squatw = Instance.new("TextLabel")
- squatw.Parent = screenGui
- squatw.TextScaled = true
- squatw.Font = "Arcade"
- squatw.BackgroundTransparency = 1
- squatw.Position = UDim2.new(0, 620, 0, 530)
- squatw.Size = UDim2.new(0, 150, 0, 50)
- squatw.BackgroundColor3 = BrickColor.White().Color
- squatw.Text = "Squats"
- squatcounter = Instance.new("TextLabel")
- squatcounter.Parent = screenGui
- squatcounter.TextScaled = true
- squatcounter.Font = "Arcade"
- squatcounter.BackgroundTransparency = 1
- squatcounter.Position = UDim2.new(0, 544, 0, 555)
- squatcounter.Size = UDim2.new(0, 300, 0, 100)
- squatcounter.BackgroundColor3 = BrickColor.White().Color
- squatcounter.Text = "0"
- light = Instance.new("PointLight", Torso)
- light.Color = Color3.new(0,0,0)
- light.Range = 0
- light.Brightness = 0
- coroutine.wrap(function()
- c = 0
- while wait(.15) do
- c = c + 5
- squatcounter.Text = squats.Value
- if squats.Value > 199 then
- light.Range = 40
- light.Brightness = 40
- light.Color = BrickColor.Random().Color
- b2.TextColor3 = BrickColor.Random().Color
- squatcounter.TextColor3 = b2.TextColor3
- squatw.TextColor3 = b2.TextColor3
- end
- end
- end)()
- coroutine.wrap(function()
- while wait() do
- if squats.Value > 199 then break end
- end
- sound = Instance.new("Sound",Torso)
- sound.Volume = 1
- sound.SoundId = "rbxassetid://157709133"
- sound:Play()
- particlemiter1 = Instance.new("ParticleEmitter", Torso)
- particlemiter1.Enabled = true
- particlemiter1.Texture = "rbxassetid://1955503112"
- particlemiter1.Lifetime = NumberRange.new(2.5)
- particlemiter1.Size = NumberSequence.new(1,0)
- particlemiter1.Rate = 50
- particlemiter1.VelocitySpread = 2000
- particlemiter1.RotSpeed = NumberRange.new(70)
- particlemiter1.Speed = NumberRange.new(50)
- particlemiter2 = Instance.new("ParticleEmitter", Torso)
- particlemiter2.Enabled = true
- particlemiter2.Texture = "rbxassetid://1956041489"
- particlemiter2.Lifetime = NumberRange.new(2.5)
- particlemiter2.Size = NumberSequence.new(1,0)
- particlemiter2.Rate = 50
- particlemiter2.VelocitySpread = 2000
- particlemiter2.RotSpeed = NumberRange.new(150)
- particlemiter2.Speed = NumberRange.new(50)
- particlemiter3 = Instance.new("ParticleEmitter", Torso)
- particlemiter3.Enabled = true
- particlemiter3.Texture = "rbxassetid://1956041141"
- particlemiter3.Lifetime = NumberRange.new(2.5)
- particlemiter3.Size = NumberSequence.new(1,0)
- particlemiter3.Rate = 50
- particlemiter3.VelocitySpread = 2000
- particlemiter3.RotSpeed = NumberRange.new(150)
- particlemiter3.Speed = NumberRange.new(50)
- coroutine.wrap(function()
- wait(1)
- bb1 = Instance.new("BillboardGui",Head)
- bb1.Size = UDim2.new(2.4,0,.9,0)
- bb1.StudsOffset = Vector3.new(0,6,0)
- bb1.AlwaysOnTop = true
- bb1.Adornee = Head
- smokeweed = Instance.new("ImageLabel",bb1)
- smokeweed.BackgroundTransparency = 1
- smokeweed.Image = "rbxassetid://293105733"
- smokeweed.Size = UDim2.new(1,0,1.5,0)
- for i = 1, 20 do
- bb1.StudsOffset = bb1.StudsOffset - Vector3.new(0,.28,0)
- wait()
- end
- end)()
- frame = Instance.new("Frame")
- frame.Parent = screenGui
- frame.Position = UDim2.new(0, 8, 0, -500)
- frame.Size = UDim2.new(100000000,10000000,10000000,10000000)
- frame.BackgroundColor3 = BrickColor.new("White").Color
- frame.BackgroundTransparency = 0
- ball = Instance.new("Part",Torso)
- ball.Shape = "Ball"
- ball.Size = Vector3.new(0,0,0)
- ball.BrickColor = BrickColor.new("White")
- ball.Anchored = true
- ball.CanCollide = false
- ball.Material = "Neon"
- ball.CFrame = Torso.CFrame
- coroutine.wrap(function()
- for i = 1, 20 do
- ball.Transparency = ball.Transparency + 0.05
- ball.Size = ball.Size + Vector3.new(2,2,2)
- wait()
- end
- end)()
- wait(.5)
- for i = 1, 20 do
- frame.BackgroundTransparency = frame.BackgroundTransparency + 0.05
- wait()
- end
- end)()
- coroutine.wrap(function()
- settime = 0.05
- while wait() do
- if squats.Value > 199 then
- hum.CameraOffset = Vector3.new(math.random(-1,1),math.random(-1,1),math.random(-0,0))
- squatw.Rotation = squatw.Rotation + 10
- squatcounter.Position = UDim2.new(0, math.random(530,550), 0, math.random(550,570))
- sine = sine + change
- ROOTLERP.C1 = ROOTLERP.C1:lerp(CFrame.Angles(math.rad(0), math.rad(0), math.rad(0 + 15 * math.sin(sine/12))),.3)
- end
- end
- end)()
- mouse.Button1Down:connect(function()
- if up then
- up = false
- down = true
- downn:Play()
- ROOTLERP.C0 = CFrame.new(0, -.8, 0)
- RIGHTLEGLERP.C0 = CFrame.new(-0.52, 1.2, .55) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0))
- LEFTLEGLERP.C0 = CFrame.new(0.52, 1.2, .55) * CFrame.Angles(math.rad(20), math.rad(0), math.rad(0))
- elseif down then
- down = false
- up = true
- upp:Play()
- if fastmode then
- squats.Value = squats.Value + 5
- elseif not fastmode then
- squats.Value = squats.Value + 1
- end
- ROOTLERP.C0 = CFrame.new(0, 0, 0)
- RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement