Hello! I’m trying to make a startup button for my game but it doesnt work!
Here it is the script:
local Module require(game.ReplicatedStorage.EventsModule.StartUp)
script.Parent.ProximityPrompt.Triggered:Connect(function()
Module:Init()
script.Parent.ProximityPrompt.Enabled = false
script.Disabled = true
end)
If you know how to fix this, Please reply!
(module uses module.Init = function())