Post closed, thanks.
I found out what it was a bit ago before everyone posted and after I posted. Thanks.
Post closed, thanks.
I found out what it was a bit ago before everyone posted and after I posted. Thanks.
Iâve tried many things and I cannot just get it to anchor, in studio it looks anchored but when you get in game itâs not, and also I want it to stay at the top but itâs going below and some things donât anchor.
Can anyone help me?
Alright, I see a bunch of things wrong/things that probably donât exist here:
You shouldnât access StarterGui, instead use player:WaitForChild(âPlayerGuiâ)
Guis donât have a CFrame, and Iâm pretty sure CFrame doesnât have an Anchor function
You canât anchor the entire game like that, youâll have to loop through every part in workspace to accomplish that.
Players is always Players, you canât set it to anything else (like AllGuisAnchor, which most likely doesnât exist)
Players service does not have an Anchored function
Anyways, if I understand you correctly, you might want to try turning on IgnoreGuiInset in your screen Gui
wayyyyy too many coding sins spotted here.
You CANNOT anchor a GUI.
GUIâs dont have a CFrame, their position is defined using Udim2 or Udim.
Access the Gui using PlayerGui, not Starter Gui
You can only anchor 3D Meshes, parts and some other stuff
Most of the syntax in your code is wrong, to Anchor something, you use whatever.Anchored = true
You cannot anchor a player, if you want to make the player motionless, you set WalkSpeed and JumpPower to 0.
You CANNOT anchor âgameâ as game is a global variable and it does not have an anchored proprety
printing Anchor will do nothing, because Anchor is a string in your print statement
game.Player:Entered is no valid syntax, you use game.playerAdded.
Make variables bruh
game.Players = game.AllGuisAnchor, I dont know what you are doing with this
Just turn on IgnoreGuiInset.
Yeah, I found that after I made this post.