How do I run this function?

I have stored a function from a module into self.Ability

how do I run this function, I can only run this function if I do this

print(self.Ability)
local pillowFunctions = require(rs:WaitForChild("Modules").pillowFunctions)

local pillowDictionary = { 
	["Poison"] = {Damage = 5, Cooldown = 0.5, CoinClick = 10, killReward = 100, ability = pillowFunctions:poisonEffect()}; 
}

if self.Ability then
-- How do I run self.Ability?
end 


nvm I managed to fix it using this

pillowFunctions["poisonEffect"]

--Then calling this 
self.Ability()

Make sure to mark your reply as the solution so that it doesn’t stay on the forum.