Advertisement
Chatbypassscriptandm

Fish decal spam script

May 6th, 2025 (edited)
731
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.22 KB | None | 0 0
  1. -- SETTINGS
  2. local decalId2 = "86675185371239" -- Second decal
  3. local texture2 = "http://www.roblox.com/asset/?id=" .. decalId2
  4. local fishMusicId = "rbxassetid://93277390339796"
  5. local skyboxId = "rbxassetid://123456789" -- Your Skybox ID
  6.  
  7. -- === FISH SPAM SCRIPT ===
  8. local function applyParticlesAndTextures(part, texture)
  9. if part:IsA("BasePart") then
  10. -- Remove existing decals/textures
  11. for _, obj in ipairs(part:GetChildren()) do
  12. if obj:IsA("Decal") or obj:IsA("Texture") or obj:IsA("SurfaceGui") then
  13. obj:Destroy()
  14. end
  15. end
  16.  
  17. -- Apply texture as decals on every face
  18. for _, face in ipairs(Enum.NormalId:GetEnumItems()) do
  19. local decal = Instance.new("Decal")
  20. decal.Texture = texture
  21. decal.Face = face
  22. decal.Parent = part
  23. end
  24.  
  25. -- Particle spam
  26. local p = Instance.new("ParticleEmitter")
  27. p.Name = "FE_Particles"
  28. p.Texture = texture
  29. p.Rate = 40
  30. p.Lifetime = NumberRange.new(2)
  31. p.Speed = NumberRange.new(1)
  32. p.VelocitySpread = 180
  33. p.SpreadAngle = Vector2.new(360, 360)
  34. p.Parent = part
  35. end
  36. end
  37.  
  38. -- === MUSIC FOR FISH SPAM ===
  39. local function playFishMusic()
  40. local sound = Instance.new("Sound")
  41. sound.Name = "Fish_Sound"
  42. sound.SoundId = fishMusicId
  43. sound.Volume = 300 -- Adjusted volume
  44. sound.Looped = true
  45. sound.Parent = workspace
  46. sound:Play()
  47. end
  48.  
  49. -- === APPLY TO EVERYTHING ===
  50. local function applyToAll(texture)
  51. -- World parts
  52. for _, part in ipairs(workspace:GetDescendants()) do
  53. applyParticlesAndTextures(part, texture)
  54. end
  55.  
  56. -- Current players
  57. for _, plr in pairs(game.Players:GetPlayers()) do
  58. if plr.Character then
  59. for _, part in pairs(plr.Character:GetDescendants()) do
  60. applyParticlesAndTextures(part, texture)
  61.  
  62. -- Replace face decal
  63. if part:IsA("Decal") and part.Name == "face" then
  64. part.Texture = texture
  65. end
  66. end
  67. end
  68. end
  69. end
  70.  
  71. -- === CHANGE SKYBOX ===
  72. local function changeSkybox()
  73. local lighting = game:GetService("Lighting")
  74. local sky = lighting:FindFirstChild("Sky")
  75. if not sky then
  76. sky = Instance.new("Sky")
  77. sky.Name = "Sky"
  78. sky.Parent = lighting
  79. end
  80.  
  81. -- Set the skybox textures
  82. sky.SkyboxBk = skyboxId
  83. sky.SkyboxDn = skyboxId
  84. sky.SkyboxFt = skyboxId
  85. sky.SkyboxLf = skyboxId
  86. sky.SkyboxRt = skyboxId
  87. sky.SkyboxUp = skyboxId
  88. end
  89.  
  90. -- === EXECUTION ===
  91. applyToAll(texture2)
  92.  
  93. -- === BUTTON FOR FISH SPAM ===
  94. local fishButton = Instance.new("TextButton")
  95. fishButton.Size = UDim2.new(0, 200, 0, 50)
  96. fishButton.Position = UDim2.new(0.5, -100, 0.8, -25)
  97. fishButton.Text = "Fish Spam"
  98. fishButton.BackgroundColor3 = Color3.fromRGB(0, 0, 255)
  99. fishButton.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  100.  
  101. fishButton.MouseButton1Click:Connect(function()
  102. playFishMusic()
  103. applyToAll(texture2) -- Apply second texture for fish spam
  104. changeSkybox() -- Change the skybox when button is clicked
  105. end)
  106.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement