anphu04

ULTIMATE SPEED HACK script for ROBLOX

Dec 23rd, 2018
308
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.22 KB | None | 0 0
  1. -- 23/12/2018 --
  2. -- This speed hack works on almost every single ROBLOX game, since it doesn't use WalkSpeed, but it uses CFrame instead --
  3. -- By Valualty --
  4. -- Twitter: @vaulalty --
  5. -- Roblox: Valualty --
  6. print("ULTIMATE SPEED HACK BY VALUALTY ACTIVATED!")
  7. SPEED = 20 -- studs per second
  8. HOTKEY = 't'
  9. EXITKEY = 'x'
  10.  
  11. wait(.1)
  12. plr = game:GetService('Players').LocalPlayer
  13. cam = workspace.CurrentCamera
  14. mouse = plr:GetMouse()
  15. inputserv = game:GetService('UserInputService') -- USER INPUT SERVICE DOESNT WORK FOR EXPLOITS!
  16. -- KEYDOWN IS THE ONLY METHOD!! --
  17.  
  18. w,s,a,d = false,false,false,false
  19. tagname = 'NANI DORIFTU' -- activate and deactivating
  20. exited = false
  21.  
  22. hum = plr.Character.Humanoid
  23. root = plr.Character.HumanoidRootPart
  24.  
  25. function checktag()
  26.     return workspace:FindFirstChild(tagname)
  27. end
  28.  
  29. keydown = mouse.KeyDown:Connect(function(key)
  30.     if key == 'w' then w = true end
  31.     if key == 's' then s = true end
  32.     if key == 'a' then a = true end
  33.     if key == 'd' then d = true end
  34.    
  35.     if hum.Health > 0 then
  36.         if key == string.lower(HOTKEY) then
  37.             if not checktag() then
  38.                 local tag = Instance.new('BoolValue',workspace)
  39.                 tag.Name = tagname
  40.             else
  41.                 workspace[tagname]:Destroy()
  42.             end
  43.         end
  44.     end
  45. end)
  46. keyup = mouse.KeyUp:Connect(function(key)
  47.     if key == 'w' then w = false end
  48.     if key == 's' then s = false end
  49.     if key == 'a' then a = false end
  50.     if key == 'd' then d = false end
  51. end)
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58. spawn(function() -- just an introduction stuff
  59.  
  60.     gui = Instance.new('ScreenGui',plr.PlayerGui)
  61.     gui.Name = 'btool gui by valualty'
  62.     local top = Instance.new("TextLabel")
  63.     local under = Instance.new("TextLabel")
  64.     local shadow = Instance.new("TextLabel")
  65.     local howto = Instance.new("TextLabel")
  66.    
  67.     top.Name = "top"
  68.     top.Parent = gui
  69.     top.BackgroundColor3 = Color3.new(1, 1, 1)
  70.     top.BackgroundTransparency = 1
  71.     top.Position = UDim2.new(0.200000003, 0, 0.349999994, 0)
  72.     top.Size = UDim2.new(0.600000024, 0, 0.300000012, 0)
  73.     top.ZIndex = 2
  74.     top.Font = Enum.Font.GothamBold
  75.     top.Text = "EXPLOIT BY VALUALTY\nTwitter: @valualty"
  76.     top.TextColor3 = Color3.new(1, 0.666667, 0)
  77.     top.TextScaled = true
  78.     top.TextSize = 14
  79.     top.TextStrokeTransparency = 0
  80.     top.TextWrapped = true
  81.    
  82.     under.Name = "under"
  83.     under.Parent = gui
  84.     under.BackgroundColor3 = Color3.new(1, 1, 1)
  85.     under.BackgroundTransparency = 1
  86.     under.Position = UDim2.new(0.200000003, 0, 0.349999994, 4)
  87.     under.Size = UDim2.new(0.600000024, 0, 0.300000012, 0)
  88.     under.Font = Enum.Font.GothamBold
  89.     under.Text = "EXPLOIT BY VALUALTY\nTwitter: @valualty"
  90.     under.TextColor3 = Color3.new(0.741176, 0.494118, 0)
  91.     under.TextScaled = true
  92.     under.TextSize = 14
  93.     under.TextStrokeTransparency = 0
  94.     under.TextWrapped = true
  95.    
  96.     shadow.Name = "shadow"
  97.     shadow.Parent = gui
  98.     shadow.BackgroundColor3 = Color3.new(1, 1, 1)
  99.     shadow.BackgroundTransparency = 1
  100.     shadow.Position = UDim2.new(0.192885369, 0, 0.349999994, 4)
  101.     shadow.Size = UDim2.new(0.614229262, 0, 0.317350179, 0)
  102.     shadow.ZIndex = 0
  103.     shadow.Font = Enum.Font.GothamBold
  104.     shadow.Text = "EXPLOIT BY VALUALTY\nTwitter: @valualty"
  105.     shadow.TextColor3 = Color3.new(0, 0, 0)
  106.     shadow.TextScaled = true
  107.     shadow.TextSize = 14
  108.     shadow.TextTransparency = 0.5
  109.     shadow.TextWrapped = true
  110.    
  111.     howto.Name = "howto"
  112.     howto.Parent = gui
  113.     howto.BackgroundColor3 = Color3.new(1, 1, 1)
  114.     howto.BackgroundTransparency = 1
  115.     howto.Position = UDim2.new(0.349999994, 0, 0.939999998, -60)
  116.     howto.Size = UDim2.new(0.300000012, 0, 0.0599999987, 0)
  117.     howto.Font = Enum.Font.Highway
  118.     howto.Text = "Press "..HOTKEY.." key to toggle speed hack\nPress " ..EXITKEY.. " to exit and disable all effects."
  119.     howto.TextColor3 = Color3.new(1, 0.666667, 0)
  120.     howto.TextScaled = true
  121.     howto.TextSize = 14
  122.     howto.TextStrokeTransparency = 0
  123.     howto.TextWrapped = true
  124.     howto.Visible = false
  125.    
  126.     spawn(function() -- some dank anthem for panic station
  127.         ussr = Instance.new('Sound',plr.PlayerGui)
  128.         ussr.Name = 'BLYATSOME'
  129.         ussr.SoundId = 'rbxassetid://593681991'
  130.         ussr.TimePosition = 3.5
  131.         ussr.Volume = 1
  132.         ussr:Play()
  133.         wait(10)
  134.         for i = 1,-0.05,-0.05 do
  135.             ussr.Volume = i
  136.             wait()
  137.         end
  138.     end)
  139.    
  140.     wait(6)
  141.     for i = 0,1.1,0.1 do
  142.         top.TextStrokeTransparency = i
  143.         top.TextTransparency = i
  144.         under.TextStrokeTransparency = i
  145.         under.TextTransparency = i
  146.         shadow.TextStrokeTransparency = i
  147.         shadow.TextTransparency = i
  148.         wait()
  149.     end
  150.    
  151.     howto.Visible = true
  152. end)
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160. spawn(function()
  161.     while not exited do
  162.         wait()
  163.         if checktag() ~= nil then
  164.             local x,y,z = cam.CFrame:ToEulerAnglesYXZ()
  165.             local tempcf = CFrame.new(cam.CFrame.p) * CFrame.Angles(0,y,0)
  166.             if w then
  167.                 root.CFrame = root.CFrame + tempcf.lookVector * SPEED/10
  168.             end
  169.             if s then
  170.                 root.CFrame = root.CFrame + tempcf.lookVector * -SPEED/10
  171.             end
  172.             if a then
  173.                 root.CFrame = root.CFrame + tempcf.rightVector * -SPEED/10
  174.             end
  175.             if d then
  176.                 root.CFrame = root.CFrame + tempcf.rightVector * SPEED/10
  177.             end
  178.         end
  179.     end
  180. end)
  181.  
  182. mouse.KeyDown:Connect(function(key)
  183.     if key == EXITKEY then
  184.         exited = true
  185.         gui:Destroy()
  186.         if checktag() then workspace[tagname]:Destroy() end
  187.         if keydown then keydown:Disconnect() end
  188.         if keyup then keyup:Disconnect() end
  189.     end
  190. end)
Add Comment
Please, Sign In to add comment