Universal Script 📌
2.5k Views
2.8k Executions

Shader

Universal Script 📌
akkii
akkii10K executions
10 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 shader script features dynamic lighting and shadow enhancement, with a built-in night mode toggle."

Updates

  1. Script edited: Update script

View Raw
-- AK.GUI - シェーダーエフェクトGUI(白黒機能追加版)
local Players = game:GetService("Players")
local UserInputService = game:GetService("UserInputService")
local SoundService = game:GetService("SoundService")
local Lighting = game:GetService("Lighting")
local RunService = game:GetService("RunService")

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

-- 音声アセットID
local START_SOUND_ID = "1837769261"      -- スクリプト読み込み時の音声
local BUTTON_SOUND_ID = "115916891254154"  -- ボタン操作時の音声

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

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

-- 現在の照明設定を保存(リセット用)
local originalLighting = {
    ClockTime = Lighting.ClockTime,
    Brightness = Lighting.Brightness,
    Ambient = Lighting.Ambient,
    OutdoorAmbient = Lighting.OutdoorAmbient,
    ColorShift_Top = Lighting.ColorShift_Top,
    ColorShift_Bottom = Lighting.ColorShift_Bottom,
    FogColor = Lighting.FogColor,
    FogStart = Lighting.FogStart,
    FogEnd = Lighting.FogEnd,


Comments

1
Log in to join the conversation. Login
De*666's profile picture
De*6663 months ago

使ってみたよ 普通にシェーダーでしたね!綺麗でしたので 次のアッキーさんのシェーダースクリプトを使います

1