Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Gui to Lua
- -- Version: 3.2
- -- Instances:
- local ScreenGui = Instance.new("ScreenGui")
- local Fov = Instance.new("TextButton")
- --Properties:
- ScreenGui.Parent = game.CoreGui
- Fov.Name = "Fov"
- Fov.Parent = ScreenGui
- Fov.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
- Fov.BorderColor3 = Color3.fromRGB(0, 0, 0)
- Fov.BorderSizePixel = 5
- Fov.LayoutOrder = 2
- Fov.Position = UDim2.new(0.93617022, 0, 0.971779168, 0)
- Fov.Size = UDim2.new(0, 84, 0, 23)
- Fov.SizeConstraint = Enum.SizeConstraint.RelativeXX
- Fov.Style = Enum.ButtonStyle.RobloxRoundDefaultButton
- Fov.Font = Enum.Font.SourceSans
- Fov.Text = "Activate FOV Script"
- Fov.TextColor3 = Color3.fromRGB(68, 255, 65)
- Fov.TextScaled = true
- Fov.TextSize = 14.000
- Fov.TextWrapped = true
- Fov.MouseButton1Down:connect(function()
- workspace.CurrentCamera.FieldOfView = 120
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement