Advertisement
SkyProductions

Phantom Forces Script - LVL 6/7

Mar 24th, 2019
16,754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 25.70 KB | None | 0 0
  1. function Introduction()
  2. -- Objects
  3.  
  4. local Intro = Instance.new("ScreenGui")
  5. local Intro_2 = Instance.new("Frame")
  6. local Letter = Instance.new("Frame")
  7. local Frame = Instance.new("Frame")
  8. local Frame_2 = Instance.new("Frame")
  9. local Frame_3 = Instance.new("Frame")
  10. local Frame_4 = Instance.new("Frame")
  11. local Frame_5 = Instance.new("Frame")
  12. local Top = Instance.new("Frame")
  13.  
  14. -- Properties
  15.  
  16. Intro.Name = "Intro"
  17. Intro.Parent = game.Players.LocalPlayer.PlayerGui
  18.  
  19. Intro_2.Name = "Intro"
  20. Intro_2.Parent = Intro
  21. Intro_2.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  22. Intro_2.BorderColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  23. Intro_2.BorderSizePixel = 0
  24. Intro_2.Size = UDim2.new(1, 0, 1, 0)
  25.  
  26. Letter.Name = "Letter"
  27. Letter.Parent = Intro_2
  28. Letter.BackgroundColor3 = Color3.new(248,0,0)
  29. Letter.BackgroundTransparency = 1
  30. Letter.BorderColor3 = Color3.new(248,0,0)
  31. Letter.BorderSizePixel = 0
  32. Letter.Position = UDim2.new(0.5, -100, 0.5, -100)
  33. Letter.Size = UDim2.new(0, 200, 0, 200)
  34.  
  35. Frame.Parent = Letter
  36. Frame.BackgroundColor3 = Color3.new(0, 1, 1)
  37. Frame.BorderSizePixel = 0
  38. Frame.Size = UDim2.new(0, 200, 0, 40)
  39.  
  40. Frame_2.Parent = Letter
  41. Frame_2.BackgroundColor3 = Color3.new(0, 1, 1)
  42. Frame_2.BorderSizePixel = 0
  43. Frame_2.Position = UDim2.new(0, 0, 0, 40)
  44. Frame_2.Size = UDim2.new(0, 40, 0, 80)
  45.  
  46. Frame_3.Parent = Letter
  47. Frame_3.BackgroundColor3 = Color3.new(0, 1, 1)
  48. Frame_3.BorderSizePixel = 0
  49. Frame_3.Position = UDim2.new(0, 160, 0, 120)
  50. Frame_3.Size = UDim2.new(0, 40, 0, 80)
  51.  
  52. Frame_4.Parent = Letter
  53. Frame_4.BackgroundColor3 = Color3.new(0, 1, 1)
  54. Frame_4.BorderSizePixel = 0
  55. Frame_4.Position = UDim2.new(0, 0, 0, 90)
  56. Frame_4.Size = UDim2.new(0, 200, 0, 40)
  57.  
  58. Frame_5.Parent = Letter
  59. Frame_5.BackgroundColor3 = Color3.new(0, 1, 1)
  60. Frame_5.BorderSizePixel = 0
  61. Frame_5.Position = UDim2.new(0, 0, 0, 180)
  62. Frame_5.Size = UDim2.new(0, 200, 0, 40)
  63.  
  64. Top.Name = "Top"
  65. Top.Parent = Intro_2
  66. Top.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  67. Top.BorderSizePixel = 0
  68. Top.Position = UDim2.new(0, 0, 0, -100)
  69. Top.Size = UDim2.new(1, 0, 0, 100)
  70.  
  71. local TextLabel = Instance.new("TextLabel")
  72.  
  73. -- Properties
  74.  
  75. TextLabel.Parent = Intro_2
  76. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  77. TextLabel.BackgroundTransparency = 1
  78. TextLabel.BorderSizePixel = 0
  79. TextLabel.LayoutOrder = 5
  80. TextLabel.Position = UDim2.new(1, 0, 0.699999988, 0)
  81. TextLabel.Size = UDim2.new(1, 0, 0, 50)
  82. TextLabel.Font = Enum.Font.SciFi
  83. TextLabel.FontSize = Enum.FontSize.Size14
  84. TextLabel.Text = "Sky Production!"
  85. TextLabel.TextColor3 = Color3.new(0.101961, 0.988235, 1)
  86. TextLabel.TextScaled = true
  87. TextLabel.TextSize = 14
  88. TextLabel.TextWrapped = true
  89.  
  90. local top = 255
  91. while Intro == nil do wait() end
  92. local intro_frame = Intro_2
  93. intro_frame.Visible = true
  94. wait(1) --A fail proof wait, yisss
  95.  
  96. local flies = Instance.new("Sound")
  97. flies.Name = "Flies"
  98. flies.SoundId = "rbxassetid://258663133"
  99. flies.MaxDistance = "10000.000"
  100. flies.Parent = Intro
  101.  
  102. local Intro1 = Instance.new("Sound")
  103. Intro1.Name = "Intro"
  104. Intro1.SoundId = "rbxassetid://258666677"
  105. Intro1.MaxDistance = "10000.000"
  106. Intro1.Parent = Intro
  107.  
  108. local snd_flies = flies
  109. local snd_intro = Intro1
  110.  
  111.  
  112. local camera = game.Workspace.CurrentCamera
  113. local RenderStepped = game:GetService("RunService").RenderStepped
  114.  
  115. local letter = Letter
  116. letter:ClearAllChildren()
  117.  
  118.  
  119. local function V2Interp(v1, v2, t)
  120. return v1 + (v2 - v1) * t
  121. end
  122.  
  123. local function FollowInterp(v1, v2, max_dist, speed, delta)
  124. local mag = (v1 - v2).magnitude
  125. if mag > max_dist then
  126. v1 = V2Interp(v1, v2, (mag - max_dist) / mag)
  127. end
  128. return V2Interp(v1, v2, math.min(1, 1 - (1 - speed) ^ delta))
  129. end
  130.  
  131. function Shake2D(speed, speed2, radius)
  132. local old_radius = radius
  133.  
  134. local function GetNextPos()
  135. local roll = Vector2.new(math.random() - 0.5, math.random() - 0.5)
  136. if roll.x == 0 and roll.y == 0 then
  137. return Vector2.new(0, 1) * radius * (math.random() - 0.5) * 2
  138. else
  139. return roll.unit * radius * (math.random() - 0.5) * 2
  140. end
  141. end
  142.  
  143. local start = nil
  144. local pos1 = Vector2.new(0, 0)
  145. local pos2 = GetNextPos()
  146. local time_req = (pos2 - pos1).magnitude / speed
  147.  
  148. local shaker_pos = pos1
  149.  
  150. local last_update = nil
  151. local function Update(force_radius)
  152. if force_radius ~= nil then
  153. radius = force_radius
  154. end
  155. if start == nil then
  156. start = tick()
  157. last_update = tick()
  158. end
  159. local delta = tick() - last_update
  160. last_update = tick()
  161.  
  162. local amm = (tick() - start) / time_req
  163. local over_time = tick() - start - time_req
  164.  
  165. local follow_pos = V2Interp(pos1, pos2, math.min(1, amm))
  166. shaker_pos = FollowInterp(shaker_pos, follow_pos, old_radius, speed2, math.max(0, delta - math.max(0, over_time)))
  167. if over_time > 0 then
  168. pos1 = pos2
  169. pos2 = GetNextPos()
  170. local new_time_req = (pos2 - pos1).magnitude / speed
  171.  
  172. start = math.min(start + time_req, tick() + new_time_req)
  173. time_req = new_time_req
  174.  
  175. local amm = (tick() - start) / time_req
  176. local follow_pos = V2Interp(pos1, pos2, math.min(1, amm))
  177. shaker_pos = FollowInterp(shaker_pos, follow_pos, old_radius, speed2, over_time)
  178. end
  179.  
  180. return shaker_pos
  181. end
  182.  
  183. return {Update = Update}
  184. end
  185.  
  186. local neon_list = {
  187. Vector3.new(248, 0, 0),
  188. Vector3.new(248, 0, 0),
  189. Vector3.new(248, 0, 0),
  190. Vector3.new(248, 0, 0),
  191. Vector3.new(248, 0 / 0, 0),
  192. Vector3.new(248, 0, 0),
  193. }
  194.  
  195. local m_code = {
  196. "1111111111",
  197. "1111111111",
  198. "1100000000",
  199. "1100000000",
  200. "1111111111",
  201. "1111111111",
  202. "0000000011",
  203. "0000000011",
  204. "1111111111",
  205. "1111111111",
  206. }
  207.  
  208. local m_partics = {}
  209. for y, str_lin in pairs(m_code) do
  210. for x = 1, str_lin:len() do
  211. if str_lin:sub(x, x) == "1" then
  212. local n_p = Instance.new("Frame")
  213. n_p.BorderSizePixel = 0
  214. n_p.Size = UDim2.new(0, 20, 0, 20)
  215. n_p.BackgroundColor3 = Color3.new(0, 0, 0)
  216. n_p.Position = UDim2.new(0, (x - 1) * 20, 0, (y - 1) * 20)
  217. n_p.Parent = letter
  218.  
  219. local orig_pos = Vector2.new((x - 1) * 20, (y - 1) * 20)
  220. local shaker = Shake2D(1000, 0.95, 400)
  221. TextLabel:TweenPosition(UDim2.new(0, 0, 0.69998, 0), 'In', 'Elastic', 10)
  222.  
  223. table.insert(m_partics, {n_p, orig_pos, shaker})
  224. end
  225. end
  226. end
  227.  
  228. local BEAT = 0.476
  229.  
  230. local start = tick()
  231. snd_flies:Play()
  232.  
  233. local intro_played = false
  234. local last_swap = 0
  235. local curr_neon = 9--neon_list
  236.  
  237. while true do
  238. local amm = math.min(1 , (tick() - start) / 10)
  239. if amm < 0.1 then
  240. snd_flies.Volume = amm * 10
  241. elseif amm > 0.1 and amm < 0.4 then
  242. snd_flies.Volume = 1
  243. else
  244. snd_flies.Volume = 0
  245. end
  246.  
  247. if amm > 0.4 then
  248. if not intro_played then
  249. snd_intro:Play()
  250. intro_played = true
  251. end
  252. if tick() - last_swap > BEAT or last_swap == 0 then
  253. if last_swap == 0 then
  254. last_swap = tick()
  255. else
  256. last_swap = last_swap + BEAT
  257. end
  258. curr_neon = curr_neon + 1
  259. if curr_neon > #neon_list then
  260. curr_neon = 1
  261. end
  262. end
  263. local gen_col = neon_list[curr_neon]
  264.  
  265. end
  266.  
  267.  
  268. for _, p in pairs(m_partics) do
  269. local gen_pos
  270. if amm < 0.5 then
  271. gen_pos = p[2] + p[3].Update()
  272. else
  273. gen_pos = p[2] + p[3].Update(math.max(0, 400 - ((amm - 0.5) * 1000)))
  274. end
  275. p[1].Position = UDim2.new(0, gen_pos.x, 0, gen_pos.y)
  276. p[1].BackgroundColor3 = Color3.new(0,255,255)
  277. end
  278.  
  279. if tick() - start > 10 then break end
  280. RenderStepped:wait()
  281. end
  282.  
  283. local start2 = tick()
  284. while true do
  285. if tick() - last_swap > BEAT then
  286. last_swap = last_swap + BEAT
  287. curr_neon = curr_neon + 1
  288. if curr_neon > #neon_list then
  289. curr_neon = 1
  290. end
  291. end
  292. local gen_col = neon_list[curr_neon]
  293.  
  294. if tick() - start2 > 9 then break end
  295. RenderStepped:wait()
  296. end
  297.  
  298. --------------------------------
  299. wait(0.1)
  300.  
  301. snd_flies:Stop()
  302. snd_intro:Stop()
  303.  
  304. --The end
  305. TextLabel:TweenPosition(UDim2.new(-1, 0, 0.699999988, 0), 'Out', 'Elastic', 1)
  306. wait(1)
  307. Intro_2:TweenPosition(UDim2.new(0, 0, -1.2, 0), 'Out', 'Elastic', 1.2)
  308. end
  309. Introduction()
  310. -- Objects
  311. local ScreenGui = Instance.new("ScreenGui")
  312. local MainGUI = Instance.new("Frame")
  313. local Panel = Instance.new("TextLabel")
  314. local Aimbot = Instance.new("TextButton")
  315. local nowalls = Instance.new("TextButton")
  316. local Credit = Instance.new("TextLabel")
  317. local GUI = Instance.new("TextLabel")
  318. local Open = Instance.new("TextButton")
  319. local GUI_2 = Instance.new("TextLabel")
  320. local ImageLabel = Instance.new("ImageLabel")
  321. local Toggle = false
  322.  
  323. ScreenGui.Parent = game.CoreGui
  324.  
  325. MainGUI.Name = "MainGUI"
  326. MainGUI.Parent = ScreenGui
  327. MainGUI.BackgroundColor3 = Color3.new(0.203922, 0.203922, 0.203922)
  328. MainGUI.BorderColor3 = Color3.new(0, 0, 0)
  329. MainGUI.BorderSizePixel = 2
  330. MainGUI.Position = UDim2.new(0, 0, 1.00999999, 0)
  331. MainGUI.Size = UDim2.new(0, 100, 0, 144)
  332.  
  333. ImageLabel.Parent = MainGUI
  334. ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  335. ImageLabel.Position = UDim2.new(0.185714304, 0, 1.05999994, 0)
  336. ImageLabel.Size = UDim2.new(0, 43, 0, 39)
  337. ImageLabel.Image = "rbxassetid://2993492991"
  338.  
  339. GUI_2.Name = "GUI"
  340. GUI_2.Parent = MainGUI
  341. GUI_2.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  342. GUI_2.BorderColor3 = Color3.new(0, 0, 0)
  343. GUI_2.BorderSizePixel = 2
  344. GUI_2.Position = UDim2.new(1.13, 0, 0.145833328, 0)
  345. GUI_2.Size = UDim2.new(0, 43, 0, 123)
  346. GUI_2.Font = Enum.Font.GothamBlack
  347. GUI_2.Text = "Press E to Toggle No Walls"
  348. GUI_2.TextColor3 = Color3.new(1, 1, 1)
  349. GUI_2.TextScaled = true
  350. GUI_2.TextSize = 14
  351. GUI_2.TextWrapped = true
  352.  
  353. Panel.Name = "Panel"
  354. Panel.Parent = MainGUI
  355. Panel.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  356. Panel.BorderColor3 = Color3.new(0, 0, 0)
  357. Panel.BorderSizePixel = 2
  358. Panel.Position = UDim2.new(0.00999999978, 0, 0, 0)
  359. Panel.Size = UDim2.new(0, 99, 0, 21)
  360. Panel.Font = Enum.Font.GothamBlack
  361. Panel.Text = "Panel"
  362. Panel.TextColor3 = Color3.new(1, 1, 1)
  363. Panel.TextSize = 14
  364.  
  365. Aimbot.Name = "Aimbot"
  366. Aimbot.Parent = MainGUI
  367. Aimbot.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  368. Aimbot.BorderColor3 = Color3.new(0, 0, 0)
  369. Aimbot.BorderSizePixel = 2
  370. Aimbot.Position = UDim2.new(0.0899998397, 0, 0.236111119, 0)
  371. Aimbot.Size = UDim2.new(0, 81, 0, 25)
  372. Aimbot.Font = Enum.Font.GothamBlack
  373. Aimbot.Text = "Aimbot&ESP"
  374. Aimbot.TextColor3 = Color3.new(1, 1, 1)
  375. Aimbot.TextSize = 12
  376. Aimbot.MouseButton1Click:connect(function()
  377. --Made By Me (For Making The ESP And Finishing The Script)
  378. --Credit To: Bditt (For Making The Base Of The Aimbot)
  379. --
  380. --If you change your camera sensitivity in the Roblox Setting (Press ESC), you are basically changing how smooth the aimbot looks.
  381. --The lower the sensitivity, the more legit it looks and more work you have to do to aim.
  382. --THEY NEED TO BE VISIBLE TO LOCK ONTO THEM!
  383. --
  384. --T = Toggles aimbot.
  385. --Right Click = Locks on.
  386. --M = Toggles teamcheck.
  387. --O = Toggles visibility check.
  388. --
  389. --
  390. --Hold Right Click to lock on.
  391. --
  392. --THIS ONLY WORKS FOR PROTOSMASHER, VISENYA, ELYSIAN, Synapse, AND HEXUS
  393. --
  394. --If they are directly behind you, it will make you aim lock in the wrong direction.
  395.  
  396. local safe = setmetatable({}, { __index = function(_, k)
  397. return game:GetService(k)
  398. end
  399. })
  400.  
  401. local movethemouse = mousemoverel or Input.MoveMouse --Mouse Move Function.
  402. local leftclickme = nil --Auto Shoot Key Press Thingy.
  403. local aimbotting = true -- Toggles.
  404. local autoshoot = false
  405. local teamcheck = true
  406. local visiblecheck = true
  407. _G.xaimoffset = 0 --_G.xaimoffset = -25
  408. _G.maxdistfromcross = 100
  409.  
  410. local cam = safe.Workspace.CurrentCamera -- Current Camera
  411. local lp = safe.Players.LocalPlayer -- Local Player
  412. local lpc = safe.Players.LocalPlayer.Character -- Local Player Character
  413.  
  414. local wtos = function(v) -- World To Screen
  415. return cam:WorldToScreenPoint(v)
  416. end
  417.  
  418. local distFromCenter = function(x, y)
  419. local vps = cam.ViewportSize -- Get ViewPortSize.
  420. local vpsx = vps.X
  421. local vpsy = vps.Y
  422. local screencenterx = vpsx/2
  423. local screencentery = vpsy/2
  424. local xdist = (x - screencenterx) -- X Distance From Mid Screen.
  425. local ydist = (y - screencentery) -- Y Distance From Mid Screen.
  426. local Hypotenuse = math.sqrt(math.pow(xdist, 2) + math.pow(ydist, 2))
  427. return Hypotenuse
  428. end
  429.  
  430. local function inlos(p, ...) -- In line of site?
  431. return #cam:GetPartsObscuringTarget({p}, {cam, lp.Character, ...}) == 0
  432. end
  433.  
  434. local getclosestPlayer = function() -- Checks the closest player based on Hypotenuse.
  435. local plrs, v = safe.Players:GetPlayers()
  436. local maxdist = 75
  437. local dist = math.huge
  438. local plr = "none"
  439. for i = 1, #plrs do
  440. v = plrs[i]
  441. if v ~= safe.Players.LocalPlayer then
  442. if v.Character then
  443. if v.TeamColor ~= safe.Players.LocalPlayer.TeamColor and teamcheck then
  444. local hpos = wtos(v.Character.Head.Position)
  445. local idist = distFromCenter(hpos.X, hpos.Y)
  446. if idist < dist and idist < _G.maxdistfromcross then
  447. dist = idist
  448. plr = v
  449. end
  450. elseif not teamcheck then
  451. local hpos = wtos(v.Character.Head.Position)
  452. local idist = distFromCenter(hpos.X, hpos.Y)
  453. if idist < dist and idist < _G.maxdistfromcross then
  454. dist = idist
  455. plr = v
  456. end
  457. end
  458. end
  459. end
  460. end
  461. return plr, dist
  462. end
  463.  
  464. local AimAt = function(x, y)
  465. local vps = cam.ViewportSize
  466. local vpsx = vps.X
  467. local vpsy = vps.Y
  468. local screencenterx = vpsx/2
  469. local screencentery = vpsy/2
  470. local aimspeed = 5
  471. local aimatx
  472. local aimaty
  473.  
  474. if x ~= 0 then
  475. if x > screencenterx then
  476. aimatx = -(screencenterx - x)
  477. aimatx = aimatx/aimspeed
  478. if aimatx + screencenterx > screencenterx * 2 then
  479. aimatx = 0
  480. end
  481. end
  482. if x < screencenterx then
  483. aimatx = x - screencenterx
  484. aimatx = aimatx/aimspeed
  485. if aimatx + screencenterx < 0 then
  486. aimatx = 0
  487. end
  488. end
  489. end
  490.  
  491. if y ~= 0 then
  492. if y > screencentery then
  493. aimaty = -(screencentery - y)
  494. aimaty = aimaty/aimspeed
  495. if aimaty + screencentery > screencentery * 2 then
  496. aimaty = 0
  497. end
  498. end
  499. if y < screencentery then
  500. aimaty = y - screencentery
  501. aimaty = aimaty/aimspeed
  502. if aimaty + screencentery < 0 then
  503. aimaty = 0
  504. end
  505. end
  506. end
  507. return aimatx, aimaty
  508. end
  509.  
  510. local MouseTests = function()
  511. local player = safe.Players.LocalPlayer
  512. local mouse = player:GetMouse()
  513. local screensizex = mouse.ViewSizeX
  514. local screensizey = mouse.ViewSizeY
  515. local midx = screensizex/2
  516. local midy = screensizey/2
  517. local mousex = mouse.X
  518. local mousey = mouse.Y
  519. local moveamountx = midx - mousex
  520. local moveamounty = midy - mousey
  521. movethemouse(moveamountx, moveamounty)
  522. local camera = safe.Workspace.Camera
  523. local newmousex = safe.Players.LocalPlayer:GetMouse().X
  524. local newmousey = safe.Players.LocalPlayer:GetMouse().Y
  525. local closestplayer = getclosestPlayer()
  526. if player.Character.Humanoid.Health > 0 then
  527. if closestplayer ~= "none" then
  528. if inlos(closestplayer.Character.Head.Position, closestplayer.Character) and visiblecheck then
  529. local closesthead = closestplayer.Character.Head
  530. local p = camera:WorldToScreenPoint(closesthead.Position)
  531. local xdistancetohead, ydistancetohead = AimAt(p.X + _G.xaimoffset, p.Y + 32)
  532. movethemouse(xdistancetohead, ydistancetohead)
  533. if autoshoot then
  534. movethemouse(xdistancetohead, ydistancetohead)
  535. wait(1)
  536. Input.LeftClick(MOUSE_DOWN)
  537. wait()
  538. end
  539. elseif not visiblecheck then
  540. local closesthead = closestplayer.Character.Head
  541. local p = camera:WorldToScreenPoint(closesthead.Position)
  542. local xdistancetohead, ydistancetohead = AimAt(p.X + _G.xaimoffset, p.Y + 32)
  543. movethemouse(xdistancetohead, ydistancetohead)
  544. end
  545. end
  546. end
  547. end
  548.  
  549. game:GetService('RunService').Stepped:connect(function()
  550. if aimbotting then
  551. --MouseTests()
  552. end
  553. end)
  554.  
  555.  
  556. local plr = safe.Players.LocalPlayer
  557. local mouse = plr:GetMouse()
  558. mouse.KeyDown:connect(function(key)
  559. if key == "t" then
  560. aimbotting = not aimbotting
  561. print("Aimbotting: " .. tostring(aimbotting))
  562. MouseTests()
  563. end
  564. if key == "o" then
  565. visiblecheck = not visiblecheck
  566. print("Visible Check: " .. tostring(visiblecheck))
  567. end
  568.  
  569. if key == "m" then
  570. teamcheck = not teamcheck
  571. print("Team Check: " .. tostring(teamcheck))
  572. end
  573. end)
  574.  
  575.  
  576.  
  577. print("Pixel Aimbot Loaded!")
  578.  
  579. MB2Held = false
  580.  
  581. function onKeyPress(inputObject,gameProcessed)
  582. if inputObject.UserInputType == Enum.UserInputType.MouseButton2 then
  583. MB2Held = true
  584. while MB2Held do
  585. if aimbotting then
  586. MouseTests()
  587. end
  588. wait()
  589. end
  590. end
  591. end
  592.  
  593. function onKeyRelease(inputObject,gameProcessed)
  594. if inputObject.UserInputType == Enum.UserInputType.MouseButton2 then
  595. MB2Held = false
  596. end
  597. end
  598.  
  599. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  600. game:GetService("UserInputService").InputEnded:connect(onKeyRelease)
  601.  
  602. trans = 0.5
  603. --team1 = BackgroundColor3.new("Institutional white")
  604. --team2 = BackgroundColor3.new("Really red")
  605.  
  606. while true do
  607. for i,l in pairs(game:GetService("Players"):GetChildren()) do
  608. print (game:GetService("Players").LocalPlayer.Team)
  609. if l ~= game:GetService("Players").LocalPlayer then
  610. for i,v in pairs(l.Character:GetChildren()) do
  611. if v.ClassName == "MeshPart" or "Part" and v.Name ~= "HumanoidRootPart" then
  612. --
  613. xd = Instance.new("SurfaceGui")
  614. xd.Face = Enum.NormalId.Back
  615. xd.Parent = v
  616. xd.AlwaysOnTop = true
  617. Frame = Instance.new("Frame")
  618. Frame.Parent = xd
  619. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  620. Frame.Size = UDim2.new(1, 0, 1, 0)
  621. Frame.BackgroundTransparency = trans
  622.  
  623. if l.Team ~= game:GetService("Players").LocalPlayer.Team then
  624. Frame.BackgroundColor3 = Color3.new(17,17 ,17)
  625. else Frame.BackgroundColor3 = Color3.new(0, 255, 255)
  626.  
  627. end
  628.  
  629. --
  630.  
  631. xd = Instance.new("SurfaceGui")
  632. xd.Face = Enum.NormalId.Bottom
  633. xd.Parent = v
  634. xd.AlwaysOnTop = true
  635. Frame = Instance.new("Frame")
  636. Frame.Parent = xd
  637. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  638. Frame.Size = UDim2.new(1, 0, 1, 0)
  639. Frame.BackgroundTransparency = trans
  640.  
  641. if l.Team ~= game:GetService("Players").LocalPlayer.Team then
  642. Frame.BackgroundColor3 = Color3.new(17,17 ,17)
  643. else Frame.BackgroundColor3 = Color3.new(0, 255, 255)
  644.  
  645. end
  646.  
  647. --
  648.  
  649. xd = Instance.new("SurfaceGui")
  650. xd.Face = Enum.NormalId.Front
  651. xd.Parent = v
  652. xd.AlwaysOnTop = true
  653. Frame = Instance.new("Frame")
  654. Frame.Parent = xd
  655. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  656. Frame.Size = UDim2.new(1, 0, 1, 0)
  657. Frame.BackgroundTransparency = trans
  658.  
  659. if l.Team ~= game:GetService("Players").LocalPlayer.Team then
  660. Frame.BackgroundColor3 = Color3.new(17,17 ,17)
  661. else Frame.BackgroundColor3 = Color3.new(0, 255, 255)
  662.  
  663. end
  664.  
  665.  
  666. --
  667.  
  668. xd = Instance.new("SurfaceGui")
  669. xd.Face = Enum.NormalId.Left
  670. xd.Parent = v
  671. xd.AlwaysOnTop = true
  672. Frame = Instance.new("Frame")
  673. Frame.Parent = xd
  674. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  675. Frame.Size = UDim2.new(1, 0, 1, 0)
  676. Frame.BackgroundTransparency = trans
  677.  
  678. if l.Team ~= game:GetService("Players").LocalPlayer.Team then
  679. Frame.BackgroundColor3 = Color3.new(17,17 ,17)
  680. else Frame.BackgroundColor3 = Color3.new(0, 255, 255)
  681.  
  682. end
  683. --
  684.  
  685. xd = Instance.new("SurfaceGui")
  686. xd.Face = Enum.NormalId.Right
  687. xd.Parent = v
  688. xd.AlwaysOnTop = true
  689. Frame = Instance.new("Frame")
  690. Frame.Parent = xd
  691. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  692. Frame.Size = UDim2.new(1, 0, 1, 0)
  693. Frame.BackgroundTransparency = trans
  694.  
  695. if l.Team ~= game:GetService("Players").LocalPlayer.Team then
  696. Frame.BackgroundColor3 = Color3.new(17,17 ,17)
  697. else Frame.BackgroundColor3 = Color3.new(0, 255, 255)
  698.  
  699. end
  700. --
  701.  
  702. xd = Instance.new("SurfaceGui")
  703. xd.Face = Enum.NormalId.Top
  704. xd.Parent = v
  705. xd.AlwaysOnTop = true
  706. Frame = Instance.new("Frame")
  707. Frame.Parent = xd
  708. Frame.BackgroundColor3 = Color3.new(1, 1, 1)
  709. Frame.Size = UDim2.new(1, 0, 1, 0)
  710. Frame.BackgroundTransparency = trans
  711.  
  712.  
  713. if l.Team ~= game:GetService("Players").LocalPlayer.Team then
  714. Frame.BackgroundColor3 = Color3.new(17,17 ,17)
  715. else Frame.BackgroundColor3 = Color3.new(0, 255, 255)
  716.  
  717. end
  718.  
  719.  
  720. print (v.Name)
  721.  
  722. end
  723. end
  724. end
  725. end
  726.  
  727. wait (5)
  728. for i,v in pairs (game:GetService("Players"):GetChildren()) do
  729. for i,k in pairs(v.Character:GetChildren()) do
  730. for i,l in pairs(k:GetChildren()) do
  731. if l.ClassName == "SurfaceGui" then
  732. l:Remove()
  733. end
  734. end
  735. end
  736. end
  737.  
  738. end
  739. end)
  740.  
  741. nowalls.Name = "nowalls"
  742. nowalls.Parent = MainGUI
  743. nowalls.BackgroundColor3 = Color3.new(0.164706, 0.164706, 0.164706)
  744. nowalls.BorderColor3 = Color3.new(0, 0, 0)
  745. nowalls.BorderSizePixel = 2
  746. nowalls.Position = UDim2.new(0.0899998397, 0, 0.493055552, 0)
  747. nowalls.Size = UDim2.new(0, 81, 0, 25)
  748. nowalls.Font = Enum.Font.GothamBlack
  749. nowalls.Text = "No Walls"
  750. nowalls.TextColor3 = Color3.new(1, 1, 1)
  751. nowalls.TextSize = 12
  752. nowalls.MouseButton1Click:connect(function()
  753. local Move = game.Workspace.Map
  754. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  755. local Players = game:GetService("Players")
  756. local mouse = Players.LocalPlayer:GetMouse()
  757. local a = false
  758.  
  759. mouse.KeyDown:Connect(function(key)
  760. if key == "e" then
  761. if a == false then
  762. Move.Parent = ReplicatedStorage
  763. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = true
  764. a = true
  765. elseif a == true then
  766. Move.Parent = game.Workspace
  767. Players.LocalPlayer.Character.HumanoidRootPart.Anchored = false
  768. a = false
  769. end
  770. end
  771. end)
  772. end)
  773.  
  774. Credit.Name = "Credit"
  775. Credit.Parent = MainGUI
  776. Credit.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  777. Credit.BackgroundTransparency = 1
  778. Credit.BorderColor3 = Color3.new(0, 0, 0)
  779. Credit.BorderSizePixel = 2
  780. Credit.Position = UDim2.new(0, 0, 0.854166687, 0)
  781. Credit.Size = UDim2.new(0, 99, 0, 21)
  782. Credit.Font = Enum.Font.GothamBlack
  783. Credit.Text = "Credit: ?"
  784. Credit.TextColor3 = Color3.new(1, 1, 1)
  785. Credit.TextSize = 14
  786.  
  787. GUI.Name = "GUI"
  788. GUI.Parent = MainGUI
  789. GUI.BackgroundColor3 = Color3.new(0.196078, 0.196078, 0.196078)
  790. GUI.BackgroundTransparency = 1
  791. GUI.BorderColor3 = Color3.new(0, 0, 0)
  792. GUI.BorderSizePixel = 2
  793. GUI.Position = UDim2.new(0, 0, 0.708333373, 0)
  794. GUI.Size = UDim2.new(0, 99, 0, 21)
  795. GUI.Font = Enum.Font.GothamBlack
  796. GUI.Text = "GUI: #2980"
  797. GUI.TextColor3 = Color3.new(1, 1, 1)
  798. GUI.TextSize = 14
  799.  
  800. Open.Name = "Open"
  801. Open.Parent = MainGUI
  802. Open.BackgroundColor3 = Color3.new(1, 0, 0)
  803. Open.BorderColor3 = Color3.new(0, 0, 0)
  804. Open.BorderSizePixel = 2
  805. Open.Position = UDim2.new(0.0999998376, 0, -0.215277806, 0)
  806. Open.Size = UDim2.new(0, 81, 0, 25)
  807. Open.Font = Enum.Font.GothamBlack
  808. Open.Text = "Toggle"
  809. Open.TextColor3 = Color3.new(1, 1, 1)
  810. Open.TextSize = 12
  811. Open.MouseButton1Click:connect(function()
  812. if Toggle == false then
  813. MainGUI:TweenPosition(UDim2.new(0, 0,0.4, 0),'Out','Bounce', 2)
  814. Toggle = true
  815. else
  816. MainGUI:TweenPosition(UDim2.new(0, 0,1.01, 0),'Out','Bounce', 2)
  817. Toggle = false
  818.  
  819. end
  820. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement