General purpose modules for Roblox development. [Read-only Codeberg mirror]
1local ReplicatedStorage = game:GetService("ReplicatedStorage")
2
3local module = require(ReplicatedStorage.TextTransform)
4local db = true
5
6script.Parent.TextButton.MouseButton1Click:Connect(function()
7 if not db then
8 return
9 end
10 db = false
11 script.Parent.TextButton.Text = "Transforming..."
12 module.TransformText(script.Parent.TextLabel)
13 script.Parent.TextButton.Text = "Transformed!"
14end)