As the title says heres the script
function onButton1Down() game.Workspace.CurrentCamera:remove() wait(.1) game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom" end
script.Parent.MouseButton1Down:connect(onButton1Down)
It's like you join the game but for me the play button stays but i want it to show up in 5 seconds later and make it fade in so first they cannot see.
I have an intro where u join the game, the camera rotates until the player presses the play button, kills the camera and goes into game.
helpp :3
Im Not Sure If You Mean 5 Seconds Then Make The Play Button Fade In Or Play Button Fade Out After
debounce = false function FadeOut() local Play = script.Parent if Play.TextTransparency ~= 1 and Play.BackgroundTransparency ~= 1 and debounce == false then debounce = true for i=1,20 do Play.TextTransparency = Play.TextTransparency +.05 Play.BackgroundTransparency = Play.BackgroundTransparency +.05 wait(.25) end end end script.Parent.MouseButton1Click:connect(FadeOut)
So you can't make the GUI Button Fade? I can help you :D
function onButton1Down() game.Workspace.CurrentCamera:remove() script.Parent.WHATEVERYOURGUIISCALLED.BackgroundTransparency = 0.8 script.Parent.WHATEVERYOURGUIISCALLED.TextTransparency = 0.8 wait(1) script.Parent.WHATEVERYOURGUIISCALLED.BackgroundTransparency = 0.6 script.Parent.WHATEVERYOURGUIISCALLED.TextTransparency = 0.6 wait(1) script.Parent.WHATEVERYOURGUIISCALLED.BackgroundTransparency = 0.4 script.Parent.WHATEVERYOURGUIISCALLED.TextTransparency = 0.4 wait(1) script.Parent.WHATEVERYOURGUIISCALLED.BackgroundTransparency = 0.2 script.Parent.WHATEVERYOURGUIISCALLED.TextTransparency = 0.2 wait(1) script.Parent.WHATEVERYOURGUIISCALLED.BackgroundTransparency = 0 script.Parent.WHATEVERYOURGUIISCALLED.TextTransparency = 0 wait(1) game.Workspace.CurrentCamera.CameraSubject = game.Players.LocalPlayer.Character.Humanoid game.Workspace.CurrentCamera.CameraType = "Custom" end script.Parent.MouseButton1Down:connect(onButton1Down)
This should fade in the play button AND do the camera thingy. If the camera doesn't work, you should have told me :)