Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("FE Compatibility code by Mokiros");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end,__call=function(self,...)local t=rawget(self,"_RealService")if t then return t(...)end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,{__index=function(self,t)return r:GetService(t)or typeof(r[t])=="function"and function(m,...)return r[t](r,...)end or r[t]end,__newindex=s.__newindex,__call=s.__call})game,owner=x,x.Players.LocalPlayer
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Sounds = {};
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- --LoadLibrary("RbxUtility").Create
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- --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