Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.12 KB | None | 0 0
  1. game.Players.PlayerAdded:connect(function(player)
  2. player.CharacterAdded:connect(function(character)
  3.  
  4. repeat wait() until player:FindFirstChild("Data") ~= nil
  5.  
  6. repeat wait() until player.Data.Weapon.Value ~= ""
  7.  
  8. wait(0.5)
  9.  
  10. if player.Data.Side.Value == "Marine" then
  11. player.Data.Side.Value = "Pirate"
  12. end
  13.  
  14. if game:GetService("GamePassService"):PlayerHasPass(player, 123) or player.userId == 123 then
  15. local poseidonBlade = game.ServerStorage["Poseidon's Blade"]:Clone()
  16. local wave = game.ServerStorage.Wave:Clone()
  17. wave.Parent = player.Backpack
  18. wave.Disabled = false
  19. poseidonBlade.Parent = player.Backpack
  20. else
  21. if player.Data.Weapon.Value == "Cutlass" and player.Character:FindFirstChild("Cutlass") == nil and player.Backpack:FindFirstChild("Cutlass") == nil then
  22. local cutlass = game.Lighting.Weapons.Cutlass:Clone()
  23. cutlass.Parent = player.Backpack
  24. end
  25.  
  26. if player.Data.Weapon.Value == "Crimson Cutlass" and player.Character:FindFirstChild("Crimson Cutlass") == nil and player.Backpack:FindFirstChild("Crimson Cutlass") == nil then
  27. local cutlass = game.Lighting.Weapons["Crimson Cutlass"]:Clone()
  28. cutlass.Parent = player.Backpack
  29. end
  30.  
  31. if player.Data.Weapon.Value == "Katana" and player.Character:FindFirstChild("Katana") == nil and player.Backpack:FindFirstChild("Katana") == nil then
  32. local katana = game.Lighting.Weapons.Katana:Clone()
  33. katana.Parent = player.Backpack
  34. end
  35.  
  36. if player.Data.Weapon.Value == "Crimson Katana" and player.Character:FindFirstChild("Crimson Katana") == nil and player.Backpack:FindFirstChild("Crimson Katana") == nil then
  37. local katana = game.Lighting.Weapons["Crimson Katana"]:Clone()
  38. katana.Parent = player.Backpack
  39. end
  40.  
  41. if player.Data.Weapon.Value or player.Data.Weapon2.Value or player.Data.Weapon3.Value == "KatanaCursed1" and player.Character:FindFirstChild("Cursed Katana") == nil and player.Backpack:FindFirstChild("Cursed Katana") == nil then
  42. local katana = game.Lighting.Weapons["Cursed Katana"]:Clone()
  43. local cursedTornadoAttack = game.Lighting.CursedTornado:Clone()
  44. katana.Parent = player.Backpack
  45. cursedTornadoAttack.Parent = player.Backpack
  46. cursedTornadoAttack.Disabled = false
  47. end
  48.  
  49. if player.Data.Weapon2.Value or player.Data.Weapon.Value or player.Data.Weapon3.Value == "Yoru1" and player.Character:FindFirstChild("Yoru") == nil and player.Backpack:FindFirstChild("Yoru") == nil then
  50. local ylegend = game.Lighting.Yoru:Clone()
  51. local yAttack = game.Lighting.YoruAttack:Clone()
  52. ylegend.Parent = player.Backpack
  53. yAttack.Parent = player.Backpack
  54. yAttack.Disabled = false
  55. end
  56.  
  57. if player.Data.Weapon3.Value or player.Data.Weapon.Value or player.Data.Weapon2.Value == "Bisento1" and player.Character:FindFirstChild("Bisento") == nil and player.Backpack:FindFirstChild("Bisento") == nil then
  58. local blegend = game.Lighting.Bisento:Clone()
  59. local bAttack = game.Lighting.SpearAttack:Clone()
  60. blegend.Parent = player.Backpack
  61. bAttack.Parent = player.Backpack
  62. bAttack.Disabled = false
  63. end
  64.  
  65. if player.Data.Weapon.Value or player.Data.Weapon2.Value or player.Data.Weapon3.Value == "Poseidon1" and player.Character:FindFirstChild("Poseidon's Blade") == nil and player.Backpack:FindFirstChild("Poseidon's Blade") == nil then
  66. local poseidonBlade = game.ServerStorage["Poseidon's Blade"]:Clone()
  67. local wave = game.ServerStorage.Wave:Clone()
  68. wave.Parent = player.Backpack
  69. wave.Disabled = false
  70. poseidonBlade.Parent = player.Backpack
  71. end
  72.  
  73. if player.Data.Weapon.Value == "Sabre" and player.Character:FindFirstChild("Sabre") == nil and player.Backpack:FindFirstChild("Sabre") == nil then
  74. local sabre = game.Lighting.Weapons.Sabre:Clone()
  75. sabre.Parent = player.Backpack
  76. end
  77.  
  78. if player.Data.Weapon.Value == "Crimson Sabre" and player.Character:FindFirstChild("Crimson Sabre") == nil and player.Backpack:FindFirstChild("Crimson Sabre") == nil then
  79. local sabre = game.Lighting.Weapons["Crimson Sabre"]:Clone()
  80. sabre.Parent = player.Backpack
  81. end
  82. end
  83.  
  84. end)
  85. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement