M1XTExploits

Untitled

Dec 29th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.30 KB | None | 0 0
  1. local plr = game.Players.LocalPlayer
  2.  
  3. if plr:FindFirstChild("PlayerGui") then plg=plr.PlayerGui else return end
  4. bin=Instance.new("HopperBin",plr:FindFirstChild("Backpack"))
  5. bin.Name="iBTools"
  6. bin.Selected:connect(function(mouse)
  7. box=Instance.new("SelectionBox")
  8. lso=Instance.new("SelectionPointLasso")
  9. lso.Visible=false
  10. coroutine.resume(coroutine.create(function() repeat wait() if iOrb.Humanoid~=nil then
  11. lso.Humanoid=iOrb.Humanoid end until false end))
  12. md1=1
  13. md2=1
  14. md3=1
  15. clr=true
  16. ste=false
  17. lvi=false
  18. cle=false
  19. tme=.5
  20. function createGui()
  21. gui=Instance.new("ScreenGui",plg)
  22. gui.Name="iBGui"
  23. --PanelGUI--
  24. frm=Instance.new("Frame",gui)
  25. frm.Visible=false
  26. frm.Name="iBPanel"
  27. frm.Position=UDim2.new(0.0199999996,0,0.400000006,0)
  28. frm.Size=UDim2.new(0.150000006,0,0.400000006,0)
  29. frm.Style="RobloxRound"
  30. frm.ZIndex=8
  31. lab=Instance.new("TextLabel",frm)
  32. lab.Name="iBTitle"
  33. lab.BackgroundTransparency=1
  34. lab.Size=UDim2.new(1,0,0.150000006,0)
  35. lab.ZIndex=9
  36. lab.Font="ArialBold"
  37. lab.FontSize="Size18"
  38. lab.Text="iBuildTools Panel"
  39. lab.TextColor3=Color3.new(1,1,1)
  40. lab.TextStrokeTransparency=0
  41. lab.TextStrokeColor3=Color3.new(0,0,0)
  42. del=Instance.new("TextButton",frm)
  43. del.Name="iBDelete"
  44. del.BackgroundTransparency=1
  45. del.Position=UDim2.new(0,0,0.200000003,0)
  46. del.Size=UDim2.new(1,0,0.119999997,0)
  47. del.Style="RobloxButtonDefault"
  48. del.ZIndex=9
  49. del.Font="ArialBold"
  50. del.FontSize="Size12"
  51. del.Text="Delete"
  52. del.TextColor3=Color3.new(1,1,1)
  53. del.Selected=true
  54. ach=Instance.new("TextButton",frm)
  55. ach.Name="iBAnchor"
  56. ach.BackgroundTransparency=1
  57. ach.Position=UDim2.new(0,0,0.330000013,0)
  58. ach.Size=UDim2.new(1,0,0.119999997,0)
  59. ach.Style="RobloxButton"
  60. ach.ZIndex=9
  61. ach.Font="ArialBold"
  62. ach.FontSize="Size12"
  63. ach.Text="Anchor"
  64. ach.TextColor3=Color3.new(1,1,1)
  65. col=Instance.new("TextButton",frm)
  66. col.Name="iBCanCollide"
  67. col.BackgroundTransparency=1
  68. col.Position=UDim2.new(0,0,0.460000008,0)
  69. col.Size=UDim2.new(1,0,0.119999997,0)
  70. col.Style="RobloxButton"
  71. col.ZIndex=9
  72. col.Font="ArialBold"
  73. col.FontSize="Size12"
  74. col.Text="CanCollide"
  75. col.TextColor3=Color3.new(1,1,1)
  76. lck=Instance.new("TextButton",frm)
  77. lck.Name="iBLock"
  78. lck.BackgroundTransparency=1
  79. lck.Position=UDim2.new(0,0,0.579999983,0)
  80. lck.Size=UDim2.new(1,0,0.119999997,0)
  81. lck.Style="RobloxButton"
  82. lck.ZIndex=9
  83. lck.Font="ArialBold"
  84. lck.FontSize="Size12"
  85. lck.Text="Lock"
  86. lck.TextColor3=Color3.new(1,1,1)
  87. brk=Instance.new("TextButton",frm)
  88. brk.Name="iBBreak"
  89. brk.BackgroundTransparency=1
  90. brk.Position=UDim2.new(0,0,0.699999988,0)
  91. brk.Size=UDim2.new(1,0,0.119999997,0)
  92. brk.Style="RobloxButton"
  93. brk.ZIndex=9
  94. brk.Font="ArialBold"
  95. brk.FontSize="Size12"
  96. brk.Text="BreakJoints"
  97. brk.TextColor3=Color3.new(1,1,1)
  98. set=Instance.new("TextButton",frm)
  99. set.Name="iBSettings"
  100. set.BackgroundTransparency=1
  101. set.Position=UDim2.new(0,0,0.829999983,0)
  102. set.Size=UDim2.new(1,0,0.119999997,0)
  103. set.Style="RobloxButton"
  104. set.ZIndex=9
  105. set.Font="ArialBold"
  106. set.FontSize="Size12"
  107. set.Text="Settings"
  108. set.TextColor3=Color3.new(1,1,1)
  109. frm.Visible=true
  110. --SettingsGUI--
  111. frs=Instance.new("Frame",gui)
  112. frs.Visible=false
  113. frs.Name="iBSettings"
  114. frs.Position=UDim2.new(0.389999986,0,0.400000006,0)
  115. frs.Size=UDim2.new(0.25,0,0.25,0)
  116. frs.Style="RobloxRound"
  117. frs.ZIndex=8
  118. frw=Instance.new("Frame",frs)
  119. frw.Name="iBWindow"
  120. frw.Position=UDim2.new(0,0,0.25999999,0)
  121. frw.Size=UDim2.new(1,0,0.74000001,0)
  122. frw.Style="RobloxRound"
  123. frw.ZIndex=8
  124. cls=Instance.new("TextButton",frs)
  125. cls.Name="iBClose"
  126. cls.Position=UDim2.new(0.850000024,0,-0.00999999978,0)
  127. cls.Size=UDim2.new(0.150000006,0,0.219999999,0)
  128. cls.Style="RobloxButtonDefault"
  129. cls.ZIndex=10
  130. cls.Font="ArialBold"
  131. cls.FontSize="Size12"
  132. cls.Text="X"
  133. cls.TextColor3=Color3.new(1,0,0)
  134. wtl=Instance.new("TextLabel",frs)
  135. wtl.Name="iBTitle"
  136. wtl.BackgroundTransparency=1
  137. wtl.Size=UDim2.new(1,0,0.25,0)
  138. wtl.ZIndex=9
  139. wtl.Font="ArialBold"
  140. wtl.FontSize="Size14"
  141. wtl.Text="iBuildTools Settings Window"
  142. wtl.TextColor3=Color3.new(1,1,1)
  143. wtl.TextStrokeColor3=Color3.new(0,0,0)
  144. wtl.TextStrokeTransparency=0
  145. wtl.TextXAlignment="Left"
  146. clk=Instance.new("TextLabel",frw)
  147. clk.Name="iBClick"
  148. clk.BackgroundTransparency=1
  149. clk.Size=UDim2.new(1,0,0.330000013,0)
  150. clk.ZIndex=10
  151. clk.Font="ArialBold"
  152. clk.FontSize="Size12"
  153. clk.TextColor3=Color3.new(1,1,1)
  154. clk.Text=" - Click Mode : "
  155. clk.TextStrokeColor3=Color3.new(0,0,0)
  156. clk.TextStrokeTransparency=0
  157. clk.TextXAlignment="Left"
  158. ray=Instance.new("TextLabel",frw)
  159. ray.Name="iBRay"
  160. ray.BackgroundTransparency=1
  161. ray.Position=UDim2.new(0,0,0.330000013,0)
  162. ray.Size=UDim2.new(1,0,0.330000013,0)
  163. ray.ZIndex=10
  164. ray.Font="ArialBold"
  165. ray.FontSize="Size12"
  166. ray.TextColor3=Color3.new(1,1,1)
  167. ray.Text=" - Ray Mode : "
  168. ray.TextStrokeColor3=Color3.new(0,0,0)
  169. ray.TextStrokeTransparency=0
  170. ray.TextXAlignment="Left"
  171. rfc=Instance.new("TextLabel",frw)
  172. rfc.Name="iBRayFunction"
  173. rfc.BackgroundTransparency=1
  174. rfc.Position=UDim2.new(0,0,0.660000013,0)
  175. rfc.Size=UDim2.new(1,0,0.330000013,0)
  176. rfc.ZIndex=10
  177. rfc.Font="ArialBold"
  178. rfc.FontSize="Size12"
  179. rfc.TextColor3=Color3.new(1,1,1)
  180. rfc.Text=" - Ray Function : "
  181. rfc.TextStrokeColor3=Color3.new(0,0,0)
  182. rfc.TextStrokeTransparency=0
  183. rfc.TextXAlignment="Left"
  184. ckb=Instance.new("TextButton",frw)
  185. ckb.Name="iBClickButton"
  186. ckb.Position=UDim2.new(0.400000006,0,0,0)
  187. ckb.Size=UDim2.new(0.600000024,0,0.330000013,0)
  188. ckb.ZIndex=10
  189. ckb.Selected=true
  190. ckb.Style="RobloxButtonDefault"
  191. ckb.Font="ArialBold"
  192. ckb.FontSize="Size12"
  193. ckb.Text="Enabled"
  194. ckb.TextColor3=Color3.new(0,1,0)
  195. ryb=Instance.new("TextButton",frw)
  196. ryb.Name="iBRayButton"
  197. ryb.Position=UDim2.new(0.400000006,0,0.330000013,0)
  198. ryb.Size=UDim2.new(0.600000024,0,0.330000013,0)
  199. ryb.Style="RobloxButton"
  200. ryb.ZIndex=10
  201. ryb.Font="ArialBold"
  202. ryb.FontSize="Size12"
  203. ryb.Text="Disabled"
  204. ryb.TextColor3=Color3.new(1,0,0)
  205. rfb=Instance.new("TextButton",frw)
  206. rfb.Name="iBRayFButton"
  207. rfb.Position=UDim2.new(0.400000006,0,0.660000013,0)
  208. rfb.Size=UDim2.new(0.600000024,0,0.330000013,0)
  209. rfb.Style="RobloxButtonDefault"
  210. rfb.ZIndex=10
  211. rfb.Font="ArialBold"
  212. rfb.FontSize="Size12"
  213. rfb.Text="Enable Propertie"
  214. rfb.TextColor3=Color3.new(0,1,0)
  215. end createGui()
  216. coroutine.resume(coroutine.create(function()
  217. while(mouse)and wait() do
  218. if(box)and(ray)then
  219. if(lvi)then
  220. lso.Visible=true
  221. else
  222. lso.Visible=false
  223. end
  224. if(md1==1)then
  225. if(clr)then
  226. if(mouse.Target~=nil)then
  227. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  228. box.Visible=true
  229. box.Parent=game.Workspace.CurrentCamera
  230. box.Adornee=mouse.Target
  231. if(md2==1)then
  232. box.Color=BrickColor.new("Bright red")
  233. elseif(md2==2)then
  234. if(mouse.Target.Anchored)then
  235. box.Color=BrickColor.new("Camo")
  236. else
  237. box.Color=BrickColor.new("Bright red")
  238. end
  239. elseif(md2==3)then
  240. if(mouse.Target.CanCollide)then
  241. box.Color=BrickColor.new("Camo")
  242. else
  243. box.Color=BrickColor.new("Bright red")
  244. end
  245. elseif(md2==4)then
  246. if(mouse.Target.Locked)then
  247. box.Color=BrickColor.new("Camo")
  248. else
  249. box.Color=BrickColor.new("Bright red")
  250. end
  251. elseif(md2==5)then
  252. box.Color=BrickColor.new("Bright blue")
  253. end
  254. end
  255. else
  256. box.Visible=false
  257. box.Parent=nil
  258. box.Adornee=nil
  259. end
  260. end
  261. elseif(md1==2)then
  262. lso.Point=mouse.Hit.p
  263. box.Visible=false
  264. box.Parent=nil
  265. box.Adornee=nil
  266. if(md2~=1)and(md2~=5)then
  267. if(md3==1)then
  268. lso.Color=BrickColor.new("Camo")
  269. elseif(md3==2)then
  270. lso.Color=BrickColor.new("Bright red")
  271. end
  272. elseif(md2==1)then
  273. if(cle)then
  274. lso.Color=BrickColor.new("Bright red")
  275. else
  276. lso.Color=BrickColor.new("Bright blue")
  277. end
  278. elseif(md2==5)then
  279. if(cle)then
  280. lso.Color=BrickColor.new("Bright red")
  281. else
  282. lso.Color=BrickColor.new("Bright blue")
  283. end
  284. end
  285. end
  286. end
  287. end
  288. end))
  289. function delDown()
  290. del_downFunc=mouse.Button1Down:connect(function()
  291. md2=1
  292. if(md2==1)then
  293. if(md1==1)then
  294. if(mouse.Target~=nil)then
  295. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  296. mouse.Target:remove()
  297. end
  298. end
  299. elseif(md1==2)then
  300. lvi=true
  301. lso.Parent=game.Workspace.CurrentCamera
  302. while(lvi)and wait() do
  303. if(mouse.Target~=nil)then
  304. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  305. mouse.Target:remove()
  306. cle=true
  307. wait(tme)
  308. cle=false
  309. else
  310. cle=false
  311. end
  312. else
  313. cle=false
  314. end
  315. end
  316. end
  317. end
  318. end)
  319. end
  320. function delUp()
  321. del_upFunc=mouse.Button1Up:connect(function()
  322. lvi=false
  323. cle=false
  324. lso.Parent=nil
  325. end)
  326. end
  327. function achDown()
  328. ach_downFunc=mouse.Button1Down:connect(function()
  329. md2=2
  330. if(md2==2)then
  331. if(md1==1)then
  332. if(mouse.Target~=nil)then
  333. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  334. if(mouse.Target.Anchored)then
  335. mouse.Target.Anchored=false
  336. else
  337. mouse.Target.Anchored=true
  338. end
  339. end
  340. end
  341. elseif(md1==2)then
  342. lvi=true
  343. lso.Parent=game.Workspace.CurrentCamera
  344. while(lvi)and wait() do
  345. if(mouse.Target~=nil)then
  346. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  347. if(md3==1)then
  348. mouse.Target.Anchored=true
  349. elseif(md3==2)then
  350. mouse.Target.Anchored=false
  351. end
  352. end
  353. end
  354. end
  355. end
  356. end
  357. end)
  358. end
  359. function achUp()
  360. ach_upFunc=mouse.Button1Up:connect(function()
  361. lvi=false
  362. lso.Parent=nil
  363. end)
  364. end
  365. function colDown()
  366. col_downFunc=mouse.Button1Down:connect(function()
  367. md2=3
  368. if(md2==3)then
  369. if(md1==1)then
  370. if(mouse.Target~=nil)then
  371. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  372. if(mouse.Target.CanCollide)then
  373. mouse.Target.CanCollide=false
  374. else
  375. mouse.Target.CanCollide=true
  376. end
  377. end
  378. end
  379. elseif(md1==2)then
  380. lvi=true
  381. lso.Parent=game.Workspace.CurrentCamera
  382. while(lvi)and wait() do
  383. if(mouse.Target~=nil)then
  384. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  385. if(md3==1)then
  386. mouse.Target.CanCollide=true
  387. elseif(md3==2)then
  388. mouse.Target.CanCollide=false
  389. end
  390. end
  391. end
  392. end
  393. end
  394. end
  395. end)
  396. end
  397. function colUp()
  398. col_upFunc=mouse.Button1Up:connect(function()
  399. lvi=false
  400. lso.Parent=nil
  401. end)
  402. end
  403. function lckDown()
  404. lck_downFunc=mouse.Button1Down:connect(function()
  405. md2=4
  406. if(md2==4)then
  407. if(md1==1)then
  408. if(mouse.Target~=nil)then
  409. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  410. if(mouse.Target.Locked)then
  411. mouse.Target.Locked=false
  412. else
  413. mouse.Target.Locked=true
  414. end
  415. end
  416. end
  417. elseif(md1==2)then
  418. lvi=true
  419. lso.Parent=game.Workspace.CurrentCamera
  420. while(lvi)and wait() do
  421. if(mouse.Target~=nil)then
  422. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  423. if(md3==1)then
  424. mouse.Target.Locked=true
  425. elseif(md3==2)then
  426. mouse.Target.Locked=false
  427. end
  428. end
  429. end
  430. end
  431. end
  432. end
  433. end)
  434. end
  435. function lckUp()
  436. lck_upFunc=mouse.Button1Up:connect(function()
  437. lvi=false
  438. lso.Parent=nil
  439. end)
  440. end
  441. function brkDown()
  442. brk_downFunc=mouse.Button1Down:connect(function()
  443. md2=5
  444. if(md2==5)then
  445. if(md1==1)then
  446. if(mouse.Target~=nil)then
  447. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  448. clr=false
  449. box.Color=BrickColor.new("Bright red")
  450. mouse.Target:BreakJoints()
  451. end
  452. end
  453. elseif(md1==2)then
  454. lvi=true
  455. lso.Parent=game.Workspace.CurrentCamera
  456. while(lvi)and wait() do
  457. if(mouse.Target~=nil)then
  458. if(mouse.Target:IsA("BasePart"))or(mouse.Target.Name~="cParticle")or(mouse.Target.Name~="cParticle2")then
  459. mouse.Target:BreakJoints()
  460. cle=true
  461. else
  462. cle=true
  463. end
  464. else
  465. cle=false
  466. end
  467. end
  468. end
  469. end
  470. end)
  471. end
  472. function brkUp()
  473. brk_upFunc=mouse.Button1Up:connect(function()
  474. clr=true
  475. lvi=false
  476. cle=false
  477. end)
  478. end
  479. delDown()
  480. delUp()
  481. achDown()
  482. achUp()
  483. colDown()
  484. colUp()
  485. lckDown()
  486. lckUp()
  487. brkDown()
  488. brkUp()
  489. del.MouseButton1Click:connect(function()
  490. md2=1
  491. del_downFunc:disconnect()
  492. del_upFunc:disconnect()
  493. ach_downFunc:disconnect()
  494. ach_upFunc:disconnect()
  495. col_downFunc:disconnect()
  496. col_upFunc:disconnect()
  497. lck_downFunc:disconnect()
  498. lck_upFunc:disconnect()
  499. brk_downFunc:disconnect()
  500. brk_upFunc:disconnect()
  501. del.Style="RobloxButtonDefault"
  502. del.Selected=true
  503. ach.Style="RobloxButton"
  504. ach.Selected=false
  505. col.Style="RobloxButton"
  506. col.Selected=false
  507. lck.Style="RobloxButton"
  508. lck.Selected=false
  509. brk.Style="RobloxButton"
  510. brk.Selected=false
  511. delDown()
  512. delUp()
  513. end)
  514. ach.MouseButton1Click:connect(function()
  515. md2=2
  516. del_downFunc:disconnect()
  517. del_upFunc:disconnect()
  518. ach_downFunc:disconnect()
  519. ach_upFunc:disconnect()
  520. col_downFunc:disconnect()
  521. col_upFunc:disconnect()
  522. lck_downFunc:disconnect()
  523. lck_upFunc:disconnect()
  524. brk_downFunc:disconnect()
  525. brk_upFunc:disconnect()
  526. del.Style="RobloxButton"
  527. del.Selected=false
  528. ach.Style="RobloxButtonDefault"
  529. ach.Selected=true
  530. col.Style="RobloxButton"
  531. col.Selected=false
  532. lck.Style="RobloxButton"
  533. lck.Selected=false
  534. brk.Style="RobloxButton"
  535. brk.Selected=false
  536. achDown()
  537. achUp()
  538. end)
  539. col.MouseButton1Click:connect(function()
  540. md2=3
  541. del_downFunc:disconnect()
  542. del_upFunc:disconnect()
  543. ach_downFunc:disconnect()
  544. ach_upFunc:disconnect()
  545. col_downFunc:disconnect()
  546. col_upFunc:disconnect()
  547. lck_downFunc:disconnect()
  548. lck_upFunc:disconnect()
  549. brk_downFunc:disconnect()
  550. brk_upFunc:disconnect()
  551. del.Style="RobloxButton"
  552. del.Selected=false
  553. ach.Style="RobloxButton"
  554. ach.Selected=false
  555. col.Style="RobloxButtonDefault"
  556. col.Selected=true
  557. lck.Style="RobloxButton"
  558. lck.Selected=false
  559. brk.Style="RobloxButton"
  560. brk.Selected=false
  561. colDown()
  562. colUp()
  563. end)
  564. lck.MouseButton1Click:connect(function()
  565. md2=4
  566. del_downFunc:disconnect()
  567. del_upFunc:disconnect()
  568. ach_downFunc:disconnect()
  569. ach_upFunc:disconnect()
  570. col_downFunc:disconnect()
  571. col_upFunc:disconnect()
  572. lck_downFunc:disconnect()
  573. lck_upFunc:disconnect()
  574. brk_downFunc:disconnect()
  575. brk_upFunc:disconnect()
  576. del.Style="RobloxButton"
  577. del.Selected=false
  578. ach.Style="RobloxButton"
  579. ach.Selected=false
  580. col.Style="RobloxButton"
  581. col.Selected=false
  582. lck.Style="RobloxButtonDefault"
  583. lck.Selected=true
  584. brk.Style="RobloxButton"
  585. brk.Selected=false
  586. lckDown()
  587. lckUp()
  588. end)
  589. brk.MouseButton1Click:connect(function()
  590. md2=5
  591. del_downFunc:disconnect()
  592. del_upFunc:disconnect()
  593. ach_downFunc:disconnect()
  594. ach_upFunc:disconnect()
  595. col_downFunc:disconnect()
  596. col_upFunc:disconnect()
  597. lck_downFunc:disconnect()
  598. lck_upFunc:disconnect()
  599. brk_downFunc:disconnect()
  600. brk_upFunc:disconnect()
  601. del.Style="RobloxButton"
  602. del.Selected=false
  603. ach.Style="RobloxButton"
  604. ach.Selected=false
  605. col.Style="RobloxButton"
  606. col.Selected=false
  607. lck.Style="RobloxButton"
  608. lck.Selected=false
  609. brk.Style="RobloxButtonDefault"
  610. brk.Selected=true
  611. brkDown()
  612. brkUp()
  613. end)
  614. set.MouseButton1Click:connect(function()
  615. if(ste)then
  616. ste=false
  617. frs.Visible=false
  618. set.Style="RobloxButton"
  619. else
  620. ste=true
  621. frs.Visible=true
  622. set.Style="RobloxButtonDefault"
  623. end
  624. end)
  625. cls.MouseButton1Click:connect(function()
  626. ste=false
  627. frs.Visible=false
  628. set.Style="RobloxButton"
  629. end)
  630. ckb.MouseButton1Click:connect(function()
  631. md1=1
  632. ckb.Style="RobloxButtonDefault"
  633. ckb.Selected=true
  634. ckb.Text="Enabled"
  635. ckb.TextColor3=Color3.new(0,1,0)
  636. ryb.Style="RobloxButton"
  637. ryb.Selected=false
  638. ryb.Text="Disabled"
  639. ryb.TextColor3=Color3.new(1,0,0)
  640. end)
  641. ryb.MouseButton1Click:connect(function()
  642. md1=2
  643. ryb.Style="RobloxButtonDefault"
  644. ryb.Selected=true
  645. ryb.Text="Enabled"
  646. ryb.TextColor3=Color3.new(0,1,0)
  647. ckb.Style="RobloxButton"
  648. ckb.Selected=false
  649. ckb.Text="Disabled"
  650. ckb.TextColor3=Color3.new(1,0,0)
  651. end)
  652. rfb.MouseButton1Click:connect(function()
  653. if(md3==1)then
  654. md3=2
  655. rfb.Style="RobloxButton"
  656. rfb.Text="Disable Propertie"
  657. rfb.TextColor3=Color3.new(1,0,0)
  658. elseif(md3==2)then
  659. md3=1
  660. rfb.Style="RobloxButtonDefault"
  661. rfb.Text="Enable Propertie"
  662. rfb.TextColor3=Color3.new(0,1,0)
  663. end
  664. end)
  665. end)
  666. bin.Deselected:connect(function()
  667. clr=false
  668. if(box~=nil)then
  669. box:Destroy()
  670. end
  671. if(lso~=nil)then
  672. lso:Destroy()
  673. end
  674. if(gui~=nil)then
  675. gui:Destroy()
  676. end
  677. end)
Add Comment
Please, Sign In to add comment