AugusTH

FOV Toggle Raw

Nov 1st, 2023
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.46 KB | None | 0 0
  1. -- Instances:
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local main = Instance.new("Frame")
  5. local title = Instance.new("TextLabel")
  6. local emotes = Instance.new("TextButton")
  7. local vynixu = Instance.new("TextButton")
  8. local ludicity = Instance.new("TextButton")
  9. local eclipse = Instance.new("TextButton")
  10. local god = Instance.new("TextButton")
  11. local troll = Instance.new("TextButton")
  12.  
  13. --Properties:
  14.  
  15. ScreenGui.Parent = game.CoreGui
  16.  
  17. main.Name = "main"
  18. main.Parent = ScreenGui
  19. main.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  20. main.BackgroundTransparency = 0.300
  21. main.BorderColor3 = Color3.fromRGB(0, 0, 0)
  22. main.Position = UDim2.new(0.0163098853, 0, 0.319767386, 0)
  23. main.Size = UDim2.new(0, 212, 0, 251)
  24. main.Active = true
  25. main.Draggable = true
  26.  
  27. title.Name = "title"
  28. title.Parent = main
  29. title.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  30. title.BorderSizePixel = 0
  31. title.Position = UDim2.new(-1.1920929e-07, 0, 0, 0)
  32. title.Size = UDim2.new(0, 212, 0, 22)
  33. title.Font = Enum.Font.Cartoon
  34. title.Text = "FOV TOGGLE"
  35. title.TextColor3 = Color3.fromRGB(255, 255, 255)
  36. title.TextSize = 14.000
  37.  
  38. emotes.Name = "emotes"
  39. emotes.Parent = main
  40. emotes.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  41. emotes.BackgroundTransparency = 0.300
  42. emotes.BorderColor3 = Color3.fromRGB(255, 255, 255)
  43. emotes.Position = UDim2.new(0.0566037744, 0, 0.843250215, 0)
  44. emotes.Size = UDim2.new(0, 187, 0, 22)
  45. emotes.Font = Enum.Font.Cartoon
  46. emotes.Text = "Fov.20"
  47. emotes.TextColor3 = Color3.fromRGB(255, 255, 255)
  48. emotes.TextSize = 14.000
  49. emotes.TextWrapped = true
  50. emotes.MouseButton1Down:connect(function()
  51. workspace.CurrentCamera.FieldOfView = 20
  52. end)
  53.  
  54. vynixu.Name = "vynixu"
  55. vynixu.Parent = main
  56. vynixu.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  57. vynixu.BackgroundTransparency = 0.300
  58. vynixu.BorderColor3 = Color3.fromRGB(255, 255, 255)
  59. vynixu.Position = UDim2.new(0.0566037744, 0, 0.13348788, 0)
  60. vynixu.Size = UDim2.new(0, 187, 0, 22)
  61. vynixu.Font = Enum.Font.Cartoon
  62. vynixu.Text = "Fov.120"
  63. vynixu.TextColor3 = Color3.fromRGB(255, 255, 255)
  64. vynixu.TextSize = 14.000
  65. vynixu.TextWrapped = true
  66. vynixu.MouseButton1Down:connect(function()
  67. workspace.CurrentCamera.FieldOfView = 120
  68. end)
  69.  
  70. ludicity.Name = "ludicity"
  71. ludicity.Parent = main
  72. ludicity.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  73. ludicity.BackgroundTransparency = 0.300
  74. ludicity.BorderColor3 = Color3.fromRGB(255, 255, 255)
  75. ludicity.Position = UDim2.new(0.0566037744, 0, 0.280969203, 0)
  76. ludicity.Size = UDim2.new(0, 187, 0, 22)
  77. ludicity.Font = Enum.Font.Cartoon
  78. ludicity.Text = "Fov.100"
  79. ludicity.TextColor3 = Color3.fromRGB(255, 255, 255)
  80. ludicity.TextSize = 14.000
  81. ludicity.TextWrapped = true
  82. ludicity.MouseButton1Down:connect(function()
  83. workspace.CurrentCamera.FieldOfView = 100
  84. end)
  85.  
  86. eclipse.Name = "eclipse"
  87. eclipse.Parent = main
  88. eclipse.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  89. eclipse.BackgroundTransparency = 0.300
  90. eclipse.BorderColor3 = Color3.fromRGB(255, 255, 255)
  91. eclipse.Position = UDim2.new(0.0566037744, 0, 0.428859621, 0)
  92. eclipse.Size = UDim2.new(0, 187, 0, 22)
  93. eclipse.Font = Enum.Font.Cartoon
  94. eclipse.Text = "Fov.80"
  95. eclipse.TextColor3 = Color3.fromRGB(255, 255, 255)
  96. eclipse.TextSize = 14.000
  97. eclipse.TextWrapped = true
  98. eclipse.MouseButton1Down:connect(function()
  99. workspace.CurrentCamera.FieldOfView = 80
  100. end)
  101.  
  102. god.Name = "god"
  103. god.Parent = main
  104. god.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  105. god.BackgroundTransparency = 0.300
  106. god.BorderColor3 = Color3.fromRGB(255, 255, 255)
  107. god.Position = UDim2.new(0.0566037744, 0, 0.566901684, 0)
  108. god.Size = UDim2.new(0, 187, 0, 22)
  109. god.Font = Enum.Font.Cartoon
  110. god.Text = "Fov.60"
  111. god.TextColor3 = Color3.fromRGB(255, 255, 255)
  112. god.TextSize = 14.000
  113. god.TextWrapped = true
  114. god.MouseButton1Down:connect(function()
  115. workspace.CurrentCamera.FieldOfView = 60
  116. end)
  117.  
  118. troll.Name = "troll"
  119. troll.Parent = main
  120. troll.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  121. troll.BackgroundTransparency = 0.300
  122. troll.BorderColor3 = Color3.fromRGB(255, 255, 255)
  123. troll.Position = UDim2.new(0.0566037744, 0, 0.708927751, 0)
  124. troll.Size = UDim2.new(0, 187, 0, 22)
  125. troll.Font = Enum.Font.Cartoon
  126. troll.Text = "Fov.40"
  127. troll.TextColor3 = Color3.fromRGB(255, 255, 255)
  128. troll.TextSize = 14.000
  129. troll.TextWrapped = true
  130. troll.MouseButton1Down:connect(function()
  131. workspace.CurrentCamera.FieldOfView = 40
  132. end)
Advertisement
Add Comment
Please, Sign In to add comment