Advertisement
ttyyuu12345

bad

Feb 19th, 2017
201
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.74 KB | None | 0 0
  1. function hint(txt)
  2. local cam = workspace.CurrentCamera
  3. local p = Instance.new("Part",cam)
  4. p.CanCollide = false
  5. p.Size = Vector3.new(2,0.5,0.5)
  6. p.Transparency = 1
  7. local sgui = Instance.new("SurfaceGui",p)
  8. sgui.Adornee = p
  9. sgui.Face = "Back"
  10. local f = Instance.new("Frame",sgui)
  11. f.Size = UDim2.new(1,0,1,0)
  12. f.BackgroundColor3 = Color3.new(0,0,0)
  13. f.BackgroundTransparency = 0.5
  14. f.Style = Enum.FrameStyle.RobloxRound
  15. local tl = Instance.new("TextLabel",f)
  16. tl.Size = UDim2.new(1,0,1,0)
  17. tl.BackgroundTransparency = 1
  18. tl.TextColor3 = Color3.new(1,1,1)
  19. tl.TextScaled = true
  20. tl.Text = txt
  21. game:GetService("RunService").RenderStepped:connect(function()
  22. p.CFrame = cam.CFrame * CFrame.new(0,1.2,-3)
  23. end)
  24. end
  25. hint("fuck")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement