I need help, how can I make scrolling credits like the credits of “The Tall Man” or “Amelia’s Cafe”?
Can you be more specific? I don’t know those games.
U could send some pictures for reference (Isnt that a move?)
But if you want simple credits then basicly you are looking for Scrolling frame with UIListLayout.
Then you can add TextLabel and UIList will automaticly space it in Scrolling Frame.
Like the final credits of Doki Doki Literature Club
Do you mean like movie credits, credits that move up from the bottom of a screen?
Yes. I need a little tutorial.
You could create a ScreenGUI with a Frame
and create a TextLabel
for each individual credit, then move the Frame
up slowly bit by bit.
So i have to do — script.Parent.Transparency = 1 — (sorry if the script is wrong but its only an example) for every pixel?
local RS = game:GetService(“RunService”)
local Player = game.Players.LocalPlayer
local CreditsFrame = Player.PlayerGui.Credits.Frame
local Length = 120
local Speed = 0.25
local Position = 0
local function Step(deltaTime)
Position += deltaTime
CreditsFrame.Position = UDim2.new(0,0,1+Position*Speed,0)
end
local function CreditsEnd()
RS:UnbindFromRenderStep(“CutsceneRolling”)
CreditsFrame.Visible = false
Position = 0
end
local function CreditsStart()
CreditsFrame.Position = UDim2.new(0,0,1,0)
CreditsFrame.Visible = true
delay(Length, function()
CreditsEnd()
end)
RS:BindToRenderStep(“CutsceneRolling”, 203, Step)
end
Create the objects in PlayerGui at the top (CreditsFrame), then anything under the frame will scroll with the rest of it. The frame size doesnt really matter, but if you use any scale components you should set the size to UDim2.new(1,0,1,0)
Here how to do. Make a frame and inside the frame make a scrolling frame. Then, find ScrollingEnabled and uncheck it, make it disabled. Then copy this script :
If you can’t find ScrollingEnabled then I put the feature
local TweenService = game:GetService("TweenService")
local Credits = script.Parent.Credits
Credits.ScrollingEnabled = false
local Info = TweenInfo.new(20)
local Tween = TweenService:Create(Credits, Info, {CanvasPosition = Vector2.new(0, 300)})
Tween:Play()