0% found this document useful (0 votes)
268 views3 pages

Roblox Fly Speed Script

The document sets up a flying script for a game. It creates variables to store the fly speed and control boolean values like "www" for the w key. It connects key presses and releases to toggle the boolean values. It also connects to the render step to apply CFrames for movement based on the boolean values. Finally, it makes the character say a message if a specific player joins.

Uploaded by

Dan Danika
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
268 views3 pages

Roblox Fly Speed Script

The document sets up a flying script for a game. It creates variables to store the fly speed and control boolean values like "www" for the w key. It connects key presses and releases to toggle the boolean values. It also connects to the render step to apply CFrames for movement based on the boolean values. Finally, it makes the character say a message if a specific player joins.

Uploaded by

Dan Danika
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

[Link] = [Link]-math.

huge
getgenv().FlySpeed = 1 -- default 1
getgenv().www = false
getgenv().aaa = false
getgenv().sss = false
getgenv().ddd = false
getgenv().qqq = false
getgenv().eee = false
getgenv().en = false
getgenv().ssss = [Link]:GetMouse()
getgenv().currentcf = nil

local part = [Link]("Part") -- Create a new part

[Link] = "a"
[Link] = true
[Link] = [Link]
[Link] = [Link](0, -600000, 0)
[Link]:connect(function(key)
if key == "=" then
getgenv().FlySpeed = FlySpeed + 1
end
end)
[Link]:connect(function(key)
if key == "-" then
getgenv().FlySpeed = 1
end
end)
[Link]:connect(function(key)
if key == "w" then
getgenv().www = true
end
end)
[Link]:connect(function(key)
if key == "a" then
getgenv().aaa = true
end
end)
[Link]:connect(function(key)
if key == "s" then
getgenv().sss = true
end
end)
[Link]:connect(function(key)
if key == "d" then
getgenv().ddd = true
end
end)
[Link]:connect(function(key)
if key == "q" then
getgenv().qqq = true
end
end)
[Link]:connect(function(key)
if key == "e" then
getgenv().eee = true
end
end)
[Link]:connect(function(key)
if key == "w" then
getgenv().www = false
end
end)
[Link]:connect(function(key)
if key == "a" then
getgenv().aaa = false
end
end)
[Link]:connect(function(key)
if key == "s" then
getgenv().sss = false
end
end)
[Link]:connect(function(key)
if key == "d" then
getgenv().ddd = false
end
end)
[Link]:connect(function(key)
if key == "q" then
getgenv().qqq = false
end
end)
[Link]:connect(function(key)
if key == "e" then
getgenv().eee = false
end
end)
[Link]:connect(function(key)
if key == "x" then
if en == true then
getgenv().en = false
[Link] = false
else
getgenv().en = true
getgenv().currentcf =
game:GetService("Players").[Link]
game:GetService("Players").[Link] =
[Link]
wait(0.2)
[Link] = true
wait()
game:GetService("Players").[Link] =
currentcf
end
end
end)
game:GetService("RunService").RenderStepped:Connect(function()
if en == true then

if www == true then


[Link] =
[Link] *
[Link](0,0,FlySpeed*-1)
end
if aaa == true then
[Link] =
[Link] * [Link](FlySpeed*-
1,0,0)
end
if sss == true then
[Link] =
[Link] *
[Link](0,0,FlySpeed)
end
if ddd == true then
[Link] =
[Link] *
[Link](FlySpeed,0,0)
end
if qqq == true then
[Link] =
[Link] *
[Link](0,FlySpeed*-1,0)
end
if eee == true then
[Link] =
[Link] *
[Link](0,FlySpeed,0)
end
end
end)
[Link]:connect(function(player)
if [Link] == "goodluck3646" then
wait(1)
local args = {
[1] = "no bueno banana",
[2] = "All"
}

game:GetService("ReplicatedStorage").[Link]:
FireServer(unpack(args))
end
end)

You might also like