Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- strength = 0.25
- enabled = true
- states = {['false']="Off",['true']="On"}
- shutdownkey = Enum.KeyCode.Delete
- holdingkey1 = false
- holdinginput1 = false
- local key1 = Enum.KeyCode.LeftShift
- local input1 = Enum.UserInputType.MouseButton1
- local ui = game.Players.LocalPlayer.PlayerGui:FindFirstChild("VELMGR") or Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
- ui.DisplayOrder = math.huge
- ui.Name = "VELMGR"
- ui.ResetOnSpawn = false
- local f= ui:FindFirstChild("TextButton") or Instance.new("TextButton",ui)
- f.Size = UDim2.fromOffset(100,25)
- f.Text = states[tostring(enabled)]
- f.BackgroundTransparency = 0.5
- f.BackgroundColor3 = Color3.new(0,0,0)
- f.TextColor3 = Color3.new(1,1,1)
- f.TextScaled = true
- f.ZIndex = 9999999
- local textbox =ui:FindFirstChild("TextBox") or Instance.new("TextBox",ui)
- textbox.Size = UDim2.fromOffset(100,25)
- textbox.Position = UDim2.fromOffset(0,30)
- textbox.BackgroundTransparency = 0.5
- textbox.BackgroundColor3 = Color3.new(0,0,0)
- textbox.TextScaled = true
- textbox.TextColor3 = Color3.new(1,1,1)
- textbox.Text = strength
- textbox.ZIndex = 9999999
- textbox.Changed:Connect(function()
- local n = tonumber(textbox.Text)
- if n ~= nil then
- strength = n
- end
- end)
- f.MouseButton1Click:Connect(function()
- enabled = not enabled
- f.Text = states[tostring(enabled)]
- end)
- game.UserInputService.InputBegan:Connect(function(i)
- if i.KeyCode == shutdownkey then
- ui:Destroy()
- script:Destroy()
- end
- if i.KeyCode == Enum.KeyCode.RightShift then
- ui.Enabled = not ui.Enabled
- end
- if i.KeyCode == key1 or i.UserInputType == key1 then
- holdingkey1 = true
- end
- if i.KeyCode == input1 or i.UserInputType == input1 then
- holdinginput1 = true
- end
- end)
- game.UserInputService.InputEnded:Connect(function(i)
- if i.KeyCode == key1 or i.UserInputType == key1 then
- holdingkey1 = false
- end
- if i.KeyCode == input1 or i.UserInputType == input1 then
- holdinginput1 = false
- end
- end)
- game:GetService("RunService").PostSimulation:Connect(function()
- if holdingkey1 and holdinginput1 and enabled and tonumber(strength) ~= nil then
- game.Players.LocalPlayer.Character.PrimaryPart.AssemblyLinearVelocity += ((game.Players.LocalPlayer.Character.PrimaryPart.CFrame.LookVector*strength)*Vector3.new(1,0,1))
- end
- end)
- loadstring(game:HttpGet("https://pastebin.com/raw/fvHNHuz7"))()
- loadstring(game:HttpGet("https://raw.githubusercontent.com/ic3w0lf22/Unnamed-ESP/master/UnnamedESP.lua"))()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement