Advertisement
iiJosephCats205

Lock First Person GUI

Mar 28th, 2018
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.43 KB | None | 0 0
  1.  
  2. local VanGui = Instance.new("ScreenGui")
  3. local Van = Instance.new("Frame")
  4. local idk = Instance.new("TextBox")
  5. local dsa = Instance.new("TextButton")
  6.  
  7. VanGui.Name = "ufo"
  8. VanGui.Parent = game.Players.LocalPlayer.PlayerGui
  9.  
  10. Van.Name = "ufo"
  11. Van.Parent = VanGui
  12. Van.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  13. Van.BorderColor3 = Color3.new(0, 0, 0)
  14. Van.Position = UDim2.new(0, 5, 0.8, 0)
  15. Van.Size = UDim2.new(0, 200, 0, 45)
  16.  
  17. idk.Name = "idk"
  18. idk.Parent = Van
  19. idk.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  20. idk.BorderColor3 = Color3.new(0, 0, 0)
  21. idk.Size = UDim2.new(1, 0, 0, 20)
  22. idk.Font = Enum.Font.SciFi
  23. idk.FontSize = Enum.FontSize.Size14
  24. idk.Text = "Username"
  25. idk.TextColor3 = Color3.new(1, 1, 1)
  26. idk.TextScaled = true
  27. idk.TextStrokeTransparency = 0
  28. idk.TextWrapped = true
  29.  
  30. dsa.Name = "dsa"
  31. dsa.Parent = Van
  32. dsa.BackgroundColor3 = Color3.new(0.235294, 0.235294, 0.235294)
  33. dsa.BorderColor3 = Color3.new(0, 0, 0)
  34. dsa.Position = UDim2.new(0, 0, 1, -25)
  35. dsa.Size = UDim2.new(1, 0, 0, 25)
  36. dsa.Font = Enum.Font.SciFi
  37. dsa.FontSize = Enum.FontSize.Size14
  38. dsa.Text = "Force First Person"
  39. dsa.TextColor3 = Color3.new(1, 1, 1)
  40. dsa.TextScaled = true
  41. dsa.TextStrokeTransparency = 0
  42. dsa.TextWrapped = true
  43.  
  44.  
  45. dsa.MouseButton1Click:connect(function()
  46. Victim = idk.Text
  47. if game.Players:FindFirstChild(Victim) then
  48. game.Players:FindFirstChild(Victim).CameraMode = "LockFirstPerson"
  49. end
  50. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement