Module not printing ANYTHING


local ReplicatedStorage = game:GetService("ReplicatedStorage")
local RemoteEvent = ReplicatedStorage:WaitForChild("Remotes").ClickEvent
local Players = game:GetService("Players")


--// Vairables
repeat wait() until Players.LocalPlayer
local Player = Players.LocalPlayer
--// UI Variables
local PlayerGUI = Player:WaitForChild("PlayerGui")
local screengui = PlayerGUI:WaitForChild("MainUI")
local Status = screengui:WaitForChild("SideButtons")
local stat = {}

function changeclick()
	print("ugh")

end
function stat:Int()
	changeclick()
end



return stat



--// Variables
local Modules = script.Parent:WaitForChild("Modules")

--// Modules
local Clicks = require(Modules:WaitForChild("ClicksModule"))
local Stat = require(Modules:WaitForChild("StatsModule"))
local rebirth = require(Modules:WaitForChild("RebirthModule"))

--// Int Modules
Clicks:Int()
Stat:Int()
rebirth:Int()
print("Baiofha")



local Players = game:GetService("Players")
repeat wait() until Players.LocalPlayer
local Player = Players.LocalPlayer
local PlayerGUI = Player:WaitForChild("PlayerGui")

This just won’t work at all. No error either. The first 2 modules work but not rebirth module

Is your first code block in the post the code held in the Rebirth module - seems as though you’ve sent the Stat module instead.

For a simple debugging trick, try adding a print under this line of code:

rebirth:Int()
i.e
rebirth:Int()
print("Passed rebirth:Int()!")

To ensure that the code isn’t getting stuck somewhere in your Int function.

I changed stat to rebirth and it still won’t print anything

Someone please help its been a few hours.

Is there something yielding inside the :Int() function? Such as a while or repeat loop

I don’t see the RebirthModule here. Also it looks like to be vulnerable to exploits, when I see the LocalPlayer, indicating LocalScript.

Can you provide the code of that module?

Ok just fixed this using Run Service :0

I think I found the problem, you should remove repeat wait until Players.LocalPlayer line.

I tried doing what you said but it still won’t print. And no error.