Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make it so that the blur goes away after they press play?

What should I put so that the blur would go away after the play pressed play?

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = workspace.CurrentCamera
local Title = script.Parent.GameTitle
local PlayButton = script.Parent.PlayButton

repeat wait()
	Camera.CameraType = Enum.CameraType.Scriptable
until Camera.CameraType == Enum.CameraType.Scriptable
Camera.CFrame = workspace.CameraPart.CFrame

PlayButton.MouseButton1Click:Connect(function()
	Camera.CameraType = Enum.CameraType.Custom
	PlayButton:Destroy()
	Title:Destroy()
	--What should I put in here so that i can get rid of the blur after they press play I was following a tutorial lol--
end)

1 answer

I suggest change it to this

local Player = game.Players.LocalPlayer
local Character = Player.Character or Player.CharacterAdded:Wait()
local Camera = workspace.CurrentCamera
local Title = script.Parent.GameTitle
local PlayButton = script.Parent.PlayButton
local Blur = Instance.new("BlurEffect", game.Lightning)
Blur.Name = "Blur"

PlayButton.MouseButton1Click:Connect(function()
    Blur:Destroy()
    PlayButton:Destroy()
    Title:Destroy()
end)

if it doesn't work dm me at Blue Duck#8902

1 comment

0

ok we were already having a convo in dis lol

This discussion is preserved as it was. New answers, comments, and votes are closed.