The Following Videos are a display of my problem
whenever i run the game it works on a DUMMY
but when i play it doesnt what is wrong any solutions?
Code in ServerScript Stored in the TextLabel
local Words = {“TextHere”,“MadeByNot_Infimax”}
local Label = script.Parent
while true do
wait(1)
Label.Text = Words[math.random(1,#Words )]
end
piranca
(piranca)
February 3, 2022, 10:38pm
#2
Code:
local Words = {“TextHere”,“MadeByNot_Infimax”}
local Label = script.Parent
while true do
wait(1)
for key,v in pairs(Words) do
Label.Text = math.random(v)
end
end
Should i add this to my script
No Change was made no display is on the text label
Could you provide an image of your explorer and any errors in the output? The script itself looks fine so perhaps it might be something external?
1 Like
piranca
(piranca)
February 3, 2022, 10:58pm
#6
My mistake, try this code:
local Words = {"TextHere","MadeByNot_Infimax"}
local Label = script.Parent
while true do
wait(1)
for i = 1 , #Words do
Label.Text = Words[math.random(i)]
end
end
1 Like
its on a starter character any way i can move it to a players head
1 Like
nvm i got it working ill release it as a community Resource so look out for it!
1 Like
I’m a bit confused, are you trying to put the text label on the player’s character or on the dummy?
fixed thank you i will release as community resource soon
1 Like