I’m remaking my drawing game but my problem is, my mouse icon is changing to like there’s a textbox so it makes it focused. I don’t want this because my script is
if not UIS:GetFocusedTextBox() then
-- Drawing script
so it won’t draw anything if it’s focused to any textbox. here’s a video
it’s impossible that the textbox are the drawing because the script is
local PIXEL = Instance.new("Frame")
-- Few more script
so it’s a frame, not a textbox.
I’ve tried searching but, it doesn’t match with my problem,
what i found:
What I want to happen is that each time the text button is clicked, it appears in a random spot on the screen and you click it again and it just repeats
I tried looking through devforum for something similar and I just found this…
I’m honestly kind of stuck on where I should go from here.
I need the Dice to appear somewhere…
Random Script> local r = Random.new()
> local function GetRandomPosition()
> return UDim2.new(r:NextNumber(0,1),0,r:NextNumber(0,1),0)
So I don’t normally script things but recently I’ve been trying to learn some new things to help me later on down the road. I recently was making a machine with some gizmos and gadgets on it and I figured I’d add a text box with random numbers appearing every One second. I know how to do the bare minimum and print the numbers to the output tab, but I don’t know how to apply it to a a text box.
As I’m sure a lot of you can tell, this is the script that randomly prints numbers to the o…
Im trying to make it so that its a loading screen, and it shows fun facts, i want it to choose like 2 out of the 10 fun facts and show them in the text label. I dont know how to randomize it tho…
none of the UI frame there have a textbox children except the chat. but the chat textbox is far from the middle where the problem is.
Have you tried check the explorer while in play-mode to see what appears in that area?
yes i’ve tried that but i don’t see any textbox
There isn’t another UI placed back the frame that interferes? Try check that again.
Wait, you had a point, it finally works thanks! it’s because in other ScreenGui there’s a textbox so when it hovered that part it focused it. So i set the ScreenGUI enabled to false and it works! thanks again!
In the searchbar of the explorer, search “ClassName:TextBox”, it will make all objects with Class TextBox appear