
2.5k Views
2.8k Executions
Does it work?
No reports yetNo 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
Script edited: Update script
-- 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,







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