
694 Views
13 Executions
Fly davilucas123jc
Universal Script π
davilucasjunqueirac10K executions
1 year ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Fly
Updates
Script edited: Update script
Script edited: Update script
Script edited: Update script
Script edited: Update script
Script edited: Update script
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local mouse = player:GetMouse()
local screenGui = Instance.new("ScreenGui", player:WaitForChild("PlayerGui"))
screenGui.ResetOnSpawn = false
screenGui.Name = "FlyGui"
local function createButton(name, position, size, text, parent)
local btn = Instance.new("TextButton")
btn.Name = name
btn.Size = size
btn.Position = position
btn.Text = text
btn.Parent = parent
btn.BackgroundColor3 = Color3.new(1, 1, 1)
btn.BorderColor3 = Color3.new(0, 0, 0)
btn.TextColor3 = Color3.new(0, 0, 0)
btn.TextScaled = true
btn.AutoButtonColor = true
return btn
end
local flyButton = createButton("FlyButton", UDim2.new(0.5, -50, 0.5, -25), UDim2.new(0, 100, 0, 50), "Fly", screenGui)
flyButton.Active = true
flyButton.Draggable = true
local arrowSize = UDim2.new(0, 60, 0, 60)
local arrowGui = Instance.new("Frame", screenGui)
arrowGui.Size = UDim2.new(0, 200, 0, 200)
arrowGui.Position = UDim2.new(1, -220, 1, -220)
arrowGui.BackgroundTransparency = 1
local directions = {
Up = {pos = UDim2.new(0.5, -30, 0, 0), symbol = "β"},
Down = {pos = UDim2.new(0.5, -30, 1, -60), symbol = "β"},
Left = {pos = UDim2.new(0, 0, 0.5, -30), symbol = "β"},
Right = {pos = UDim2.new(1, -60, 0.5, -30), symbol = "β"},
}
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!







