Guest User

Untitled

a guest
Aug 22nd, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 27.47 KB | None | 0 0
  1. local Player = game.Players.LocalPlayer
  2. local UserInputService = game:GetService("UserInputService")
  3. local RunService = game:GetService("RunService")
  4.  
  5. local TeamModeChanged = Instance.new("BindableFunction")
  6. local IsTeamMode = false
  7.  
  8. UserInputService.InputBegan:Connect(function(Key,GP)
  9. if not GP and Key.KeyCode == Enum.KeyCode.C then
  10. IsTeamMode = not IsTeamMode
  11. TeamModeChanged:Invoke()
  12. end
  13. end)
  14.  
  15. local IsBigHeadMode = false
  16.  
  17. UserInputService.InputBegan:Connect(function(Key,GP)
  18. if not GP and Key.KeyCode == Enum.KeyCode.Y then
  19. IsBigHeadMode = not IsBigHeadMode
  20. end
  21. end)
  22.  
  23. ALLYCOLOR = {0,255,255}
  24. ENEMYCOLOR = {255,0,0}
  25. TRANSPARENCY = 0.25
  26.  
  27. function createFlex()
  28. players = game:GetService("Players")
  29. faces = {"Front","Back","Bottom","Left","Right","Top"}
  30. players.PlayerAdded:Connect(function(p)
  31. p.CharacterAdded:Connect(function(character)
  32. createESP(character,p)
  33. end)
  34. end)
  35.  
  36. function checkPart(obj) if (obj:IsA("Part") or obj:IsA("MeshPart")) and obj.Name~="HumanoidRootPart" then return true end end
  37.  
  38. function actualESP(obj,plr)
  39. for i=0,5 do
  40. local surface
  41. if RunService:IsStudio() == false then
  42. surface = Instance.new("SurfaceGui",game:GetService("CoreGui"))
  43. else
  44. surface = Instance.new("SurfaceGui",obj)
  45. end
  46. surface.Face = Enum.NormalId[faces[i+1]]
  47. surface.AlwaysOnTop = true
  48. surface.Adornee = obj
  49.  
  50. local frame = Instance.new("Frame",surface)
  51. frame.Size = UDim2.new(1,0,1,0)
  52. frame.BorderSizePixel = 0
  53. frame.BackgroundTransparency = TRANSPARENCY
  54. if IsTeamMode then
  55. if plr.Team == players.LocalPlayer.Team then
  56. frame.BackgroundColor3 = Color3.new(ALLYCOLOR[1],ALLYCOLOR[2],ALLYCOLOR[3])
  57. else
  58. frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3])
  59. end
  60. else
  61. frame.BackgroundColor3 = Color3.new(ENEMYCOLOR[1],ENEMYCOLOR[2],ENEMYCOLOR[3])
  62. end
  63. end
  64. end
  65.  
  66.  
  67.  
  68. function createESP(c,p)
  69. local bugfix = c:WaitForChild("Head")
  70. for i,v in pairs(c:GetChildren()) do
  71. if checkPart(v) then
  72. actualESP(v,p)
  73. end
  74. end
  75. end
  76.  
  77.  
  78. for i,people in pairs(players:GetChildren())do
  79. if people ~= players.LocalPlayer then
  80. createESP(people.Character,people)
  81. people.CharacterAdded:Connect(function(character)
  82. createESP(character,people)
  83. end)
  84. end
  85. end
  86. end
  87.  
  88. function StopFlex()
  89. if RunService:IsStudio() == false then
  90. for _,Child in ipairs(game:GetService("CoreGui"):GetChildren()) do
  91. if Child:IsA("SurfaceGui") or Child:IsA("BillboardGui") then
  92. Child:Destroy()
  93. end
  94. end
  95. else
  96. for _,Child in ipairs(game:GetService("Workspace"):GetDescendants()) do
  97. if Child:IsA("SurfaceGui") or Child:IsA("BillboardGui") then
  98. Child:Destroy()
  99. end
  100. end
  101. end
  102. end
  103.  
  104.  
  105. function CreateButton(Parent,Text)
  106. local Button = Instance.new("TextButton")
  107. Button.Text = Text
  108. Button.TextScaled = true
  109. Button.Font = Enum.Font.Garamond
  110. Button.Parent = Parent
  111. Button.BackgroundTransparency = 0.99
  112. Button.TextColor3 = Color3.new(255,255,255)
  113. Button.ZIndex = 6
  114. return Button
  115. end
  116. local Gui
  117. if not RunService:IsStudio() then
  118. Gui = Instance.new("ScreenGui",game:GetService("CoreGui"))
  119. else
  120. Gui = Instance.new("ScreenGui",Player.PlayerGui)
  121. end
  122. Gui.Name = "MainGameController"
  123. Gui.ResetOnSpawn = false
  124. local MainFrameMove = Instance.new("Frame",Gui)
  125. MainFrameMove.Visible = true
  126. MainFrameMove.Active = true
  127. MainFrameMove.Draggable = true
  128. MainFrameMove.Size = UDim2.new(0,350,0,500)
  129. MainFrameMove.BackgroundTransparency = 1
  130. MainFrameMove.ZIndex = 5
  131. MainFrameMove.Position = UDim2.new(0.05,0,0.45,0)
  132. local MainFrame = Instance.new("ScrollingFrame",MainFrameMove)
  133. MainFrame.BackgroundColor3 = Color3.fromRGB(80, 74, 77)
  134. MainFrame.Size = UDim2.new(0,300,0,450)
  135. local UIGrid = Instance.new("UIGridLayout",MainFrame)
  136. UIGrid.HorizontalAlignment = Enum.HorizontalAlignment.Center
  137. UIGrid.CellPadding = UDim2.new(0,25,0,25)
  138. local Teleport = CreateButton(MainFrame,"Teleporter")
  139. Activated = false
  140. Teleport.MouseButton1Click:Connect(function()
  141. Activated = not Activated
  142. end)
  143. Player:GetMouse().Button2Down:Connect(function()
  144. local Torso = Player.Character:FindFirstChild("Torso") or Player.Character:FindFirstChild("UpperTorso")
  145. if Activated == true then
  146. local Place = Player:GetMouse().Hit
  147. if Player:GetMouse().Target then
  148. local Character = Player.Character
  149. local LeftLeg = Character:FindFirstChild("Left Leg") or Character:FindFirstChild("LeftLowerLeg")
  150. if LeftLeg.Name == "Left Leg" then
  151. LeftLeg = LeftLeg.Size
  152. else
  153. LeftLeg = LeftLeg.Size + Character.LeftUpperLeg.Size
  154. end
  155. local Torso = Character:FindFirstChild("Torso") or Character:FindFirstChild("LowerTorso")
  156. if Torso.Name == "Torso" then
  157. Torso = Torso.Size
  158. else
  159. Torso = Torso.Size + Character.LeftUpperLeg.Size
  160. end
  161. Player.Character:SetPrimaryPartCFrame(CFrame.new(Place.Position.X,Place.Position.Y + LeftLeg.Y + Torso.Y ,Place.Position.Z))
  162. end
  163. end
  164. end)
  165. local NoClip = CreateButton(MainFrame,"Noclip")
  166. local Activated2 = false
  167. NoClip.MouseButton1Click:Connect(function()
  168. local Character = Player.Character
  169. Activated2 = not Activated2
  170. game:GetService('RunService').Stepped:Connect(function()
  171. if Activated2 then
  172. Character.Humanoid:ChangeState(11)
  173. end
  174. end)
  175. Player:GetMouse().KeyDown:Connect(function(key)
  176. if key == "e" then
  177. Character.Humanoid:ChangeState(11)
  178. end
  179. end)
  180. end)
  181.  
  182. local Fly = CreateButton(MainFrame,"Fly")
  183. local Activated3 = false
  184. local JP = false
  185. local FA = false
  186. Fly.MouseButton1Click:Connect(function()
  187. Activated3 = not Activated3
  188. end)
  189.  
  190. Player:GetMouse().KeyDown:Connect(function(key)
  191. local Torso = Player.Character:FindFirstChild("Torso") or Player.Character:FindFirstChild("UpperTorso")
  192. if key == "e" then
  193. if Activated3 == true and FA == false and JP == false then
  194. JP = true
  195. FA = true
  196. coroutine.wrap(function()
  197. wait(1)
  198. JP = false
  199. end)()
  200. local BV = Instance.new("BodyVelocity",Torso)
  201. BV.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  202. game:GetService('RunService').Stepped:Connect(function()
  203. local IsKeyFound = false
  204. for _,Key in ipairs(UserInputService:GetKeysPressed()) do
  205. IsKeyFound = Key.KeyCode == Enum.KeyCode.W
  206. end
  207. if IsKeyFound then
  208. BV.Velocity = Player:GetMouse().Hit.lookVector*75
  209. else
  210. BV.Velocity = Vector3.new(0,0,0)
  211. end
  212. wait()
  213. end)
  214. end
  215. if Activated3 == true and FA == true and JP == false then
  216. JP = true
  217. FA = false
  218. coroutine.wrap(function()
  219. wait(1)
  220. JP = false
  221. end)()
  222. for _,Child in ipairs(Torso:GetChildren()) do
  223. if Child:IsA("BodyVelocity") then
  224. Child:Destroy()
  225. end
  226. end
  227. local tracks = Player.Character.Humanoid:GetPlayingAnimationTracks()
  228. for i, stoptracks in pairs(tracks) do
  229. stoptracks:Stop()
  230. end
  231. end
  232. end
  233. end)
  234.  
  235. local BtoolsMove = CreateButton(MainFrame,"Btools Move")
  236. local Tools = Player:WaitForChild("Backpack")
  237. local Activated4 = false
  238.  
  239. local BttolsEquiped = false
  240.  
  241. BtoolsMove.MouseButton1Click:Connect(function()
  242. Activated4 = not Activated4
  243. if Activated4 == false then
  244. for _,Child in ipairs(Tools:GetChildren()) do
  245. if Child.Name == "BtoolsMove" then
  246. Child:Destroy()
  247. BttolsEquiped = false
  248. end
  249. end
  250. else
  251. local Btools = Instance.new("Tool",Tools)
  252. Btools.GripForward = Vector3.new(-1,0,0)
  253. Btools.GripPos = Vector3.new(0,0,-1.5)
  254. Btools.GripRight = Vector3.new(0,1,0)
  255. Btools.GripUp = Vector3.new(0,0,1)
  256. Btools.Name = "BtoolsMove"
  257. Btools.TextureId = "rbxasset://Textures/Clone.png"
  258. Btools.CanBeDropped = true
  259. Btools.RequiresHandle = true
  260. local Handle = Instance.new("Part",Btools)
  261. Handle.BrickColor = BrickColor.new("Institutional white")
  262. Handle.Reflectance = 0
  263. Handle.Size = Vector3.new(1,0.8,4)
  264. Handle.Name = "Handle"
  265. local HandleMesh = Instance.new("SpecialMesh",Handle)
  266. HandleMesh.MeshId = "rbxasset://fonts/clonewand.mesh"
  267. HandleMesh.Offset = Vector3.new(0,0,0)
  268. HandleMesh.Scale = Vector3.new(1,1,1)
  269. HandleMesh.VertexColor = Vector3.new(1,1,1)
  270. HandleMesh.TextureId = "rbxasset://textures/CloneWandTexture.png"
  271. Btools.Equipped:Connect(function()
  272. BttolsEquiped = true
  273. end)
  274. Btools.Unequipped:Connect(function()
  275. BttolsEquiped = false
  276. end)
  277. local PartEquiped
  278. Player:GetMouse().Button1Down:Connect(function()
  279. if BttolsEquiped then
  280. local Part = Player:GetMouse().Target
  281. if Part then
  282. PartEquiped = Part
  283. end
  284. end
  285. end)
  286. Player:GetMouse().Button1Up:Connect(function()
  287. if BttolsEquiped then
  288. PartEquiped = nil
  289. end
  290. end)
  291. Player:GetMouse().Move:Connect(function()
  292. if BttolsEquiped and PartEquiped and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) then
  293. local Hit = Player:GetMouse().Hit
  294. PartEquiped.Position = Vector3.new(Hit.X,PartEquiped.Size.Y/2+Hit.Y,Hit.Z)
  295. end
  296. end)
  297. end
  298. end)
  299.  
  300.  
  301. local SetSpeed = CreateButton(MainFrame,"Set Speed")
  302. local Activated5 = false
  303.  
  304. SetSpeed.MouseButton1Click:Connect(function()
  305. Activated5 = not Activated5
  306. if Activated5 then
  307. Player.Character.Humanoid.WalkSpeed = 16
  308. end
  309. end)
  310.  
  311. local AdminCommands = Instance.new("Frame",Gui)
  312. AdminCommands.Name = "AdminCommands"
  313. AdminCommands.Size = UDim2.new(0,1440,0,40)
  314. AdminCommands.Position = UDim2.new(0,0,0,320)
  315. AdminCommands.Visible = false
  316. AdminCommands.BorderSizePixel = 0
  317. AdminCommands.BackgroundColor3 = Color3.new(97, 90, 93)
  318. AdminCommands.BackgroundTransparency = 0.35
  319. local Text = Instance.new("TextBox",AdminCommands)
  320. Text.Name = "Value"
  321. Text.Size = AdminCommands.Size
  322. Text.BackgroundTransparency = 1
  323. Text.Visible = false
  324. Text.TextScaled = true
  325. Text.Text = ""
  326. Text.ZIndex = 3
  327.  
  328. local Speed = CreateButton(MainFrame,"Admin Speed")
  329. local Activated6 = false
  330.  
  331. Speed.MouseButton1Click:Connect(function()
  332. Activated6 = not Activated6
  333. local Connection
  334. if Activated6 then
  335. AdminCommands.Visible = true
  336. Text.Visible = true
  337. Connection = UserInputService.InputBegan:Connect(function(Key,GP)
  338. if Key.KeyCode == Enum.KeyCode.Return then
  339. local Number = tonumber(Text.Text)
  340. if Number then
  341. Player.Character.Humanoid.WalkSpeed = Number
  342. end
  343. AdminCommands.Visible = false
  344. Text.Visible = false
  345. Text.Text = ""
  346. Activated6 = false
  347. Connection:Disconnect()
  348. end
  349. end)
  350. else
  351. if Connection then Connection:Disconnect() Connection = nil end
  352. AdminCommands.Visible = false
  353. Text.Visible = false
  354. Text.Text = ""
  355. end
  356. end)
  357.  
  358. local Jump = CreateButton(MainFrame,"Admin Jump")
  359. local Activated7 = false
  360.  
  361. Jump.MouseButton1Click:Connect(function()
  362. Activated7 = not Activated7
  363. local Connection
  364. if Activated7 then
  365. AdminCommands.Visible = true
  366. Text.Visible = true
  367. Connection = UserInputService.InputBegan:Connect(function(Key,GP)
  368. if Key.KeyCode == Enum.KeyCode.Return then
  369. local Number = tonumber(Text.Text)
  370. if Number then
  371. Player.Character.Humanoid.JumpPower = Number
  372. end
  373. AdminCommands.Visible = false
  374. Text.Visible = false
  375. Text.Text = ""
  376. Activated7 = false
  377. Connection:Disconnect()
  378. end
  379. end)
  380. else
  381. if Connection then Connection:Disconnect(); Connection = nil end
  382. AdminCommands.Visible = false
  383. Text.Visible = false
  384. Text.Text = ""
  385. end
  386. end)
  387.  
  388. local Tp = CreateButton(MainFrame,"Admin TP")
  389. local Activated8 = false
  390.  
  391. Tp.MouseButton1Click:Connect(function()
  392. Activated8 = not Activated8
  393. local Connection
  394. if Activated8 then
  395. AdminCommands.Visible = true
  396. Text.Visible = true
  397. Connection = UserInputService.InputBegan:Connect(function(Key,GP)
  398. if Key.KeyCode == Enum.KeyCode.Return then
  399. local Msg = Text.Text
  400. if Msg then
  401. local PlayerToTeleport
  402. for _,Child in ipairs(game.Players:GetChildren()) do
  403. if string.sub(string.lower(Child.Name),1,#Msg) == string.lower(Msg) then
  404. PlayerToTeleport = Child.Character
  405. end
  406. end
  407. if Player then
  408. Player.Character:SetPrimaryPartCFrame(PlayerToTeleport.Head.CFrame)
  409. end
  410. end
  411. AdminCommands.Visible = false
  412. Text.Visible = false
  413. Text.Text = ""
  414. Activated7 = false
  415. Connection:Disconnect()
  416. end
  417. end)
  418. else
  419. if Connection then Connection:Disconnect(); Connection = nil end
  420. AdminCommands.Visible = false
  421. Text.Visible = false
  422. Text.Text = ""
  423. end
  424. end)
  425.  
  426. local PartTp = CreateButton(MainFrame,"Part TP")
  427. local Activated9 = false
  428.  
  429. PartTp.MouseButton1Click:Connect(function()
  430. Activated9 = not Activated9
  431. local Connection
  432. if Activated9 then
  433. Text.Visible = true
  434. Connection = UserInputService.InputBegan:Connect(function(Key,GP)
  435. if Key.KeyCode == Enum.KeyCode.Return then
  436. local Msg = Text.Text
  437. if Msg then
  438. local PartToTeleport
  439. for _,Child in ipairs(workspace:GetDescendants()) do
  440. if string.sub(string.lower(Child.Name),1,#Msg) == string.lower(Msg) then
  441. PartToTeleport = Child
  442. end
  443. end
  444. if PartToTeleport and PartToTeleport:IsA("BasePart") then
  445. Player.Character:SetPrimaryPartCFrame(PartToTeleport.CFrame)
  446. end
  447. end
  448. AdminCommands.Visible = false
  449. Text.Visible = false
  450. Text.Text = ""
  451. Activated9 = false
  452. Connection:Disconnect()
  453. end
  454. end)
  455. else
  456. if Connection then Connection:Disconnect(); Connection = nil end
  457. AdminCommands.Visible = false
  458. Text.Visible = false
  459. Text.Text = ""
  460. end
  461. end)
  462.  
  463. local PrintName = CreateButton(MainFrame,"Name Printer")
  464. local Activated10 = false
  465.  
  466. local PrinterEquiped = false
  467.  
  468. PrintName.MouseButton1Click:Connect(function()
  469. Activated10 = not Activated10
  470. if Activated10 == false then
  471. for _,Child in ipairs(Tools:GetChildren()) do
  472. if Child.Name == "Name Printer" then
  473. Child:Destroy()
  474. PrinterEquiped = false
  475. end
  476. end
  477. else
  478. local Btools = Instance.new("Tool",Tools)
  479. Btools.GripForward = Vector3.new(-1,0,0)
  480. Btools.GripPos = Vector3.new(0,0,-1.5)
  481. Btools.GripRight = Vector3.new(0,1,0)
  482. Btools.GripUp = Vector3.new(0,0,1)
  483. Btools.Name = "Name Printer"
  484. Btools.TextureId = "rbxasset://Textures/Clone.png"
  485. Btools.CanBeDropped = true
  486. Btools.RequiresHandle = true
  487. local Handle = Instance.new("Part",Btools)
  488. Handle.BrickColor = BrickColor.new("Institutional white")
  489. Handle.Reflectance = 0
  490. Handle.Size = Vector3.new(1,0.8,4)
  491. Handle.Name = "Handle"
  492. local HandleMesh = Instance.new("SpecialMesh",Handle)
  493. HandleMesh.MeshId = "rbxasset://fonts/clonewand.mesh"
  494. HandleMesh.Offset = Vector3.new(0,0,0)
  495. HandleMesh.Scale = Vector3.new(1,1,1)
  496. HandleMesh.VertexColor = Vector3.new(1,1,1)
  497. HandleMesh.TextureId = "rbxasset://textures/CloneWandTexture.png"
  498. Btools.Equipped:Connect(function()
  499. PrinterEquiped = true
  500. end)
  501. Btools.Unequipped:Connect(function()
  502. PrinterEquiped = false
  503. end)
  504. Player:GetMouse().Button1Down:Connect(function()
  505. if PrinterEquiped then
  506. local Part = Player:GetMouse().Target
  507. if Part then
  508. print(Part.Name)
  509. end
  510. end
  511. end)
  512. end
  513. end)
  514.  
  515. local AimBot = CreateButton(MainFrame,"AimBot")
  516. local Activated11 = false
  517.  
  518. function ChangeFlex()
  519. if Activated11 then
  520. createFlex()
  521. else
  522. StopFlex()
  523. end
  524. end
  525.  
  526. AimBot.MouseButton1Click:Connect(function()
  527. Activated11 = not Activated11
  528. ChangeFlex()
  529. end)
  530.  
  531. TeamModeChanged.OnInvoke = function()
  532. if Activated11 then
  533. StopFlex()
  534. wait(0.1)
  535. createFlex()
  536. end
  537. end
  538.  
  539. for _,Child in ipairs(game.Teams:GetTeams()) do
  540. Child.PlayerRemoved:Connect(function(Plr)
  541. if Player.Name == Plr.Name then
  542. if Activated11 then
  543. StopFlex()
  544. wait(0.1)
  545. createFlex()
  546. end
  547. end
  548. end)
  549. end
  550.  
  551. function IsToolEquiped()
  552. for _,Child in ipairs(Player.Character:GetChildren()) do
  553. if Child:IsA("Tool") then
  554. return true
  555. end
  556. end
  557. return false
  558. end
  559.  
  560. local RandomBigHeadGUID = game:GetService("HttpService"):GenerateGUID(false)
  561.  
  562. RunService.RenderStepped:Connect(function()
  563. if Activated11 and UserInputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton2) then
  564. if IsToolEquiped() then
  565. local DistanceBest = {Character = nil,Studs = 9999999999999999}
  566. for _,Plr in ipairs(game.Players:GetPlayers()) do
  567. if Plr.Character and Plr.Character:FindFirstChild("Head") and Plr.Character:FindFirstChild("Humanoid") and Plr.Character.Humanoid.Health > 0 then
  568. if IsTeamMode then
  569. if Plr.Team.TeamColor ~= Player.Team.TeamColor then
  570. if Plr.Character and Plr.Character:FindFirstChild("Head") then
  571. local Distance = (Plr.Character.Head.Position - Player.Character.Head.Position).Magnitude
  572. if DistanceBest.Studs > Distance then
  573. DistanceBest.Studs = Distance
  574. DistanceBest.Character = Plr.Character
  575. end
  576. end
  577. end
  578. elseif Plr.Name ~= Player.Name then
  579. if Plr.Character and Plr.Character:FindFirstChild("Head") then
  580. local Distance = (Plr.Character.Head.Position - Player.Character.Head.Position).Magnitude
  581. if DistanceBest.Studs > Distance then
  582. DistanceBest.Studs = Distance
  583. DistanceBest.Character = Plr.Character
  584. end
  585. end
  586. end
  587. end
  588. if DistanceBest.Character then
  589. local ForceFieldFound = false
  590. for _,Child in ipairs(DistanceBest.Character:GetChildren()) do
  591. if Child:IsA("ForceField") then
  592. ForceFieldFound = true
  593. break
  594. end
  595. end
  596. if IsBigHeadMode then
  597. if DistanceBest.Character.Humanoid.RigType == Enum.HumanoidRigType.R15 then
  598. if not DistanceBest.Character:FindFirstChild(RandomBigHeadGUID) then
  599. local FakePLRhead = DistanceBest.Character.Head:Clone()
  600. FakePLRhead.Parent = DistanceBest.Character
  601. FakePLRhead.Name = RandomBigHeadGUID
  602. FakePLRhead.CanCollide = false
  603. local FakeHeadWeld = Instance.new("Weld",FakePLRhead)
  604. FakeHeadWeld.Name = RandomBigHeadGUID
  605. FakeHeadWeld.Part0 = DistanceBest.Character.Head
  606. FakeHeadWeld.Part1 = FakePLRhead
  607. DistanceBest.Character[RandomBigHeadGUID].Size = Vector3.new(15,15,15)
  608. end
  609. end
  610. end
  611. if IsBigHeadMode then
  612. workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position,DistanceBest.Character.Head.Position + Vector3.new(0,25/1.75,0))
  613. else
  614. workspace.CurrentCamera.CFrame = CFrame.new(workspace.CurrentCamera.CFrame.Position,DistanceBest.Character.Head.Position)
  615. end
  616. end
  617. end
  618. end
  619. end
  620. end)
  621.  
  622. local function ResetFlex()
  623. if Activated11 then
  624. StopFlex()
  625. wait(0.1)
  626. createFlex()
  627. end
  628. end
  629.  
  630. game.Players.PlayerAdded:Connect(function(PLRAdded)
  631. PLRAdded.CharacterAdded:Connect(function()
  632. ResetFlex()
  633. end)
  634. end)
  635.  
  636. for _,PLRAdded in ipairs(game.Players:GetPlayers()) do
  637. PLRAdded.CharacterAdded:Connect(function()
  638. ResetFlex()
  639. end)
  640. end
  641.  
  642. local Info = CreateButton(MainFrame,"Info")
  643. local InfoFrameMove = Instance.new("Frame",Gui)
  644. InfoFrameMove.Visible = true
  645. InfoFrameMove.Active = true
  646. InfoFrameMove.Draggable = true
  647. local InfoFrame = Instance.new("ScrollingFrame",InfoFrameMove)
  648. InfoFrame.Visible = false
  649. InfoFrame.BackgroundColor3 = Color3.fromRGB(80, 74, 77)
  650. InfoFrameMove.Position = UDim2.new(0.75,0,0.45,0)
  651. InfoFrame.Size = UDim2.new(0,300,0,450)
  652. InfoFrameMove.Size = UDim2.new(0,350,0,500)
  653. InfoFrameMove.BackgroundTransparency = 1
  654. InfoFrameMove.ZIndex = 5
  655. local UIFrameGrid = Instance.new("UIGridLayout",InfoFrame)
  656. UIFrameGrid.HorizontalAlignment = Enum.HorizontalAlignment.Center
  657. UIFrameGrid.CellPadding = UDim2.new(0,25,0,25)
  658. UIFrameGrid.CellSize = UDim2.new(0,250,0,50)
  659.  
  660. Info.MouseButton1Click:Connect(function()
  661. InfoFrame.Visible = not InfoFrame.Visible
  662. end)
  663.  
  664. local CreateInfoText = function()
  665. local Label = Instance.new("TextLabel")
  666. Label.TextScaled = true
  667. Label.Font = Enum.Font.Garamond
  668. Label.Parent = InfoFrame
  669. Label.BackgroundTransparency = 0.99
  670. Label.TextColor3 = Color3.new(255,255,255)
  671. Label.ZIndex = 6
  672. return Label
  673. end
  674.  
  675. local InfoFly = CreateInfoText()
  676. local InfoNoclip = CreateInfoText()
  677. local InfoTeleporter = CreateInfoText()
  678. local InfoBtoolsMove = CreateInfoText()
  679. local InfoNamePrinter = CreateInfoText()
  680. local InfoAimbot = CreateInfoText()
  681.  
  682. RunService:BindToRenderStep("InfoReset",Enum.RenderPriority.Input.Value,function()
  683. if InfoFrame.Visible then
  684. InfoFly.Text = "Fly: "..tostring(Activated3)
  685. InfoNoclip.Text = "Noclip: "..tostring(Activated2)
  686. InfoTeleporter.Text = "Teleporter: "..tostring(Activated)
  687. InfoBtoolsMove.Text = "Btools Move: "..tostring(Activated4)
  688. InfoAimbot.Text = "Aimbot: "..tostring(Activated11)
  689. InfoNamePrinter.Text = "Name printer: "..tostring(Activated10)
  690. end
  691. end)
  692.  
  693. local CodeButton = CreateButton(MainFrame,"Script injector")
  694. local CodeFrameType = Instance.new("Frame",Gui)
  695. CodeFrameType.Visible = false
  696. CodeFrameType.Active = true
  697. CodeFrameType.Draggable = true
  698. CodeFrameType.BackgroundColor3 = Color3.fromRGB(103, 95, 99)
  699. CodeFrameType.Size = UDim2.new(0,900,0,500)
  700. CodeFrameType.Position = UDim2.new(0, 366,0, -29)
  701. CodeFrameType.ZIndex = 5
  702. local CodeScroller = Instance.new("ScrollingFrame",CodeFrameType)
  703. CodeScroller.Visible = true
  704. CodeScroller.BackgroundColor3 = Color3.fromRGB(127, 117, 122)
  705. CodeScroller.Position = UDim2.new(0,15,0,75)
  706. CodeScroller.Size = UDim2.new(0,750,0,350)
  707. CodeScroller.ZIndex = 6
  708. local TittleInjector = Instance.new("TextLabel",CodeFrameType)
  709. TittleInjector.Visible = true
  710. TittleInjector.Text = "Dab Gang"
  711. TittleInjector.Size = UDim2.new(0,850,0,50)
  712. TittleInjector.Position = UDim2.new(0,25,0,10)
  713. TittleInjector.TextScaled = true
  714. TittleInjector.BackgroundTransparency = 1
  715. TittleInjector.TextColor3 = Color3.fromRGB(177, 0, 2)
  716. TittleInjector.Font = Enum.Font.SciFi
  717. TittleInjector.ZIndex = 6
  718. local WrittenScript = Instance.new("TextBox",CodeScroller)
  719. WrittenScript.Size = UDim2.new(0,737,0,50)
  720. WrittenScript.MultiLine = true
  721. WrittenScript.BackgroundTransparency = 0.9999999999999
  722. WrittenScript.TextColor3 = Color3.fromRGB(6, 80, 145)
  723. WrittenScript.Font = Enum.Font.Code
  724. WrittenScript.ZIndex = 7
  725. WrittenScript.ClearTextOnFocus = false
  726. WrittenScript.TextWrapped = true
  727. WrittenScript.Active = true
  728. WrittenScript.Selectable = true
  729. WrittenScript.ShowNativeInput = true
  730. WrittenScript.BorderSizePixel = 3
  731. WrittenScript.TextScaled = true
  732.  
  733. local MathMinimum = function(Num)
  734. if Num < 25 then
  735. return 25
  736. else
  737. return Num
  738. end
  739. end
  740.  
  741.  
  742.  
  743. local TextService = game.TextService
  744.  
  745. RunService:BindToRenderStep("WrittenScriptUpdate",Enum.RenderPriority.Input.Value,function()
  746. CodeScroller.CanvasSize = UDim2.new(0,672,0,(TextService:GetTextSize(WrittenScript.Text,Enum.FontSize.Size14.Value,Enum.Font.Code,WrittenScript.AbsoluteSize).Y*5)+7.5)
  747. WrittenScript.Position = UDim2.new(0,WrittenScript.Position.Y.Scale+0.0135,0)
  748. WrittenScript.Size = UDim2.new(0,737,0,TextService:GetTextSize(WrittenScript.Text,Enum.FontSize.Size14.Value,Enum.Font.Code,WrittenScript.AbsoluteSize).Y*5)
  749. end)
  750.  
  751. CodeButton.MouseButton1Click:Connect(function()
  752. CodeFrameType.Visible = not CodeFrameType.Visible
  753. end)
  754.  
  755. local RunWrittenScript = game.ReplicatedStorage:FindFirstChild("FireScript")
  756.  
  757. if RunWrittenScript then
  758. local Succes,Message = pcall(function()
  759. loadstring("print('')")()
  760. end)
  761. if not Succes and Message ~= "loadstring() is not available" then
  762. game.TestService:Message("Please turn ServerScriptService.LoadStringEnabled true.")
  763. end
  764. end
  765. if RunWrittenScript then
  766.  
  767. elseif RunService:IsStudio() and typeof(RunWrittenScript) == "nil" then
  768. game.TestService:Message("Cannot find FireScript, please create an RemoteEvent called FireScript in ReplicatedStorage. Thank you!")
  769. else
  770. loadstring(WrittenScript.Text)
  771. end
  772.  
  773. local RunScript = Instance.new("TextButton",CodeFrameType)
  774. RunScript.Position = UDim2.new(0, 65,0, 434)
  775. RunScript.ZIndex = 7
  776. RunScript.Size = UDim2.new(0,155,0,50)
  777. RunScript.BorderSizePixel = 0
  778. RunScript.BackgroundColor3 = Color3.fromRGB(184, 184, 184)
  779. RunScript.Text = "Run Script"
  780. RunScript.TextScaled = true
  781.  
  782. RunScript.MouseButton1Click:Connect(function()
  783. RunWrittenScript:FireServer(WrittenScript.Text,false)
  784. end)
  785.  
  786. local DeleteScript = Instance.new("TextButton",CodeFrameType)
  787. DeleteScript.Position = UDim2.new(0, 250,0, 434)
  788. DeleteScript.ZIndex = 7
  789. DeleteScript.Size = UDim2.new(0,155,0,50)
  790. DeleteScript.BorderSizePixel = 0
  791. DeleteScript.BackgroundColor3 = Color3.fromRGB(184, 184, 184)
  792. DeleteScript.Text = "Delete Script"
  793. DeleteScript.TextScaled = true
  794.  
  795. DeleteScript.MouseButton1Click:Connect(function()
  796. WrittenScript.Text = ""
  797. end)
  798.  
  799. local VirtualGui
  800.  
  801. if RunService:IsStudio() then
  802. VirtualGui = Player.PlayerGui
  803. else
  804. VirtualGui = game:GetService("CoreGui")
  805. end
  806.  
  807. local SendToVirtualLog
  808.  
  809. if RunService:IsStudio() == false then
  810. SendToVirtualLog = Instance.new("BindableEvent",game.CoreGui)
  811. SendToVirtualLog.Name = RandomBigHeadGUID
  812. else
  813. RunWrittenScript:FireServer(true)
  814. SendToVirtualLog = Player.PlayerGui:WaitForChild("Event")
  815. end
  816.  
  817. local Colors = {
  818. ["RED"] = Color3.fromRGB(0,0,0);
  819. }
  820.  
  821. local VirtualEvent
  822.  
  823. if RunService:IsStudio() == false then
  824. VirtualEvent = Instance.new("BindableEvent",game.CoreGui)
  825. VirtualEvent.Name = "Virtual Event"
  826. else
  827. VirtualEvent = Instance.new("BindableEvent",Player.PlayerGui)
  828. VirtualEvent.Name = "Virtual Event"
  829. end
  830.  
  831. SendToVirtualLog.Event:Connect(function(StringToPrint,Color)
  832. local VirtualColor = Colors[Color]
  833. VirtualEvent:Fire(StringToPrint,VirtualColor)
  834. end)
  835.  
  836. VirtualEvent.Event:Connect(function(String,ColorString)
  837. print(String)
  838. end)
Add Comment
Please, Sign In to add comment