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
return BluntData Handles highness level and pass-out logic.
function HighnessManager:PassOut(player) local char = player.Character if not char or char:FindFirstChild("PassedOut") then return end Roblox - Advanced Weed Blunt System
-- Camera sway if intensity > 0.1 then RunService:BindToRenderStep("WeedSway", 100, function(dt) local swayX = math.sin(tick() * 5) * intensity * 2 local swayY = math.cos(tick() * 4.3) * intensity * 1.5 workspace.CurrentCamera.CFrame *= CFrame.Angles(0, math.rad(swayX), math.rad(swayY)) end) else RunService:UnbindFromRenderStep("WeedSway") end end
local passOutTag = Instance.new("BoolValue") passOutTag.Name = "PassedOut" passOutTag.Parent = char if char and char
-- 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
BluntData.CraftingRecipe = { Weed = 1, RollingPaper = 1, Lighter = 0, -- optional } 0.1 then RunService:BindToRenderStep("WeedSway"
local colorCorrection = Instance.new("ColorCorrectionEffect") colorCorrection.TintColor = Color3.fromRGB(255, 100, 50) colorCorrection.TintIntensity = intensity * 0.4 colorCorrection.Parent = game:GetService("Lighting") colorCorrection.Name = "WeedTint" end