It’s me again! With another problem!
So in my game, I’m trying to manipulate the camera during the title screen.
Here’s the plan:
(Game is loaded)
-Screen is blurred and tinted black-
-Text slowly drops in from the top-
-Start button appears-
(End)
I’m pretty sure I can script it so the button to start the game appears easy-peasy, but I can’t seem to get the camera stuff and UI “Animation” (It’s in quotes, because it’s literally just falling slowly from the top) to work correctly. Please help!
Oh yeah, here’s my script by the way
local camera = game.Workspace.CurrentCamera
local TitleScreen = game.StarterGui.TitleScreen.TextLabel
local Blur = game.Workspace.CurrentCamera.Blur
local ColorCorrection = game.Workspace.CurrentCamera.ColorCorrection
local function TitleScreen()
Blur.Enabled = true
ColorCorrection.Enabled = true
TitleScreen.AnchorPoint = Vector2.new(0.5, 0.5)
TitleScreen.Position = UDim2.new({0.032, 0},{-0.314, 0})
wait(2)
TitleScreen:TweenPosition(UDim2.new({0.163, 0},{0.305, 0}))
end
game:GetService("Players").PlayerAdded:Connect(TitleScreen())
Pretty sure that the positions in the parenthesis are all wonky. Not really sure how they work or why they’re there. Also, I didn’t put the script for the start button to appear yet.