The Problem : Surface Gui follows eye coordination, any way to fix this?
So the surface GUI stays in one place like referring to the last image?
What Surface Gui looks like from angels :
What I would like (from any angle) :
Code (Note this doesn’t include the number adding, it just has the main place script) (I chose HumanoidRootPart as the parent) :
Players.PlayerAdded:Connect(function(Player)
set(); -- Setting
Player.CharacterAdded:Connect(function(Character)
-- These variables are used regardless of whether the user owns the gamepass or not
-- so we can define them outside the if statement
local Humanoid = Character:WaitForChild("Humanoid")
local HRP = Character:WaitForChild("HumanoidRootPart")
local PNumber = Player:GetAttribute("PlayerNumber");
-- Again, this happens regardless of the if statement
Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
-- Cloning Gui to player
local CloneGui = NumberGui:Clone()
CloneGui.Rank.Text = PNumber -- Setting Player Number
CloneGui.Parent = HRP -- Parenting to Player
end)
end)
NOTE : I did edit the specs of the surface gui in the properties and made it fit where it needs to be. Just has problems with the placement and eye view?
FIXED : USING SURFACE GUI FIXES IT
FIXED : USING SURFACE GUI FIXES IT
FIXED : USING SURFACE GUI FIXES IT