lolita5432

Untitled

May 5th, 2018
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  1. local sgui = Instance.new("SurfaceGui")
  2. local tb = Instance.new("TextBox")
  3. local tl = Instance.new("TextBox")
  4. local ScreenGui = Instance.new("ScreenGui")
  5. local offset = Vector3.new(-10,10,0)
  6. ------------------------------------
  7. o2 = Instance.new("Part", game.Workspace)
  8. o2.Name = "Text"
  9. o2.BrickColor = BrickColor.new("White")
  10. o2.Rotation = Vector3.new(0, -90, 0)
  11. o2.Anchored = true
  12. o2.Size = Vector3.new(16, 8, 1)
  13. ------------------------------------
  14. sgui.Parent = o2
  15. sgui.Face = Enum.NormalId.Front
  16. ------------------------------------
  17. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  18. ------------------------------------
  19. tb.Parent = ScreenGui
  20. tb.BackgroundColor3 = Color3.new(0.756863, 0.705882, 1)
  21. tb.BorderSizePixel = 0
  22. tb.Position = UDim2.new(0, 74, 0, 374)
  23. tb.Size = UDim2.new(0, 176, 0, 50)
  24. tb.Text = "Text Here"
  25. tb.TextSize = 10
  26. tb.TextWrapped = true
  27. tb.Visible = true
  28. ------------------------------------
  29. tl.Parent = sgui
  30. tl.BackgroundColor3 = Color3.new(1, 1, 1)
  31. tl.BackgroundTransparency = 1
  32. tl.Size = UDim2.new(0, 800, 0, 600)
  33. tl.Text = ScreenGui.TextBox.Text
  34. tl.TextColor3 = Color3.new(0,0,0)
  35. tl.TextSize = 100
  36. tl.TextWrapped = true
  37. tl.TextStrokeTransparency = 0
  38. tl.TextStrokeColor3 = Color3.new(255,255,255)
  39. ------------------------------------
  40. tb.Changed:connect(function()
  41. tl.Text = tb.Text
  42. end)
  43. ------------------------------------
  44. game:GetService("RunService").RenderStepped:Connect(function()
  45. o2.Position = game.Players.LocalPlayer.Character.Torso.Position + offset
  46. o2.Orientation = game.Players.LocalPlayer.Character.Torso.Orientation
  47. end)
Add Comment
Please, Sign In to add comment