#Self written text doesnt work

1 messages · Page 1 of 1 (latest)

fathom apex
#
local textLabel = script.Parent:WaitForChild("start"):WaitForChild("Text")
local Number = math.random(1000, 9999)
local Player = game.Players.Playername

wait(5)

local function typewrite(object,text)
    
    for i =1,#text,1 do
        
        object.Text = string.sub(text,1,i)
        
        wait(0.05)
    end
    
end

typewrite(textLabel,"Hello Subject",Number,"you were identified as",Player)```
flat minnow
#

And pretty sure you wanna start from string length

#

And move your way down to 1

flat minnow
fathom apex
flat minnow
fathom apex
#

no sadly not

flat minnow
#

And see if you can spot the difference between yours and mine

#

And if you wanna concatenate your strings then do 'string' .. number

flat minnow
#

This aswell^

fathom apex
flat minnow
#

What is Player

short frigate
#

Yeah, theres multiple Players in game.Players. Is assume that's a LocalScript and you want the current player?

flat minnow
#

Your own player or?

short frigate
#

if it's a local script and you want the local players name it's Players.LocalPlayer

fathom apex
#

but the other problem is stilll there

short frigate
#

That's what he meant with concatenate

flat minnow
#

Or just do function(object, ...)

#

And iterate through {...}

fathom apex
#

ITS WORKING!

flat minnow
#

Niceee

fathom apex
#

thank you guys so much

flat minnow
#

Anytime

orchid light
#

Game.Players is a service; not a real player

flat minnow
#

It is

#

10:43:43.677 > print(Game.Players) - Studio
10:43:43.678 Players - Edit

#

Wait

#

I missread that

#

My bad