SHOW:
|
|
- or go back to the newest paste.
| 1 | --[[ | |
| 2 | - | ---------------------:HOW TO USE:--------------------- |
| 2 | + | ---- i dont know what shit i've done so uh ---- |
| 3 | - | Edit the amount of keystrokes you have. (At keystrokelist) |
| 3 | + | ---- ok ---- |
| 4 | - | Now, add a function with the exact same name as that keystroke. |
| 4 | + | |
| 5 | - | If you don't want the function to run unless a certain variable is true, then write like this: |
| 5 | + | |
| 6 | - | if not something then |
| 6 | + | |
| 7 | - | return false |
| 7 | + | |
| 8 | Frame2.Transparency = 0 | |
| 9 | Frame2.Size = UDim2.new(0.538, 0,0.137, 0) | |
| 10 | - | If you do return nil, it'll still work. |
| 10 | + | |
| 11 | - | That's all. |
| 11 | + | |
| 12 | Frame2.BackgroundTransparency = 1 | |
| 13 | textGui.Transparency = 0 | |
| 14 | textGui.Size = UDim2.new(1, 0, 1, 0) | |
| 15 | textGui.Text = "" | |
| 16 | textGui.BackgroundColor3 = Color3.new(1, 1, 1) | |
| 17 | textGui.BackgroundTransparency = 1 | |
| 18 | textGui.Font = Enum.Font.Fantasy | |
| 19 | textGui.FontSize = Enum.FontSize.Size96 | |
| 20 | textGui.TextColor3 = Color3.new(1, 0.0941177, 0.305882) | |
| 21 | textGui.TextWrapped = true | |
| 22 | textGui.TextXAlignment = Enum.TextXAlignment.Left | |
| 23 | ||
| 24 | keystrokes = {}
| |
| 25 | keystrokeFunctions = {}
| |
| 26 | --[[THINGS YOU CAN MODIFY]]-- | |
| 27 | resetKey = "\\" | |
| 28 | keystrokelist = {
| |
| 29 | ['adadadq'] = true, | |
| 30 | ['wasd'] = true, | |
| 31 | ['asdasdwwq'] = true, | |
| 32 | ['aassddqr'] = true | |
| 33 | } | |
| 34 | do --functions here | |
| 35 | keystrokeFunctions.adadadq = function() | |
| 36 | if game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= Enum.Material.Air then | |
| 37 | game.Players.LocalPlayer.Character:FindFirstChild('Humanoid', true).JumpPower = 100
| |
| 38 | - | ['wasd'] = true |
| 38 | + | |
| 39 | else | |
| 40 | return false | |
| 41 | end | |
| 42 | end | |
| 43 | keystrokeFunctions.wasd = function() | |
| 44 | if game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= Enum.Material.Air then | |
| 45 | - | wait(0.1) |
| 45 | + | |
| 46 | - | game.Players.LocalPlayer.Character:FindFirstChild('Humanoid', true).JumpPower = 50
|
| 46 | + | |
| 47 | return true | |
| 48 | end | |
| 49 | end | |
| 50 | end | |
| 51 | keystrokeFunctions.asdasdwwq = function() | |
| 52 | if game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= Enum.Material.Air then | |
| 53 | game.Players.LocalPlayer.character.Humanoid.WalkSpeed = 180 | |
| 54 | wait(7) | |
| 55 | - | local bv = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character)
|
| 55 | + | game.Players.LocalPlayer.WalkSpeed = 16 |
| 56 | - | bv.Velocity = Vector3.new(0, -25000, 0) |
| 56 | + | |
| 57 | - | |
| 57 | + | end |
| 58 | - | repeat wait() |
| 58 | + | |
| 59 | - | until game.Players.LocalPlayer.Character.Humanoid.FloorMaterial ~= Enum.Material.Air |
| 59 | + | keystrokeFunctions.aassddqr = function() |
| 60 | - | bv:Destroy() |
| 60 | + | |
| 61 | game.Players.LocalPlayer.Character:FindFirstChild('Humanoid', true).JumpPower = 190
| |
| 62 | game.Players.LocalPlayer.Character.Humanoid.Jump = true | |
| 63 | else | |
| 64 | return false | |
| 65 | end | |
| 66 | end | |
| 67 | --[[BELOW: UNTOUCHABLES]]-- | |
| 68 | spawn(function(s) | |
| 69 | while true do | |
| 70 | wait() | |
| 71 | textGui.Text = table.concat(keystrokes, '') | |
| 72 | end | |
| 73 | end) | |
| 74 | mouse = game:GetService('Players').LocalPlayer:GetMouse()
| |
| 75 | mouse.KeyDown:connect(function(key) | |
| 76 | if key == "0" then return nil end | |
| 77 | if key == resetKey or key == '' or key == ' ' then | |
| 78 | print('Resetted keystrokes.')
| |
| 79 | keystrokes = {}
| |
| 80 | return nil | |
| 81 | end | |
| 82 | if #keystrokes >= 14 then | |
| 83 | print('over 14')
| |
| 84 | local gui = textGui:Clone() | |
| 85 | gui.Text = gui.Text..key | |
| 86 | gui.Parent = (Frame2) --14 characters | |
| 87 | gui:TweenPosition(UDim2.new(0,0,1.3,0), "Out", "Quad", 5) | |
| 88 | gui.TextColor3 = Color3.fromRGB(0,0,0) | |
| 89 | spawn(function(s) | |
| 90 | for i = 0, 1, 0.1 do | |
| 91 | wait() | |
| 92 | gui.TextTransparency = i | |
| 93 | end | |
| 94 | end) | |
| 95 | keystrokes = {}
| |
| 96 | wait(0.99) | |
| 97 | gui:Destroy() | |
| 98 | return nil | |
| 99 | end | |
| 100 | table.insert(keystrokes, key) | |
| 101 | - | print('yay')
|
| 101 | + | |
| 102 | if keystrokelist[table.concat(keystrokes, '')] then | |
| 103 | print('!')
| |
| 104 | local asd = keystrokeFunctions[table.concat(keystrokes, '')]() | |
| 105 | if asd == false then | |
| 106 | local gui = textGui:Clone() | |
| 107 | gui.Text = gui.Text..key | |
| 108 | gui.Parent = (Frame2) --14 characters | |
| 109 | gui:TweenPosition(UDim2.new(0,0,1.3,0), "Out", "Quad", 5) | |
| 110 | - | for i = 0, 1, 0.1 do |
| 110 | + | |
| 111 | spawn(function(s) | |
| 112 | for i = 0, 2, 0.1 do | |
| 113 | wait() | |
| 114 | gui.TextTransparency = i | |
| 115 | end | |
| 116 | end) | |
| 117 | spawn(function(asd) | |
| 118 | wait(1) | |
| 119 | gui:Destroy() | |
| 120 | end) | |
| 121 | keystrokes = {}
| |
| 122 | return nil | |
| 123 | end | |
| 124 | local gui = textGui:Clone() | |
| 125 | gui.Text = gui.Text..key | |
| 126 | gui.Parent = (Frame2) --14 characters | |
| 127 | gui:TweenPosition(UDim2.new(0,0,1.3,0), "Out", "Quad", 5) | |
| 128 | gui.TextColor3 = Color3.fromRGB(0,255,0) | |
| 129 | spawn(function(s) | |
| 130 | for i = 0, 2, 0.1 do | |
| 131 | wait() | |
| 132 | gui.TextTransparency = i | |
| 133 | end | |
| 134 | end) | |
| 135 | keystrokes = {}
| |
| 136 | wait(1) | |
| 137 | gui:Destroy() | |
| 138 | end | |
| 139 | end) |