infinity

Run Settings
LanguageLua
Language Version
Run Command
local character = nil --local INFINITY=true if owner.Character and owner.Character:FindFirstChild("HumanoidRootPart") then character = owner.Character else owner:LoadCharacter() end function newthread(f) coroutine.wrap(f)() end local c = {} local function clear() for i, _ in next , c do c[i]:Disconnect() end table.clear(c) print("Cleared Connections.") end local slowdow={ 15317929409, 15317921081 } function newsound(p,id) local a=Instance.new("Sound",p) a.Volume=3 a.SoundId="rbxassetid://"..id a.PlayOnRemove=true a:Destroy() end function update() if character ~= owner.Character and owner.Character:FindFirstChild("HumanoidRootPart") then character = owner.Character local v = Instance.new("ForceField") v.Visible = false v.Parent = character clear() end pcall(function() local humanoid=owner.Character:FindFirstChildWhichIsA("Humanoid") humanoid.Health=humanoid.MaxHealth end) if character and character:FindFirstChild("HumanoidRootPart") and character:FindFirstChild("Humanoid") then local h : Humanoid = character.Humanoid local hr : Part = character.HumanoidRootPart hr.Anchored = false local lap = OverlapParams.new() lap.FilterDescendantsInstances ={character,owner.Character} lap.FilterType =Enum.RaycastFilterType.Exclude local p = workspace:GetPartBoundsInRadius(character.HumanoidRootPart.Position,13,lap) for _ ,v in next , p do if v.Parent and v.Parent:IsA("Model") and v.Parent:FindFirstChildOfClass("Humanoid") and not v:IsDescendantOf(owner.Character) then local h = v.Parent:FindFirstChildOfClass("Humanoid") local root = h.RootPart or h.Torso if root then local lenght = (character.HumanoidRootPart.Position - root.Position).Magnitude if lenght >= 13 then h.WalkSpeed = 16 if h:FindFirstChildOfClass("Animator") then h:FindFirstChildOfClass("Animator") for _ ,v in next , h:FindFirstChildOfClass("Animator"):GetPlayingAnimationTracks() do v:AdjustSpeed(1) end end else h.WalkSpeed = 16*((lenght-6)/16) if h:FindFirstChildOfClass("Animator") then h:FindFirstChildOfClass("Animator") for _ ,v in next , h:FindFirstChildOfClass("Animator"):GetPlayingAnimationTracks() do v:AdjustSpeed(1*((lenght-6)/16)) end end end if lenght <= 6 then pcall(function() -- root.CFrame = root.CFrame end) end root.Velocity=root.Velocity/ 2*((lenght-6)/2.5) root.RotVelocity=root.RotVelocity/ 2*((lenght-6)/2.5) end elseif v:IsA("Part") then if not v.Anchored then local oldvel local oldrotvel if not v:GetAttribute("oldvel") or v:GetAttribute("oldvel")==nil then v:SetAttribute("oldvel",v.Velocity) oldvel=v:GetAttribute("oldvel") end if v:GetAttribute("oldvel") then oldvel=v:GetAttribute("oldvel") end if not v:GetAttribute("oldrot") or v:GetAttribute("oldrot")==nil then v:SetAttribute("oldrot",v.RotVelocity) oldrotvel=v:GetAttribute("oldrot") local gra=math.random() end if v:GetAttribute("oldrot") then oldrotvel=v:GetAttribute("oldrot") end local lenght = (character.HumanoidRootPart.Position - v.Position).Magnitude v.Velocity=v.Velocity/ 2*((lenght-6)/4) v.RotVelocity=v.RotVelocity/ 2*((lenght-6)/4) if lenght <6 then v.Anchored=true wait() v.Anchored=false end if lenght>13 then v.Velocity=oldvel v:SetAttribute("oldvel",nil) v.RotVelocity=oldrotvel v:SetAttribute("oldrot",nil) end end end end end end game:GetService("RunService").Stepped:Connect(function(deltaTimeSim) update() end)
Editor Settings
Theme
Key bindings
Full width
Lines