Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function hint(txt)
- local cam = workspace.CurrentCamera
- local p = Instance.new("Part",cam)
- p.CanCollide = false
- p.Size = Vector3.new(2,0.5,0.5)
- p.Transparency = 1
- local sgui = Instance.new("SurfaceGui",p)
- sgui.Adornee = p
- sgui.Face = "Back"
- local f = Instance.new("Frame",sgui)
- f.Size = UDim2.new(1,0,1,0)
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.BackgroundTransparency = 0.5
- f.Style = Enum.FrameStyle.RobloxRound
- local tl = Instance.new("TextLabel",f)
- tl.Size = UDim2.new(1,0,1,0)
- tl.BackgroundTransparency = 1
- tl.TextColor3 = Color3.new(1,1,1)
- tl.TextScaled = true
- tl.Text = txt
- game:GetService("RunService").RenderStepped:connect(function()
- p.CFrame = cam.CFrame * CFrame.new(0,1.2,-3)
- end)
- end
- hint("fuck")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement