Rooilo0
(Rooilo0)
March 29, 2023, 7:30pm
#21
Ok, here is it.
File: ScaledSFrameToText.rbxm (5.8 KB)
Code:
local TextB = script.Parent
local ScrollingF = TextB.Parent
local RunS = game:GetService("RunService")
TextB.Focused:Connect(function()
local Heartbeat = RunS.Heartbeat:Connect(function()
ScrollingF.CanvasSize = UDim2.new(0,TextB.TextBounds.X, 0, TextB.TextBounds.Y)
end)
TextB.FocusLost:Wait()
Heartbeat:Disconnect()
end)
Parenting Structure:
Posdata: I tested it and it works.
1 Like
There’ s an issue with the frame not resizing. How do i fix that?
Rooilo0
(Rooilo0)
March 30, 2023, 7:18am
#24
For me it worked, can you send screenshot?
ScrollingFrame has a property called ScrollingDirection . You can set the property to XY if you want the frame to scroll on both axis.
Rooilo0
(Rooilo0)
March 30, 2023, 2:14pm
#27
Weird, for me it worked. Are you sure of that you are writing in the correct textBox, I mean, I see 2 diferent ones.
robloxapp-20230330-1613081.wmv (661.8 KB)
Try using the file I sent. Custmize it as you want with transperency and those things and say what happends
1 Like
I’ ll just use this and edit this, thank you very much
system
(system)
Closed
April 13, 2023, 7:23pm
#29
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.