Is GUI on player possible?

just had an idea of is it possible of putting GUI ON player? like on upper torso like a t-shirt

You could use a decal or put a screen gui on their torso. I believe that changing the shirt template would also work to put an image on their chest.

1 Like

I am not totaly sure what the point of this would be but you could use a screen gui or just to make it more simple just use a decal like most people would.

well like say i want to make a butten gui and it does something, that would be useful

What you would need to do is create a SurfaceGui, which is the same as a ScreenGui just for parts.
Now you would need to load it on a player’s character whenever the character is loaded into the Workspace, which will involve some scripting.


Server Script example

-- This is a server script:
local Players = game:GetService("Players")


local surfaceUI = game.ReplicatedStorage:WaitForChild("TorsoUI") -- this directory can be whatever you want


local function PlayerAdded(player)
    local function CharacterAdded(character)
		local torsoUI = surfaceUI:Clone()
		torsoUI.Parent = character:FindFirstChild("UpperTorso")
		
		
		-- Reset character if button is pressed:
        -- .Actviated works the same as .MouseButton1Click
		torsoUI.KillButton.Activated:Connect(function()
			local humanoid = character:FindFirstChild("Humanoid")
			if (humanoid) then
				humanoid:TakeDamage(100)
			end
		end)
    end
	
	CharacterAdded(player.Character or player.CharacterAdded:Wait())
	player.CharacterAdded:Connect(CharacterAdded)
end




for _, player in pairs(Players:GetPlayers()) do
	coroutine.wrap(PlayerAdded)(player)
end

Players.PlayerAdded:Connect(PlayerAdded)