Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- LocalScript inside StarterPlayerScripts or another suitable location
- local player = game.Players.LocalPlayer
- local soundService = game:GetService("SoundService") -- Service to handle audio playback
- -- Create a Sound object
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://18460863844" -- Replace with your audio Asset ID
- sound.Parent = player.Character or player.CharacterAdded:Wait() -- Parent it to the player's character, or use workspace if needed
- -- Set the audio to loop
- sound.Looped = false
- -- Play the sound automatically when the game starts
- sound:Play()
- -- LocalScript inside StarterPlayerScripts or another suitable location
- local player = game.Players.LocalPlayer
- local soundService = game:GetService("SoundService") -- Service to handle audio playback
- -- Create a Sound object
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://18460952794" -- Replace with your audio Asset ID
- sound.Parent = player.Character or player.CharacterAdded:Wait() -- Parent it to the player's character, or use workspace if needed
- -- Set the audio to loop
- sound.Looped = false
- -- Play the sound automatically when the game starts
- sound:Play()
- -- LocalScript inside StarterPlayerScripts or another suitable location
- local player = game.Players.LocalPlayer
- local soundService = game:GetService("SoundService") -- Service to handle audio playback
- -- Create a Sound object
- local sound = Instance.new("Sound")
- sound.SoundId = "rbxassetid://" -- Replace with your audio Asset ID
- sound.Parent = player.Character or player.CharacterAdded:Wait() -- Parent it to the player's character, or use workspace if needed
- -- Set the audio to loop
- sound.Looped = false
- -- Play the sound automatically when the game starts
- sound:Play()
- local animationId = "18462892217"
- local player = game.Players.LocalPlayer
- local character = player.Character or player.CharacterAdded:Wait()
- local humanoid = character:WaitForChild("Humanoid")
- local animation = Instance.new("Animation")
- animation.AnimationId = "rbxassetid://" .. animationId
- local animationTrack = humanoid:LoadAnimation(animation)
- animationTrack:Play()
- wait(0.5)
- --[[
- WARNING: Heads up! This script has not been verified by ScriptBlox. Use at your own risk!
- ]]
- local ReplicatedStorage = game:GetService("ReplicatedStorage")
- local Camera = game.Workspace.CurrentCamera
- local RunService = game:GetService("RunService")
- local TweenService = game:GetService("TweenService")
- local Character = game.Players.LocalPlayer.Character or game.Players.LocalPlayer.CharacterAdded:Wait()
- function Cinematic(moduleData)
- local CinematicsModule = moduleData
- local CurrentCameraCFrame = Camera.CFrame
- local FrameTime = 0
- local Connection
- Character.Humanoid.AutoRotate = false
- Camera.CameraType = Enum.CameraType.Scriptable
- Connection = RunService.RenderStepped:Connect(function(DT)
- FrameTime += DT * 60
- local NeededFrame = CinematicsModule[math.ceil(FrameTime)]
- if NeededFrame then
- TweenService:Create(Camera, TweenInfo.new(0.015, Enum.EasingStyle.Quad, Enum.EasingDirection.InOut), {
- CFrame = Character.HumanoidRootPart.CFrame * NeededFrame.cframe
- }):Play()
- Camera.FieldOfView = NeededFrame.fov
- else
- Connection:Disconnect()
- Camera.FieldOfView = 70
- Character.Humanoid.AutoRotate = true
- Camera.CameraType = Enum.CameraType.Custom
- Camera.CFrame = CurrentCameraCFrame
- end
- end)
- end
- local moduleScript = ReplicatedStorage:WaitForChild("Cutscenes"):WaitForChild("Five Season Startup")
- local cutsceneData = require(moduleScript)
- print("Cutscene data:", cutsceneData)
- wait(0.2)
- Cinematic(cutsceneData)
- wait(8.5)
- Character.HumanoidRootPart.Anchored = false
Add Comment
Please, Sign In to add comment