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

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?

nvm I managed to fix it using this


--Then calling this 

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