Skip to content

MrRoblick/platform-luau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Api

@checked function Platform.GetPlatform(): (Enum.Platform, number) -- returns Platform and Architecture

Example

const ReplicatedFirst = game:GetService("ReplicatedFirst")
const Modules = ReplicatedFirst.Modules
const Platform = require(Modules.Platform)

const UserPlatform, Architecture = Platform.GetPlatform()
print(`{UserPlatform.Name} x{Architecture}`)

About

Module for getting the player's platform in Roblox

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages