Guest User

Roblox fly script

a guest
Jan 2nd, 2020
220,155
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- Fly GUI
  2.  
  3.  
  4. -- Instances:
  5.  
  6. local fly = Instance.new("ScreenGui")
  7. local epic = Instance.new("Frame")
  8. local backgroundtitle = Instance.new("TextLabel")
  9. local creator = Instance.new("TextLabel")
  10. local title = Instance.new("TextLabel")
  11. local close = Instance.new("TextButton")
  12. local flybutton = Instance.new("TextButton")
  13.  
  14. --Properties:
  15.  
  16. fly.Name = "fly"
  17. fly.Parent = game.CoreGui
  18. fly.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  19.  
  20. epic.Name = "epic"
  21. epic.Parent = fly
  22. epic.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  23. epic.Position = UDim2.new(0.0911376476, 0, 0.466830462, 0)
  24. epic.Size = UDim2.new(0, 181, 0, 178)
  25. epic.Active = true
  26. epic.Draggable = true
  27.  
  28. backgroundtitle.Name = "backgroundtitle"
  29. backgroundtitle.Parent = epic
  30. backgroundtitle.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  31. backgroundtitle.Size = UDim2.new(0, 182, 0, 43)
  32. backgroundtitle.Font = Enum.Font.SciFi
  33. backgroundtitle.Text = ""
  34. backgroundtitle.TextColor3 = Color3.fromRGB(0, 0, 0)
  35. backgroundtitle.TextScaled = true
  36. backgroundtitle.TextSize = 14.000
  37. backgroundtitle.TextWrapped = true
  38.  
  39. creator.Name = "creator"
  40. creator.Parent = epic
  41. creator.BackgroundColor3 = Color3.fromRGB(170, 0, 255)
  42. creator.Position = UDim2.new(0.00442049652, 0, 0.762519121, 0)
  43. creator.Size = UDim2.new(0, 181, 0, 42)
  44. creator.Font = Enum.Font.SourceSans
  45. creator.Text = "Made by Arowix"
  46. creator.TextColor3 = Color3.fromRGB(0, 0, 0)
  47. creator.TextScaled = true
  48. creator.TextSize = 14.000
  49. creator.TextWrapped = true
  50.  
  51. title.Name = "title"
  52. title.Parent = epic
  53. title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  54. title.BackgroundTransparency = 1.000
  55. title.Position = UDim2.new(0.0497237556, 0, 0, 0)
  56. title.Size = UDim2.new(0, 119, 0, 43)
  57. title.Font = Enum.Font.SciFi
  58. title.Text = "Fly"
  59. title.TextColor3 = Color3.fromRGB(0, 0, 0)
  60. title.TextScaled = true
  61. title.TextSize = 14.000
  62. title.TextWrapped = true
  63.  
  64. close.Name = "close"
  65. close.Parent = epic
  66. close.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
  67. close.Position = UDim2.new(0.76795578, 0, 0, 0)
  68. close.Size = UDim2.new(0, 43, 0, 43)
  69. close.Font = Enum.Font.GothamBlack
  70. close.Text = "X"
  71. close.TextColor3 = Color3.fromRGB(0, 0, 0)
  72. close.TextScaled = true
  73. close.TextSize = 14.000
  74. close.TextWrapped = true
  75. close.MouseButton1Down:connect(function()
  76. epic.Visible = false
  77. end)
  78.  
  79. flybutton.Name = "flybutton"
  80. flybutton.Parent = epic
  81. flybutton.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  82. flybutton.Position = UDim2.new(0.243093923, 0, 0.344781578, 0)
  83. flybutton.Size = UDim2.new(0, 84, 0, 42)
  84. flybutton.Font = Enum.Font.SourceSans
  85. flybutton.Text = "Click me to Fly"
  86. flybutton.TextColor3 = Color3.fromRGB(0, 0, 0)
  87. flybutton.TextSize = 14.000
  88. flybutton.MouseButton1Down:connect(function()
  89. loadstring(game:HttpGet("https://pastebin.com/raw/7rXZ9VNc", true))()
  90. flybutton.Text = "Press E to fly and unfly"
  91. flybutton.TextSize = 10.000
  92. end)
RAW Paste Data