Advertisement
abraham2713

Pirate Simulator ☠️script☠️

Dec 22nd, 2020
1,255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. local b = "Palm Island" -- change to your island name
  2. local a = 1 -- change to what number rock u want to farm
  3.  
  4.  
  5.  
  6.  
  7.  
  8. local PirateSimulator = Instance.new("ScreenGui")
  9. local Main = Instance.new("Frame")
  10. local Title = Instance.new("TextLabel")
  11. local Title_2 = Instance.new("TextLabel")
  12. local KillAll = Instance.new("TextButton")
  13. local AF = Instance.new("TextButton")
  14. --Properties:
  15. PirateSimulator.Name = "PirateSimulator"
  16. PirateSimulator.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  17.  
  18. Main.Name = "Main"
  19. Main.Parent = PirateSimulator
  20. Main.BackgroundColor3 = Color3.new(0, 0, 0)
  21. Main.Position = UDim2.new(0.221798778, 0, 0.178470254, 0)
  22. Main.Size = UDim2.new(0, 586, 0, 433)
  23.  
  24. Title.Name = "Title"
  25. Title.Parent = Main
  26. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  27. Title.BackgroundTransparency = 1
  28. Title.Size = UDim2.new(0, 586, 0, 50)
  29. Title.Font = Enum.Font.Code
  30. Title.Text = "Pirate Simulator"
  31. Title.TextColor3 = Color3.new(1, 1, 1)
  32. Title.TextScaled = true
  33. Title.TextSize = 14
  34. Title.TextWrapped = true
  35.  
  36. Title_2.Name = "Title"
  37. Title_2.Parent = Main
  38. Title_2.BackgroundColor3 = Color3.new(1, 1, 1)
  39. Title_2.BackgroundTransparency = 1
  40. Title_2.Position = UDim2.new(0, 0, 0.115473442, 0)
  41. Title_2.Size = UDim2.new(0, 586, 0, 108)
  42. Title_2.Font = Enum.Font.Code
  43. Title_2.Text = "Scripts and gui made by Poki Hero"
  44. Title_2.TextColor3 = Color3.new(1, 1, 1)
  45. Title_2.TextScaled = true
  46. Title_2.TextSize = 14
  47. Title_2.TextWrapped = true
  48.  
  49. KillAll.Name = "KillAll"
  50. KillAll.Parent = Main
  51. KillAll.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.458824)
  52. KillAll.BorderSizePixel = 0
  53. KillAll.Position = UDim2.new(0, 0, 0.401847571, 0)
  54. KillAll.Size = UDim2.new(0, 200, 0, 50)
  55. KillAll.Font = Enum.Font.Code
  56. KillAll.Text = "Kill All"
  57. KillAll.TextColor3 = Color3.new(0, 0, 0)
  58. KillAll.TextScaled = true
  59. KillAll.TextSize = 14
  60. KillAll.TextWrapped = true
  61.  
  62. AF.Name = "AF"
  63. AF.Parent = Main
  64. AF.BackgroundColor3 = Color3.new(0.458824, 0.458824, 0.458824)
  65. AF.BorderSizePixel = 0
  66. AF.Position = UDim2.new(0.658703089, 0, 0.401847541, 0)
  67. AF.Size = UDim2.new(0, 200, 0, 50)
  68. AF.Font = Enum.Font.Code
  69. AF.Text = "Auto Farm"
  70. AF.TextColor3 = Color3.new(0, 0, 0)
  71. AF.TextScaled = true
  72. AF.TextSize = 14
  73. AF.TextWrapped = true
  74. Main.Active = true
  75. Main.Draggable = true
  76. KillAll.MouseButton1Click:Connect(function()
  77. while wait() do
  78. for i , v in pairs(game.Players:GetChildren()) do
  79. if v.Name ~= game.Players.LocalPlayer.Name then
  80. if v.Character.Humanoid.Health ~= 0 then
  81. local a = game.Players.LocalPlayer
  82. local b = a.Character.HumanoidRootPart
  83. b.CFrame = v.Character.HumanoidRootPart.CFrame
  84. local A_1 = "Hit"
  85. local A_2 =
  86. {
  87. [1] =
  88. {
  89. [1] = game:GetService("Workspace")[v.Name].Humanoid,
  90. [2] = game:GetService("Workspace")[v.Name].LowerTorso
  91. }
  92. }
  93. local A_3 = game:GetService("Workspace")[a.Name].HumanoidRootPart
  94. local Event = game:GetService("ReplicatedStorage").ReplicationManagers.HitPlayer
  95. Event:FireServer(A_1, A_2, A_3)
  96. Event:FireServer(A_1, A_2, A_3)
  97. Event:FireServer(A_1, A_2, A_3)
  98. Event:FireServer(A_1, A_2, A_3)
  99. Event:FireServer(A_1, A_2, A_3)
  100. Event:FireServer(A_1, A_2, A_3)
  101. Event:FireServer(A_1, A_2, A_3)
  102.  
  103. end
  104. end
  105. end
  106. end
  107.  
  108. end)
  109. AF.MouseButton1Click:Connect(function()
  110.  
  111. while wait() do
  112. local A_1 = "Hit"
  113. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game:GetService("Workspace").ResourceIslands["Crescent Island"].Resources.Rocks:FindFirstChild("Rock"..a).Rock.CFrame local A_2 = game:GetService("Workspace").ResourceIslands["Crescent Island"].Resources.Rocks:FindFirstChild("Rock"..a)
  114. local Event = game:GetService("ReplicatedStorage").ReplicationManagers.HitResource Event:FireServer(A_1, A_2)
  115. local A_1 = "UnloadCargo"
  116. wait(0.2)
  117. game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = game.Workspace.Islands[b].Jerri.HumanoidRootPart.CFrame
  118. local A_2 = game:GetService("Workspace").Islands[b].Jerri
  119. local Event = game:GetService("ReplicatedStorage").ReplicationManagers.JerriRE
  120. Event:FireServer(A_1, A_2)
  121. end
  122. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement