Universal Script 📌
142 Views
402 Executions

sunday morning rappin

Universal Script 📌
makinbands
makinbandsFirst script
3 months ago
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

In testing so try it out

View Raw
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local CollectionService = game:GetService("CollectionService")
local RunService = game:GetService("RunService")

local player = Players.LocalPlayer

local HitEvent = ReplicatedStorage:WaitForChild("NoteHit")

local AUTO_PLAY = true

-- Maximum timing difference allowed
local HIT_WINDOW = 0.12

local alreadyHit = {}

local validDirections = {
	Left = true,
	Down = true,
	Up = true,
	Right = true
}

local function hit(note)
	if alreadyHit[note] then
		return
	end

	if not note or not note.Parent then
		return
	end

	local direction = note:GetAttribute("Direction")

	if not validDirections[direction] then
		warn("Invalid note direction:", direction)
		return
	end

	alreadyHit[note] = true


Comments

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

More universal scripts

See all
Universal Script 📌
816
5.0k
Bumped 3 hours ago
Universal Script 📌
6.2k
54.4k
Bumped 3 hours ago
Universal Script 📌
2.5k
2.1k
Bumped 4 hours ago
Key System
Script hub
14.4k
75.1k
Bumped 6 hours ago
Universal Script 📌
108
143
Approved 7 hours ago
Key System
Universal Script 📌
110
185
Approved 8 hours ago