Advertisement
meldrednyx

FM with P

Feb 22nd, 2021 (edited)
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.39 KB | None | 0 0
  1. local ScreenGui = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Login = Instance.new("TextButton")
  4. local Input = Instance.new("TextBox")
  5.  
  6. --Properties:
  7.  
  8. ScreenGui.Parent = game.CoreGui
  9. ScreenGui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  10.  
  11. Main.Name = "Main"
  12. Main.Parent = ScreenGui
  13. Main.Active = true
  14. Main.BackgroundColor3 = Color3.fromRGB(25, 25, 25)
  15. Main.Position = UDim2.new(0.383990705, 0, 0.368763566, 0)
  16. Main.Size = UDim2.new(0, 200, 0, 120)
  17. Main.Draggable = true
  18.  
  19. Login.Name = "Log in"
  20. Login.Parent = Main
  21. Login.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
  22. Login.Position = UDim2.new(0.119999997, 0, 0.591666639, 0)
  23. Login.Size = UDim2.new(0, 152, 0, 40)
  24. Login.Font = Enum.Font.SciFi
  25. Login.Text = "Log in"
  26. Login.TextColor3 = Color3.fromRGB(255, 255, 255)
  27. Login.TextSize = 14.000
  28. Login.MouseButton1Down:connect(function()
  29. if Input.Text == "TinTin28" then
  30. Main.Visible = false
  31.  
  32. plr = game.Players.LocalPlayer
  33. mouse = plr:GetMouse()
  34. mouse.KeyDown:connect(function(key)
  35. if key == "f" then
  36. local Item = game.Players.LocalPlayer:GetMouse().Target.Parent
  37. local Size = Item.PrimaryPart.Size.Y
  38. Item.PrimaryPart.Size = Vector3.new(0,0,0)
  39. local Rotate
  40. local Tilt
  41. Rotate = 0
  42. Tilt = 0
  43. plr = game.Players.LocalPlayer
  44. mouse = plr:GetMouse()
  45. mouse.KeyDown:connect(function(key)
  46. if key == "r" then
  47. Rotate = Rotate + 22.5
  48. end
  49. end)
  50. plr = game.Players.LocalPlayer
  51. mouse = plr:GetMouse()
  52. mouse.KeyDown:connect(function(key)
  53. if key == "t" then
  54. Tilt = Tilt + 22.5
  55. end
  56. end)
  57. spawn(function()
  58. while game:GetService("RunService").RenderStepped:Wait() do
  59. game.Players.LocalPlayer:GetMouse().TargetFilter = Item
  60. Item:SetPrimaryPartCFrame(CFrame.new(math.floor(game.Players.LocalPlayer:GetMouse().Hit.X)+.03,math.ceil(game.Players.LocalPlayer:GetMouse().Hit.Y+(Size/2)-1),math.floor(game.Players.LocalPlayer:GetMouse().Hit.Z)-.03) * CFrame.Angles(math.rad(0),math.rad(Rotate),math.rad(Tilt)))
  61. end
  62. end)
  63. end
  64. end)
  65. end
  66. end)
  67.  
  68. Input.Name = "Input"
  69. Input.Parent = Main
  70. Input.BackgroundColor3 = Color3.fromRGB(9, 9, 9)
  71. Input.Position = UDim2.new(0.0350000858, 0, 0.11499998, 0)
  72. Input.Size = UDim2.new(0, 185, 0, 45)
  73. Input.Font = Enum.Font.SciFi
  74. Input.Text = "Password"
  75. Input.TextColor3 = Color3.fromRGB(252, 252, 252)
  76. Input.TextSize = 14.000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement