Back to Scripts
Raining tacos

Raining tacos

ScriptBlox
Universal Free

Game: Universal Script 📌

272 Views
1 Likes
0 Dislikes
majwejner

majwejner

offline

Features

This script adds a rain of tacos

Script Code

-- FE Bacon Hair Rain (Fast, Collidable, Client-Side)
local meshId = "http://www.roblox.com/asset/?id=14846869"
local textureId = "http://www.roblox.com/asset/?id=14846834"

-- SETTINGS
local dropInterval = 0.2 -- rain faster (every 0.2 seconds)
local lifespan = 40 -- disappear after 40 seconds
local dropHeight = 100
local spread = 50

local plr = game:GetService("Players").LocalPlayer
local cam = workspace.CurrentCamera

local function dropBacon()
	local part = Instance.new("MeshPart")
	part.MeshId = meshId
	part.TextureID = textureId
	part.Material = Enum.Material.SmoothPlastic
	part.Size = Vector3.new(5, 5, 5)
	part.Anchored = false
	part.CanCollide = true -- <✅ collision enabled
	part.Name = "BaconHairRain"
	part.Parent = workspace

	local pos = cam.CFrame.Position
	local offsetX = math.random(-spread, spread)
	local offsetZ = math.random(-spread, spread)
	part.Position = Vector3.new(pos.X + offsetX, pos.Y + dropHeight, pos.Z + offsetZ)

	-- Bacon disappears after 5 sec
	task.delay(lifespan, function()
		if part and part.Parent then
			part:Destroy()
		end
	end)
end

-- Start raining
task.spawn(function()
	while true do
		dropBacon()
		task.wait(dropInterval)
	end
end)

Ratings & Reviews

No reviews yet. Be the first to review this script!

Comments (0)

Please login to comment

Login with Discord

Loading comments...