Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local UIGui = Instance.new("ScreenGui")
- local PlayerIcon = Instance.new("ImageLabel")
- local PlayerIconUICorner = Instance.new("UICorner")
- UIGui.Parent = game.CoreGui
- PlayerIcon.Name = "PlayerIcon"
- PlayerIcon.Parent = UIGui
- PlayerIcon.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
- PlayerIcon.BackgroundTransparency = 0.5
- PlayerIcon.Position = UDim2.new(0.85, 0, 0.25, 0)
- PlayerIcon.Size = UDim2.new(0, 50, 0, 50)
- PlayerIcon.BorderSizePixel = 0
- PlayerIcon.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=".. game.Players.LocalPlayer.UserId .."&width=999&height=999&format=png"
- PlayerIconUICorner.Parent = PlayerIcon
- PlayerIconUICorner.CornerRadius = UDim.new(0.5, 0)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement