Function. Wont. Work

It’s gotten to the point where I question if it’s Roblox or me.

function search()
	print(players:GetNameFromUserIdAsync(1300001064))
	print("drink water")
end

search()

-->> NOTHING

Capture

EDIT: It wont print ANYTHING

2 Likes

It works on my pc.

Can you give full script?

image

What is this a descendant of?

It is a descendant of StarterGui

The script is clearly not running. Can you verify the gui is being parented to the player’s playergui?

I’m sorry lol, I was “Running” the game, not “Playing” it, sorry for the confusion

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.