Skip to content

Commit

Permalink
Update greif.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
tip52 authored Oct 21, 2022
1 parent c5da468 commit cb58f22
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions greif.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ until


getgenv().Speed = 16

_G.KeyCode = "X"
if not isfolder("Greif Config") then
makefolder("Greif Config")
if not isfile("Greif Config/WalkSpeed.txt") then
Expand All @@ -14,21 +14,18 @@ if not isfolder("Greif Config") then
if not isfile("Greif Config/Fling.txt") then
writefile("Greif Config/Fling.txt","false")
end
if not isfile("Greif Config/FlingKey.txt") then
writefile("Greif Config/FlingKey.txt","X")
end

end

getgenv().Speed = tonumber(readfile("Greif Config/WalkSpeed.txt"))
fling = readfile("Greif Config/Fling.txt")
flingKey = readfile("Greif Config/FlingKey.txt")
_G.KeyCode = flingKey
if fling == "true" then
loadstring(game:HttpGet("https://shattered-gang.lol/scripts/fe/touch_fling.lua"))()
end

_G.flyKey = "q"


_G.flyKey = "q"
function Walkspeed()
game.Players.LocalPlayer.Character.Humanoid:GetPropertyChangedSignal("WalkSpeed"):Connect(function()
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = getgenv().Speed
Expand Down Expand Up @@ -182,16 +179,9 @@ Main:Toggle{
end
}

Main:Textbox{
Name = "Fling Toggle Key (Default X)",
Callback = function(v)
_G.KeyCode = v
writefile("Greif Config/FlingKey.txt",v)
end
}

Main:Toggle{
Name = "Auto load Fling Script",
Name = "Auto load Fling Script (x to toggle fling)",
StartingState = false,
Description = nil,
Callback = function(v)
Expand All @@ -200,7 +190,7 @@ Main:Toggle{
}

Main:Button{
Name = "Execute Fling Script",
Name = "Execute Fling Script (x to toggle fling)",
Description = nil,
Callback = function()
loadstring(game:HttpGet("https://shattered-gang.lol/scripts/fe/touch_fling.lua"))()
Expand Down Expand Up @@ -228,6 +218,7 @@ Main:Button{
end
}


local queueteleport = (syn and syn.queue_on_teleport) or queue_on_teleport or (fluxus and fluxus.queue_on_teleport)
local Players = game.Players
shid = true
Expand Down

0 comments on commit cb58f22

Please sign in to comment.