Universal Script 📌
5.6k Views
1.2k Executions

backrooms

Universal Script 📌
8 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

This is aimed at completing the backroom on the client side, and the target [entity] NPC also operates completely on the client side.

View Raw
-- AK.GUI - 迷路バックルームズ専用機能 (7300スタッド版 + 完全生成 + エンティティ)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local SoundService = game:GetService("SoundService")
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")
local CollectionService = game:GetService("CollectionService")

local player = Players.LocalPlayer
local playerGui = player:WaitForChild("PlayerGui")

-- 音声アセットID
local START_SOUND_ID = "1837769261"
local BUTTON_SOUND_ID = "115916891254154"
local BACKROOMS_SOUND_ID = "131147973"
local ENTITY_SOUND_ID = "138013032"
local ATTACK_SOUND_ID = "159698324"

-- 音声再生関数
local function playSound(soundId, volume)
    volume = volume or 0.5
    local sound = Instance.new("Sound")
    sound.SoundId = "rbxassetid://" .. soundId
    sound.Volume = volume
    sound.Parent = SoundService
    sound:Play()
    
    sound.Ended:Connect(function()
        sound:Destroy()
    end)
end

-- スクリプト読み込み時の音声再生
playSound(START_SOUND_ID)

-- GUI作成
local screenGui = Instance.new("ScreenGui")
screenGui.Name = "AK_GUI"
screenGui.ResetOnSpawn = false


Comments

3
Log in to join the conversation. Login
kxrkoo's profile picture
kxrkoo8 months ago

what game?

2
SaturnGoup's profile picture
SaturnGoupUploader8 months ago

@kxrkoo ユニバーサルスクリプトです

1

[deleted]

Replying to a deleted comment
SaturnGoup's profile picture
SaturnGoupUploader8 months ago

@whocareslittlebro オープンソースを望んでいます

1