Advertisement
NKSz

The Streets [MIX] By NKSz

Mar 22nd, 2018
3,833
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 37.77 KB | None | 0 0
  1. -- [1] The Streets
  2. -- Credits To NKSzYT#6882
  3. -- +rep pls my rep is really low rn
  4. local Players = game:GetService("Players")
  5. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  6. local UserInput = game:GetService("UserInputService")
  7. local Core = game:GetService("CoreGui")
  8.  
  9. local Plr = Players.LocalPlayer
  10. local Mouse = Plr:GetMouse()
  11.  
  12. local ToggleKey = Enum.KeyCode.Equals
  13. local BlinkKey = Enum.KeyCode.Q
  14. local FlyKey = Enum.KeyCode.Semicolon
  15. local FoodKey = Enum.KeyCode.P
  16.  
  17. local Prefix = ";"
  18. local Split = " "
  19.  
  20. -- [2] Init Stuff
  21.  
  22. Plr.CameraMaxZoomDistance = math.huge
  23.  
  24. local AutoJumpOn = false
  25. local NoSlowOn = false
  26. local CanFly = false
  27. local CanUnlock = false
  28. local CanBlink = false
  29. local BringCashOn = false
  30.  
  31. local Blinking = false
  32. local Flying = false
  33.  
  34. local FlightSpeed = 1
  35. local BlinkSpeed = 1
  36.  
  37. -- [3] Main Functions
  38.  
  39. local TP = function(CFRAME)
  40. for i,v in pairs(Plr.PlayerGui:GetChildren()) do
  41. if v:IsA("LocalScript") then
  42. v.Disabled = true
  43. end
  44. end
  45. Plr.Character.HumanoidRootPart.CFrame = CFRAME
  46. for i,v in pairs(Plr.PlayerGui:GetChildren()) do
  47. if v:IsA("LocalScript") then
  48. v.Disabled = false
  49. end
  50. end
  51. end
  52.  
  53. local Respawn = function()
  54. Plr.Character:Destroy()
  55. local a1 = Instance.new("Model", workspace)
  56. local a2 = Instance.new("Part", a1)
  57. a2.CanCollide = true
  58. a2.Anchored = true
  59. a2.CFrame = CFrame.new(10000, 10000, 10000)
  60. a2.Name = "Torso"
  61. local a3 = Instance.new("Humanoid", a1)
  62. a3.MaxHealth=100;a3.Health=100
  63. Plr.Character = a1
  64. a3.Health=0
  65. end
  66.  
  67. local GetItems = function()
  68. local Pos = Plr.Character.Torso.CFrame
  69. for i,v in pairs(workspace:GetChildren()) do
  70. if v.Name == "RandomSpawner" then
  71. local Handle = v:FindFirstChild("Handle", true)
  72. if Handle then
  73. TP(Handle.CFrame)
  74. wait(1)
  75. end
  76. end
  77. end
  78. TP(Pos)
  79. end
  80.  
  81. local GetTool = function(Name, P)
  82. local Tool = nil
  83. for i,v in pairs(P.Backpack:GetChildren()) do
  84. if v.Name == Name then
  85. Tool = v
  86. end
  87. end
  88. for i,v in pairs(P.Character:GetChildren()) do
  89. if v.Name == Name then
  90. Tool = v
  91. end
  92. end
  93. if Tool then
  94. return Tool
  95. else
  96. print("Cannot find: " .. Name)
  97. end
  98. end
  99.  
  100. local PlayMusic = function(ID, P)
  101. local BoomBox = GetTool("BoomBox", P)
  102. BoomBox.Parent = P.Character
  103. BoomBox.Remote:FireServer("PlaySong", ID)
  104. BoomBox.Parent = P.Backpack
  105. end
  106.  
  107. local ReEquip = function()
  108. local Tool = nil
  109. for i,v in pairs(Plr.Character:GetChildren()) do
  110. if v:IsA("Tool") or v:IsA("HopperBin") then
  111. Tool = v
  112. end
  113. end
  114. if Tool then
  115. Tool.Parent = Plr.Backpack
  116. wait(0.2)
  117. Tool.Parent = Plr.Character
  118. end
  119. end
  120.  
  121. Mouse.Button1Down:connect(function()
  122. if CanUnlock and Mouse.Target and Mouse.Target.Name == "Click" then
  123. local Lock = Mouse.Target.Parent:FindFirstChild("Locker")
  124. if Lock and Lock.Value == true then
  125. Mouse.Target.Parent.Lock.ClickDetector.RemoteEvent:FireServer()
  126. wait(0.1)
  127. Mouse.Target.ClickDetector.RemoteEvent:FireServer()
  128. end
  129. end
  130. end)
  131.  
  132. -- [4] GUI Main
  133.  
  134. local NormalColor = Color3.fromRGB(42, 42, 42)
  135. local GUIColor = Color3.fromRGB(120, 25, 188)
  136.  
  137. local GUI = game:GetObjects("rbxassetid://01207250298")[1]
  138. GUI.Parent = Core
  139.  
  140. local Buttons = GUI.Buttons
  141. local localButton = Buttons["1local"]
  142. local bindsButton = Buttons["2keybinds"]
  143. local valueButton = Buttons["3values"]
  144. local infoButton = Buttons["4info"]
  145.  
  146. local LocalTab = GUI.LocalTab
  147. local AutoJ = LocalTab.Frame["1"]
  148. local NoSlow = LocalTab.Frame["2"]
  149. local Flight = LocalTab.Frame["3"]
  150. local UnlockDoors = LocalTab.Frame["4"]
  151. local Blink = LocalTab.Frame["5"]
  152.  
  153. local BindsTab = GUI.BindsTab
  154. local toggleButton = BindsTab.Frame.toggleKey
  155. local blinkButton = BindsTab.Frame.blinkKey
  156. local flightButton = BindsTab.Frame.flightKey
  157. local foodButton = BindsTab.Frame.foodKey
  158.  
  159. local ValueTab = GUI.ValueTab
  160. local DownBlink = ValueTab.Frame.DownBlink
  161. local UpBlink = ValueTab.Frame.UpBlink
  162. local DownFlight = ValueTab.Frame.DownFlight
  163. local UpFlight = ValueTab.Frame.UpFlight
  164. local blinkTxt = ValueTab.Frame.blinkTxt
  165. local flightTxt = ValueTab.Frame.flightTxt
  166. print("Loading The Streets MIX By NKSzYT#6882 !")
  167. local InfoTab = GUI.InfoTab
  168. local ptxt = InfoTab.Frame.pfixTxt
  169.  
  170. ptxt.Text = 'Command Prefix: "' .. tostring(Prefix) .. '"'
  171.  
  172. -- [5] Buttons
  173.  
  174. localButton.MouseButton1Down:connect(function()
  175. if not LocalTab.Visible then
  176. LocalTab.Visible = true
  177. localButton.BackgroundColor3 = GUIColor
  178. else
  179. LocalTab.Visible = false
  180. localButton.BackgroundColor3 = NormalColor
  181. end
  182. end)
  183.  
  184. bindsButton.MouseButton1Down:connect(function()
  185. if not BindsTab.Visible then
  186. BindsTab.Visible = true
  187. bindsButton.BackgroundColor3 = GUIColor
  188. else
  189. BindsTab.Visible = false
  190. bindsButton.BackgroundColor3 = NormalColor
  191. end
  192. end)
  193.  
  194. valueButton.MouseButton1Down:connect(function()
  195. if not ValueTab.Visible then
  196. ValueTab.Visible = true
  197. valueButton.BackgroundColor3 = GUIColor
  198. else
  199. ValueTab.Visible = false
  200. valueButton.BackgroundColor3 = NormalColor
  201. end
  202. end)
  203. infoButton.MouseButton1Down:connect(function()
  204. if not InfoTab.Visible then
  205. InfoTab.Visible = true
  206. infoButton.BackgroundColor3 = GUIColor
  207. else
  208. InfoTab.Visible = false
  209. infoButton.BackgroundColor3 = NormalColor
  210. end
  211. end)
  212.  
  213. -- [6] Local Tab
  214.  
  215. AutoJ.MouseButton1Down:connect(function()
  216. if not AutoJumpOn then
  217. AutoJumpOn = true
  218. AutoJ.BackgroundColor3 = GUIColor
  219. else
  220. AutoJumpOn = false
  221. AutoJ.BackgroundColor3 = NormalColor
  222. end
  223. end)
  224.  
  225. NoSlow.MouseButton1Down:connect(function()
  226. if not NoSlowOn then
  227. NoSlowOn = true
  228. NoSlow.BackgroundColor3 = GUIColor
  229. else
  230. NoSlowOn = false
  231. NoSlow.BackgroundColor3 = NormalColor
  232. end
  233. end)
  234.  
  235. Flight.MouseButton1Down:connect(function()
  236. if not CanFly then
  237. CanFly = true
  238. Flight.BackgroundColor3 = GUIColor
  239. else
  240. CanFly = false
  241. Flying = false
  242. Flight.BackgroundColor3 = NormalColor
  243. end
  244. end)
  245.  
  246. UnlockDoors.MouseButton1Down:connect(function()
  247. if not CanUnlock then
  248. CanUnlock = true
  249. UnlockDoors.BackgroundColor3 = GUIColor
  250. else
  251. CanUnlock = false
  252. UnlockDoors.BackgroundColor3 = NormalColor
  253. end
  254. end)
  255.  
  256. Blink.MouseButton1Down:connect(function()
  257. if not CanBlink then
  258. CanBlink = true
  259. Blink.BackgroundColor3 = GUIColor
  260. else
  261. CanBlink = false
  262. Blinking = false
  263. Blink.BackgroundColor3 = NormalColor
  264. end
  265. end)
  266.  
  267. -- [7] Keybinds
  268.  
  269. toggleButton.Text = tostring(ToggleKey):sub(14)
  270. blinkButton.Text = tostring(BlinkKey):sub(14)
  271. flightButton.Text = tostring(FlyKey):sub(14)
  272. foodButton.Text = tostring(FoodKey):sub(14)
  273.  
  274. toggleButton.MouseButton1Down:connect(function()
  275. toggleButton.Text = "Press a key"
  276. a = UserInput.InputBegan:connect(function(input, gp)
  277. if input.UserInputType == Enum.UserInputType.Keyboard then
  278. wait()
  279. local key = input.KeyCode
  280. ToggleKey = key
  281. toggleButton.Text = tostring(key):sub(14)
  282. a:Disconnect()
  283. end
  284. end)
  285. end)
  286.  
  287. blinkButton.MouseButton1Down:connect(function()
  288. blinkButton.Text = "Press a key"
  289. b = UserInput.InputBegan:connect(function(input, gp)
  290. if input.UserInputType == Enum.UserInputType.Keyboard then
  291. wait()
  292. local key = input.KeyCode
  293. BlinkKey = key
  294. blinkButton.Text = tostring(key):sub(14)
  295. b:Disconnect()
  296. end
  297. end)
  298. end)
  299.  
  300. flightButton.MouseButton1Down:connect(function()
  301. flightButton.Text = "Press a key"
  302. c = UserInput.InputBegan:connect(function(input, gp)
  303. if input.UserInputType == Enum.UserInputType.Keyboard then
  304. wait()
  305. local key = input.KeyCode
  306. FlyKey = key
  307. flightButton.Text = tostring(key):sub(14)
  308. c:Disconnect()
  309. end
  310. end)
  311. end)
  312.  
  313. foodButton.MouseButton1Down:connect(function()
  314. foodButton.Text = "Press a key"
  315. d = UserInput.InputBegan:connect(function(input, gp)
  316. if input.UserInputType == Enum.UserInputType.Keyboard then
  317. wait()
  318. local key = input.KeyCode
  319. FoodKey = key
  320. foodButton.Text = tostring(key):sub(14)
  321. d:Disconnect()
  322. end
  323. end)
  324. end)
  325.  
  326. -- [8] Values
  327.  
  328. blinkTxt.Text = "Blink - " .. BlinkSpeed
  329. flightTxt.Text = "Flight - " .. FlightSpeed
  330.  
  331. DownBlink.MouseButton1Down:connect(function()
  332. if BlinkSpeed > 1 then
  333. BlinkSpeed = BlinkSpeed - 1
  334. blinkTxt.Text = "Blink - " .. BlinkSpeed
  335. end
  336. end)
  337.  
  338. UpBlink.MouseButton1Down:connect(function()
  339. if BlinkSpeed < 5 then
  340. BlinkSpeed = BlinkSpeed + 1
  341. blinkTxt.Text = "Blink - " .. BlinkSpeed
  342. end
  343. end)
  344.  
  345. DownFlight.MouseButton1Down:connect(function()
  346. if FlightSpeed > 1 then
  347. FlightSpeed = FlightSpeed - 1
  348. flightTxt.Text = "Flight - " .. FlightSpeed
  349. end
  350. end)
  351.  
  352. UpFlight.MouseButton1Down:connect(function()
  353. if FlightSpeed < 5 then
  354. FlightSpeed = FlightSpeed + 1
  355. flightTxt.Text = "Flight - " .. FlightSpeed
  356. end
  357. end)
  358.  
  359. -- [9] UIS
  360.  
  361. local Open = false
  362.  
  363. local ToggleGUI = function()
  364. if not Open then
  365. Open = true
  366. Buttons:TweenPosition(UDim2.new(0.005, 0, 0.45, 0), "Out", "Quad", 0.1, true)
  367. wait()
  368. GUI.Enabled = true
  369. else
  370. Open = false
  371. Buttons:TweenPosition(UDim2.new(-1.1, 0, 0.45, 0), "Out", "Quad", 0.1, true)
  372. wait()
  373. GUI.Enabled = false
  374. end
  375. end
  376.  
  377. local GetMovement = function(time)
  378. local Speed = FlightSpeed * 10
  379. local nextMove = Vector3.new()
  380. -- Left/Right
  381. if UserInput:IsKeyDown("A") or UserInput:IsKeyDown("Left") then
  382. nextMove = Vector3.new(-1,0,0)
  383. elseif UserInput:IsKeyDown("D") or UserInput:IsKeyDown("Right") then
  384. nextMove = Vector3.new(1,0,0)
  385. end
  386. -- Forward/Back
  387. if UserInput:IsKeyDown("W") or UserInput:IsKeyDown("Up") then
  388. nextMove = nextMove + Vector3.new(0,0,-1)
  389. elseif UserInput:IsKeyDown("S") or UserInput:IsKeyDown("Down") then
  390. nextMove = nextMove + Vector3.new(0,0,1)
  391. end
  392. -- Up/Down
  393. if UserInput:IsKeyDown("Space") then
  394. nextMove = nextMove + Vector3.new(0,1,0)
  395. elseif UserInput:IsKeyDown("LeftControl") then
  396. nextMove = nextMove + Vector3.new(0,-1,0)
  397. end
  398.  
  399. if UserInput:IsKeyDown("LeftShift") then
  400. Speed = 120
  401. else
  402. Speed = FlightSpeed * 10
  403. end
  404. return CFrame.new(nextMove * (Speed * time))
  405. end
  406.  
  407. local Flight = function()
  408. local last = tick()
  409. local root = Plr.Character.HumanoidRootPart
  410. local hum = Plr.Character.Humanoid
  411. local cam = workspace.CurrentCamera
  412. --
  413. if not Flying and CanFly then
  414. Flying = true
  415. Plr.Character.Humanoid.Died:connect(function()
  416. Flying = false
  417. end)
  418. hum.PlatformStand = true
  419. while Flying do
  420. root.Anchored = true
  421. local delta = tick() - last
  422. local look = (cam.Focus.p - cam.CoordinateFrame.p).unit
  423. local move = GetMovement(delta)
  424. local pos = root.Position
  425. root.CFrame = CFrame.new(pos, pos + look) * move
  426. last = tick()
  427. wait(.001)
  428. end
  429. hum.PlatformStand = false
  430. root.Anchored = false
  431. else
  432. Flying = false
  433. end
  434.  
  435. end
  436.  
  437. local Blink = function()
  438. if CanBlink then
  439. if not Blinking then
  440. Blinking = true
  441. while Blinking do
  442. Plr.Character.HumanoidRootPart.CFrame = Plr.Character.HumanoidRootPart.CFrame + (Plr.Character.HumanoidRootPart.CFrame.lookVector * BlinkSpeed)
  443. wait(0.001)
  444. end
  445. else
  446. Blinking = false
  447. end
  448. end
  449. end
  450.  
  451. UserInput.InputBegan:connect(function(input, gp)
  452. if not gp then
  453. if input.KeyCode == ToggleKey then
  454. ToggleGUI()
  455. elseif input.KeyCode == BlinkKey then
  456. Blink()
  457. elseif input.KeyCode == FlyKey then
  458. spawn(function()
  459. Flight()
  460. end)
  461. elseif input.KeyCode == FoodKey then
  462. if workspace:FindFirstChild("Chicken | $12") then
  463. workspace["Chicken | $12"]:MoveTo(Plr.Character.Torso.Position)
  464. end
  465. end
  466. end
  467. end)
  468.  
  469. -- [10] Admin Main
  470.  
  471. local Admins = {}
  472. local Bans = {}
  473.  
  474. -- # Main Lib
  475.  
  476. local ServerLocked = false
  477.  
  478. local Cmds = {}
  479.  
  480. local CheckInTable = function(Tab, Obj)
  481. for i,v in pairs(Tab) do
  482. if Obj == v then
  483. return true
  484. end
  485. end
  486. return false
  487. end
  488.  
  489. local Endat = function(a, b)
  490. local c = a:find(b)
  491. if c then
  492. return a:sub(0, c - string.len(b)), true
  493. else
  494. return a, false
  495. end
  496. end
  497.  
  498. local FindCmd = function(Cmd)
  499. for i,v in pairs(Cmds) do
  500. if v.Name:lower() == Cmd:lower() or CheckInTable(v.Alias, Cmd:lower()) then
  501. return v
  502. end
  503. end
  504. end
  505.  
  506. local GetCmd = function(a)
  507. local cmd, lol = Endat(a:lower(), Split)
  508. if lol then
  509. return {cmd, true}
  510. else
  511. return {cmd, false}
  512. end
  513. end
  514.  
  515. local GetPrefix = function(str)
  516. if str:sub(1, string.len(Prefix)) == Prefix then
  517. return {"CMD", string.len(Prefix) + 1}
  518. end
  519. end
  520.  
  521. local GetArgs = function(str)
  522. local a = {}
  523. local na = nil
  524. local hs = nil
  525. local s = str
  526. repeat
  527. na, hs = Endat(s:lower(), Split)
  528. if na ~= "" then
  529. table.insert(a, na)
  530. s = s:sub(string.len(na) + string.len(Split) + 1)
  531. end
  532. until not hs
  533. return a
  534. end
  535.  
  536. local ExCmd = function(str, speaker)
  537. repeat
  538. if str:find(" ") then
  539. str = str:gsub(" ", " ")
  540. end
  541. until not str:find(" ")
  542. local x = GetCmd(str)
  543. local cmd = FindCmd(x[1])
  544. if not cmd then
  545. return
  546. end
  547. local a = str:sub(string.len(x[1]) + string.len(Split) + 1)
  548. local args = GetArgs(a)
  549. pcall(function()
  550. cmd.Func(args, speaker)
  551. end)
  552. end
  553.  
  554. local CheckAdmin = function(a)
  555. if CheckInTable(Admins, a.Name) then
  556. return true
  557. elseif a.UserId == Plr.UserId then
  558. return true
  559. end
  560. return false
  561. end
  562.  
  563. local HandleMsg = function(str, speaker)
  564. if not CheckAdmin(speaker) then
  565. return
  566. end
  567. str = str:gsub("/e ", "")
  568. local gp = GetPrefix(str)
  569. if not gp then
  570. return
  571. end
  572. str = str:sub(gp[2])
  573. if gp[1] == "CMD" then
  574. ExCmd(str, speaker)
  575. end
  576. end
  577.  
  578. local AddCmd = function(Name, Desc, Alias, Func)
  579. table.insert(Cmds, {
  580. Name = Name;
  581. Desc = Desc;
  582. Alias = Alias;
  583. Func = Func;
  584. })
  585. end
  586.  
  587. local SplitString = function(Self, Sep)
  588. local Sep, Fields = Sep or Split, {}
  589. local Pattern = string.format("([^%s]+)", Sep)
  590. Self:gsub(Pattern, function(c) Fields[#Fields+1] = c end)
  591. return Fields
  592. end
  593.  
  594. local GetPlr = function(str, speaker)
  595. local tab = {}
  596. str = str:lower()
  597. local a = SplitString(str, ",")
  598. for z,x in pairs(a) do
  599. if x == "me" or x == "!" then
  600. table.insert(tab, speaker.Name)
  601. elseif x == "others" or x == "other" then
  602. for i,v in pairs(Players:GetPlayers()) do
  603. if v.Name ~= speaker.Name then
  604. table.insert(tab, v.Name)
  605. end
  606. end
  607. elseif x == "all" or x == "*" then
  608. for i,v in pairs(Players:GetPlayers()) do
  609. table.insert(tab, v.Name)
  610. end
  611. elseif x == "admins" then
  612. for i,v in pairs(Players:GetPlayers()) do
  613. if CheckInTable(Admins, v.Name) then
  614. table.insert(tab, v.Name)
  615. end
  616. end
  617. elseif x == "nonadmins" then
  618. for i,v in pairs(Players:GetPlayers()) do
  619. if not CheckInTable(Admins, v.Name) then
  620. table.insert(tab, v.Name)
  621. end
  622. end
  623. elseif x == "friends" then
  624. for i,v in pairs(Players:GetPlayers()) do
  625. if v ~= speaker and v:IsFriendsWith(speaker.UserId) then
  626. table.insert(tab, v.name)
  627. end
  628. end
  629. elseif x == "nonfriends" then
  630. for i,v in pairs(Players:GetPlayers()) do
  631. if v ~= speaker and not v:IsFriendsWith(speaker.UserId) then
  632. table.insert(tab, v.name)
  633. end
  634. end
  635. else
  636. for i,v in pairs(Players:GetPlayers()) do
  637. local l = v.Name:lower()
  638. local f = l:find(str)
  639. if f == 1 then
  640. table.insert(tab, v.Name)
  641. end
  642. end
  643. end
  644. end
  645. return tab
  646. end
  647.  
  648. local Hook = function(P)
  649. P.Chatted:connect(function(Msg)
  650. HandleMsg(Msg, P)
  651. end)
  652. end
  653.  
  654. for i,v in pairs(Players:GetPlayers()) do
  655. Hook(v)
  656. end
  657.  
  658. Players.PlayerAdded:connect(function(P)
  659. Hook(P)
  660. end)
  661.  
  662. -- [11] Admin Commands
  663.  
  664. AddCmd("Respawn", "Respawn character", {"rs"},
  665. function(Args, Speaker)
  666. Respawn()
  667. end)
  668.  
  669. AddCmd("Goto", "Goto plr", {"to"},
  670. function(Args, Speaker)
  671. local p = GetPlr(Args[1], Speaker)
  672. for i,v in pairs(p) do
  673. TP(Players[v].Character.Torso.CFrame)
  674. ReEquip()
  675. end
  676. end)
  677.  
  678. AddCmd("Fly", "Allows you to fly", {},
  679. function(Args, Speaker)
  680. spawn(function()
  681. Flight()
  682. end)
  683. end)
  684.  
  685. AddCmd("Bank", "TP to bank", {},
  686. function(Args, Speaker)
  687. TP(CFrame.new(-269.053375, 4.81635475, 139.362961))
  688. ReEquip()
  689. end)
  690.  
  691. AddCmd("Prison", "TP to prison", {},
  692. function(Args, Speaker)
  693. TP(CFrame.new(-973.523621, 3.19878054, -76.6112595))
  694. ReEquip()
  695. end)
  696.  
  697. AddCmd("Music", "Play music", {"mus", "play", "sound"},
  698. function(Args, Speaker)
  699. local str = table.concat(Args, " ")
  700. if string.match(str, "%a") then
  701. local http = game:HttpGet("https://search.roblox.com/catalog/json?CatalogContext=2&SortAggregation=5&LegendExpanded=true&Category=9&Keyword=" .. str, true)
  702. if http ~= "[]" then
  703. local ID = http:sub(13)
  704. ID = ID:sub(1, ID:find(",") - 1)
  705. PlayMusic(ID, Speaker)
  706. else
  707. print("No results")
  708. end
  709. else
  710. PlayMusic(Args[1], Speaker)
  711. end
  712. end)
  713.  
  714. AddCmd("Items", "Gets all items", {},
  715. function(Args, Speaker)
  716. GetItems()
  717. end)
  718.  
  719. AddCmd("Uzi", "Brings uzi", {},
  720. function(Args, Speaker)
  721. if workspace:FindFirstChild("Uzi | $150") then
  722. workspace["Uzi | $150"]:MoveTo(Plr.Character.Torso.Position)
  723. end
  724. end)
  725.  
  726. AddCmd("Glock", "Bring glock", {},
  727. function(Args, Speaker)
  728. if workspace:FindFirstChild("Glock | $200") then
  729. workspace["Glock | $200"]:MoveTo(Plr.Character.Torso.Position)
  730. end
  731. end)
  732.  
  733. AddCmd("Machete", "Bring machete", {},
  734. function(Args, Speaker)
  735. if workspace:FindFirstChild("Machete | $70") then
  736. workspace["Machete | $70"]:MoveTo(Plr.Character.Torso.Position)
  737. end
  738. end)
  739.  
  740. AddCmd("Food", "Brings food", {},
  741. function(Args, Speaker)
  742. if workspace:FindFirstChild("Chicken | $12") then
  743. workspace["Chicken | $12"]:MoveTo(Plr.Character.Torso.Position)
  744. end
  745. end)
  746.  
  747. AddCmd("Ammo", "Brings ammo", {},
  748. function(Args, Speaker)
  749. if workspace:FindFirstChild("Buy Ammo | $25") then
  750. workspace["Buy Ammo | $25"]:MoveTo(Plr.Character.Torso.Position)
  751. end
  752. end)
  753.  
  754. AddCmd("Bt", "Gives hammer tool", {},
  755. function(Args, Speaker)
  756. Instance.new("HopperBin", Plr.Backpack).BinType = "Hammer"
  757. end)
  758.  
  759. AddCmd("Anim", "Load animation", {},
  760. function(Args, Speaker)
  761. local ID = Args[1]
  762. local Anim = Instance.new("Animation")
  763. Anim.AnimationId = "http://www.roblox.com/Asset?ID=" .. ID
  764. local Track = Plr.Character.Humanoid:LoadAnimation(Anim)
  765. Track:Play()
  766. end)
  767.  
  768. AddCmd("Prefix", "Set prefix", {},
  769. function(Args, Speaker)
  770. if Args[1] == "nil" then
  771. Prefix = ""
  772. else
  773. Prefix = Args[1]
  774. end
  775. end)
  776.  
  777. -- [12] Ending stuff
  778.  
  779. local Main = function()
  780. local Char = Plr.Character
  781. local Hum = Char.Humanoid
  782. --
  783. Hum.FallingDown:connect(function()
  784. if AutoJumpOn then
  785. for i = 1, 2 do
  786. Hum.Sit = true
  787. Hum.Jump = true
  788. end
  789. end
  790. end)
  791. Hum.Changed:connect(function()
  792. if NoSlowOn and Hum.WalkSpeed <= 0 then
  793. Hum.WalkSpeed = 16
  794. end
  795. end)
  796. end
  797.  
  798. Main()
  799.  
  800. Plr.CharacterAdded:connect(function()
  801. wait(0.5)
  802. Main()
  803. end)
  804.  
  805. unl = function(ins)
  806. for i,v in pairs(ins:GetChildren()) do
  807. if v:IsA("BasePart") then
  808. v.Locked = false
  809. end
  810. unl(v)
  811. end
  812. end
  813.  
  814. unl(workspace)
  815.  
  816. game:GetService("StarterGui"):SetCore("SendNotification", {
  817. Title = "Script loaded; v1"; -- Required. Has to be a string!
  818. Text = "Press '" .. tostring(ToggleKey):sub(14) .. "' key to toggle GUI"; -- Required. Has to be a string!
  819. Icon = nil; -- Optional, defaults to "" (no icon)
  820. Duration = 7; -- Optional, defaults to 5 seconds
  821. })
  822. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("[NKSzYT's Bot:] - NKSz's admin loaded credits to NKSz","All")
  823. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  824. if string.lower(msg) == "hotkeyheal" then
  825. print("auto heal hotkey made by goodends")
  826. local m = game.Players.LocalPlayer:GetMouse()
  827. local plr = game:GetService("Players").LocalPlayer
  828. m.KeyDown:connect(function(k)
  829. k = k:lower()
  830. if k == "m" then
  831. game.Workspace["Chicken | $12"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  832. game.Workspace["Chicken | $12"].Head.CanCollide = false
  833. game.Workspace["Burger | $15"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  834. game.Workspace["Burger | $15"].Head.CanCollide = false
  835. game.Workspace["Drink | $15"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  836. game.Workspace["Drink | $15"].Head.CanCollide = false
  837. wait(1)
  838. local chicken = game.Players.LocalPlayer.Backpack.Chicken
  839. chicken.Parent = game.Players.LocalPlayer.Character
  840. chicken:Activate()
  841.  
  842. local Burger = game.Players.LocalPlayer.Backpack.Burger
  843. Burger.Parent = game.Players.LocalPlayer.Character
  844. Burger:Activate()
  845.  
  846. local Drink = game.Players.LocalPlayer.Backpack.Drink
  847. Drink.Parent = game.Players.LocalPlayer.Character
  848. Drink:Activate()
  849.  
  850. end
  851. end)
  852. end
  853. end)
  854. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  855. if string.lower(msg) == "healbot" then
  856. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("[NKSzYT's Bot:] - Auto Heal bot loaded Made by NKSz, credits to Imperialy for auto eat !!!","All")
  857. local hum = game.Players.LocalPlayer.Character.Humanoid
  858. local currHealth = hum.Health
  859.  
  860. hum.HealthChanged:connect(function(h)
  861. if h <= 70 then
  862. repeat
  863. game.Workspace["Chicken | $12"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  864. game.Workspace["Chicken | $12"].Head.CanCollide = false
  865. game.Workspace["Burger | $15"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  866. game.Workspace["Burger | $15"].Head.CanCollide = false
  867. game.Workspace["Drink | $15"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  868. game.Workspace["Drink | $15"].Head.CanCollide = false
  869. game.ReplicatedStorage.DefaultChatSystemChatEvents.SayMessageRequest:FireServer("[NKSzYT's Bot:] - You have been damaged","All")
  870.  
  871. local chicken = game.Players.LocalPlayer.Backpack.Chicken
  872. chicken.Parent = game.Players.LocalPlayer.Character
  873. chicken:Activate()
  874.  
  875. local Burger = game.Players.LocalPlayer.Backpack.Burger
  876. Burger.Parent = game.Players.LocalPlayer.Character
  877. Burger:Activate()
  878.  
  879. local Drink = game.Players.LocalPlayer.Backpack.Drink
  880. Drink.Parent = game.Players.LocalPlayer.Character
  881. Drink:Activate()
  882.  
  883. until game:GetService("Players").LocalPlayer.Character.Humanoid.Health == 100
  884.  
  885.  
  886.  
  887.  
  888.  
  889. end
  890. end)
  891.  
  892. end
  893. end)
  894.  
  895.  
  896.  
  897. game:GetService("Players").LocalPlayer.Chatted:connect(function(msg)
  898. if string.lower(msg) == "combatroll" then
  899. local userinput = game:GetService("UserInputService")
  900. local player = game.Players.LocalPlayer
  901. userinput.InputBegan:connect(function(input)
  902. if userinput:GetFocusedTextBox() then
  903. return
  904. end
  905. if input.KeyCode == Enum.KeyCode.F then
  906. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  907. end
  908. end)
  909.  
  910. local userinput = game:GetService("UserInputService")
  911. local player = game.Players.LocalPlayer
  912. userinput.InputBegan:connect(function(input)
  913. if userinput:GetFocusedTextBox() then
  914. return
  915. end
  916. if input.KeyCode == Enum.KeyCode.F then
  917. Player = "LocalPlayer"
  918. AnimationId = "255611787"
  919. local Anim = Instance.new("Animation")
  920. Anim.AnimationId = "rbxassetid://"..AnimationId
  921. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  922. k:Play() --Play the animation
  923. k:AdjustSpeed(1) --Set '10' to any value you want to adjust the animation speed.
  924. end
  925. end)
  926.  
  927. local userinput = game:GetService("UserInputService")
  928. local player = game.Players.LocalPlayer
  929. userinput.InputBegan:connect(function(input)
  930. if userinput:GetFocusedTextBox() then
  931. return
  932. end
  933. if input.KeyCode == Enum.KeyCode.f then
  934. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  935. end
  936. end)
  937.  
  938. plr = game.Players.LocalPlayer
  939. mouse = plr:GetMouse()
  940.  
  941. mouse.KeyDown:connect(function(key)
  942. if key:lower() == "f" then
  943. AnimationId = 255611787
  944. local Anim = Instance.new("Animation")
  945. Anim.AnimationId = "rbxassetid://"..AnimationId
  946. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  947. k:Play()
  948. k:AdjustSpeed(1)
  949. end
  950. end)
  951.  
  952.  
  953.  
  954.  
  955. local userinput = game:GetService("UserInputService")
  956. local player = game.Players.LocalPlayer
  957. userinput.InputBegan:connect(function(input)
  958. if userinput:GetFocusedTextBox() then
  959. return
  960. end
  961. if input.KeyCode == Enum.KeyCode.E then
  962. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  963. end
  964. end)
  965.  
  966. local userinput = game:GetService("UserInputService")
  967. local player = game.Players.LocalPlayer
  968. userinput.InputBegan:connect(function(input)
  969. if userinput:GetFocusedTextBox() then
  970. return
  971. end
  972. if input.KeyCode == Enum.KeyCode.E then
  973. Player = "LocalPlayer"
  974. AnimationId = "255609512"
  975. local Anim = Instance.new("Animation")
  976. Anim.AnimationId = "rbxassetid://"..AnimationId
  977. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  978. k:Play() --Play the animation
  979. k:AdjustSpeed(1) --Set '10' to any value you want to adjust the animation speed.
  980. end
  981. end)
  982.  
  983. local userinput = game:GetService("UserInputService")
  984. local player = game.Players.LocalPlayer
  985. userinput.InputBegan:connect(function(input)
  986. if userinput:GetFocusedTextBox() then
  987. return
  988. end
  989. if input.KeyCode == Enum.KeyCode.E then
  990. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  991. end
  992. end)
  993.  
  994. plr = game.Players.LocalPlayer
  995. mouse = plr:GetMouse()
  996.  
  997. mouse.KeyDown:connect(function(key)
  998. if key:lower() == "e" then
  999. AnimationId = 255609512
  1000. local Anim = Instance.new("Animation")
  1001. Anim.AnimationId = "rbxassetid://"..AnimationId
  1002. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  1003. k:Play()
  1004. k:AdjustSpeed(1)
  1005. end
  1006. end)
  1007.  
  1008.  
  1009.  
  1010. local userinput = game:GetService("UserInputService")
  1011. local player = game.Players.LocalPlayer
  1012. userinput.InputBegan:connect(function(input)
  1013. if userinput:GetFocusedTextBox() then
  1014. return
  1015. end
  1016. if input.KeyCode == Enum.KeyCode.Z then
  1017. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1018. end
  1019. end)
  1020.  
  1021. local userinput = game:GetService("UserInputService")
  1022. local player = game.Players.LocalPlayer
  1023. userinput.InputBegan:connect(function(input)
  1024. if userinput:GetFocusedTextBox() then
  1025. return
  1026. end
  1027. if input.KeyCode == Enum.KeyCode.Z then
  1028. Player = "LocalPlayer"
  1029. AnimationId = "255612831"
  1030. local Anim = Instance.new("Animation")
  1031. Anim.AnimationId = "rbxassetid://"..AnimationId
  1032. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  1033. k:Play() --Play the animation
  1034. k:AdjustSpeed(1) --Set '10' to any value you want to adjust the animation speed.
  1035. end
  1036. end)
  1037.  
  1038. local userinput = game:GetService("UserInputService")
  1039. local player = game.Players.LocalPlayer
  1040. userinput.InputBegan:connect(function(input)
  1041. if userinput:GetFocusedTextBox() then
  1042. return
  1043. end
  1044. if input.KeyCode == Enum.KeyCode.Z then
  1045. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1046. end
  1047. end)
  1048.  
  1049. plr = game.Players.LocalPlayer
  1050. mouse = plr:GetMouse()
  1051.  
  1052. mouse.KeyDown:connect(function(key)
  1053. if key:lower() == "z" then
  1054. AnimationId = 255612831
  1055. local Anim = Instance.new("Animation")
  1056. Anim.AnimationId = "rbxassetid://"..AnimationId
  1057. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  1058. k:Play()
  1059. k:AdjustSpeed(1)
  1060. end
  1061. end)
  1062.  
  1063.  
  1064.  
  1065. local userinput = game:GetService("UserInputService")
  1066. local player = game.Players.LocalPlayer
  1067. userinput.InputBegan:connect(function(input)
  1068. if userinput:GetFocusedTextBox() then
  1069. return
  1070. end
  1071. if input.KeyCode == Enum.KeyCode.C then
  1072. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1073. end
  1074. end)
  1075.  
  1076.  
  1077.  
  1078.  
  1079. local userinput = game:GetService("UserInputService")
  1080. local player = game.Players.LocalPlayer
  1081. userinput.InputBegan:connect(function(input)
  1082. if userinput:GetFocusedTextBox() then
  1083. return
  1084. end
  1085. if input.KeyCode == Enum.KeyCode.C then
  1086. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1087. end
  1088. end)
  1089.  
  1090. local userinput = game:GetService("UserInputService")
  1091. local player = game.Players.LocalPlayer
  1092. userinput.InputBegan:connect(function(input)
  1093. if userinput:GetFocusedTextBox() then
  1094. return
  1095. end
  1096. if input.KeyCode == Enum.KeyCode.C then
  1097. Player = "LocalPlayer"
  1098. AnimationId = "255609108"
  1099. local Anim = Instance.new("Animation")
  1100. Anim.AnimationId = "rbxassetid://"..AnimationId
  1101. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  1102. k:Play() --Play the animation
  1103. k:AdjustSpeed(1) --Set '10' to any value you want to adjust the animation speed.
  1104. end
  1105. end)
  1106.  
  1107. local userinput = game:GetService("UserInputService")
  1108. local player = game.Players.LocalPlayer
  1109. userinput.InputBegan:connect(function(input)
  1110. if userinput:GetFocusedTextBox() then
  1111. return
  1112. end
  1113. if input.KeyCode == Enum.KeyCode.c then
  1114. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1115. end
  1116. end)
  1117.  
  1118. plr = game.Players.LocalPlayer
  1119. mouse = plr:GetMouse()
  1120.  
  1121. mouse.KeyDown:connect(function(key)
  1122. if key:lower() == "c" then
  1123. AnimationId = 255609108
  1124. local Anim = Instance.new("Animation")
  1125. Anim.AnimationId = "rbxassetid://"..AnimationId
  1126. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  1127. k:Play()
  1128. k:AdjustSpeed(1)
  1129. end
  1130. end)
  1131. local userinput = game:GetService("UserInputService")
  1132. local player = game.Players.LocalPlayer
  1133. userinput.InputBegan:connect(function(input)
  1134. if userinput:GetFocusedTextBox() then
  1135. return
  1136. end
  1137. if input.KeyCode == Enum.KeyCode.X then
  1138. Player = "LocalPlayer"
  1139. AnimationId = "255613885"
  1140. local Anim = Instance.new("Animation")
  1141. Anim.AnimationId = "rbxassetid://"..AnimationId
  1142. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  1143. k:Play() --Play the animation
  1144. k:AdjustSpeed(1) --Set '10' to any value you want to adjust the animation speed.
  1145. end
  1146. end)
  1147.  
  1148. local userinput = game:GetService("UserInputService")
  1149. local player = game.Players.LocalPlayer
  1150. userinput.InputBegan:connect(function(input)
  1151. if userinput:GetFocusedTextBox() then
  1152. return
  1153. end
  1154. if input.KeyCode == Enum.KeyCode.X then
  1155. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1156. end
  1157. end)
  1158.  
  1159. plr = game.Players.LocalPlayer
  1160. mouse = plr:GetMouse()
  1161.  
  1162. mouse.KeyDown:connect(function(key)
  1163. if key:lower() == "x" then
  1164. AnimationId = 255613885
  1165. local Anim = Instance.new("Animation")
  1166. Anim.AnimationId = "rbxassetid://"..AnimationId
  1167. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  1168. k:Play()
  1169. k:AdjustSpeed(1)
  1170. end
  1171. end)
  1172.  
  1173.  
  1174.  
  1175. local userinput = game:GetService("UserInputService")
  1176. local player = game.Players.LocalPlayer
  1177. userinput.InputBegan:connect(function(input)
  1178. if userinput:GetFocusedTextBox() then
  1179. return
  1180. end
  1181. if input.KeyCode == Enum.KeyCode.G then
  1182. Player = "LocalPlayer"
  1183. AnimationId = "345332316"
  1184. local Anim = Instance.new("Animation")
  1185. Anim.AnimationId = "rbxassetid://"..AnimationId
  1186. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  1187. k:Play() --Play the animation
  1188. k:AdjustSpeed(1) --Set '10' to any value you want to adjust the animation speed.
  1189. end
  1190. end)
  1191.  
  1192. local userinput = game:GetService("UserInputService")
  1193. local player = game.Players.LocalPlayer
  1194. userinput.InputBegan:connect(function(input)
  1195. if userinput:GetFocusedTextBox() then
  1196. return
  1197. end
  1198. if input.KeyCode == Enum.KeyCode.G then
  1199. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1200. end
  1201. end)
  1202.  
  1203. plr = game.Players.LocalPlayer
  1204. mouse = plr:GetMouse()
  1205.  
  1206. mouse.KeyDown:connect(function(key)
  1207. if key:lower() == "g" then
  1208. AnimationId = 345332316
  1209. local Anim = Instance.new("Animation")
  1210. Anim.AnimationId = "rbxassetid://"..AnimationId
  1211. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  1212. k:Play()
  1213. k:AdjustSpeed(1)
  1214. end
  1215. end)
  1216.  
  1217. local userinput = game:GetService("UserInputService")
  1218. local player = game.Players.LocalPlayer
  1219. userinput.InputBegan:connect(function(input)
  1220. if userinput:GetFocusedTextBox() then
  1221. return
  1222. end
  1223. if input.KeyCode == Enum.KeyCode.V then
  1224. Player = "LocalPlayer"
  1225. AnimationId = "376654657"
  1226. local Anim = Instance.new("Animation")
  1227. Anim.AnimationId = "rbxassetid://"..AnimationId
  1228. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  1229. k:Play() --Play the animation
  1230. k:AdjustSpeed(1) --Set '1' to any value you want to adjust the animation speed.
  1231. end
  1232. end)
  1233.  
  1234.  
  1235. local userinput = game:GetService("UserInputService")
  1236. local player = game.Players.LocalPlayer
  1237. userinput.InputBegan:connect(function(input)
  1238. if userinput:GetFocusedTextBox() then
  1239. return
  1240. end
  1241. if input.KeyCode == Enum.KeyCode.R then
  1242. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1243. end
  1244. end)
  1245.  
  1246. local userinput = game:GetService("UserInputService")
  1247. local player = game.Players.LocalPlayer
  1248. userinput.InputBegan:connect(function(input)
  1249. if userinput:GetFocusedTextBox() then
  1250. return
  1251. end
  1252. if input.KeyCode == Enum.KeyCode.R then
  1253. Player = "LocalPlayer"
  1254. AnimationId = "185244920"
  1255. local Anim = Instance.new("Animation")
  1256. Anim.AnimationId = "rbxassetid://"..AnimationId
  1257. local k = game.Players[Player].Character.Humanoid:LoadAnimation(Anim)
  1258. k:Play() --Play the animation
  1259. k:AdjustSpeed(1) --Set '1' to any value you want to adjust the animation speed.
  1260. end
  1261. end)
  1262.  
  1263.  
  1264. local userinput = game:GetService("UserInputService")
  1265. local player = game.Players.LocalPlayer
  1266. userinput.InputBegan:connect(function(input)
  1267. if userinput:GetFocusedTextBox() then
  1268. return
  1269. end
  1270. if input.KeyCode == Enum.KeyCode.T then
  1271. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1272. end
  1273. end)
  1274.  
  1275. local userinput = game:GetService("UserInputService")
  1276. local player = game.Players.LocalPlayer
  1277. userinput.InputBegan:connect(function(input)
  1278. if userinput:GetFocusedTextBox() then
  1279. return
  1280. end
  1281. if input.KeyCode == Enum.KeyCode.T then
  1282. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1283. end
  1284. end)
  1285.  
  1286.  
  1287.  
  1288. local userinput = game:GetService("UserInputService")
  1289. local player = game.Players.LocalPlayer
  1290. userinput.InputBegan:connect(function(input)
  1291. if userinput:GetFocusedTextBox() then
  1292. return
  1293. end
  1294. if input.KeyCode == Enum.KeyCode.H then
  1295. game.Players.LocalPlayer.Backpack.ServerTraits.Touch:FireServer(game.Players.LocalPlayer.Backpack.Pipe, game.Players.LocalPlayer.Character.RightHand, true)
  1296. end
  1297. end)
  1298.  
  1299. plr = game.Players.LocalPlayer
  1300. mouse = plr:GetMouse()
  1301.  
  1302. mouse.KeyDown:connect(function(key)
  1303. if key:lower() == "h" then
  1304. AnimationId = 255501878
  1305. local Anim = Instance.new("Animation")
  1306. Anim.AnimationId = "rbxassetid://"..AnimationId
  1307. local k = game.Players.LocalPlayer.Character.Humanoid:LoadAnimation(Anim)
  1308. k:Play()
  1309. k:AdjustSpeed(1)
  1310. end
  1311. end)
  1312.  
  1313.  
  1314.  
  1315. end
  1316. end)
  1317.  
  1318.  
  1319. game:GetService("Players").LocalPlayer.chatted:connect(function(msg)
  1320. if string.lower(msg) == "givemelee" then
  1321. game.Workspace["Golf Club | $70"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1322. game.Workspace["Golf Club | $70"].Head.CanCollide = false
  1323. game.Workspace["Machete | $70"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1324. game.Workspace["Pipe | $100"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1325. game.Workspace["Pipe | $100"].Head.CanCollide = false
  1326. game.Workspace["Machete | $70"].Head.CanCollide = false
  1327. game.Workspace["Bat | $50"].Head.CanCollide = false
  1328. game.Workspace["Bat | $50"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1329. end
  1330. end)
  1331. game:GetService("Players").LocalPlayer.chatted:connect(function(msg)
  1332. if string.lower(msg) == "uzi" then
  1333. game.Workspace["Uzi | $150"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1334. game.Workspace["Uzi | $150"].Head.CanCollide = false
  1335. end
  1336. end)
  1337. game:GetService("Players").LocalPlayer.chatted:connect(function(msg)
  1338. if string.lower(msg) == "glock" then
  1339. game.Workspace["Glock | $200"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1340. game.Workspace["Glock | $200"].Head.CanCollide = false
  1341. end
  1342. end)
  1343. game:GetService("Players").LocalPlayer.chatted:connect(function(msg)
  1344. if string.lower(msg) == "sawedoff" then
  1345. game.Workspace["Sawed Off | $150"].Head.CanCollide = false
  1346. game.Workspace["Sawed Off | $150"].Head.CFrame = game.Players.LocalPlayer.Character.Head.CFrame
  1347. end
  1348. end)
  1349.  
  1350. local plr = game.Players.LocalPlayer
  1351.  
  1352. local e = false
  1353.  
  1354. plr.Chatted:connect(function(cmd)
  1355. cmd=cmd:lower()
  1356. if cmd == "farmbot" then
  1357. e = not e
  1358. end
  1359. end)
  1360.  
  1361. while true do
  1362. wait()
  1363. if e == true then
  1364. local s = workspace:FindFirstChild("RandomSpawner")
  1365. if s then
  1366. plr.Character.HumanoidRootPart.CFrame = s.CFrame
  1367. end
  1368. end
  1369. end
  1370.  
  1371. print("The Streets MIX Has Succesfully Loaded.")
  1372.  
  1373. --lego haxs for life
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement