Heyo, I’m a beginner in scripting and I do need help
So I want to know how to make it so i can activate this with different text and different text speed in a different script within the workspace in a model
local text = script.Parent
local vals = game.Workspace.values
local function writetext(msg,waiter)
text.Text = ""
text.Visible = true
text.TextTransparency = 0
for i = 1,#msg, 1 do
script.Sound:Play()
script.Sound.PlaybackSpeed = math.random(1100,1400)/1000
text.Text = msg:sub(1,i)
task.wait(waiter)
end
end
local function endtext()
for i = 1, 10 do
text.TextTransparency = text.TextTransparency + 0.1
task.wait(0.05)
end
end
task.wait(2)
writetext("(This game is WIP, So expect some bugs)",0.025)
task.wait(3)
endtext()
task.wait(2)
writetext("no, not this place...",0.1)
task.wait(2)
writetext("...",0.025)
task.wait(0.5)
endtext()
image of the location rn and where I want scripts in to execute it (in workspace)
What is the game that holds this code
Foreboding Curiosity | Play on Roblox this is the game if you want to play it in its current state rn (not much gameplay wise is finished yet but the entities are done along with the A section) [and no there wont be seperate sections. only variants]
What is this about
I’m trying to make a unique rooms game (dont say its a doors clone the rooms by nicorocks5555 literally came before doors) that is a what if scenario if the og was recontinued and had more gameplay than just walk and hide and find batteries
and also to attempt to make rooms kinda eerie or atleast mysterious
