Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- prefix = "/"
- local KeyEnabled = {
- ["iDarkLuxx"] = true,
- ["Bloo_Jaye"] = true,
- ["captainhunter127"] = true,
- ["slumpio"] = true
- }
- game.Players.PlayerAdded:Connect(function(plr)
- plr.Chatted:Connect(function(msg)
- local Textbox = game.Workspace.BlackComputer.Screen.SurfaceGui.TextBox
- local Textlabel = game.Workspace.BlackComputer.Screen.SurfaceGui.TextLabel
- local Placeholder = Textbox.PlaceholderText
- local CanOrder = game.Workspace.BlackComputer.CanOrder
- local LoggedIn = game.Workspace.BlackComputer.LoggedIn
- local Textlabel2 = game.Workspace.BlackComputer.Screen.SurfaceGui.TextLabel2
- local Ruger = game.ServerStorage.MarketItems.MarketPackRuger
- local Rossi = game.ServerStorage.MarketItems.MarketPackRossi
- local Deagle = game.ServerStorage.MarketItems.MarketPackDeagle
- if KeyEnabled[plr.Name] == true then
- if msg == prefix.."pinlogin01" and plr.Name == "iDarkLuxx" or msg == prefix.."pinlogin02" and plr.Name == "Bloo_Jaye" or msg == prefix.."pinlogin03" and plr.Name == "captainhunter127" or msg == prefix.."pinlogin04" and plr.Name == "slumpio" then
- Textbox.Text = plr.Name..", login successful."
- wait(5)
- Textbox.Text = Placeholder
- Textbox.Visible = false
- Textlabel.Visible = false
- Textlabel2.Visible = true
- CanOrder.Value = true
- LoggedIn.Value = true
- end
- if msg == prefix.."purchase RugerLCP GY" and plr.Statss.Wallet.Value >= 1000 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -1000
- wait(10)
- local clone1 = Ruger:Clone()
- clone1.Parent = workspace
- clone1.Position = Vector3.new(-82.564, 1.5, 311.267)
- end
- if msg == prefix.."purchase RugerLCP CT" and plr.Statss.Wallet.Value >= 1000 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -1000
- wait(10)
- local clone1 = Ruger:Clone()
- clone1.Parent = workspace
- clone1.Position = Vector3.new(261.325, 1.5, 292.008)
- end
- if msg == prefix.."purchase RugerLCP PH" and plr.Statss.Wallet.Value >= 1000 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -1000
- wait(10)
- local clone1 = Ruger:Clone()
- clone1.Parent = workspace
- clone1.Position = Vector3.new(-393.381, 1.5, 209.112)
- end
- if msg == prefix.."purchase .48 GY" and plr.Statss.Wallet.Value >= 2800 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -2800
- wait(10)
- local clone2 = Rossi:Clone()
- clone2.Parent = workspace
- clone2.Position = Vector3.new(-82.564, 1.5, 311.267)
- end
- if msg == prefix.."purchase .48 CT" and plr.Statss.Wallet.Value >= 2800 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -2800
- wait(10)
- local clone2 = Rossi:Clone()
- clone2.Parent = workspace
- clone2.Position = Vector3.new(261.325, 1.5, 292.008)
- end
- if msg == prefix.."purchase .48 PH" and plr.Statss.Wallet.Value >= 2800 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -2800
- wait(10)
- local clone2 = Rossi:Clone()
- clone2.Parent = workspace
- clone2.Position = Vector3.new(-393.381, 1.5, 209.112)
- end
- if msg == prefix.."purchase Deagle GY" and plr.Statss.Wallet.Value >= 4600 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -4600
- wait(10)
- local clone3 = Deagle:Clone()
- clone3.Parent = workspace
- clone3.Position = Vector3.new(-82.564, 1.5, 311.267)
- end
- if msg == prefix.."purchase Deagle CT" and plr.Statss.Wallet.Value >= 4600 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -4600
- wait(10)
- local clone3 = Deagle:Clone()
- clone3:Clone().Parent = workspace
- clone3.Position = Vector3.new(261.325, 1.5, 292.008)
- end
- if msg == prefix.."purchase Deagle PH" and plr.Statss.Wallet.Value >= 4600 and CanOrder.Value == true then
- plr.Statss.Wallet.Value = plr.Statss.Wallet.Value -4600
- wait(10)
- local clone3 = Deagle:Clone()
- clone3.Parent = workspace
- clone3.Position = Vector3.new(-393.381, 1.5, 209.112)
- end
- if msg == prefix.."logout" and LoggedIn.Value == true then
- LoggedIn.Value = false
- CanOrder.Value = false
- Textlabel2.Visible = false
- Textlabel.Visible = true
- Textbox.Visible = true
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement