Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sgui = Instance.new("SurfaceGui")
- local tb = Instance.new("TextBox")
- local tl = Instance.new("TextBox")
- local ScreenGui = Instance.new("ScreenGui")
- local offset = Vector3.new(-10,10,0)
- ------------------------------------
- o2 = Instance.new("Part", game.Workspace)
- o2.Name = "Text"
- o2.BrickColor = BrickColor.new("White")
- o2.Rotation = Vector3.new(0, -90, 0)
- o2.Anchored = true
- o2.Size = Vector3.new(16, 8, 1)
- ------------------------------------
- sgui.Parent = o2
- sgui.Face = Enum.NormalId.Front
- ------------------------------------
- ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
- ------------------------------------
- tb.Parent = ScreenGui
- tb.BackgroundColor3 = Color3.new(0.756863, 0.705882, 1)
- tb.BorderSizePixel = 0
- tb.Position = UDim2.new(0, 74, 0, 374)
- tb.Size = UDim2.new(0, 176, 0, 50)
- tb.Text = "Text Here"
- tb.TextSize = 10
- tb.TextWrapped = true
- tb.Visible = true
- ------------------------------------
- tl.Parent = sgui
- tl.BackgroundColor3 = Color3.new(1, 1, 1)
- tl.BackgroundTransparency = 1
- tl.Size = UDim2.new(0, 800, 0, 600)
- tl.Text = ScreenGui.TextBox.Text
- tl.TextColor3 = Color3.new(0,0,0)
- tl.TextSize = 100
- tl.TextWrapped = true
- tl.TextStrokeTransparency = 0
- tl.TextStrokeColor3 = Color3.new(255,255,255)
- ------------------------------------
- tb.Changed:connect(function()
- tl.Text = tb.Text
- end)
- ------------------------------------
- game:GetService("RunService").RenderStepped:Connect(function()
- o2.Position = game.Players.LocalPlayer.Character.Torso.Position + offset
- o2.Orientation = game.Players.LocalPlayer.Character.Torso.Orientation
- end)
Add Comment
Please, Sign In to add comment