zza

AWSOME

zza
Jul 7th, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.82 KB | None | 0 0
  1. local RunService = game:service("RunService")
  2. local RbxUtility = LoadLibrary("RbxUtility")
  3.  
  4. local plr = game:service("Players").LocalPlayer
  5. local m = plr:GetMouse()
  6. --local coregui = game:service("CoreGui")
  7. local bin = game.CoreGui
  8.  
  9. local state = false
  10. local mode = 1
  11.  
  12. local stuff = {
  13. ["spectate"] = nil,
  14. ["sound"] = nil,
  15. ["musicbin"] = nil
  16. }
  17.  
  18. for i,v in pairs(game.Workspace:children()) do
  19. if v.ClassName == "Model" or v.ClassName == "Folder" then
  20. if game.Players:FindFirstChild(v.Name) == nil then
  21. stuff.musicbin = v
  22. print("music bin found")
  23. break
  24. end
  25. end
  26. end
  27.  
  28. local modes = {}
  29.  
  30. local ModeP = {}
  31. local ModeP_mt = {}
  32.  
  33. function ModeP:Create(Name, Call, Settings)
  34. local New_Mode = {
  35. ["name"] = Name,
  36. ["call"] = Call,
  37. ["settings"] = Settings
  38. }
  39. setmetatable(New_Mode, ModeP_mt)
  40. table.insert(modes, 1, New_Mode)
  41. return New_Mode
  42. end
  43.  
  44. function ModeP:Run(...)
  45. print("run method found")
  46. if bin:FindFirstChild("_COOL_SETTINGS") == nil then
  47. self.call(self.settings, ...)
  48. end
  49. end
  50.  
  51. ModeP_mt.__index = function(ModeObj, Key)
  52. return ModeP[Key]
  53. end
  54.  
  55. ModeP:Create("Brick Bomb", function(settings, target, hitpoint)
  56. print("XX", hitpoint)
  57. local t
  58. local doFunction
  59. local blocks
  60. if settings.players_only == true then
  61. if game.Players:FindFirstChild(target.Parent.Name) then
  62. t = game.Players:FindFirstChild(target.Parent.Name)
  63. elseif game.Players:FindFirstChild(target.Parent.Parent.Name) then
  64. t = game.Players:FindFirstChild(target.Parent.Parent.Name)
  65. end
  66. end
  67. blocks = Instance.new("Model", workspace)
  68. blocks.RobloxLocked = true
  69. local blocks2 = nil
  70. if settings.cleanup == true then
  71. blocks2 = blocks
  72. end
  73. for i=1, settings.threads do
  74. spawn(function()
  75. print(settings.bricks_per_thread)
  76. while true do
  77. if settings.brick_spawn_delay == 0 then
  78. RunService.Stepped:wait()
  79. else
  80. wait(settings.brick_spawn_delay)
  81. end
  82. if t ~= nil then
  83. if t.Character ~= nil then
  84. if t.Character:FindFirstChild("Torso") then
  85. local p = Instance.new("Part")
  86. p.Anchored = settings.anchored
  87. p.CanCollide = settings.collision
  88. p.RobloxLocked = true
  89. p.Material = settings.material
  90. p.Size = Vector3.new(settings.brick_size_x, settings.brick_size_y, settings.brick_size_z)
  91. p.BrickColor = BrickColor.random()
  92. p.CFrame = t.Character:FindFirstChild("Torso").CFrame
  93. p.Parent = blocks
  94. end
  95. end
  96. elseif settings.players_only == false then
  97. local p = Instance.new("Part")
  98. p.Anchored = settings.anchored
  99. p.RobloxLocked = true
  100. p.CanCollide = settings.collision
  101. p.Material = settings.material
  102. p.Size = Vector3.new(settings.brick_size_x, settings.brick_size_y, settings.brick_size_z)
  103. p.BrickColor = BrickColor.random()
  104. p.CFrame = hitpoint
  105. p.Parent = blocks
  106. end
  107. end
  108. end)
  109. end
  110. if settings.stop == true then
  111. spawn(function()
  112. wait(settings.stop_delay)
  113. blocks = nil
  114. end)
  115. end
  116. wait(settings.clean_delay)
  117. blocks2:Destroy()
  118. end, {
  119. ["threads"] = 8,
  120. ["brick_size_x"] = 5,
  121. ["brick_size_y"] = 5,
  122. ["brick_size_z"] = 5,
  123. ["cleanup"] = true,
  124. ["clean_delay"] = 60,
  125. ["brick_spawn_delay"] = 0.1,
  126. ["players_only"] = false,
  127. ["stop"] = true,
  128. ["stop_delay"] = 20,
  129. ["material"] = Enum.Material.Neon,
  130. ["anchored"] = false,
  131. ["collision"] = true
  132. })
  133.  
  134. ModeP:Create("View", function(settings, target)
  135. local cam = workspace.CurrentCamera
  136. cam.CameraType = "Follow"
  137. local setcam = game.Players:GetChildren()[math.random(1,#game.Players:GetChildren())]
  138. if game.Players:FindFirstChild(tostring(target.Parent)) ~= nil then
  139. setcam = game.Players:FindFirstChild(tostring(target.Parent))
  140. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) ~= nil then
  141. setcam = game.Players:FindFirstChild(tostring(target.Parent.Parent))
  142. end
  143. if setcam:FindFirstChild("leaderstats") == nil then
  144. local te = Instance.new("StringValue")
  145. te.Name = "leaderstats"
  146. end
  147. --[[if stuff.spectate ~= nil then
  148. stuff.spectate.Parent = setcam.leaderstats
  149. stuff.spectate.Value = "Demon"
  150. else
  151. local fes = Instance.new("StringValue")
  152. fes.Name = "Host"
  153. stuff.spectate = fes
  154. stuff.spectate.Parent = setcam.leaderstats
  155. stuff.spectate.Value = "Demon"
  156. end]]
  157. cam.CameraSubject = setcam.Character.Head
  158. end)
  159.  
  160. ModeP:Create("Freeze & Thaw", function(settings,target)
  161. if game.Players:FindFirstChild(tostring(target.Parent)) then
  162. if game.Players:FindFirstChild(tostring(target.Parent)).Character.Torso.Anchored == true then
  163. game.Players:FindFirstChild(tostring(target.Parent)).Character.Torso.Anchored = false
  164. else
  165. game.Players:FindFirstChild(tostring(target.Parent)).Character.Torso.Anchored = true
  166. end
  167. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) then
  168. if game.Players:FindFirstChild(tostring(target.Parent.Parent)).Character.Torso.Anchored == true then
  169. game.Players:FindFirstChild(tostring(target.Parent.Parent)).Character.Torso.Anchored = false
  170. else
  171. game.Players:FindFirstChild(tostring(target.Parent.Parent)).Character.Torso.Anchored = true
  172. end
  173. end
  174. end)
  175.  
  176. ModeP:Create("Kick", function(settings, target)
  177. if game.Players:FindFirstChild(tostring(target.Parent)) then
  178. game.Players:FindFirstChild(tostring(target.Parent)):Kick("Kicked")
  179. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) then
  180. game.Players:FindFirstChild(tostring(target.Parent.Parent)):Kick("Kicked")
  181. end
  182. end)
  183.  
  184. ModeP:Create("Humanoid Kill", function(settings, target)
  185. if game.Players:FindFirstChild(tostring(target.Parent)) then
  186. game.Players:FindFirstChild(tostring(target.Parent)).Character.Humanoid:Destroy()
  187. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) then
  188. game.Players:FindFirstChild(tostring(target.Parent.Parent)).Character.Humanoid:Destroy()
  189. end
  190. end)
  191.  
  192. ModeP:Create("Delete", function(settings, target)
  193. target:Destroy()
  194. end)
  195.  
  196. ModeP:Create("Kill", function(settings, target)
  197. if game.Players:FindFirstChild(tostring(target.Parent)) then
  198. game.Players:FindFirstChild(tostring(target.Parent)).Character.Humanoid.Health = 0
  199. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) then
  200. game.Players:FindFirstChild(tostring(target.Parent.Parent)).Character.Humanoid.Health = 0
  201. end
  202. end)
  203.  
  204. ModeP:Create("Send AWay", function(settings, target)
  205. if game.Players:FindFirstChild(tostring(target.Parent)) then
  206. target = game.Players:FindFirstChild(tostring(target.Parent))
  207. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) then
  208. target = game.Players:FindFirstChild(tostring(target.Parent.Parent))
  209. else
  210. print("returning")
  211. return
  212. end
  213.  
  214. local p = Instance.new("Part")
  215. local w = Instance.new("Weld")
  216. w.Parent = p
  217. w.Part0 = p
  218. p.Size = Vector3.new(6, 7, 3)
  219. p.BrickColor = BrickColor.random()
  220. p.Material = Enum.Material.Neon
  221. p.Anchored = true
  222. p.CanCollide = false
  223. p.Transparency = 0.5
  224. p.Locked = true
  225. p.Parent = workspace
  226. p.CFrame = target.Character.Torso.CFrame
  227. w.Part1 = target.Character.Torso
  228. spawn(function()
  229. while wait(0.1) do
  230. p.BrickColor = BrickColor.random()
  231. end
  232. end)
  233. local e
  234. e = p.Changed:connect(function()
  235. target.Character.Torso.CFrame = p.CFrame
  236. end)
  237.  
  238. for i=1, settings.move_distance do
  239. wait(settings.move_rate)
  240. p.CFrame = p.CFrame + Vector3.new(0, settings.move_step, 0)
  241. end
  242. e:Disconnect()
  243. p:Destroy()
  244. end, {
  245. ["move_rate"] = 0,
  246. ["move_step"] = 1.5,
  247. ["move_distance"] = 1000,
  248. ["move_threads"] = 1
  249. })
  250.  
  251. ModeP:Create("Tsunami Sushi", function(settings, target)
  252. if game.Players:FindFirstChild(tostring(target.Parent)) then
  253. target = game.Players:FindFirstChild(tostring(target.Parent))
  254. elseif game.Players:FindFirstChild(tostring(target.Parent.Parent)) then
  255. target = game.Players:FindFirstChild(tostring(target.Parent.Parent))
  256. else
  257. game.Workspace.GiveSystem.GiveItem:FireServer(game.Players.LocalPlayer, target)
  258. plr.PlayerGui:WaitForChild("reciever", 15)
  259. plr.PlayerGui.reciever:Destroy()
  260. return
  261. end
  262.  
  263. game.Workspace.GiveSystem.GiveItem:FireServer(game.Players.LocalPlayer, target.Character.Humanoid)
  264. plr.PlayerGui:WaitForChild("reciever", 15)
  265. plr.PlayerGui.reciever:Destroy()
  266. end)
  267.  
  268.  
  269. local gui = Instance.new("ScreenGui")
  270.  
  271. local music_frame = Instance.new("Frame")
  272. music_frame.Size = UDim2.new(0, 150, 0, 60)
  273. music_frame.Position = UDim2.new(0, 0, 1, -215)
  274. music_frame.BorderSizePixel = 5
  275. music_frame.BorderColor3 = Color3.new(255/255, 255/255, 255/255)
  276. music_frame.BackgroundTransparency = 0.1
  277. music_frame.BackgroundColor3 = Color3.new(57/255, 57/255, 57/255)
  278.  
  279. local music_entry = Instance.new("TextBox")
  280. music_entry.BackgroundTransparency = 0.9
  281. music_entry.Size = UDim2.new((2/3), 0, 0.5, 0)
  282. music_entry.BackgroundColor3 = Color3.new(0/255, 0/255, 0/255)
  283. music_entry.BorderSizePixel = 0
  284. music_entry.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  285. music_entry.TextSize = 18
  286. music_entry.Text = "Music ID"
  287. music_entry.Font = "SciFi"
  288.  
  289. local volume = Instance.new("TextBox")
  290. volume.BackgroundTransparency = 0.8
  291. volume.Size = UDim2.new((1/3), 0, 0.5, 0)
  292. volume.Position = UDim2.new((2/3), 0, 0, 0)
  293. volume.BackgroundColor3 = Color3.new(0/255, 0/255, 0/255)
  294. volume.BorderSizePixel = 0
  295. volume.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  296. volume.TextSize = 16
  297. volume.Text = "Vol"
  298. volume.Font = "SciFi"
  299.  
  300. volume.FocusLost:connect(function()
  301. if type(tonumber(volume.Text)) == type(1337) then
  302. stuff.sound.Volume = tonumber(volume.Text)
  303. volume.Text = tostring(stuff.sound.Volume)
  304. else
  305. volume.Text = tostring(stuff.sound.Volume)
  306. end
  307. end)
  308.  
  309. local play = Instance.new("TextButton")
  310. play.BackgroundColor3 = Color3.new(22/255, 95/255, 0/255)
  311. play.BorderSizePixel = 0
  312. play.Position = UDim2.new(0, 0, 0.5, 0)
  313. play.Size = UDim2.new((1/3), 0, 0.5, 0)
  314. play.Font = "SciFi"
  315. play.TextSize = 16
  316. play.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  317. play.Text = "Plaay"
  318.  
  319. play.MouseButton1Click:connect(function()
  320. if stuff.sound == nil then
  321. stuff.sound = Instance.new("Sound", stuff.musicbin)
  322. elseif stuff.sound.Parent ~= stuff.musicbin then
  323. stuff.sound:Stop()
  324. stuff.sound:Destroy()
  325. stuff.sound = Instance.new("Sound", stuff.musicbin)
  326. elseif stuff.sound.Parent == stuff.musicbin then
  327. stuff.sound:Stop()
  328. end
  329. stuff.sound.SoundId = ("rbxassetid://" .. music_entry.Text)
  330. stuff.sound:Play()
  331. end)
  332.  
  333. local stop = Instance.new("TextButton")
  334. stop.BackgroundColor3 = Color3.new(95/255, 0/255, 0/255)
  335. stop.BorderSizePixel = 0
  336. stop.Position = UDim2.new((1/3), 0, 0.5, 0)
  337. stop.Size = UDim2.new((1/3), 0, 0.5, 0)
  338. stop.Font = "SciFi"
  339. stop.TextSize = 16
  340. stop.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  341. stop.Text = "Stop"
  342.  
  343. stop.MouseButton1Click:connect(function()
  344. stuff.sound:Stop()
  345. stuff.sound:Destroy()
  346. stuff.sound = nil
  347. end)
  348.  
  349. local allstop = Instance.new("TextButton")
  350. allstop.BackgroundColor3 = Color3.new(0/255, 0/255, 0/255)
  351. allstop.BorderSizePixel = 0
  352. allstop.Position = UDim2.new((2/3), 0, 0.5, 0)
  353. allstop.Size = UDim2.new((1/3), 0, 0.5, 0)
  354. allstop.Font = "SciFi"
  355. allstop.TextSize = 16
  356. allstop.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  357. allstop.Text = "Solo"
  358.  
  359. allstop.MouseButton1Click:connect(function()
  360. local function search(container)
  361. for i,v in pairs(container:children()) do
  362. if #v:children() > 0 then
  363. search(v)
  364. elseif v.ClassName == "Sound" and v ~= stuff.sound then
  365. v:Stop()
  366. end
  367. end
  368. end
  369. search(workspace)
  370. end)
  371.  
  372. allstop.Parent = music_frame
  373. stop.Parent = music_frame
  374. play.Parent = music_frame
  375. volume.Parent = music_frame
  376. music_entry.Parent = music_frame
  377.  
  378. music_frame.Parent = gui
  379.  
  380. local frame = Instance.new("Frame")
  381. frame.Size = UDim2.new(0, 150, 0, 100)
  382. frame.Position = UDim2.new(0, 0, 1, -140)
  383. frame.BackgroundColor3 = Color3.new(57/255, 57/255, 57/255)
  384. frame.BackgroundTransparency = 0.1
  385. frame.BorderSizePixel = 5
  386. frame.BorderColor3 = Color3.new(255/255, 255/255, 255/255)
  387.  
  388. local a_line = Instance.new("Frame")
  389. a_line.Size = UDim2.new(1, 0, 0, 5)
  390. a_line.Position = UDim2.new(0, 0, 0, 17)
  391. a_line.BorderSizePixel = 0
  392. a_line.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  393.  
  394. local title = Instance.new("TextLabel")
  395. title.Position = UDim2.new(0, 0, 0, 3)
  396. title.Size = UDim2.new(1, 0, 0, 20)
  397. title.BackgroundTransparency = 1
  398. title.Font = "SciFi"
  399. title.TextSize = 14
  400. title.TextYAlignment = "Top"
  401. if game.Workspace.FilteringEnabled ~= true then
  402. title.TextColor3 = Color3.new(0/255, 255/255, 0/255)
  403. else
  404. title.TextColor3 = Color3.new(255/255, 0/255, 0/255)
  405. end
  406. title.Text = "Cooler Kids Gui2"
  407.  
  408. local instru = Instance.new("TextButton")
  409. instru.Position = UDim2.new(0, 0, 0, 20)
  410. instru.Size = UDim2.new(1, 0, 0, 20)
  411. instru.BackgroundTransparency = 0.9
  412. instru.Font = "SciFi"
  413. instru.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  414. instru.TextSize = 14
  415. instru.TextXAlignment = "Left"
  416. instru.BorderSizePixel = 0
  417. instru.Text = "On"
  418.  
  419. instru.MouseButton1Click:connect(function()
  420. if instru.Text == "On" then
  421. instru.Text = "Off"
  422. else
  423. instru.Text = "On"
  424. end
  425. end)
  426.  
  427. local mode_l = Instance.new("TextLabel")
  428. mode_l.Position = UDim2.new(0, 0, 0, 40)
  429. mode_l.Size = UDim2.new(1, 0, 0, 20)
  430. mode_l.BackgroundTransparency = 1
  431. mode_l.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  432. mode_l.Font = "SciFi"
  433. mode_l.TextSize = 18
  434. mode_l.Text = "[ Press E ]"
  435.  
  436. local sets_b = Instance.new("TextButton")
  437. sets_b.Position = UDim2.new(0, 0, 1, -40)
  438. sets_b.Size = UDim2.new(1, 0, 0, 20)
  439. sets_b.BackgroundTransparency = 0.9
  440. sets_b.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  441. sets_b.Font = "SciFi"
  442. sets_b.TextSize = 32
  443. sets_b.TextScaled = true
  444. sets_b.BorderSizePixel = 0
  445. sets_b.Modal = true
  446. sets_b.Text = "[ Settings ]"
  447.  
  448. local sets_b_db = false
  449. sets_b.MouseButton1Click:connect(function()
  450. sets_b_db = true
  451. if bin:FindFirstChild("_COOL_SETTINGS") then
  452. bin:FindFirstChild("_COOL_SETTINGS"):Destroy()
  453. else
  454.  
  455. local gui = Instance.new("ScreenGui")
  456. gui.Name = "_COOL_SETTINGS"
  457.  
  458. local frame = Instance.new("Frame")
  459. frame.BackgroundColor3 = Color3.new(57/255, 57/255, 57/255)
  460. frame.BackgroundTransparency = 0.1
  461. frame.BorderColor3 = Color3.new(255/255, 255/255, 255/255)
  462. frame.BorderSizePixel = 5
  463. frame.Position = UDim2.new(0.5, -150, 0.5, -250)
  464. frame.Size = UDim2.new(0, 300, 0, 500)
  465.  
  466. local a_line = Instance.new("Frame")
  467. a_line.BackgroundColor3 = Color3.new(255/255, 255/255, 255/255)
  468. a_line.BorderSizePixel = 0
  469. a_line.Position = UDim2.new(0, 0, 0, 22)
  470. a_line.Size = UDim2.new(1, 0, 0, 5)
  471.  
  472. local title = Instance.new("TextLabel")
  473. title.BackgroundTransparency = 1
  474. title.Size = UDim2.new(1, 0, 0, 22)
  475. title.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  476. title.TextScaled = true
  477. title.Font = "SciFi"
  478. title.TextXAlignment = "Left"
  479. title.Text = "Mode Settings"
  480.  
  481. local scroller = Instance.new("ScrollingFrame")
  482. scroller.BackgroundTransparency = 1
  483. scroller.Position = UDim2.new(0, 0, 0, 27)
  484. scroller.Size = UDim2.new(1, 0, 1, -27)
  485. scroller.ScrollBarThickness = 0
  486.  
  487. local hostmode = modes[mode]
  488.  
  489. --scroller.CanvasSize = Vector2.new(0,(#hostmode*20))
  490. for i,v in pairs(hostmode.settings) do
  491. scroller.CanvasSize = UDim2.new(0, 0, 0, scroller.CanvasSize.Y.Offset+20)
  492. local frame = Instance.new("Frame")
  493. frame.BackgroundTransparency = 1
  494. frame.Size = UDim2.new(1, 0, 0, 20)
  495. frame.Position = UDim2.new(0, 0, 0, scroller.CanvasSize.Y.Offset-20)
  496.  
  497. local label = Instance.new("TextLabel")
  498. label.BackgroundTransparency = 1
  499. label.Size = UDim2.new(0.5, 0, 1, 0)
  500. label.Font = "SciFi"
  501. label.TextScaled = true
  502. label.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  503. label.TextXAlignment = "Left"
  504. label.Text = i
  505.  
  506. local input = Instance.new("TextBox")
  507. input.BackgroundTransparency = 0.8
  508. input.BackgroundColor3 = Color3.new(0/255, 0/255, 0/255)
  509. input.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  510. input.BorderSizePixel = 0
  511. input.ClearTextOnFocus = true
  512. input.Position = UDim2.new(0.5, 0, 0, 0)
  513. input.Size = UDim2.new(0.5, 0, 1, 0)
  514. input.Font = "SciFi"
  515. input.TextScaled = true
  516. input.Text = tostring(v)
  517.  
  518. input.FocusLost:connect(function(property)
  519. print("ffffffff")
  520. if type(v) == type(true) then
  521. if input.Text:lower() == "true" then
  522. hostmode.settings[i] = true
  523. elseif input.Text:lower() == "false" then
  524. hostmode.settings[i] = false
  525. else
  526. input.Text = tostring(hostmode.settings[i])
  527. end
  528. elseif type(v) == type(45678) then
  529. if tonumber(input.Text) ~= nil then
  530. hostmode.settings[i] = tonumber(input.Text)
  531. else
  532. input.Text = tostring(hostmode.settings[i])
  533. end
  534. elseif type(v) == type(Enum.Material.Plastic) then
  535. for _,v in pairs(Enum.Material:GetEnumItems()) do
  536. print("TEST", tostring(v):lower() == ("enum.material."..input.Text), tostring(v):lower(), ("enum.material."..input.Text))
  537. if tostring(v):lower() == ("enum.material."..input.Text) then
  538. print(hostmode.settings[i])
  539. hostmode.settings[i] = v
  540. print("match", hostmode.settings[i])
  541. return
  542. end
  543. end
  544. input.Text = tostring(hostmode.settings[i])
  545. end
  546. end)
  547.  
  548. input.Parent = frame
  549. label.Parent = frame
  550.  
  551. frame.Parent = scroller
  552. end
  553.  
  554. scroller.Parent = frame
  555. title.Parent = frame
  556. a_line.Parent = frame
  557.  
  558. frame.Parent = gui
  559.  
  560. gui.Parent = bin
  561.  
  562. end
  563. sets_b_db = false
  564. end)
  565.  
  566. local lock = Instance.new("TextButton")
  567. lock.Position = UDim2.new(0, 0, 1, -20)
  568. lock.Size = UDim2.new(1, 0, 0, 20)
  569. lock.BackgroundTransparency = 0.9
  570. lock.TextColor3 = Color3.new(255/255, 255/255, 255/255)
  571. lock.Font = "SciFi"
  572. lock.TextSize = 32
  573. lock.TextScaled = true
  574. lock.BorderSizePixel = 0
  575. lock.Text = "[ Unlocked ]"
  576.  
  577. lock.MouseButton1Click:connect(function()
  578. state = not state
  579. if state then
  580. lock.Text = "[ Locked ]"
  581. else
  582. lock.Text = "[ Unlocked ]"
  583. end
  584. end)
  585.  
  586. lock.Parent = frame
  587. sets_b.Parent = frame
  588. mode_l.Parent = frame
  589. instru.Parent = frame
  590. title.Parent = frame
  591. a_line.Parent = frame
  592.  
  593. frame.Parent = gui
  594.  
  595.  
  596.  
  597.  
  598. gui.Parent = bin
  599.  
  600.  
  601. m.Button1Down:connect(function()
  602. if m.Target ~= nil and instru.Text == "On" and bin:FindFirstChild("_COOL_SETTINGS") == nil then
  603. print(m.Hit)
  604. modes[mode]:Run(m.Target, m.Hit)
  605. end
  606. end)
  607.  
  608. game:GetService("UserInputService").InputBegan:connect(function(iob, gpe)
  609. if iob.KeyCode == Enum.KeyCode.E and not state and bin:FindFirstChild("_COOL_SETTINGS") == nil then
  610. if mode < #modes then
  611. mode = mode + 1
  612. mode_l.Text = modes[mode].name
  613. else
  614. mode = 1
  615. mode_l.Text = modes[mode].name
  616. end
  617. elseif iob.KeyCode == Enum.KeyCode.R then
  618. for i,v in pairs(_G.csets) do
  619. print(i)
  620. for i,v in pairs(v) do
  621. print("[[ " .. i .. " ]] -- " .. "[[ " .. v .. " ]]")
  622. end
  623. end
  624. end
  625. end)
Add Comment
Please, Sign In to add comment