Auto Play
Key Required

Auto Play

[CURSOR TRAIL!] Sound Space 🎶 Rhythm GameStaLLyyyyStaLLyyyy 3.1K views 947 executesUpdated Apr 18, 2026
5.0/ 5(2 votes)
20100% Positive
Lua Script•85 lines (2637 chars)
local Players = game:GetService("Players")
local Workspace = game:GetService("Workspace")
local RunService = game:GetService("RunService")
local UserInputService = game:GetService("UserInputService")
local StarterGui = game:GetService("StarterGui")
local LocalPlayer = Players.LocalPlayer
local Camera = Workspace.CurrentCamera

local autoplay_enabled = false
local smooth_factor = 1

local function sendNotification(text)
    StarterGui:SetCore("SendNotification", {
        Title = "SoundSpace",
        Text = text,
        Duration = 3
    })
end

RunService.RenderStepped:Connect(function()
    if not autoplay_enabled then 
        return 
    end
    
    local character = LocalPlayer.Character
    if not character then return end
    
    local client = Workspace:FindFirstChild("Client")
    if not client then return end
    
    local game_folder = client:FindFirstChild("Game")
    if not game_folder then return end
    
    if not Camera then
        Camera = Workspace.CurrentCamera
        if not Camera then return end
    end
    
    local cam_pos = Camera.CFrame.Position
    local closest_marker = nil
    local closest_distance = math.huge
    
    for _, marker in pairs(game_folder:GetDescendants()) do
        if marker:IsA("Part") and marker:GetAttribute("EffectColor") ~= nil then
            local marker_pos = marker.Position
            local distance = (cam_pos - marker_pos).Magnitude
            
            if distance < closest_distance then
                closest_distance = distance
                closest_marker = marker
            end
        end
    end
    
    if closest_marker then
        local target_pos = closest_marker.Position
        local screen_pos, on_screen = Camera:WorldToViewportPoint(target_pos)
        
        if on_screen then
            local target_x = screen_pos.X
            local target_y = screen_pos.Y
            
            local current_mouse = UserInputService:GetMouseLocation()
            local diff_x = (target_x - current_mouse.X) * smooth_factor
            local diff_y = (target_y - current_mouse.Y) * smooth_factor
            
            mousemoverel(diff_x, diff_y)
        end
    end
end)

UserInputService.InputBegan:Connect(function(input, gameProcessed)
    if gameProcessed then return end
    
    if input.KeyCode == Enum.KeyCode.N then
        autoplay_enabled = not autoplay_enabled
        if autoplay_enabled then
            sendNotification("Auto Play enabled! (N)")
        else
            sendNotification("Auto Play disabled! (N)")
        end
    end
end)

sendNotification("SoundSpace Auto Play loaded! Press N to enable")

Features & Information

Auto Play
#SoundSpace#AutoPlay#Script

Community Comments (1)

it works but doesnt work correctly it moves to the wrong spots and teleports where ever it wants even if it is incorrect

More Scripts for [CURSOR TRAIL!] Sound Space 🎶 Rhythm Game