Universe reset
Key RequiredUniversal

Universe reset

Universal ScriptReiiiKReiiiK 3.8K views 48 executesUpdated Apr 2, 2025
3.3/ 5(3 votes)
2167% Positive
Lua Script•147 lines (5069 chars)
local eulerianPoints = game:GetService("Players")
local quantumTimeField = game:GetService("RunService")
local photonEnergies = game:GetService("Lighting")
local visionLens = game.Workspace.CurrentCamera
local primaryEntity = eulerianPoints.LocalPlayer
local biologicalForm = primaryEntity.Character or primaryEntity.CharacterAdded:Wait()
local heartOfCharacter = biologicalForm:FindFirstChild("HumanoidRootPart")
local sentientBeing = biologicalForm:FindFirstChild("Humanoid")
local spatialMotion = game:GetService("TweenService")
local resonanceEmitters = game:GetService("SoundService")

--// Settings
local gravitationalRadius = 10 -- the circle size u spin in
local orbitalVelocity = 400 -- orbit speed
local chronalDuration = 25 -- how long this lasts

--// Store the current stuff to restore later or something idka 
local initialCosmicCycle = photonEnergies.ClockTime
local initialSpatialCoordinates = heartOfCharacter.Position
local currentAnimationState = nil
local motionTrack = nil

--// ngiga sansdwihcih
function prepareRunAnimation()
    if not sentientBeing then return nil end
    
    local motionAnim = Instance.new("Animation")
    motionAnim.AnimationId = "rbxassetid://129168715099276" 
    
    local motionTrack = sentientBeing:LoadAnimation(motionAnim)
    motionTrack.Priority = Enum.AnimationPriority.Action
    motionTrack.Looped = true
    
    return motionTrack
end

function initiateUniverseResetSound()
    local vibration = Instance.new("Sound", resonanceEmitters)
    vibration.SoundId = "rbxassetid://8968843545" 
    vibration.Volume = 1
    vibration.Looped = true
    vibration:Play()
    
    local soundConnectionHandler
    soundConnectionHandler = task.spawn(function()
        for i = 1, chronalDuration * 40 do 
            if not vibration or not vibration.Parent then break end 
            vibration.PlaybackSpeed = 1 + (i / (chronalDuration * 40)) * 6 
            vibration.Volume = math.clamp(vibration.Volume + 0.1, 1, 8) 
            task.wait(0.03) 
        end

        if vibration and vibration.Parent then
            local fadeTime = 4
            local startVolume = vibration.Volume
            for i = 1, 20 do
                if not vibration or not vibration.Parent then break end
                vibration.Volume = startVolume * (1 - (i / 20))
                task.wait(fadeTime / 20)
            end
            vibration.Looped = false
            vibration:Stop()
            vibration:Destroy()
        end
    end)
    
    return vibration, soundConnectionHandler
end

function accelerateTimeFlow()
    photonEnergies.ClockTime = 0 
    
    task.spawn(function()
        for i = 1, chronalDuration * 50 do 
            photonEnergies.ClockTime = (photonEnergies.ClockTime + 0.8) % 24 
            task.wait(0.02)
        end
    end)
    
    task.delay(chronalDuration, function()
        photonEnergies.ClockTime = initialCosmicCycle
    end)
end

function initiateCircularMotion()
    local startMoment = tick()
    local motionTrack = prepareRunAnimation()
    
    if motionTrack then
        motionTrack:Play()
      
        task.spawn(function()
            for i = 1, chronalDuration * 20 do
                if not motionTrack.IsPlaying then break end
                motionTrack:AdjustSpeed(1 + (i / (chronalDuration * 20)) * 3) 
                task.wait(0.05)
            end
        end)
    end
    
    while tick() - startMoment < chronalDuration - 2 do
        local elapsed = tick() - startMoment
        local angle = elapsed * orbitalVelocity
        local x = math.cos(math.rad(angle)) * gravitationalRadius
        local z = math.sin(math.rad(angle)) * gravitationalRadius
        
        if heartOfCharacter then
            heartOfCharacter.CFrame = heartOfCharacter.CFrame:Lerp(
                CFrame.new(initialSpatialCoordinates) * CFrame.new(x, 0, z) * 
                CFrame.Angles(0, math.rad(angle + 90), 0),
                0.85
            )
        end
        task.wait()
    end
    
    if motionTrack and motionTrack.IsPlaying then
        motionTrack:Stop()
    end
    
    task.wait(0.5)
    if heartOfCharacter then
        local spatialTween = spatialMotion:Create(heartOfCharacter, TweenInfo.new(0.3, Enum.EasingStyle.Exponential, Enum.EasingDirection.Out), {CFrame = CFrame.new(initialSpatialCoordinates)})
        spatialTween:Play()
        spatialTween.Completed:Wait()
    end
end


local userInputService = game:GetService("UserInputService")
userInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end 
    if input.KeyCode == Enum.KeyCode.R then --// change keybind as u like ex: Enum.KeyCode.C for C
        local vibration, soundConnectionHandler = initiateUniverseResetSound()
        accelerateTimeFlow()
        initiateCircularMotion()

        task.delay(chronalDuration + 4, function() 
            if vibration and vibration.Parent then
                vibration:Stop()
                vibration:Destroy()
            end
        end)

        print("Universe Reset Complete")
    end
end)

Features & Information

reset tjheunvierser
#yes#no#sigma

Community Comments (0)

No comments yet for this script.

More Scripts for Universal Scripts