Universal Script 📌
46 Views
6 Executions

Auto Piano and Piano scanner

Universal Script 📌
FunkyScriptz
FunkyScriptz10K executions
3 days ago · Updated

Reviewed by QueueSherlockPaid revieweron How review works

Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Good for Aura farming

View Raw
--[[
    Auto Piano Scanner v4
    - "A" button (right side)  -> show / hide the music panel
    - Scanner box keeps scanning + playing even while the panel is hidden
    - "BOX" button in the header -> show / hide the scanner box visuals only
    - Small red stop button appears next to "A" while a song is playing
    - Play presses the detected keys using TOUCH input
]]

local Players = game:GetService("Players")
local UIS = game:GetService("UserInputService")
local GuiService = game:GetService("GuiService")
local HttpService = game:GetService("HttpService")
local TweenService = game:GetService("TweenService")
local VIM = game:GetService("VirtualInputManager")

local lp = Players.LocalPlayer
local playerGui = lp:WaitForChild("PlayerGui")
local httpRequest = request or http_request or (syn and syn.request) or (http and http.request)

-- remove the previous instance if the script is executed again
pcall(function()
    if getgenv and getgenv().AutoPianoGui then
        getgenv().AutoPianoGui:Destroy()
    end
end)

---------------------------------------------------------------------
-- MIDI parser -> list of {time = seconds, n = note number}
---------------------------------------------------------------------
local function parseMidi(s)
    assert(s:sub(1, 4) == "MThd", "not a MIDI file")
    local hlen = string.unpack(">I4", s, 5)
    local _, _, division = string.unpack(">I2I2I2", s, 9)
    local pos = 9 + hlen
    local notes, tempos = {}, {}

    local function vlq()
        local v = 0
        repeat


Comments

0
Log in to join the conversation. Login
No comments yet. Be the first!

More universal scripts

See all
Script hub
7
0
Approved 4 minutes ago
Key System

Script hub

Void Hub

Universal Script 📌
24
4
Approved 34 minutes ago
Universal Script 📌
3.3k
1.8k
Bumped 1 hour ago
Universal Script 📌
69
14
Approved 2 hours ago