Roblox SDK
Use this section to review usage and functions available when using our Roblox SDK.
Calling into Gamebeast from Roblox
example.lua
local replicatedStorage = game:GetService("ReplicatedStorage")
local gamebeast = require(replicatedStorage.Gamebeast)
local health = gamebeast:Get({"NPCs", "Spider", "Health"})
print(health)
local conn = gamebeast:OnChanged({"NPCs", "Spider", "Health"}, function(newVal)
health = newVal
end)