Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- ImageScript
- local ThumbnailType = Enum.ThumbnailType.HeadShot
- local ThumbnailSize = Enum.ThumbnailSize.Size48x48
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- while wait() do
- script.Parent.Image = Players:GetUserThumbnailAsync(Player.userId, ThumbnailType, ThumbnailSize)
- end
- -- HeightScript R6
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- local PlayerGui = Player:FindFirstChild("PlayerGui")
- if Player:FindFirstChild("PlayerGui") then
- while wait() do
- local ImageLabel = PlayerGui.HeightGui.Frame:FindFirstChild("ImageLabel")
- local Character = game:GetService("Workspace")[Player.Name]
- local PrimaryPart = Character:FindFirstChild("Torso")
- local Height = math.ceil(PrimaryPart.Position.Y)
- ImageLabel.Position = UDim2.new(-1.667, 0, 0.833 - Height / 50, 0)
- -- 50 is how many pixels it goes up
- end
- end
- -- HeightScript R15
- local Players = game:GetService("Players")
- local Player = Players.LocalPlayer
- local PlayerGui = Player:FindFirstChild("PlayerGui")
- if Player:FindFirstChild("PlayerGui") then
- while wait() do
- local ImageLabel = PlayerGui.HeightGui.Frame:FindFirstChild("ImageLabel")
- local Character = game:GetService("Workspace")[Player.Name]
- local PrimaryPart = Character:FindFirstChild("Torso")
- local Height = math.ceil(PrimaryPart.Position.Y)
- ImageLabel.Position = UDim2.new(-1.667, 0, 0.833 - Height / 50, 0)
- -- 50 is how many pixels it goes up
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement