Skip to content

SkepticClient

Overview

The client-side version of the Skeptic Framework. This is the only ModuleScript that needs to be required from anywhere to access the Skeptic Framework on the client.

Accessing SkepticClient
local Skeptic = require(game:GetService("ReplicatedStorage").SkepticClient)

Properties

Player

Skeptic.Player: Player

A reference to game:GetService("Players").LocalPlayer.

GUI

Skeptic.GUI: Frame?

Equivelant to Skeptic.Resources.GUI.

Resources

Skeptic.Resources: Skeptic.Resources

See: Resources

Interface

Skeptic.Interface: Skeptic.Interface

See: Interface

Events

Skeptic.Events: Skeptic.Events

See: Events

ClientModules

Skeptic.ClientModules: LuaSourceContainer?

Defined by :RegisterClientModules().

Methods

RegisterClientModules

Skeptic:RegisterClientModules(
    parent: LuaSourceContainer
)

Register a reference to the location with the majority of modules used on the client-side. Will error if client modules have already been registered.

Warning

Using Skeptic.ClientModules to access modules in StarterPlayerScripts is unreliable and has the side effect of losing any type information from those modules. For future projects, place client-side modules in ReplicatedStorage to be accessed instead.

UpdateServerLoadStatus

Skeptic:UpdateServerLoadStatus(
    log: any
)

Notify the server that the client-side has finished loading, which runs any functions bound with :BindToClientLoaded().