Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Script 1:
- repeat wait() until game.Players.LocalPlayer and game.Players.LocalPlayer.CharacterAdded
- Cam = workspace:WaitForChild("TitleScreenCam")
- cam = workspace.CurrentCamera
- plr = game.Players.LocalPlayer.Character
- myplr = game.Players.LocalPlayer
- frame = myplr:WaitForChild("PlayerGui"):WaitForChild("TitleScreen_Play"):WaitForChild("Mainframe")
- themeA = myplr:WaitForChild("PlayerGui"):WaitForChild("TitleScreen_Play"):WaitForChild("Mainframe"):WaitForChild("PlayButton"):WaitForChild("ThemeMusic1")
- themeB = myplr:WaitForChild("PlayerGui"):WaitForChild("TitleScreen_Play"):WaitForChild("Mainframe"):WaitForChild("PlayButton"):WaitForChild("ThemeMusic2")
- if myplr:WaitForChild("StarterGear"):findFirstChild("ClickedPlay")== nil then
- print("x")
- cam.CameraType = "Scriptable"
- cam.CoordinateFrame = Cam.CFrame
- print("Camera changed")
- frame.Visible = true
- end
- function onclick()
- for i=1,10 do
- frame.PlayButton.BackgroundTransparency = frame.PlayButton.BackgroundTransparency+0.1
- frame.PlayButton.TextStrokeTransparency = frame.PlayButton.TextStrokeTransparency+0.1
- frame.PlayButton.TextTransparency = frame.PlayButton.TextTransparency+0.1
- themeA.Volume = themeA.Volume-0.1
- themeB.Volume = themeB.Volume-0.1
- wait(0.1)
- end
- cam.CameraType = "Custom"
- cam.CameraSubject = plr
- ClickedPlay = game:GetService('Lighting'):WaitForChild("ClickedPlay"):clone()
- ClickedPlay.Parent = myplr:WaitForChild("StarterGear")
- frame.Visible = false
- end
- script.Parent.MouseButton1Click:connect(onclick)
- Script 2:
- plr = game.Players.LocalPlayer.Character
- myplr = game.Players.LocalPlayer
- themeA = myplr:WaitForChild("PlayerGui"):WaitForChild("TitleScreen_Play"):WaitForChild("Mainframe"):WaitForChild("PlayButton"):WaitForChild("ThemeMusic1")
- themeB = myplr:WaitForChild("PlayerGui"):WaitForChild("TitleScreen_Play"):WaitForChild("Mainframe"):WaitForChild("PlayButton"):WaitForChild("ThemeMusic2")
- frame = myplr:WaitForChild("PlayerGui"):WaitForChild("TitleScreen_Play"):WaitForChild("Mainframe")
- repeat
- themeA:Play()
- wait(120)
- themeA:Stop()
- wait()
- themeB:Play()
- wait(85)
- themeB:Stop()
- until frame.Visible == false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement