Advertisement
Guest User

Fishing simulator script (something will not work cuz)

a guest
Feb 18th, 2020
31,836
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.22 KB | None | 0 0
  1. --Made By ME
  2. local ScreenGui = Instance.new("ScreenGui")
  3. local Main = Instance.new("Frame")
  4. local OOFGui = Instance.new("TextLabel")
  5. local AutoFish = Instance.new("TextButton")
  6. local TpToBoat = Instance.new("TextButton")
  7. local EnemyKill = Instance.new("TextButton")
  8. local AutoSell = Instance.new("TextButton")
  9. local Gamepasses = Instance.new("TextButton")
  10. local CreatureLocator = Instance.new("TextButton")
  11. local Close = Instance.new("TextBox")
  12. local Open = Instance.new("Frame")
  13. local OpenButton = Instance.new("TextButton")
  14.  
  15. --Properties:
  16.  
  17. ScreenGui.Parent = game.CoreGui
  18.  
  19. Main.Name = "Main"
  20. Main.Parent = ScreenGui
  21. Main.BackgroundColor3 = Color3.fromRGB(15, 15, 255)
  22. Main.Position = UDim2.new(0.201332167, 0, 0.372509956, 0)
  23. Main.Size = UDim2.new(0, 346, 0, 279)
  24. Main.Visible = true
  25. Main.Active = true
  26. Main.Draggable = true
  27.  
  28. OOFGui.Name = "O O F Gui"
  29. OOFGui.Parent = Main
  30. OOFGui.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  31. OOFGui.Size = UDim2.new(0, 346, 0, 25)
  32. OOFGui.Font = Enum.Font.Cartoon
  33. OOFGui.Text = "O O F Gui"
  34. OOFGui.TextColor3 = Color3.fromRGB(255, 12, 251)
  35. OOFGui.TextSize = 30.000
  36.  
  37. AutoFish.Name = "Auto Fish"
  38. AutoFish.Parent = Main
  39. AutoFish.BackgroundColor3 = Color3.fromRGB(255, 2, 6)
  40. AutoFish.Position = UDim2.new(0.0500416122, 0, 0.139784947, 0)
  41. AutoFish.Size = UDim2.new(0, 136, 0, 50)
  42. AutoFish.Font = Enum.Font.GothamBlack
  43. AutoFish.Text = "Auto Fish"
  44. AutoFish.TextColor3 = Color3.fromRGB(0, 0, 0)
  45. AutoFish.TextSize = 14.000
  46. AutoFish.MouseButton1Down:connect(function()
  47. while wait() do
  48. if game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool")["Bobbers"]["Bobber"]["Fish"].Value ~= nil then
  49. wait(1)
  50. local Target = game:GetService("ReplicatedStorage").CloudClientResources.Communication.Events.FishCaught;
  51. Target:FireServer();
  52. game:GetService("Players").LocalPlayer.Character:FindFirstChildOfClass("Tool")["Bobbers"]["Bobber"]["Fish"].Value = nil
  53. end
  54. end
  55. end)
  56.  
  57. TpToBoat.Name = "Tp To Boat"
  58. TpToBoat.Parent = Main
  59. TpToBoat.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  60. TpToBoat.Position = UDim2.new(0.0500416122, 0, 0.408602148, 0)
  61. TpToBoat.Size = UDim2.new(0, 136, 0, 50)
  62. TpToBoat.Font = Enum.Font.GothamBlack
  63. TpToBoat.Text = "Tp To Boat"
  64. TpToBoat.TextColor3 = Color3.fromRGB(0, 0, 0)
  65. TpToBoat.TextSize = 14.000
  66. TpToBoat.MouseButton1Down:connect(function()
  67. game:GetService("Players").LocalPlayer.Character["HumanoidRootPart"].CFrame = CFrame.new(workspace:FindFirstChild(tostring(game:GetService("Players").LocalPlayer).. "'s Boat")["Controller"]["VehicleSeat"].Position + Vector3.new(0,2,0))
  68. end)
  69.  
  70. EnemyKill.Name = "Enemy Kill"
  71. EnemyKill.Parent = Main
  72. EnemyKill.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  73. EnemyKill.Position = UDim2.new(0.050041616, 0, 0.673835099, 0)
  74. EnemyKill.Size = UDim2.new(0, 136, 0, 50)
  75. EnemyKill.Font = Enum.Font.GothamBlack
  76. EnemyKill.Text = "Enemy Kill"
  77. EnemyKill.TextColor3 = Color3.fromRGB(0, 0, 0)
  78. EnemyKill.TextSize = 14.000
  79. EnemyKill.MouseButton1Down:connect(function()
  80. local player = game.Players.LocalPlayer
  81. while wait() do
  82. local sharks = workspace:GetChildren()
  83. for i = 1, #sharks do local v = sharks[i]
  84. if v:FindFirstChild("Health") and v:FindFirstChild("IsSeaMonster") then
  85. pcall(function()
  86. player.Character.PrimaryPart.CFrame = v.PrimaryPart.CFrame + Vector3.new(0, 25, 0)
  87. end)
  88. wait()
  89. if player.Character:FindFirstChildOfClass("Tool") then
  90. game.ReplicatedStorage.CloudClientResources.Communication.Events.DamageSeaMonster:FireServer(v, v.Health, true)
  91. elseif player:FindFirstChild("Backpack") and #player.Backpack:GetChildren() >= 1 then
  92. for _,k in pairs(player.Backpack:GetChildren()) do
  93. if k:FindFirstChild("Damage") then
  94. k.Parent = player.Character
  95. end
  96. end
  97. end
  98. end
  99. end
  100. if player:FindFirstChild("Backpack") and #player.Backpack:GetChildren() >= 2 then
  101. for i,v in pairs(player.Backpack:GetChildren()) do
  102. if not v:FindFirstChild("Damage") then
  103. game:GetService("ReplicatedStorage").CloudClientResources.Communication.Functions.SellItem:InvokeServer(v.Name, 1)
  104. end
  105. end
  106. end
  107. end
  108. end)
  109.  
  110. AutoSell.Name = "Auto Sell"
  111. AutoSell.Parent = Main
  112. AutoSell.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  113. AutoSell.Position = UDim2.new(0.518298745, 0, 0.139784947, 0)
  114. AutoSell.Size = UDim2.new(0, 153, 0, 50)
  115. AutoSell.Font = Enum.Font.GothamBlack
  116. AutoSell.Text = "Auto Sell"
  117. AutoSell.TextColor3 = Color3.fromRGB(0, 0, 0)
  118. AutoSell.TextSize = 14.000
  119. AutoSell.MouseButton1Down:connect(function()
  120. _G.autoSell = true
  121.  
  122. while _G.autoSell and wait() do
  123. for _, v in pairs(game:GetService("Players").LocalPlayer["LocalData"]["FishDiscovered"]:GetChildren()) do
  124. local string_1 = tostring(v);
  125. local number_1 = 1;
  126. local Target = game:GetService("ReplicatedStorage").CloudClientResources.Communication.Functions.SellItem;
  127. Target:InvokeServer(string_1, number_1);
  128. end
  129. end
  130. end)
  131.  
  132. Gamepasses.Name = "Gamepasses"
  133. Gamepasses.Parent = Main
  134. Gamepasses.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  135. Gamepasses.Position = UDim2.new(0.516880751, 0, 0.673835099, 0)
  136. Gamepasses.Size = UDim2.new(0, 153, 0, 50)
  137. Gamepasses.Font = Enum.Font.GothamBlack
  138. Gamepasses.Text = "Gamepasses"
  139. Gamepasses.TextColor3 = Color3.fromRGB(0, 0, 0)
  140. Gamepasses.TextSize = 14.000
  141. Gamepasses.MouseButton1Down:connect(function()
  142. for _, gamepass in pairs(game:GetService("Players").LocalPlayer["LocalData"]["Gamepasses"]:GetChildren()) do
  143. gamepass.Value = true
  144. end
  145. end)
  146.  
  147. CreatureLocator.Name = "Creature Locator"
  148. CreatureLocator.Parent = Main
  149. CreatureLocator.BackgroundColor3 = Color3.fromRGB(255, 0, 4)
  150. CreatureLocator.Position = UDim2.new(0.516880751, 0, 0.408602148, 0)
  151. CreatureLocator.Size = UDim2.new(0, 153, 0, 50)
  152. CreatureLocator.Font = Enum.Font.GothamBlack
  153. CreatureLocator.Text = "Creature Locator"
  154. CreatureLocator.TextColor3 = Color3.fromRGB(0, 0, 0)
  155. CreatureLocator.TextSize = 14.000
  156. CreatureLocator.MouseButton1Down:connect(function()
  157. for _, model in pairs(workspace:GetChildren()) do
  158. if model:FindFirstChild("IsSeaMonster") and not model["HumanoidRootPart"]:FindFirstChild("CreatureLocator") then
  159. local billboard = Instance.new("BillboardGui", model["HumanoidRootPart"])
  160. billboard.Name = "CreatureLocator"
  161. billboard.AlwaysOnTop = true
  162. billboard.Active = true
  163. billboard.ClipsDescendants = true
  164. billboard.Size = UDim2.new(0,200,0,100)
  165. billboard.StudsOffsetWorldSpace = Vector3.new(0,0,25)
  166. billboard.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  167. billboard.Adornee = model["HumanoidRootPart"]
  168.  
  169. local locatedName = Instance.new("TextLabel", billboard)
  170. locatedName.Name = "locatedNameLabel"
  171. locatedName.BackgroundTransparency = 1
  172. locatedName.Font = Enum.Font.SourceSansBold
  173. locatedName.Text = tostring(model)
  174. locatedName.TextColor3 = Color3.fromRGB(255,255,255)
  175. locatedName.Size = UDim2.new(1,0,1,0)
  176. locatedName.TextSize = 10
  177. locatedName.TextStrokeTransparency = 0
  178.  
  179. --[[ -- delete [ from here and add them above to remove
  180. billboard:Destroy()
  181. -]]
  182.  
  183. end
  184. end
  185. end)
  186.  
  187. Close.Name = "Close"
  188. Close.Parent = Main
  189. Close.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  190. Close.Position = UDim2.new(0.919075131, 0, 0, 0)
  191. Close.Size = UDim2.new(0, 28, 0, 25)
  192. Close.Font = Enum.Font.Fantasy
  193. Close.Text = "X"
  194. Close.TextColor3 = Color3.fromRGB(0, 255, 8)
  195. Close.TextScaled = true
  196. Close.TextSize = 30.000
  197. Close.TextWrapped = true
  198. Close.MouseButton1Down:connect(function()
  199. Open.Visible = true
  200. Main.Visible = false
  201. end)
  202.  
  203. Open.Name = "Open"
  204. Open.Parent = ScreenGui
  205. Open.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  206. Open.BorderColor3 = Color3.fromRGB(85, 255, 255)
  207. Open.Position = UDim2.new(0, 0, 0.711155415, 0)
  208. Open.Size = UDim2.new(0, 72, 0, 33)
  209. Open.Active = true
  210. Open.Draggable = true
  211.  
  212. OpenButton.Name = "OpenButton"
  213. OpenButton.Parent = Open
  214. OpenButton.BackgroundColor3 = Color3.fromRGB(85, 255, 255)
  215. OpenButton.BorderColor3 = Color3.fromRGB(255, 255, 255)
  216. OpenButton.Size = UDim2.new(0, 71, 0, 33)
  217. OpenButton.Font = Enum.Font.Bodoni
  218. OpenButton.Text = "Open"
  219. OpenButton.TextColor3 = Color3.fromRGB(0, 0, 0)
  220. OpenButton.TextSize = 30.000
  221. OpenButton.MouseButton1Down:connect(function()
  222. Main.Visible = false
  223. Open.Visible = true
  224. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement