local localPlayer = game.Players.LocalPlayer local playerGui = localPlayer:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "JumpscareGui" screenGui.IgnoreGuiInset = true screenGui.Parent = playerGui local imageLabel = Instance.new("ImageLabel") imageLabel.Name = "JumpscareImage" imageLabel.Image = "rbxassetid://9018233362" --image id here imageLabel.BackgroundTransparency = 1 imageLabel.Size = UDim2.new(1, 0, 1, 0) imageLabel.Position = UDim2.new(0, 0, 0, 0) imageLabel.Visible = true imageLabel.Parent = screenGui local sound = Instance.new("Sound") sound.Name = "JumpscareSound" sound.SoundId = "rbxassetid://9069609200" -- sound id here sound.Volume = 5 -- 可以調整音量大小 (0 到 10,或更高) sound.Looped = false sound.Parent = screenGui sound:Play() task.wait(9.149) screenGui:Destroy()