Advertisement
ManBanannaCat

Car Crushers 2 Core Script

Jul 28th, 2022
118
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 23.44 KB | None | 0 0
  1. -- Gui to Lua
  2. -- Version: 3.2
  3. -- Reactor Stuff
  4. -- Instances:
  5.  
  6. local Human = Instance.new("ScreenGui")
  7. local Info = Instance.new("Frame")
  8. local Status = Instance.new("Frame")
  9. local EnergyS = Instance.new("TextLabel")
  10. local GlassS = Instance.new("TextLabel")
  11. local MeltS = Instance.new("TextLabel")
  12. local Title = Instance.new("TextLabel")
  13. local Close = Instance.new("TextButton")
  14. local UICorner = Instance.new("UICorner")
  15. local Timer = Instance.new("Frame")
  16. local Timer_2 = Instance.new("TextLabel")
  17. local UICorner_2 = Instance.new("UICorner")
  18. local trueorfalse = Instance.new("TextLabel")
  19. local infoguiopen = Instance.new("TextButton")
  20. local UICorner_3 = Instance.new("UICorner")
  21. local ControlPad = Instance.new("Frame")
  22. local Buttons = Instance.new("Frame")
  23. local StarterEnergy = Instance.new("TextButton")
  24. local GlassBreaker = Instance.new("TextButton")
  25. local StarterMeltdown = Instance.new("TextButton")
  26. local Title_2 = Instance.new("TextLabel")
  27. local Close_2 = Instance.new("TextButton")
  28. local UICorner_4 = Instance.new("UICorner")
  29. local contrpadopen = Instance.new("TextButton")
  30. local UICorner_5 = Instance.new("UICorner")
  31.  
  32. --Properties:
  33.  
  34. Human.Name = "Human"
  35. Human.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  36. Human.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  37.  
  38. Info.Name = "Info"
  39. Info.Parent = Human
  40. Info.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  41. Info.BorderSizePixel = 2
  42. Info.Position = UDim2.new(0.474533528, 0, 0.628085077, 0)
  43. Info.Size = UDim2.new(0, 254, 0, 145)
  44.  
  45. Status.Name = "Status"
  46. Status.Parent = Info
  47. Status.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  48. Status.BorderColor3 = Color3.fromRGB(130, 203, 255)
  49. Status.BorderSizePixel = 2
  50. Status.Position = UDim2.new(0.0618041009, 0, 0.206896544, 0)
  51. Status.Size = UDim2.new(0, 225, 0, 101)
  52.  
  53. EnergyS.Name = "EnergyS"
  54. EnergyS.Parent = Status
  55. EnergyS.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  56. EnergyS.BackgroundTransparency = 1.000
  57. EnergyS.Position = UDim2.new(0.0501464829, 0, 0.128712893, 0)
  58. EnergyS.Size = UDim2.new(0, 200, 0, 23)
  59. EnergyS.Font = Enum.Font.Fantasy
  60. EnergyS.Text = "Energy status: getting info"
  61. EnergyS.TextColor3 = Color3.fromRGB(255, 255, 255)
  62. EnergyS.TextSize = 20.000
  63. EnergyS.TextXAlignment = Enum.TextXAlignment.Left
  64.  
  65. GlassS.Name = "GlassS"
  66. GlassS.Parent = Status
  67. GlassS.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  68. GlassS.BackgroundTransparency = 1.000
  69. GlassS.Position = UDim2.new(0.0501465797, 0, 0.356435657, 0)
  70. GlassS.Size = UDim2.new(0, 200, 0, 24)
  71. GlassS.Font = Enum.Font.Fantasy
  72. GlassS.Text = "Glass status: Unbroken"
  73. GlassS.TextColor3 = Color3.fromRGB(255, 255, 255)
  74. GlassS.TextSize = 20.000
  75. GlassS.TextXAlignment = Enum.TextXAlignment.Left
  76.  
  77. MeltS.Name = "MeltS"
  78. MeltS.Parent = Status
  79. MeltS.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  80. MeltS.BackgroundTransparency = 1.000
  81. MeltS.Position = UDim2.new(0.0501463413, 0, 0.585042477, 0)
  82. MeltS.Size = UDim2.new(0, 200, 0, 28)
  83. MeltS.Font = Enum.Font.Fantasy
  84. MeltS.Text = "Meltdown status: Unactive"
  85. MeltS.TextColor3 = Color3.fromRGB(255, 255, 255)
  86. MeltS.TextSize = 20.000
  87. MeltS.TextXAlignment = Enum.TextXAlignment.Left
  88.  
  89. Title.Name = "Title"
  90. Title.Parent = Info
  91. Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  92. Title.BackgroundTransparency = 1.000
  93. Title.Position = UDim2.new(0.114435673, 0, -0.0965517312, 0)
  94. Title.Size = UDim2.new(0, 200, 0, 50)
  95. Title.Font = Enum.Font.SourceSans
  96. Title.Text = "By pizza_man#7693"
  97. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  98. Title.TextSize = 19.000
  99.  
  100. Close.Name = "Close"
  101. Close.Parent = Info
  102. Close.BackgroundColor3 = Color3.fromRGB(68, 255, 0)
  103. Close.Position = UDim2.new(0.0236220472, 0, 0.0137931034, 0)
  104. Close.Size = UDim2.new(0, 20, 0, 20)
  105. Close.Font = Enum.Font.SourceSans
  106. Close.Text = "-"
  107. Close.TextColor3 = Color3.fromRGB(0, 0, 0)
  108. Close.TextSize = 44.000
  109.  
  110. UICorner.Parent = Close
  111.  
  112. Timer.Name = "Timer"
  113. Timer.Parent = Info
  114. Timer.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  115. Timer.BorderSizePixel = 3
  116. Timer.Position = UDim2.new(0.0532735959, 0, 1.09358752, 0)
  117. Timer.Size = UDim2.new(0, 225, 0, 35)
  118.  
  119. Timer_2.Name = "Timer"
  120. Timer_2.Parent = Timer
  121. Timer_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  122. Timer_2.BackgroundTransparency = 1.000
  123. Timer_2.Position = UDim2.new(0.0212575961, 0, 0.192687988, 0)
  124. Timer_2.Size = UDim2.new(0, 215, 0, 20)
  125. Timer_2.Font = Enum.Font.Fantasy
  126. Timer_2.Text = "Time left: getting info"
  127. Timer_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  128. Timer_2.TextSize = 20.000
  129.  
  130. UICorner_2.Parent = Timer
  131.  
  132. trueorfalse.Name = "trueorfalse"
  133. trueorfalse.Parent = Timer
  134. trueorfalse.Active = true
  135. trueorfalse.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  136. trueorfalse.BackgroundTransparency = 1.000
  137. trueorfalse.Position = UDim2.new(0, 0, -0.0857142881, 0)
  138. trueorfalse.Size = UDim2.new(0, 65, 0, 41)
  139. trueorfalse.Font = Enum.Font.SourceSans
  140. trueorfalse.Text = "True/False"
  141. trueorfalse.TextColor3 = Color3.fromRGB(255, 255, 255)
  142.  
  143. infoguiopen.Name = "infoguiopen"
  144. infoguiopen.Parent = Human
  145. infoguiopen.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  146. infoguiopen.BorderSizePixel = 3
  147. infoguiopen.Position = UDim2.new(0.910237014, 0, 0.636595726, 0)
  148. infoguiopen.Size = UDim2.new(0, 126, 0, 50)
  149. infoguiopen.Font = Enum.Font.SourceSans
  150. infoguiopen.Text = "Open Status gui"
  151. infoguiopen.TextColor3 = Color3.fromRGB(255, 255, 255)
  152. infoguiopen.TextSize = 15.000
  153.  
  154. UICorner_3.Parent = infoguiopen
  155.  
  156. ControlPad.Name = "ControlPad"
  157. ControlPad.Parent = Human
  158. ControlPad.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  159. ControlPad.BorderSizePixel = 2
  160. ControlPad.Position = UDim2.new(0.624306619, 0, 0.627234042, 0)
  161. ControlPad.Size = UDim2.new(0, 125, 0, 145)
  162.  
  163. Buttons.Name = "Buttons"
  164. Buttons.Parent = ControlPad
  165. Buttons.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  166. Buttons.BorderSizePixel = 2
  167. Buttons.Position = UDim2.new(0.0723066404, 0, 0.213792682, 0)
  168. Buttons.Size = UDim2.new(0, 107, 0, 109)
  169.  
  170. StarterEnergy.Name = "StarterEnergy"
  171. StarterEnergy.Parent = Buttons
  172. StarterEnergy.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
  173. StarterEnergy.Size = UDim2.new(0, 107, 0, 36)
  174. StarterEnergy.Font = Enum.Font.Code
  175. StarterEnergy.Text = "Enable core"
  176. StarterEnergy.TextColor3 = Color3.fromRGB(255, 255, 255)
  177. StarterEnergy.TextSize = 17.000
  178.  
  179. GlassBreaker.Name = "GlassBreaker"
  180. GlassBreaker.Parent = Buttons
  181. GlassBreaker.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
  182. GlassBreaker.Position = UDim2.new(0, 0, 0.330275238, 0)
  183. GlassBreaker.Size = UDim2.new(0, 107, 0, 36)
  184. GlassBreaker.Font = Enum.Font.Code
  185. GlassBreaker.Text = "Break glass"
  186. GlassBreaker.TextColor3 = Color3.fromRGB(255, 255, 255)
  187. GlassBreaker.TextSize = 17.000
  188.  
  189. StarterMeltdown.Name = "StarterMeltdown"
  190. StarterMeltdown.Parent = Buttons
  191. StarterMeltdown.BackgroundColor3 = Color3.fromRGB(89, 89, 89)
  192. StarterMeltdown.Position = UDim2.new(0, 0, 0.660550475, 0)
  193. StarterMeltdown.Size = UDim2.new(0, 107, 0, 36)
  194. StarterMeltdown.Font = Enum.Font.Code
  195. StarterMeltdown.Text = "Do meltdown"
  196. StarterMeltdown.TextColor3 = Color3.fromRGB(255, 255, 255)
  197. StarterMeltdown.TextSize = 17.000
  198.  
  199. Title_2.Name = "Title"
  200. Title_2.Parent = ControlPad
  201. Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  202. Title_2.BackgroundTransparency = 1.000
  203. Title_2.Position = UDim2.new(-0.197564334, 0, -0.0965517312, 0)
  204. Title_2.Size = UDim2.new(0, 200, 0, 50)
  205. Title_2.Font = Enum.Font.SourceSans
  206. Title_2.Text = "By pizza_man#7693"
  207. Title_2.TextColor3 = Color3.fromRGB(255, 255, 255)
  208. Title_2.TextSize = 14.000
  209.  
  210. Close_2.Name = "Close"
  211. Close_2.Parent = ControlPad
  212. Close_2.BackgroundColor3 = Color3.fromRGB(68, 255, 0)
  213. Close_2.Position = UDim2.new(0.0236220472, 0, 0.0137931034, 0)
  214. Close_2.Size = UDim2.new(0, 20, 0, 20)
  215. Close_2.Font = Enum.Font.SourceSans
  216. Close_2.Text = "-"
  217. Close_2.TextColor3 = Color3.fromRGB(0, 0, 0)
  218. Close_2.TextSize = 44.000
  219.  
  220. UICorner_4.Parent = Close_2
  221.  
  222. contrpadopen.Name = "contrpadopen"
  223. contrpadopen.Parent = Human
  224. contrpadopen.BackgroundColor3 = Color3.fromRGB(62, 62, 62)
  225. contrpadopen.BorderSizePixel = 3
  226. contrpadopen.Position = UDim2.new(0.910237014, 0, 0.59404254, 0)
  227. contrpadopen.Size = UDim2.new(0, 126, 0, 50)
  228. contrpadopen.Font = Enum.Font.SourceSans
  229. contrpadopen.Text = "Open Buttons gui"
  230. contrpadopen.TextColor3 = Color3.fromRGB(255, 255, 255)
  231. contrpadopen.TextSize = 15.000
  232.  
  233. UICorner_5.Parent = contrpadopen
  234.  
  235. -- Scripts:
  236.  
  237. local function BIEFC_fake_script() -- Close.closeinfo
  238. local script = Instance.new('LocalScript', Close)
  239.  
  240. local frame2 = script.Parent.Parent.Parent.Info
  241. local open2 = script.Parent.Parent.Parent.infoguiopen
  242.  
  243. script.Parent.MouseButton1Click:Connect(function()
  244. frame2.Visible = false
  245. open2.Visible = true
  246. end)
  247. end
  248. coroutine.wrap(BIEFC_fake_script)()
  249. local function TCAKBDJ_fake_script() -- Timer_2.Copier
  250. local script = Instance.new('LocalScript', Timer_2)
  251.  
  252. local tfg = game:GetService("Workspace").EnergyCore.ControlRoom.Screens.Energy.UI.Frame.Time
  253. local sfg = game:GetService("Workspace").EnergyCore.ControlRoom.Screens.Temp.UI.Frame.Status
  254. local ssoe = game:GetService("Workspace").EnergyCore.ControlRoom.Screens.Energy.UI.Frame.Status
  255. local ttg = script.Parent.Parent.Timer
  256. local stg = script.Parent.Parent.Parent.Status.EnergyS
  257. local ssg = script.Parent.Parent.trueorfalse
  258. local som = script.Parent.Parent.Parent.Status.MeltS
  259. local lockenergy = script.Parent.Parent.Parent.Parent.ControlPad.Buttons.StarterEnergy
  260. local lockmeltdown = script.Parent.Parent.Parent.Parent.ControlPad.Buttons.StarterMeltdown
  261. local did1 = Instance.new("Sound")
  262.  
  263. did1.Name = "Sound"
  264. did1.SoundId = "http://www.roblox.com/asset/?id=9068813222"
  265. did1.Volume = 0.3
  266. did1.Looped = false
  267. did1.archivable = false
  268. did1.Parent = game.Workspace
  269.  
  270. wait(5)
  271. repeat
  272. if ssoe.Text == "FILLING" then
  273. lockenergy.Visible = false
  274. lockmeltdown.Visible = false
  275. stg.Text = "Energy Status: Filling"
  276. ssg.Text = "true"
  277. end
  278. if tfg.Text == "Estimated Time Left: 20 Minutes" then
  279. ttg.Text = "Time left: 21 Minutes"
  280. stg.Text = "Energy Status: Filling"
  281. ssg.Text = "true"
  282. lockenergy.Visible = false
  283. lockmeltdown.Visible = false
  284. end
  285. if tfg.Text == "Estimated Time Left: 19 Minutes" then
  286. ttg.Text = "Time left: 20 Minutes"
  287. stg.Text = "Energy Status: Filling"
  288. ssg.Text = "true"
  289. end
  290. if tfg.Text == "Estimated Time Left: 18 Minutes" then
  291. ttg.Text = "Time left: 19 Minutes"
  292. stg.Text = "Energy Status: Filling"
  293. ssg.Text = "true"
  294. end
  295. if tfg.Text == "Estimated Time Left: 17 Minutes" then
  296. ttg.Text = "Time left: 18 Minutes"
  297. stg.Text = "Energy Status: Filling"
  298. ssg.Text = "true"
  299. end
  300. if tfg.Text == "Estimated Time Left: 16 Minutes" then
  301. ttg.Text = "Time left: 17 Minutes"
  302. stg.Text = "Energy Status: Filling"
  303. ssg.Text = "true"
  304. end
  305. if tfg.Text == "Estimated Time Left: 15 Minutes" then
  306. ttg.Text = "Time left: 16 Minutes"
  307. stg.Text = "Energy Status: Filling"
  308. ssg.Text = "true"
  309. end
  310. if tfg.Text == "Estimated Time Left: 14 Minutes" then
  311. ttg.Text = "Time left: 15 Minutes"
  312. stg.Text = "Energy Status: Filling"
  313. ssg.Text = "true"
  314. end
  315. if tfg.Text == "Estimated Time Left: 13 Minutes" then
  316. ttg.Text = "Time left: 14 Minutes"
  317. stg.Text = "Energy Status: Filling"
  318. ssg.Text = "true"
  319. end
  320. if tfg.Text == "Estimated Time Left: 12 Minutes" then
  321. ttg.Text = "Time left: 13 Minutes"
  322. stg.Text = "Energy Status: Filling"
  323. ssg.Text = "true"
  324. end
  325. if tfg.Text == "Estimated Time Left: 11 Minutes" then
  326. ttg.Text = "Time left: 12 Minutes"
  327. stg.Text = "Energy Status: Filling"
  328. ssg.Text = "true"
  329. end
  330. if tfg.Text == "Estimated Time Left: 10 Minutes" then
  331. ttg.Text = "Time left: 11 Minutes"
  332. stg.Text = "Energy Status: Filling"
  333. ssg.Text = "true"
  334. end
  335. if tfg.Text == "Estimated Time Left: 9 Minutes" then
  336. ttg.Text = "Time left: 10 Minutes"
  337. stg.Text = "Energy Status: Filling"
  338. ssg.Text = "true"
  339. end
  340. if tfg.Text == "Estimated Time Left: 8 Minutes" then
  341. ttg.Text = "Time left: 9 Minutes"
  342. stg.Text = "Energy Status: Filling"
  343. ssg.Text = "true"
  344. end
  345. if tfg.Text == "Estimated Time Left: 7 Minutes" then
  346. ttg.Text = "Time left: 8 Minutes"
  347. stg.Text = "Energy Status: Filling"
  348. ssg.Text = "true"
  349. end
  350. if tfg.Text == "Estimated Time Left: 6 Minutes" then
  351. ttg.Text = "Time left: 7 Minutes"
  352. stg.Text = "Energy Status: Filling"
  353. ssg.Text = "true"
  354. end
  355. if tfg.Text == "Estimated Time Left: 5 Minutes" then
  356. ttg.Text = "Time left: 6 Minutes"
  357. stg.Text = "Energy Status: Filling"
  358. ssg.Text = "true"
  359. end
  360. if tfg.Text == "Estimated Time Left: 4 Minutes" then
  361. ttg.Text = "Time left: 5 Minutes"
  362. stg.Text = "Energy Status: Filling"
  363. ssg.Text = "true"
  364. end
  365. if tfg.Text == "Estimated Time Left: 3 Minutes" then
  366. ttg.Text = "Time left: 4 Minutes"
  367. stg.Text = "Energy Status: Filling"
  368. ssg.Text = "true"
  369. end
  370. if tfg.Text == "Estimated Time Left: 2 Minutes" then
  371. ttg.Text = "Time left: 3 Minutes"
  372. stg.Text = "Energy Status: Filling"
  373. ssg.Text = "true"
  374. end
  375. if tfg.Text == "Estimated Time Left: 1 Minutes" then
  376. ttg.Text = "Time left: 2 Minutes"
  377. stg.Text = "Energy Status: Filling"
  378. ssg.Text = "true"
  379. end
  380. if tfg.Text == "Estimated Time Left: 0 Minutes" then
  381. ttg.Text = "Time left: 1 Minutes"
  382. stg.Text = "Energy Status: Filling"
  383. ssg.Text = "true"
  384. end
  385. if tfg.Visible == false then
  386. ttg.Text = "25000/25000 MWh | Ready"
  387. stg.Text = "Energy Status: Filled"
  388. ssg.Text = "true"
  389. lockmeltdown.Visible = true
  390. end
  391. if sfg.Text == "RISING" then
  392. lockmeltdown.Visible = false
  393. lockenergy.Visible = false
  394. som.Text = "Meltdown status: Active"
  395. end
  396. if sfg.Text == "STABLE" then
  397. som.Text = "Meltdown status: Unactive"
  398. end
  399. if ssoe.Text == "NOT FILLING" then
  400. lockenergy.Visible = true
  401. lockmeltdown.Visible = false
  402. ttg.Text = "Enable core filling."
  403. stg.Text = "Energy Status: Not Filling"
  404. ssg.Text = "false"
  405. end
  406. wait(5)
  407. until false
  408. end
  409. coroutine.wrap(TCAKBDJ_fake_script)()
  410. local function LLGB_fake_script() -- Info.Move
  411. local script = Instance.new('LocalScript', Info)
  412.  
  413. local UIS = game:GetService('UserInputService')
  414.  
  415. local frame = script.Parent
  416.  
  417.  
  418.  
  419. local dragToggle = nil
  420.  
  421. local dragSpeed = 0.50
  422.  
  423. local dragStart = nil
  424.  
  425. local startPos = nil
  426.  
  427.  
  428.  
  429. local function updateInput(input)
  430.  
  431. local delta = input.Position - dragStart
  432.  
  433. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  434.  
  435. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  436.  
  437. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  438.  
  439. end
  440.  
  441.  
  442.  
  443. frame.InputBegan:Connect(function(input)
  444.  
  445. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  446.  
  447. dragToggle = true
  448.  
  449. dragStart = input.Position
  450.  
  451. startPos = frame.Position
  452.  
  453. input.Changed:Connect(function()
  454.  
  455. if input.UserInputState == Enum.UserInputState.End then
  456.  
  457. dragToggle = false
  458.  
  459. end
  460.  
  461. end)
  462.  
  463. end
  464.  
  465. end)
  466.  
  467.  
  468.  
  469. UIS.InputChanged:Connect(function(input)
  470.  
  471. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  472.  
  473. if dragToggle then
  474.  
  475. updateInput(input)
  476.  
  477. end
  478.  
  479. end
  480.  
  481. end)
  482. end
  483. coroutine.wrap(LLGB_fake_script)()
  484. local function BWTECD_fake_script() -- Info.Checker
  485. local script = Instance.new('LocalScript', Info)
  486.  
  487. local ec = game:GetService("Workspace").EnergyCore.ControlRoom.Screens.Energy.UI.Frame.Status
  488. local fs = game:GetService("Workspace").EnergyCore.ControlRoom.Screens.Energy.UI.Frame.Power
  489. local es = script.Parent.Status.EnergyS
  490.  
  491. wait(3)
  492. if ec.Text == "FILLING" then
  493. es.Text = "Energy status: Filling"
  494. print("DEBUG: Detected the energy filling right now")
  495. print("DEBUG: Changed the es")
  496. end
  497. if ec.Text == "NOT FILLING" then
  498. es.Text = "Energy status: Not filling"
  499. print("DEBUG: Detected the energy not filling right now")
  500. print("DEBUG: Changed the es")
  501. end
  502. if fs.Text == "25000/25000 MWh" then
  503. es.Text = "Energy status: Full"
  504. print("DEBUG: Detected the energy full right now")
  505. print("DEBUG: Changed the es")
  506. end
  507. end
  508. coroutine.wrap(BWTECD_fake_script)()
  509. local function LRFAALQ_fake_script() -- Info.RainbowA
  510. local script = Instance.new('LocalScript', Info)
  511.  
  512. function zigzag(X) return math.acos(math.cos(X*math.pi))/math.pi end
  513.  
  514. counter = 0
  515.  
  516. while wait(0.1)do
  517. script.Parent.Status.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  518. script.Parent.Timer.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  519. script.Parent.Parent.Info.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  520. script.Parent.Parent.ControlPad.Buttons.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  521. script.Parent.Parent.ControlPad.BorderColor3 = Color3.fromHSV(zigzag(counter),1,1)
  522. counter = counter + 0.01
  523. end
  524. end
  525. coroutine.wrap(LRFAALQ_fake_script)()
  526. local function AFBRPQ_fake_script() -- Human.hide
  527. local script = Instance.new('LocalScript', Human)
  528.  
  529. local a = script.Parent.contrpadopen
  530. local b = script.Parent.infoguiopen
  531. local c = script.Parent.Info.Timer.trueorfalse
  532.  
  533. a.Visible = false
  534. b.Visible = false
  535. c.Visible = false
  536.  
  537.  
  538. end
  539. coroutine.wrap(AFBRPQ_fake_script)()
  540. local function DFXTKWE_fake_script() -- infoguiopen.openinfo
  541. local script = Instance.new('LocalScript', infoguiopen)
  542.  
  543. local frame3 = script.Parent.Parent.Info
  544. local a3 = script.Parent.Parent.infoguiopen
  545.  
  546. script.Parent.MouseButton1Click:Connect(function()
  547. frame3.Visible = true
  548. a3.Visible = false
  549. end)
  550.  
  551. end
  552. coroutine.wrap(DFXTKWE_fake_script)()
  553. local function BOLJZLP_fake_script() -- StarterEnergy.startenergy
  554. local script = Instance.new('LocalScript', StarterEnergy)
  555.  
  556. local button9 = script.Parent.Parent.StarterEnergy
  557. local text3 = script.Parent.Parent.Parent.Parent.Info.Status.EnergyS
  558. local a5 = game:GetService("Workspace").EnergyCore.ControlRoom.Enable.ClickDetector
  559. local time55 = script.Parent.Parent.Parent.Parent.Info.Timer.Timer
  560. local hi1 = Instance.new("Sound")
  561. local erren = Instance.new("Sound")
  562. local hcdd = script.Parent.Parent.Parent.Parent.Info.Timer.trueorfalse
  563.  
  564. hi1.Name = "Sound"
  565. hi1.SoundId = "http://www.roblox.com/asset/?id=9062843158"
  566. hi1.Volume = 0.5
  567. hi1.Looped = false
  568. hi1.archivable = false
  569. hi1.Parent = game.Workspace
  570.  
  571. erren.Name = "Sound"
  572. erren.SoundId = "http://www.roblox.com/asset/?id=2865228021"
  573. erren.Volume = 1.5
  574. erren.Looped = false
  575. erren.archivable = false
  576. erren.Parent = game.Workspace
  577.  
  578. local function onButtonActivated()
  579. if hcdd.Text == "true" then
  580. erren:Play()
  581. print("DEBUG: Detected the user trying to click to re-fill the energy core, but core already filled or filling on this moment.")
  582. else
  583. hi1:Play()
  584. fireclickdetector(a5)
  585. print("Fireclicked energy!")
  586. hcdd.Text = "true"
  587. end
  588. end
  589.  
  590. button9.Activated:Connect(onButtonActivated)
  591. end
  592. coroutine.wrap(BOLJZLP_fake_script)()
  593. local function FKGT_fake_script() -- GlassBreaker.glassbreak
  594. local script = Instance.new('LocalScript', GlassBreaker)
  595.  
  596. local button5 = script.Parent.Parent.GlassBreaker
  597. local text8 = script.Parent.Parent.Parent.Parent.Info.Status.GlassS
  598. local b61 = game:GetService("Workspace").EnergyCore.ControlRoom.Glass.ClickDetector
  599. local glass = Instance.new("Sound")
  600. local errorgl = Instance.new("Sound")
  601. local function notif()
  602. game.StarterGui:SetCore("SendNotification", {
  603. Title = "pizza_man";
  604. Text = "You already broke the safety glass";
  605. Duration = 5;
  606. })
  607. end
  608.  
  609. glass.Name = "Sound"
  610. glass.SoundId = "http://www.roblox.com/asset/?id=2596202821"
  611. glass.Volume = 0.4
  612. glass.Looped = false
  613. glass.archivable = false
  614. glass.Parent = game.Workspace
  615.  
  616. errorgl.Name = "Sound"
  617. errorgl.SoundId = "http://www.roblox.com/asset/?id=2865228021"
  618. errorgl.Volume = 2
  619. errorgl.Looped = false
  620. errorgl.archivable = false
  621. errorgl.Parent = game.Workspace
  622.  
  623. local function onButtonActivated()
  624. if text8.Text == "Glass status: Unbroken" then
  625. glass:Play()
  626. text8.Text = "Glass status: Broken"
  627. fireclickdetector(b61)
  628. print("DEBUG: Detected click to GLASS")
  629. print("DEBUG: Fireclickdetector'ed glass")
  630. print("DEBUG: Detected the glass broken")
  631. wait(60)
  632. print("DEBUG: Detected glass respawned")
  633. text8.Text = "Glass status: Unbroken"
  634. else
  635. errorgl:Play()
  636. notif()
  637. end
  638. end
  639.  
  640. button5.Activated:Connect(onButtonActivated)
  641. end
  642. coroutine.wrap(FKGT_fake_script)()
  643. local function BAGUXJE_fake_script() -- StarterMeltdown.startmelt
  644. local script = Instance.new('LocalScript', StarterMeltdown)
  645.  
  646. local button555 = script.Parent.Parent.StarterMeltdown
  647. local c5 = game:GetService("Workspace").EnergyCore.ControlRoom.SelfDestruct.ClickDetector
  648. local e4s = script.Parent.Parent.Parent.Parent.Info.Status.EnergyS
  649. local ok5 = Instance.new("Sound")
  650. local errmelt = Instance.new("Sound")
  651.  
  652. ok5.Name = "Sound"
  653. ok5.SoundId = "http://www.roblox.com/asset/?id=9062843158"
  654. ok5.Volume = 0.5
  655. ok5.Looped = false
  656. ok5.archivable = false
  657. ok5.Parent = game.Workspace
  658.  
  659. errmelt.Name = "Sound"
  660. errmelt.SoundId = "http://www.roblox.com/asset/?id=2865228021"
  661. errmelt.Volume = 1.5
  662. errmelt.Looped = false
  663. errmelt.archivable = false
  664. errmelt.Parent = game.Workspace
  665.  
  666. local function onButtonActivated()
  667. if e4s.Text == "Energy Status: Filled" then
  668. ok5:Play()
  669. fireclickdetector(c5)
  670. print("DEBUG: Detected click to MELTDOWN")
  671. print("DEBUG: Fireclickdetector'ed meltdown")
  672. else
  673. errmelt:Play()
  674. end
  675. end
  676.  
  677. button555.Activated:Connect(onButtonActivated)
  678. end
  679. coroutine.wrap(BAGUXJE_fake_script)()
  680. local function RAWDNFM_fake_script() -- ControlPad.Move
  681. local script = Instance.new('LocalScript', ControlPad)
  682.  
  683. local UIS = game:GetService('UserInputService')
  684. local frame = script.Parent.Parent.ControlPad
  685. local dragToggle = nil
  686. local dragSpeed = 0.50
  687. local dragStart = nil
  688. local startPos = nil
  689.  
  690. local function updateInput(input)
  691. local delta = input.Position - dragStart
  692. local position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X,
  693. startPos.Y.Scale, startPos.Y.Offset + delta.Y)
  694. game:GetService('TweenService'):Create(frame, TweenInfo.new(dragSpeed), {Position = position}):Play()
  695. end
  696.  
  697. frame.InputBegan:Connect(function(input)
  698. if (input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch) then
  699. dragToggle = true
  700. dragStart = input.Position
  701. startPos = frame.Position
  702. input.Changed:Connect(function()
  703. if input.UserInputState == Enum.UserInputState.End then
  704. dragToggle = false
  705. end
  706. end)
  707. end
  708. end)
  709.  
  710. UIS.InputChanged:Connect(function(input)
  711. if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
  712. if dragToggle then
  713. updateInput(input)
  714. end
  715. end
  716. end)
  717. end
  718. coroutine.wrap(RAWDNFM_fake_script)()
  719. local function RXGGKW_fake_script() -- Close_2.closepad
  720. local script = Instance.new('LocalScript', Close_2)
  721.  
  722. local frame = script.Parent.Parent.Parent.ControlPad
  723. local open = script.Parent.Parent.Parent.contrpadopen
  724.  
  725. script.Parent.MouseButton1Click:Connect(function()
  726. frame.Visible = false
  727. open.Visible = true
  728. end)
  729. end
  730. coroutine.wrap(RXGGKW_fake_script)()
  731. local function HUGCRND_fake_script() -- contrpadopen.openpad
  732. local script = Instance.new('LocalScript', contrpadopen)
  733.  
  734. local a2 = script.Parent.Parent.ControlPad
  735. local b2 = script.Parent.Parent.contrpadopen
  736.  
  737. script.Parent.MouseButton1Click:Connect(function()
  738. a2.Visible = true
  739. b2.Visible = false
  740. end)
  741. end
  742. coroutine.wrap(HUGCRND_fake_script)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement