Roblox - Advanced Weed Blunt System Link

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

local function applyScreenEffect(intensity) -- intensity 0 to 1 local blur = Instance.new("BlurEffect") blur.Size = 4 + (intensity * 12) game:GetService("Lighting"):FindFirstChild("Blur") and game:GetService("Lighting").Blur:Destroy() blur.Parent = game:GetService("Lighting") blur.Name = "Blur" Roblox - Advanced Weed Blunt System

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") play "roach" effect end)

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