Advertisement
Guest User

Terminal Railway Script

a guest
Nov 4th, 2018
8,242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.36 KB | None | 0 0
  1. -- Farewell Infortality.
  2. -- Version: 2.82
  3. -- Instances:
  4. local traingui = Instance.new("ScreenGui")
  5. local unlocktrains = Instance.new("Frame")
  6. local australia = Instance.new("TextButton")
  7. local belgium = Instance.new("TextButton")
  8. local canada = Instance.new("TextButton")
  9. local china = Instance.new("TextButton")
  10. local czechrepublic = Instance.new("TextButton")
  11. local france = Instance.new("TextButton")
  12. local germany = Instance.new("TextButton")
  13. local italy = Instance.new("TextButton")
  14. local japan = Instance.new("TextButton")
  15. local netherlands = Instance.new("TextButton")
  16. local poland = Instance.new("TextButton")
  17. local southkorea = Instance.new("TextButton")
  18. local spain = Instance.new("TextButton")
  19. local switzerland = Instance.new("TextButton")
  20. local sweden = Instance.new("TextButton")
  21. local uk = Instance.new("TextButton")
  22. local usa = Instance.new("TextButton")
  23. local events = Instance.new("TextButton")
  24. local special = Instance.new("TextButton")
  25. local trainupgrades = Instance.new("Frame")
  26. local whattrain = Instance.new("TextBox")
  27. local whatupgrade = Instance.new("TextBox")
  28. local upgrade = Instance.new("TextButton")
  29. local creditshack = Instance.new("Frame")
  30. local amountofmoney = Instance.new("TextBox")
  31. local givemoney = Instance.new("TextButton")
  32. local hide = Instance.new("TextButton")
  33. --Properties:
  34. traingui.Name = "traingui"
  35. traingui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  36.  
  37. unlocktrains.Name = "unlocktrains"
  38. unlocktrains.Parent = traingui
  39. unlocktrains.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
  40. unlocktrains.BackgroundTransparency = 0.30000001192093
  41. unlocktrains.BorderSizePixel = 3
  42. unlocktrains.Position = UDim2.new(0.558451235, 0, 0.0786240771, 0)
  43. unlocktrains.Size = UDim2.new(0, 200, 0, 629)
  44. unlocktrains.Visible = false
  45. unlocktrains.Draggable = true
  46. unlocktrains.Active = true
  47.  
  48. australia.Name = "australia"
  49. australia.Parent = unlocktrains
  50. australia.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  51. australia.BorderSizePixel = 2
  52. australia.Position = UDim2.new(0.0549999997, 0, 0.0341338813, 0)
  53. australia.Size = UDim2.new(0, 177, 0, 24)
  54. australia.Font = Enum.Font.SourceSans
  55. australia.Text = "Buy Australia"
  56. australia.TextColor3 = Color3.new(0, 0, 0)
  57. australia.TextScaled = true
  58. australia.TextSize = 14
  59. australia.TextWrapped = true
  60. australia.MouseButton1Down:connect(function()
  61. local A_1 = "Waratah A Set"
  62. local A_2 = true
  63. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  64. Event:InvokeServer(A_1, A_2)
  65. wait(0.2)
  66. end)
  67.  
  68. belgium.Name = "belgium"
  69. belgium.Parent = unlocktrains
  70. belgium.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  71. belgium.BorderSizePixel = 2
  72. belgium.Position = UDim2.new(0.0549999997, 0, 0.0826007426, 0)
  73. belgium.Size = UDim2.new(0, 177, 0, 24)
  74. belgium.Font = Enum.Font.SourceSans
  75. belgium.Text = "Buy Belgium"
  76. belgium.TextColor3 = Color3.new(0, 0, 0)
  77. belgium.TextScaled = true
  78. belgium.TextSize = 14
  79. belgium.TextWrapped = true
  80. belgium.MouseButton1Down:connect(function()
  81. local A_1 = "Thalys PBKA"
  82. local A_2 = true
  83. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  84. Event:InvokeServer(A_1, A_2)
  85. wait(0.2)
  86. end)
  87.  
  88. canada.Name = "canada"
  89. canada.Parent = unlocktrains
  90. canada.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  91. canada.BorderSizePixel = 2
  92. canada.Position = UDim2.new(0.0549999997, 0, 0.128833354, 0)
  93. canada.Size = UDim2.new(0, 177, 0, 24)
  94. canada.Font = Enum.Font.SourceSans
  95. canada.Text = "Buy Canada"
  96. canada.TextColor3 = Color3.new(0, 0, 0)
  97. canada.TextScaled = true
  98. canada.TextSize = 14
  99. canada.TextWrapped = true
  100. canada.MouseButton1Down:connect(function()
  101. local A_1 = "GO Ontario Commuter"
  102. local A_2 = true
  103. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  104. Event:InvokeServer(A_1, A_2)
  105. wait(0.2)
  106.  
  107. local A_1 = "P42 VIA"
  108. local A_2 = true
  109. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  110. Event:InvokeServer(A_1, A_2)
  111. wait(0.2)
  112. end)
  113.  
  114. china.Name = "china"
  115. china.Parent = unlocktrains
  116. china.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  117. china.BorderSizePixel = 2
  118. china.Position = UDim2.new(0.0549999997, 0, 0.177622437, 0)
  119. china.Size = UDim2.new(0, 177, 0, 24)
  120. china.Font = Enum.Font.SourceSans
  121. china.Text = "Buy China"
  122. china.TextColor3 = Color3.new(0, 0, 0)
  123. china.TextScaled = true
  124. china.TextSize = 14
  125. china.TextWrapped = true
  126. china.MouseButton1Down:connect(function()
  127. local A_1 = "CRH3"
  128. local A_2 = true
  129. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  130. Event:InvokeServer(A_1, A_2)
  131. wait(0.2)
  132. end)
  133.  
  134. czechrepublic.Name = "czechrepublic"
  135. czechrepublic.Parent = unlocktrains
  136. czechrepublic.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  137. czechrepublic.BorderSizePixel = 2
  138. czechrepublic.Position = UDim2.new(0.0549999997, 0, 0.227034673, 0)
  139. czechrepublic.Size = UDim2.new(0, 177, 0, 24)
  140. czechrepublic.Font = Enum.Font.SourceSans
  141. czechrepublic.Text = "Buy Czech Republic"
  142. czechrepublic.TextColor3 = Color3.new(0, 0, 0)
  143. czechrepublic.TextScaled = true
  144. czechrepublic.TextSize = 14
  145. czechrepublic.TextWrapped = true
  146. czechrepublic.MouseButton1Down:connect(function()
  147. local A_1 = "CityElefant"
  148. local A_2 = true
  149. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  150. Event:InvokeServer(A_1, A_2)
  151. wait(0.2)
  152.  
  153. local A_1 = "Eurocity"
  154. local A_2 = true
  155. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  156. Event:InvokeServer(A_1, A_2)
  157. wait(0.2)
  158.  
  159. local A_1 = "Motorový vůz 810"
  160. local A_2 = true
  161. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  162. Event:InvokeServer(A_1, A_2)
  163. wait(0.2)
  164. end)
  165.  
  166. france.Name = "france"
  167. france.Parent = unlocktrains
  168. france.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  169. france.BorderSizePixel = 2
  170. france.Position = UDim2.new(0.0549999997, 0, 0.278036743, 0)
  171. france.Size = UDim2.new(0, 177, 0, 24)
  172. france.Font = Enum.Font.SourceSans
  173. france.Text = "Buy France"
  174. france.TextColor3 = Color3.new(0, 0, 0)
  175. france.TextScaled = true
  176. france.TextSize = 14
  177. france.TextWrapped = true
  178. france.MouseButton1Down:connect(function()
  179. local A_1 = "TGV Duplex"
  180. local A_2 = true
  181. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  182. Event:InvokeServer(A_1, A_2)
  183. wait(0.2)
  184.  
  185. local A_1 = "TGV La Poste Sud-Este"
  186. local A_2 = true
  187. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  188. Event:InvokeServer(A_1, A_2)
  189. wait(0.2)
  190.  
  191. local A_1 = "TGV Reseau"
  192. local A_2 = true
  193. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  194. Event:InvokeServer(A_1, A_2)
  195. wait(0.2)
  196. end)
  197.  
  198. germany.Name = "germany"
  199. germany.Parent = unlocktrains
  200. germany.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  201. germany.BorderSizePixel = 2
  202. germany.Position = UDim2.new(0.0549999997, 0, 0.331595272, 0)
  203. germany.Size = UDim2.new(0, 177, 0, 24)
  204. germany.Font = Enum.Font.SourceSans
  205. germany.Text = "Buy Germany"
  206. germany.TextColor3 = Color3.new(0, 0, 0)
  207. germany.TextScaled = true
  208. germany.TextSize = 14
  209. germany.TextWrapped = true
  210. germany.MouseButton1Down:connect(function()
  211. local A_1 = "ICE 3"
  212. local A_2 = true
  213. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  214. Event:InvokeServer(A_1, A_2)
  215. wait(0.2)
  216.  
  217. local A_1 = "DB Twindexx Vario"
  218. local A_2 = true
  219. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  220. Event:InvokeServer(A_1, A_2)
  221. wait(0.2)
  222.  
  223. local A_1 = "BR 143"
  224. local A_2 = true
  225. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  226. Event:InvokeServer(A_1, A_2)
  227. wait(0.2)
  228. end)
  229.  
  230. italy.Name = "italy"
  231. italy.Parent = unlocktrains
  232. italy.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  233. italy.BorderSizePixel = 2
  234. italy.Position = UDim2.new(0.0549999997, 0, 0.383564025, 0)
  235. italy.Size = UDim2.new(0, 177, 0, 24)
  236. italy.Font = Enum.Font.SourceSans
  237. italy.Text = "Buy Italy"
  238. italy.TextColor3 = Color3.new(0, 0, 0)
  239. italy.TextScaled = true
  240. italy.TextSize = 14
  241. italy.TextWrapped = true
  242. italy.MouseButton1Down:connect(function()
  243. local A_1 = "ETR 400"
  244. local A_2 = true
  245. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  246. Event:InvokeServer(A_1, A_2)
  247. wait(0.2)
  248.  
  249. local A_1 = "ETR 460"
  250. local A_2 = true
  251. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  252. Event:InvokeServer(A_1, A_2)
  253. wait(0.2)
  254.  
  255. local A_1 = "ETR 500"
  256. local A_2 = true
  257. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  258. Event:InvokeServer(A_1, A_2)
  259. wait(0.2)
  260. end)
  261.  
  262. japan.Name = "japan"
  263. japan.Parent = unlocktrains
  264. japan.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  265. japan.BorderSizePixel = 2
  266. japan.Position = UDim2.new(0.0549999997, 0, 0.431085497, 0)
  267. japan.Size = UDim2.new(0, 177, 0, 24)
  268. japan.Font = Enum.Font.SourceSans
  269. japan.Text = "Buy Japan"
  270. japan.TextColor3 = Color3.new(0, 0, 0)
  271. japan.TextScaled = true
  272. japan.TextSize = 14
  273. japan.TextWrapped = true
  274. japan.MouseButton1Down:connect(function()
  275. local A_1 = "0-Series Shinkansen"
  276. local A_2 = true
  277. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  278. Event:InvokeServer(A_1, A_2)
  279. wait(0.2)
  280.  
  281. local A_1 = "JR East E231-500"
  282. local A_2 = true
  283. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  284. Event:InvokeServer(A_1, A_2)
  285. wait(0.2)
  286.  
  287. local A_1 = "JR500"
  288. local A_2 = true
  289. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  290. Event:InvokeServer(A_1, A_2)
  291. wait(0.2)
  292.  
  293. local A_1 = "JR700"
  294. local A_2 = true
  295. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  296. Event:InvokeServer(A_1, A_2)
  297. wait(0.2)
  298. end)
  299.  
  300. netherlands.Name = "netherlands"
  301. netherlands.Parent = unlocktrains
  302. netherlands.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  303. netherlands.BorderSizePixel = 2
  304. netherlands.Position = UDim2.new(0.0549999997, 0, 0.479874581, 0)
  305. netherlands.Size = UDim2.new(0, 177, 0, 24)
  306. netherlands.Font = Enum.Font.SourceSans
  307. netherlands.Text = "Buy Netherlands"
  308. netherlands.TextColor3 = Color3.new(0, 0, 0)
  309. netherlands.TextScaled = true
  310. netherlands.TextSize = 14
  311. netherlands.TextWrapped = true
  312. netherlands.MouseButton1Down:connect(function()
  313. local A_1 = "Wadloper"
  314. local A_2 = true
  315. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  316. Event:InvokeServer(A_1, A_2)
  317. wait(0.2)
  318.  
  319. local A_1 = "DD-AR"
  320. local A_2 = true
  321. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  322. Event:InvokeServer(A_1, A_2)
  323. wait(0.2)
  324.  
  325. local A_1 = "DDZ"
  326. local A_2 = true
  327. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  328. Event:InvokeServer(A_1, A_2)
  329. wait(0.2)
  330.  
  331. local A_1 = "DM90"
  332. local A_2 = true
  333. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  334. Event:InvokeServer(A_1, A_2)
  335. wait(0.2)
  336.  
  337. local A_1 = "G1206"
  338. local A_2 = true
  339. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  340. Event:InvokeServer(A_1, A_2)
  341. wait(0.2)
  342.  
  343. local A_1 = "ICMm"
  344. local A_2 = true
  345. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  346. Event:InvokeServer(A_1, A_2)
  347. wait(0.2)
  348.  
  349. local A_1 = "ICR"
  350. local A_2 = true
  351. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  352. Event:InvokeServer(A_1, A_2)
  353. wait(0.2)
  354.  
  355. local A_1 = "Intercity Direct"
  356. local A_2 = true
  357. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  358. Event:InvokeServer(A_1, A_2)
  359. wait(0.2)
  360.  
  361. local A_1 = "Mat'46"
  362. local A_2 = true
  363. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  364. Event:InvokeServer(A_1, A_2)
  365. wait(0.2)
  366.  
  367. local A_1 = "Mat'64"
  368. local A_2 = true
  369. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  370. Event:InvokeServer(A_1, A_2)
  371. wait(0.2)
  372.  
  373. local A_1 = "Mat'64 DUAL"
  374. local A_2 = true
  375. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  376. Event:InvokeServer(A_1, A_2)
  377. wait(0.2)
  378.  
  379. local A_1 = "NS 1100"
  380. local A_2 = true
  381. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  382. Event:InvokeServer(A_1, A_2)
  383. wait(0.2)
  384.  
  385. local A_1 = "NS 1200"
  386. local A_2 = true
  387. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  388. Event:InvokeServer(A_1, A_2)
  389. wait(0.2)
  390.  
  391. local A_1 = "NS Flirt"
  392. local A_2 = true
  393. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  394. Event:InvokeServer(A_1, A_2)
  395. wait(0.2)
  396.  
  397. local A_1 = "SGMm"
  398. local A_2 = true
  399. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  400. Event:InvokeServer(A_1, A_2)
  401. wait(0.2)
  402.  
  403. local A_1 = "VIRM"
  404. local A_2 = true
  405. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  406. Event:InvokeServer(A_1, A_2)
  407. wait(0.2)
  408. end)
  409.  
  410. poland.Name = "poland"
  411. poland.Parent = unlocktrains
  412. poland.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  413. poland.BorderSizePixel = 2
  414. poland.Position = UDim2.new(0.0549999997, 0, 0.53025353, 0)
  415. poland.Size = UDim2.new(0, 177, 0, 24)
  416. poland.Font = Enum.Font.SourceSans
  417. poland.Text = "Buy Poland"
  418. poland.TextColor3 = Color3.new(0, 0, 0)
  419. poland.TextScaled = true
  420. poland.TextSize = 14
  421. poland.TextWrapped = true
  422. poland.MouseButton1Down:connect(function()
  423. local A_1 = "Pesa Atribo"
  424. local A_2 = true
  425. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  426. Event:InvokeServer(A_1, A_2)
  427. wait(0.2)
  428.  
  429. local A_1 = "Pesa Atribo Dual"
  430. local A_2 = true
  431. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  432. Event:InvokeServer(A_1, A_2)
  433. wait(0.2)
  434. end)
  435.  
  436. southkorea.Name = "southkorea"
  437. southkorea.Parent = unlocktrains
  438. southkorea.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  439. southkorea.BorderSizePixel = 2
  440. southkorea.Position = UDim2.new(0.0549999997, 0, 0.580632448, 0)
  441. southkorea.Size = UDim2.new(0, 177, 0, 24)
  442. southkorea.Font = Enum.Font.SourceSans
  443. southkorea.Text = "Buy South Korea"
  444. southkorea.TextColor3 = Color3.new(0, 0, 0)
  445. southkorea.TextScaled = true
  446. southkorea.TextSize = 14
  447. southkorea.TextWrapped = true
  448. southkorea.MouseButton1Down:connect(function()
  449. local A_1 = "KTX Sancheon"
  450. local A_2 = true
  451. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  452. Event:InvokeServer(A_1, A_2)
  453. wait(0.2)
  454.  
  455. local A_1 = "Korail Mugunghwa regional"
  456. local A_2 = true
  457. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  458. Event:InvokeServer(A_1, A_2)
  459. wait(0.2)
  460. end)
  461.  
  462. spain.Name = "spain"
  463. spain.Parent = unlocktrains
  464. spain.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  465. spain.BorderSizePixel = 2
  466. spain.Position = UDim2.new(0.0549999997, 0, 0.631011367, 0)
  467. spain.Size = UDim2.new(0, 177, 0, 24)
  468. spain.Font = Enum.Font.SourceSans
  469. spain.Text = "Buy Spain"
  470. spain.TextColor3 = Color3.new(0, 0, 0)
  471. spain.TextScaled = true
  472. spain.TextSize = 14
  473. spain.TextWrapped = true
  474. spain.MouseButton1Down:connect(function()
  475. local A_1 = "Renfe 440"
  476. local A_2 = true
  477. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  478. Event:InvokeServer(A_1, A_2)
  479. wait(0.2)
  480.  
  481. local A_1 = "Talgo AVE"
  482. local A_2 = true
  483. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  484. Event:InvokeServer(A_1, A_2)
  485. wait(0.2)
  486. end)
  487.  
  488. switzerland.Name = "switzerland"
  489. switzerland.Parent = unlocktrains
  490. switzerland.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  491. switzerland.BorderSizePixel = 2
  492. switzerland.Position = UDim2.new(0.0549999997, 0, 0.680122674, 0)
  493. switzerland.Size = UDim2.new(0, 177, 0, 24)
  494. switzerland.Font = Enum.Font.SourceSans
  495. switzerland.Text = "Buy Switzerland"
  496. switzerland.TextColor3 = Color3.new(0, 0, 0)
  497. switzerland.TextScaled = true
  498. switzerland.TextSize = 14
  499. switzerland.TextWrapped = true
  500. switzerland.MouseButton1Down:connect(function()
  501. local A_1 = "SBB RE 4/4"
  502. local A_2 = true
  503. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  504. Event:InvokeServer(A_1, A_2)
  505. wait(0.2)
  506. end)
  507.  
  508. sweden.Name = "sweden"
  509. sweden.Parent = unlocktrains
  510. sweden.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  511. sweden.BorderSizePixel = 2
  512. sweden.Position = UDim2.new(0.0549999997, 0, 0.727966368, 0)
  513. sweden.Size = UDim2.new(0, 177, 0, 24)
  514. sweden.Font = Enum.Font.SourceSans
  515. sweden.Text = "Buy Sweden"
  516. sweden.TextColor3 = Color3.new(0, 0, 0)
  517. sweden.TextScaled = true
  518. sweden.TextSize = 14
  519. sweden.TextWrapped = true
  520. sweden.MouseButton1Down:connect(function()
  521. local A_1 = "SJ RC6"
  522. local A_2 = true
  523. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  524. Event:InvokeServer(A_1, A_2)
  525. wait(0.2)
  526. end)
  527.  
  528. uk.Name = "uk"
  529. uk.Parent = unlocktrains
  530. uk.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  531. uk.BorderSizePixel = 2
  532. uk.Position = UDim2.new(0.0549999997, 0, 0.777250946, 0)
  533. uk.Size = UDim2.new(0, 177, 0, 24)
  534. uk.Font = Enum.Font.SourceSans
  535. uk.Text = "Buy UK"
  536. uk.TextColor3 = Color3.new(0, 0, 0)
  537. uk.TextScaled = true
  538. uk.TextSize = 14
  539. uk.TextWrapped = true
  540. uk.MouseButton1Down:connect(function()
  541. local A_1 = "158 Arriva"
  542. local A_2 = true
  543. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  544. Event:InvokeServer(A_1, A_2)
  545. wait(0.2)
  546.  
  547. local A_1 = "Class 142 Pacer"
  548. local A_2 = true
  549. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  550. Event:InvokeServer(A_1, A_2)
  551. wait(0.2)
  552.  
  553. local A_1 = "Eurostar"
  554. local A_2 = true
  555. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  556. Event:InvokeServer(A_1, A_2)
  557. wait(0.2)
  558.  
  559. local A_1 = "HST"
  560. local A_2 = true
  561. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  562. Event:InvokeServer(A_1, A_2)
  563. wait(0.2)
  564.  
  565. local A_1 = "ScotRail Class 314"
  566. local A_2 = true
  567. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  568. Event:InvokeServer(A_1, A_2)
  569. wait(0.2)
  570. end)
  571.  
  572. usa.Name = "usa"
  573. usa.Parent = unlocktrains
  574. usa.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  575. usa.BorderSizePixel = 2
  576. usa.Position = UDim2.new(0.0549999997, 0, 0.829715192, 0)
  577. usa.Size = UDim2.new(0, 177, 0, 24)
  578. usa.Font = Enum.Font.SourceSans
  579. usa.Text = "Buy USA"
  580. usa.TextColor3 = Color3.new(0, 0, 0)
  581. usa.TextScaled = true
  582. usa.TextSize = 14
  583. usa.TextWrapped = true
  584. usa.MouseButton1Down:connect(function()
  585. local A_1 = "Acela"
  586. local A_2 = true
  587. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  588. Event:InvokeServer(A_1, A_2)
  589. wait(0.2)
  590.  
  591. local A_1 = "Amtrak ACS Regional"
  592. local A_2 = true
  593. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  594. Event:InvokeServer(A_1, A_2)
  595. wait(0.2)
  596.  
  597. local A_1 = "Brightline"
  598. local A_2 = true
  599. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  600. Event:InvokeServer(A_1, A_2)
  601. wait(0.2)
  602.  
  603. local A_1 = "California Commuter"
  604. local A_2 = true
  605. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  606. Event:InvokeServer(A_1, A_2)
  607. wait(0.2)
  608.  
  609. local A_1 = "DC Metro"
  610. local A_2 = true
  611. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  612. Event:InvokeServer(A_1, A_2)
  613. wait(0.2)
  614.  
  615. local A_1 = "GM Aerotrain"
  616. local A_2 = true
  617. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  618. Event:InvokeServer(A_1, A_2)
  619. wait(0.2)
  620.  
  621. local A_1 = "Keystone"
  622. local A_2 = true
  623. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  624. Event:InvokeServer(A_1, A_2)
  625. wait(0.2)
  626.  
  627. local A_1 = "LIRR M7"
  628. local A_2 = true
  629. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  630. Event:InvokeServer(A_1, A_2)
  631. wait(0.2)
  632.  
  633. local A_1 = "MBTA Boston Commuter"
  634. local A_2 = true
  635. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  636. Event:InvokeServer(A_1, A_2)
  637. wait(0.2)
  638.  
  639. local A_1 = "Metro North Commuter"
  640. local A_2 = true
  641. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  642. Event:InvokeServer(A_1, A_2)
  643. wait(0.2)
  644.  
  645. local A_1 = "Metro North M7"
  646. local A_2 = true
  647. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  648. Event:InvokeServer(A_1, A_2)
  649. wait(0.2)
  650.  
  651. local A_1 = "Metro North M8"
  652. local A_2 = true
  653. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  654. Event:InvokeServer(A_1, A_2)
  655. wait(0.2)
  656.  
  657. local A_1 = "New Jersey Commuter"
  658. local A_2 = true
  659. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  660. Event:InvokeServer(A_1, A_2)
  661. wait(0.2)
  662.  
  663. local A_1 = "Northeast Regional"
  664. local A_2 = true
  665. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  666. Event:InvokeServer(A_1, A_2)
  667. wait(0.2)
  668.  
  669. local A_1 = "Pacemaker"
  670. local A_2 = true
  671. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  672. Event:InvokeServer(A_1, A_2)
  673. wait(0.2)
  674.  
  675. local A_1 = "SEPTA ACS Commuter"
  676. local A_2 = true
  677. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  678. Event:InvokeServer(A_1, A_2)
  679. wait(0.2)
  680.  
  681. local A_1 = "Silverliner IV"
  682. local A_2 = true
  683. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  684. Event:InvokeServer(A_1, A_2)
  685. wait(0.2)
  686. end)
  687.  
  688. events.Name = "events"
  689. events.Parent = unlocktrains
  690. events.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  691. events.BorderSizePixel = 2
  692. events.Position = UDim2.new(0.0549999997, 0, 0.882179439, 0)
  693. events.Size = UDim2.new(0, 177, 0, 24)
  694. events.Font = Enum.Font.SourceSans
  695. events.Text = "Buy Events"
  696. events.TextColor3 = Color3.new(0, 0, 0)
  697. events.TextScaled = true
  698. events.TextSize = 14
  699. events.TextWrapped = true
  700. events.MouseButton1Down:connect(function()
  701. local A_1 = "Traxxius The Destroyer"
  702. local A_2 = true
  703. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  704. Event:InvokeServer(A_1, A_2)
  705. wait(0.2)
  706. end)
  707.  
  708. special.Name = "special"
  709. special.Parent = unlocktrains
  710. special.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  711. special.BorderSizePixel = 2
  712. special.Position = UDim2.new(0.0549999997, 0, 0.933053851, 0)
  713. special.Size = UDim2.new(0, 177, 0, 24)
  714. special.Font = Enum.Font.SourceSans
  715. special.Text = "Buy Special"
  716. special.TextColor3 = Color3.new(0, 0, 0)
  717. special.TextScaled = true
  718. special.TextSize = 14
  719. special.TextWrapped = true
  720. special.MouseButton1Down:connect(function()
  721. local A_1 = "EMERALD Acela"
  722. local A_2 = true
  723. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  724. Event:InvokeServer(A_1, A_2)
  725. wait(0.2)
  726.  
  727. local A_1 = "GOLD TGV Duplex"
  728. local A_2 = true
  729. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
  730. Event:InvokeServer(A_1, A_2)
  731. wait(0.2)
  732. end)
  733.  
  734. trainupgrades.Name = "trainupgrades"
  735. trainupgrades.Parent = traingui
  736. trainupgrades.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
  737. trainupgrades.BackgroundTransparency = 0.30000001192093
  738. trainupgrades.BorderSizePixel = 3
  739. trainupgrades.Position = UDim2.new(0.765257001, 0, 0.167660654, 0)
  740. trainupgrades.Size = UDim2.new(0, 200, 0, 216)
  741. trainupgrades.Visible = false
  742. trainupgrades.Draggable = true
  743. trainupgrades.Active = true
  744.  
  745. whattrain.Name = "whattrain"
  746. whattrain.Parent = trainupgrades
  747. whattrain.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  748. whattrain.BorderSizePixel = 2
  749. whattrain.Position = UDim2.new(0.115000002, 0, 0.141550094, 0)
  750. whattrain.Size = UDim2.new(0, 154, 0, 50)
  751. whattrain.Font = Enum.Font.SourceSans
  752. whattrain.Text = "What Train"
  753. whattrain.TextColor3 = Color3.new(0, 0, 0)
  754. whattrain.TextScaled = true
  755. whattrain.TextSize = 14
  756. whattrain.TextWrapped = true
  757.  
  758. whatupgrade.Name = "whatupgrade"
  759. whatupgrade.Parent = trainupgrades
  760. whatupgrade.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  761. whatupgrade.BorderSizePixel = 2
  762. whatupgrade.Position = UDim2.new(0.115000002, 0, 0.433183759, 0)
  763. whatupgrade.Size = UDim2.new(0, 154, 0, 50)
  764. whatupgrade.Font = Enum.Font.SourceSans
  765. whatupgrade.Text = "What Upgrade"
  766. whatupgrade.TextColor3 = Color3.new(0, 0, 0)
  767. whatupgrade.TextScaled = true
  768. whatupgrade.TextSize = 14
  769. whatupgrade.TextWrapped = true
  770.  
  771.  
  772. upgrade.Name = "upgrade"
  773. upgrade.Parent = trainupgrades
  774. upgrade.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  775. upgrade.BorderSizePixel = 2
  776. upgrade.Position = UDim2.new(0.185000002, 0, 0.763987899, 0)
  777. upgrade.Size = UDim2.new(0, 125, 0, 41)
  778. upgrade.Font = Enum.Font.SourceSans
  779. upgrade.Text = "Upgrade"
  780. upgrade.TextColor3 = Color3.new(0, 0, 0)
  781. upgrade.TextScaled = true
  782. upgrade.TextSize = 14
  783. upgrade.TextWrapped = true
  784. upgrade.MouseButton1Down:connect(function()
  785.  
  786. local A_1 = whatupgrade.Text
  787. local A_2 = 0
  788. local A_3 = whattrain.Text
  789. local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyUpgrade
  790. Event:InvokeServer(A_1, A_2, A_3)
  791.  
  792.  
  793. end)
  794.  
  795. creditshack.Name = "creditshack"
  796. creditshack.Parent = traingui
  797. creditshack.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
  798. creditshack.BackgroundTransparency = 0.30000001192093
  799. creditshack.BorderSizePixel = 3
  800. creditshack.Position = UDim2.new(0.765800357, 0, 0.483277053, 0)
  801. creditshack.Size = UDim2.new(0, 200, 0, 216)
  802. creditshack.Visible = false
  803. creditshack.Draggable = true
  804. creditshack.Active = true
  805.  
  806. amountofmoney.Name = "amountofmoney"
  807. amountofmoney.Parent = creditshack
  808. amountofmoney.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  809. amountofmoney.BorderSizePixel = 2
  810. amountofmoney.Position = UDim2.new(0.0299999993, 0, 0.152777776, 0)
  811. amountofmoney.Size = UDim2.new(0, 187, 0, 61)
  812. amountofmoney.Font = Enum.Font.SourceSans
  813. amountofmoney.Text = "Amount Of Money"
  814. amountofmoney.TextColor3 = Color3.new(0, 0, 0)
  815. amountofmoney.TextScaled = true
  816. amountofmoney.TextSize = 14
  817. amountofmoney.TextWrapped = true
  818.  
  819.  
  820. givemoney.Name = "givemoney"
  821. givemoney.Parent = creditshack
  822. givemoney.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  823. givemoney.BorderSizePixel = 2
  824. givemoney.Position = UDim2.new(0.0450000018, 0, 0.569444418, 0)
  825. givemoney.Size = UDim2.new(0, 178, 0, 50)
  826. givemoney.Font = Enum.Font.SourceSans
  827. givemoney.Text = "Give Money"
  828. givemoney.TextColor3 = Color3.new(0, 0, 0)
  829. givemoney.TextScaled = true
  830. givemoney.TextSize = 14
  831. givemoney.TextWrapped = true
  832. givemoney.MouseButton1Down:connect(function()
  833. am = amountofmoney.Text
  834. game:GetService("ReplicatedStorage").Port:FireServer("BuyCredits", amountofmoney.Text, true, "ADF")
  835. end)
  836.  
  837. hide.Name = "hide"
  838. hide.Parent = traingui
  839. hide.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
  840. hide.Position = UDim2.new(0.0171257779, 0, 0.283588499, 0)
  841. hide.Size = UDim2.new(0, 143, 0, 31)
  842. hide.Font = Enum.Font.SourceSans
  843. hide.Text = "Show"
  844. hide.TextColor3 = Color3.new(0, 0, 0)
  845. hide.TextScaled = true
  846. hide.TextSize = 14
  847. hide.TextWrapped = true
  848. hide.MouseButton1Down:connect(function()
  849. if hide.Text == 'Show' then
  850. hide.Text = 'Hide'
  851. creditshack.Visible = true
  852. unlocktrains.Visible = true
  853. trainupgrades.Visible = true
  854. elseif hide.Text == 'Hide' then
  855. hide.Text = 'Show'
  856. creditshack.Visible = false
  857. unlocktrains.Visible = false
  858. trainupgrades.Visible = false
  859. end
  860. end)
  861. -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement