if not Player.Character:FindFirstChild("Curse") then
local otherHuman = F.GetHuman(Args[3])
if not otherHuman then return false end
Debris:AddItem(
local aabma = Instance.new("ObjectValue") -- the local here is the error
Parent = Player.Character
Name = "Curse"
Value = otherHuman
Stats.Duration
)
I'd want to know why my code is creating an error. And if there isn't a method for it to be fixed then how could I change the properties of an instance through a script without calling it a name, a name meaning for ex : local inst = Instance.new("Frame")

2 comments
Is there an end at the bottom?
Yes