Roblox - Advanced Weed Blunt System -

function HighnessManager:Init(player) local highness = Instance.new("NumberValue") highness.Name = "Highness" highness.Value = 0 highness.Parent = player

local UserInputService = game:GetService("UserInputService") local RunService = game:GetService("RunService") local ReplicatedStorage = game:GetService("ReplicatedStorage") local lightEvent = ReplicatedStorage:FindFirstChild("LightBluntEvent") local hitEvent = ReplicatedStorage:FindFirstChild("TakeHitEvent") local updateHighness = ReplicatedStorage:FindFirstChild("UpdateHighness") Roblox - Advanced Weed Blunt System

if char and char.Parent then humanoid.PlatformStand = false passOutTag:Destroy() -- Reset highness to 30% local highness = player:FindFirstChild("Highness") if highness then highness.Value = 30 end self:UpdateClient(player, 30) end end 0 then highness.Value = math.max(0

-- if hitsLeft - 1 == 0, play "roach" effect end) Roblox - Advanced Weed Blunt System

-- Passive decay while player.Parent do task.wait(1) if highness.Value > 0 then highness.Value = math.max(0, highness.Value - BluntData.BluntConfig.DecayRate) self:UpdateClient(player, highness.Value) end end end

local hitsLeft = blunt:GetAttribute("HitsLeft") if hitsLeft <= 0 then blunt:Destroy() -- blunt finished return end

return BluntData Handles highness level and pass-out logic.