Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local allguis = game.Players.LocalPlayer.PlayerGui:GetDescendants()
- local function getspeedgui()
- for i,v in pairs(allguis) do
- if v.ClassName == "TextLabel" and string.find(v.Text,"u/s") then
- return(v)
- end
- end
- end
- repeat
- allguis = game.Players.LocalPlayer.PlayerGui:GetDescendants()
- wait(1)
- speedgui = getspeedgui()
- until speedgui
- local screengui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui.QBox)
- text1 = Instance.new("TextLabel",screengui)
- text2 = Instance.new("TextLabel",screengui)
- text3 = Instance.new("TextLabel",screengui)
- text4 = Instance.new("TextLabel",screengui)
- text5 = Instance.new("TextLabel",screengui)
- text6 = Instance.new("TextLabel",screengui)
- text7 = Instance.new("TextLabel",screengui)
- for i=1,7,1 do
- getfenv()["text"..i].Text = ""
- getfenv()["text"..i].TextSize = 15
- getfenv()["text"..i].TextColor3 = Color3.new((25*i)/255, 0, 0)
- getfenv()["text"..i].BackgroundTransparency = 1
- getfenv()["text"..i].TextXAlignment = "Left"
- getfenv()["text"..i].TextYAlignment = "Top"
- getfenv()["text"..i].Position = UDim2.new(0.754, 0,0.712+(i*0.036), 0)
- if i == 1 then
- getfenv()["text"..i].Text = "semicolon (;) to toggle\ngui by MooManChicken"
- getfenv()["text"..i].Size = UDim2.new(0, 330 , 0, 300)
- getfenv()["text"..i].BackgroundTransparency = 0.8
- getfenv()["text"..i].BackgroundColor3 = Color3.new(0,0,0)
- end
- end
- local function isspectating()
- for i,v in pairs(speedgui.Parent.Parent:GetDescendants()) do
- if v.ClassName == "TextLabel" then
- if game.Players:FindFirstChild(v.Text) or v.Text == "" then
- return v
- end
- end
- end
- end
- local spectating = isspectating()
- local strafed = 0
- local ssj = 0
- game:GetService("UserInputService").InputBegan:connect(function(inputObject, gameProcessedEvent)
- if inputObject.KeyCode == Enum.KeyCode.Space then
- for i=1,7,1 do
- getfenv()["text"..i].Text = ""
- end
- if screengui.Enabled and tonumber(speedgui.Text:sub(0,-4)) <= 18 and tonumber(speedgui.Text:sub(0,-4)) > 10 then
- strafed = 0
- ssj = 0
- text1.Text = "[SSJ] Speed First Jump: " .. tostring(speedgui.Text:sub(0,-4))
- wait(0.7158)
- text2.Text = "[SSJ] Speed Second Jump: " .. tostring(speedgui.Text:sub(0,-4))
- wait(0.7158)
- text3.Text = "[SSJ] Speed Third Jump: " .. tostring(speedgui.Text:sub(0,-4))
- wait(0.7158)
- text4.Text = "[SSJ] Speed Fourth Jump: " .. tostring(speedgui.Text:sub(0,-4))
- wait(0.7158)
- text5.Text = "[SSJ] Speed Fifth Jump: " .. tostring(speedgui.Text:sub(0,-4))
- wait(0.7158)
- ssj = speedgui.Text:sub(0,-4)
- text6.Text = "[SSJ] Speed Sixth Jump: " .. tostring(ssj)
- if strafed > 3 then
- if spectating then
- if not #spectating.Text > 2 then
- text7.Text = "SSJ: " .. tostring(ssj)
- else
- text7.Text = "Spectating why"
- end
- else
- text7.Text = "SSJ: " .. tostring(ssj)
- end
- else
- text7.Text = "Not enough strafes"
- end
- end
- end
- if inputObject.KeyCode == Enum.KeyCode.D or inputObject.KeyCode == Enum.KeyCode.A then
- strafed = strafed + 1
- end
- if inputObject.KeyCode == Enum.KeyCode.Semicolon then
- screengui.Enabled = not screengui.Enabled
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement