Advertisement
StoryProductions

Tower Of Hell Height Bar [Roblox]

Oct 13th, 2020
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. -- ImageScript
  2.  
  3. local ThumbnailType = Enum.ThumbnailType.HeadShot
  4. local ThumbnailSize = Enum.ThumbnailSize.Size48x48
  5. local Players = game:GetService("Players")
  6. local Player = Players.LocalPlayer
  7.  
  8. while wait() do
  9. script.Parent.Image = Players:GetUserThumbnailAsync(Player.userId, ThumbnailType, ThumbnailSize)
  10. end
  11.  
  12. -- HeightScript R6
  13.  
  14. local Players = game:GetService("Players")
  15. local Player = Players.LocalPlayer
  16. local PlayerGui = Player:FindFirstChild("PlayerGui")
  17.  
  18. if Player:FindFirstChild("PlayerGui") then
  19. while wait() do
  20. local ImageLabel = PlayerGui.HeightGui.Frame:FindFirstChild("ImageLabel")
  21. local Character = game:GetService("Workspace")[Player.Name]
  22. local PrimaryPart = Character:FindFirstChild("Torso")
  23. local Height = math.ceil(PrimaryPart.Position.Y)
  24. ImageLabel.Position = UDim2.new(-1.667, 0, 0.833 - Height / 50, 0)
  25. -- 50 is how many pixels it goes up
  26. end
  27. end
  28.  
  29. -- HeightScript R15
  30.  
  31. local Players = game:GetService("Players")
  32. local Player = Players.LocalPlayer
  33. local PlayerGui = Player:FindFirstChild("PlayerGui")
  34.  
  35. if Player:FindFirstChild("PlayerGui") then
  36. while wait() do
  37. local ImageLabel = PlayerGui.HeightGui.Frame:FindFirstChild("ImageLabel")
  38. local Character = game:GetService("Workspace")[Player.Name]
  39. local PrimaryPart = Character:FindFirstChild("Torso")
  40. local Height = math.ceil(PrimaryPart.Position.Y)
  41. ImageLabel.Position = UDim2.new(-1.667, 0, 0.833 - Height / 50, 0)
  42. -- 50 is how many pixels it goes up
  43. end
  44. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement