Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Farewell Infortality.
- -- Version: 2.82
- -- Instances:
- local traingui = Instance.new("ScreenGui")
- local unlocktrains = Instance.new("Frame")
- local australia = Instance.new("TextButton")
- local belgium = Instance.new("TextButton")
- local canada = Instance.new("TextButton")
- local china = Instance.new("TextButton")
- local czechrepublic = Instance.new("TextButton")
- local france = Instance.new("TextButton")
- local germany = Instance.new("TextButton")
- local italy = Instance.new("TextButton")
- local japan = Instance.new("TextButton")
- local netherlands = Instance.new("TextButton")
- local poland = Instance.new("TextButton")
- local southkorea = Instance.new("TextButton")
- local spain = Instance.new("TextButton")
- local switzerland = Instance.new("TextButton")
- local sweden = Instance.new("TextButton")
- local uk = Instance.new("TextButton")
- local usa = Instance.new("TextButton")
- local events = Instance.new("TextButton")
- local special = Instance.new("TextButton")
- local trainupgrades = Instance.new("Frame")
- local whattrain = Instance.new("TextBox")
- local whatupgrade = Instance.new("TextBox")
- local upgrade = Instance.new("TextButton")
- local creditshack = Instance.new("Frame")
- local amountofmoney = Instance.new("TextBox")
- local givemoney = Instance.new("TextButton")
- local hide = Instance.new("TextButton")
- --Properties:
- traingui.Name = "traingui"
- traingui.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- unlocktrains.Name = "unlocktrains"
- unlocktrains.Parent = traingui
- unlocktrains.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
- unlocktrains.BackgroundTransparency = 0.30000001192093
- unlocktrains.BorderSizePixel = 3
- unlocktrains.Position = UDim2.new(0.558451235, 0, 0.0786240771, 0)
- unlocktrains.Size = UDim2.new(0, 200, 0, 629)
- unlocktrains.Visible = false
- unlocktrains.Draggable = true
- unlocktrains.Active = true
- australia.Name = "australia"
- australia.Parent = unlocktrains
- australia.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- australia.BorderSizePixel = 2
- australia.Position = UDim2.new(0.0549999997, 0, 0.0341338813, 0)
- australia.Size = UDim2.new(0, 177, 0, 24)
- australia.Font = Enum.Font.SourceSans
- australia.Text = "Buy Australia"
- australia.TextColor3 = Color3.new(0, 0, 0)
- australia.TextScaled = true
- australia.TextSize = 14
- australia.TextWrapped = true
- australia.MouseButton1Down:connect(function()
- local A_1 = "Waratah A Set"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- belgium.Name = "belgium"
- belgium.Parent = unlocktrains
- belgium.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- belgium.BorderSizePixel = 2
- belgium.Position = UDim2.new(0.0549999997, 0, 0.0826007426, 0)
- belgium.Size = UDim2.new(0, 177, 0, 24)
- belgium.Font = Enum.Font.SourceSans
- belgium.Text = "Buy Belgium"
- belgium.TextColor3 = Color3.new(0, 0, 0)
- belgium.TextScaled = true
- belgium.TextSize = 14
- belgium.TextWrapped = true
- belgium.MouseButton1Down:connect(function()
- local A_1 = "Thalys PBKA"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- canada.Name = "canada"
- canada.Parent = unlocktrains
- canada.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- canada.BorderSizePixel = 2
- canada.Position = UDim2.new(0.0549999997, 0, 0.128833354, 0)
- canada.Size = UDim2.new(0, 177, 0, 24)
- canada.Font = Enum.Font.SourceSans
- canada.Text = "Buy Canada"
- canada.TextColor3 = Color3.new(0, 0, 0)
- canada.TextScaled = true
- canada.TextSize = 14
- canada.TextWrapped = true
- canada.MouseButton1Down:connect(function()
- local A_1 = "GO Ontario Commuter"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "P42 VIA"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- china.Name = "china"
- china.Parent = unlocktrains
- china.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- china.BorderSizePixel = 2
- china.Position = UDim2.new(0.0549999997, 0, 0.177622437, 0)
- china.Size = UDim2.new(0, 177, 0, 24)
- china.Font = Enum.Font.SourceSans
- china.Text = "Buy China"
- china.TextColor3 = Color3.new(0, 0, 0)
- china.TextScaled = true
- china.TextSize = 14
- china.TextWrapped = true
- china.MouseButton1Down:connect(function()
- local A_1 = "CRH3"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- czechrepublic.Name = "czechrepublic"
- czechrepublic.Parent = unlocktrains
- czechrepublic.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- czechrepublic.BorderSizePixel = 2
- czechrepublic.Position = UDim2.new(0.0549999997, 0, 0.227034673, 0)
- czechrepublic.Size = UDim2.new(0, 177, 0, 24)
- czechrepublic.Font = Enum.Font.SourceSans
- czechrepublic.Text = "Buy Czech Republic"
- czechrepublic.TextColor3 = Color3.new(0, 0, 0)
- czechrepublic.TextScaled = true
- czechrepublic.TextSize = 14
- czechrepublic.TextWrapped = true
- czechrepublic.MouseButton1Down:connect(function()
- local A_1 = "CityElefant"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Eurocity"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Motorový vůz 810"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- france.Name = "france"
- france.Parent = unlocktrains
- france.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- france.BorderSizePixel = 2
- france.Position = UDim2.new(0.0549999997, 0, 0.278036743, 0)
- france.Size = UDim2.new(0, 177, 0, 24)
- france.Font = Enum.Font.SourceSans
- france.Text = "Buy France"
- france.TextColor3 = Color3.new(0, 0, 0)
- france.TextScaled = true
- france.TextSize = 14
- france.TextWrapped = true
- france.MouseButton1Down:connect(function()
- local A_1 = "TGV Duplex"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "TGV La Poste Sud-Este"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "TGV Reseau"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- germany.Name = "germany"
- germany.Parent = unlocktrains
- germany.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- germany.BorderSizePixel = 2
- germany.Position = UDim2.new(0.0549999997, 0, 0.331595272, 0)
- germany.Size = UDim2.new(0, 177, 0, 24)
- germany.Font = Enum.Font.SourceSans
- germany.Text = "Buy Germany"
- germany.TextColor3 = Color3.new(0, 0, 0)
- germany.TextScaled = true
- germany.TextSize = 14
- germany.TextWrapped = true
- germany.MouseButton1Down:connect(function()
- local A_1 = "ICE 3"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "DB Twindexx Vario"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "BR 143"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- italy.Name = "italy"
- italy.Parent = unlocktrains
- italy.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- italy.BorderSizePixel = 2
- italy.Position = UDim2.new(0.0549999997, 0, 0.383564025, 0)
- italy.Size = UDim2.new(0, 177, 0, 24)
- italy.Font = Enum.Font.SourceSans
- italy.Text = "Buy Italy"
- italy.TextColor3 = Color3.new(0, 0, 0)
- italy.TextScaled = true
- italy.TextSize = 14
- italy.TextWrapped = true
- italy.MouseButton1Down:connect(function()
- local A_1 = "ETR 400"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "ETR 460"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "ETR 500"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- japan.Name = "japan"
- japan.Parent = unlocktrains
- japan.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- japan.BorderSizePixel = 2
- japan.Position = UDim2.new(0.0549999997, 0, 0.431085497, 0)
- japan.Size = UDim2.new(0, 177, 0, 24)
- japan.Font = Enum.Font.SourceSans
- japan.Text = "Buy Japan"
- japan.TextColor3 = Color3.new(0, 0, 0)
- japan.TextScaled = true
- japan.TextSize = 14
- japan.TextWrapped = true
- japan.MouseButton1Down:connect(function()
- local A_1 = "0-Series Shinkansen"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "JR East E231-500"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "JR500"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "JR700"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- netherlands.Name = "netherlands"
- netherlands.Parent = unlocktrains
- netherlands.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- netherlands.BorderSizePixel = 2
- netherlands.Position = UDim2.new(0.0549999997, 0, 0.479874581, 0)
- netherlands.Size = UDim2.new(0, 177, 0, 24)
- netherlands.Font = Enum.Font.SourceSans
- netherlands.Text = "Buy Netherlands"
- netherlands.TextColor3 = Color3.new(0, 0, 0)
- netherlands.TextScaled = true
- netherlands.TextSize = 14
- netherlands.TextWrapped = true
- netherlands.MouseButton1Down:connect(function()
- local A_1 = "Wadloper"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "DD-AR"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "DDZ"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "DM90"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "G1206"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "ICMm"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "ICR"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Intercity Direct"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Mat'46"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Mat'64"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Mat'64 DUAL"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "NS 1100"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "NS 1200"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "NS Flirt"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "SGMm"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "VIRM"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- poland.Name = "poland"
- poland.Parent = unlocktrains
- poland.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- poland.BorderSizePixel = 2
- poland.Position = UDim2.new(0.0549999997, 0, 0.53025353, 0)
- poland.Size = UDim2.new(0, 177, 0, 24)
- poland.Font = Enum.Font.SourceSans
- poland.Text = "Buy Poland"
- poland.TextColor3 = Color3.new(0, 0, 0)
- poland.TextScaled = true
- poland.TextSize = 14
- poland.TextWrapped = true
- poland.MouseButton1Down:connect(function()
- local A_1 = "Pesa Atribo"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Pesa Atribo Dual"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- southkorea.Name = "southkorea"
- southkorea.Parent = unlocktrains
- southkorea.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- southkorea.BorderSizePixel = 2
- southkorea.Position = UDim2.new(0.0549999997, 0, 0.580632448, 0)
- southkorea.Size = UDim2.new(0, 177, 0, 24)
- southkorea.Font = Enum.Font.SourceSans
- southkorea.Text = "Buy South Korea"
- southkorea.TextColor3 = Color3.new(0, 0, 0)
- southkorea.TextScaled = true
- southkorea.TextSize = 14
- southkorea.TextWrapped = true
- southkorea.MouseButton1Down:connect(function()
- local A_1 = "KTX Sancheon"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Korail Mugunghwa regional"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- spain.Name = "spain"
- spain.Parent = unlocktrains
- spain.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- spain.BorderSizePixel = 2
- spain.Position = UDim2.new(0.0549999997, 0, 0.631011367, 0)
- spain.Size = UDim2.new(0, 177, 0, 24)
- spain.Font = Enum.Font.SourceSans
- spain.Text = "Buy Spain"
- spain.TextColor3 = Color3.new(0, 0, 0)
- spain.TextScaled = true
- spain.TextSize = 14
- spain.TextWrapped = true
- spain.MouseButton1Down:connect(function()
- local A_1 = "Renfe 440"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Talgo AVE"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- switzerland.Name = "switzerland"
- switzerland.Parent = unlocktrains
- switzerland.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- switzerland.BorderSizePixel = 2
- switzerland.Position = UDim2.new(0.0549999997, 0, 0.680122674, 0)
- switzerland.Size = UDim2.new(0, 177, 0, 24)
- switzerland.Font = Enum.Font.SourceSans
- switzerland.Text = "Buy Switzerland"
- switzerland.TextColor3 = Color3.new(0, 0, 0)
- switzerland.TextScaled = true
- switzerland.TextSize = 14
- switzerland.TextWrapped = true
- switzerland.MouseButton1Down:connect(function()
- local A_1 = "SBB RE 4/4"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- sweden.Name = "sweden"
- sweden.Parent = unlocktrains
- sweden.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- sweden.BorderSizePixel = 2
- sweden.Position = UDim2.new(0.0549999997, 0, 0.727966368, 0)
- sweden.Size = UDim2.new(0, 177, 0, 24)
- sweden.Font = Enum.Font.SourceSans
- sweden.Text = "Buy Sweden"
- sweden.TextColor3 = Color3.new(0, 0, 0)
- sweden.TextScaled = true
- sweden.TextSize = 14
- sweden.TextWrapped = true
- sweden.MouseButton1Down:connect(function()
- local A_1 = "SJ RC6"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- uk.Name = "uk"
- uk.Parent = unlocktrains
- uk.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- uk.BorderSizePixel = 2
- uk.Position = UDim2.new(0.0549999997, 0, 0.777250946, 0)
- uk.Size = UDim2.new(0, 177, 0, 24)
- uk.Font = Enum.Font.SourceSans
- uk.Text = "Buy UK"
- uk.TextColor3 = Color3.new(0, 0, 0)
- uk.TextScaled = true
- uk.TextSize = 14
- uk.TextWrapped = true
- uk.MouseButton1Down:connect(function()
- local A_1 = "158 Arriva"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Class 142 Pacer"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Eurostar"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "HST"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "ScotRail Class 314"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- usa.Name = "usa"
- usa.Parent = unlocktrains
- usa.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- usa.BorderSizePixel = 2
- usa.Position = UDim2.new(0.0549999997, 0, 0.829715192, 0)
- usa.Size = UDim2.new(0, 177, 0, 24)
- usa.Font = Enum.Font.SourceSans
- usa.Text = "Buy USA"
- usa.TextColor3 = Color3.new(0, 0, 0)
- usa.TextScaled = true
- usa.TextSize = 14
- usa.TextWrapped = true
- usa.MouseButton1Down:connect(function()
- local A_1 = "Acela"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Amtrak ACS Regional"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Brightline"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "California Commuter"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "DC Metro"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "GM Aerotrain"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Keystone"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "LIRR M7"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "MBTA Boston Commuter"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Metro North Commuter"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Metro North M7"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Metro North M8"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "New Jersey Commuter"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Northeast Regional"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Pacemaker"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "SEPTA ACS Commuter"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "Silverliner IV"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- events.Name = "events"
- events.Parent = unlocktrains
- events.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- events.BorderSizePixel = 2
- events.Position = UDim2.new(0.0549999997, 0, 0.882179439, 0)
- events.Size = UDim2.new(0, 177, 0, 24)
- events.Font = Enum.Font.SourceSans
- events.Text = "Buy Events"
- events.TextColor3 = Color3.new(0, 0, 0)
- events.TextScaled = true
- events.TextSize = 14
- events.TextWrapped = true
- events.MouseButton1Down:connect(function()
- local A_1 = "Traxxius The Destroyer"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- special.Name = "special"
- special.Parent = unlocktrains
- special.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- special.BorderSizePixel = 2
- special.Position = UDim2.new(0.0549999997, 0, 0.933053851, 0)
- special.Size = UDim2.new(0, 177, 0, 24)
- special.Font = Enum.Font.SourceSans
- special.Text = "Buy Special"
- special.TextColor3 = Color3.new(0, 0, 0)
- special.TextScaled = true
- special.TextSize = 14
- special.TextWrapped = true
- special.MouseButton1Down:connect(function()
- local A_1 = "EMERALD Acela"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- local A_1 = "GOLD TGV Duplex"
- local A_2 = true
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyTrain
- Event:InvokeServer(A_1, A_2)
- wait(0.2)
- end)
- trainupgrades.Name = "trainupgrades"
- trainupgrades.Parent = traingui
- trainupgrades.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
- trainupgrades.BackgroundTransparency = 0.30000001192093
- trainupgrades.BorderSizePixel = 3
- trainupgrades.Position = UDim2.new(0.765257001, 0, 0.167660654, 0)
- trainupgrades.Size = UDim2.new(0, 200, 0, 216)
- trainupgrades.Visible = false
- trainupgrades.Draggable = true
- trainupgrades.Active = true
- whattrain.Name = "whattrain"
- whattrain.Parent = trainupgrades
- whattrain.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- whattrain.BorderSizePixel = 2
- whattrain.Position = UDim2.new(0.115000002, 0, 0.141550094, 0)
- whattrain.Size = UDim2.new(0, 154, 0, 50)
- whattrain.Font = Enum.Font.SourceSans
- whattrain.Text = "What Train"
- whattrain.TextColor3 = Color3.new(0, 0, 0)
- whattrain.TextScaled = true
- whattrain.TextSize = 14
- whattrain.TextWrapped = true
- whatupgrade.Name = "whatupgrade"
- whatupgrade.Parent = trainupgrades
- whatupgrade.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- whatupgrade.BorderSizePixel = 2
- whatupgrade.Position = UDim2.new(0.115000002, 0, 0.433183759, 0)
- whatupgrade.Size = UDim2.new(0, 154, 0, 50)
- whatupgrade.Font = Enum.Font.SourceSans
- whatupgrade.Text = "What Upgrade"
- whatupgrade.TextColor3 = Color3.new(0, 0, 0)
- whatupgrade.TextScaled = true
- whatupgrade.TextSize = 14
- whatupgrade.TextWrapped = true
- upgrade.Name = "upgrade"
- upgrade.Parent = trainupgrades
- upgrade.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- upgrade.BorderSizePixel = 2
- upgrade.Position = UDim2.new(0.185000002, 0, 0.763987899, 0)
- upgrade.Size = UDim2.new(0, 125, 0, 41)
- upgrade.Font = Enum.Font.SourceSans
- upgrade.Text = "Upgrade"
- upgrade.TextColor3 = Color3.new(0, 0, 0)
- upgrade.TextScaled = true
- upgrade.TextSize = 14
- upgrade.TextWrapped = true
- upgrade.MouseButton1Down:connect(function()
- local A_1 = whatupgrade.Text
- local A_2 = 0
- local A_3 = whattrain.Text
- local Event = game:GetService("ReplicatedStorage").SpawnEvents.BuyUpgrade
- Event:InvokeServer(A_1, A_2, A_3)
- end)
- creditshack.Name = "creditshack"
- creditshack.Parent = traingui
- creditshack.BackgroundColor3 = Color3.new(0.231373, 0.231373, 0.231373)
- creditshack.BackgroundTransparency = 0.30000001192093
- creditshack.BorderSizePixel = 3
- creditshack.Position = UDim2.new(0.765800357, 0, 0.483277053, 0)
- creditshack.Size = UDim2.new(0, 200, 0, 216)
- creditshack.Visible = false
- creditshack.Draggable = true
- creditshack.Active = true
- amountofmoney.Name = "amountofmoney"
- amountofmoney.Parent = creditshack
- amountofmoney.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- amountofmoney.BorderSizePixel = 2
- amountofmoney.Position = UDim2.new(0.0299999993, 0, 0.152777776, 0)
- amountofmoney.Size = UDim2.new(0, 187, 0, 61)
- amountofmoney.Font = Enum.Font.SourceSans
- amountofmoney.Text = "Amount Of Money"
- amountofmoney.TextColor3 = Color3.new(0, 0, 0)
- amountofmoney.TextScaled = true
- amountofmoney.TextSize = 14
- amountofmoney.TextWrapped = true
- givemoney.Name = "givemoney"
- givemoney.Parent = creditshack
- givemoney.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- givemoney.BorderSizePixel = 2
- givemoney.Position = UDim2.new(0.0450000018, 0, 0.569444418, 0)
- givemoney.Size = UDim2.new(0, 178, 0, 50)
- givemoney.Font = Enum.Font.SourceSans
- givemoney.Text = "Give Money"
- givemoney.TextColor3 = Color3.new(0, 0, 0)
- givemoney.TextScaled = true
- givemoney.TextSize = 14
- givemoney.TextWrapped = true
- givemoney.MouseButton1Down:connect(function()
- am = amountofmoney.Text
- game:GetService("ReplicatedStorage").Port:FireServer("BuyCredits", amountofmoney.Text, true, "ADF")
- end)
- hide.Name = "hide"
- hide.Parent = traingui
- hide.BackgroundColor3 = Color3.new(0.764706, 0.764706, 0.764706)
- hide.Position = UDim2.new(0.0171257779, 0, 0.283588499, 0)
- hide.Size = UDim2.new(0, 143, 0, 31)
- hide.Font = Enum.Font.SourceSans
- hide.Text = "Show"
- hide.TextColor3 = Color3.new(0, 0, 0)
- hide.TextScaled = true
- hide.TextSize = 14
- hide.TextWrapped = true
- hide.MouseButton1Down:connect(function()
- if hide.Text == 'Show' then
- hide.Text = 'Hide'
- creditshack.Visible = true
- unlocktrains.Visible = true
- trainupgrades.Visible = true
- elseif hide.Text == 'Hide' then
- hide.Text = 'Show'
- creditshack.Visible = false
- unlocktrains.Visible = false
- trainupgrades.Visible = false
- end
- end)
- -- Scripts:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement