mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-16 10:41:54 +00:00
UDP flashlight working and fix some type errors
This commit is contained in:
@@ -54,6 +54,7 @@ local EditorEntities = {
|
||||
}
|
||||
|
||||
type HideEditor = (a1: BasePart | Folder, a2: boolean) -> ()
|
||||
type LuaChangeableContainer = Script | LocalScript
|
||||
|
||||
function StudioEntities.indexAll(enabled: boolean): Entities
|
||||
if #StudioEntities.IndexedEntities == 0 then
|
||||
@@ -88,7 +89,7 @@ function StudioEntities.indexAll(enabled: boolean): Entities
|
||||
|
||||
if not Players:GetPlayerFromCharacter(Model) then
|
||||
pcall(function()
|
||||
Item.Enabled = false
|
||||
(Item :: LuaChangeableContainer).Enabled = false
|
||||
end)
|
||||
Item:Destroy()
|
||||
warn(`Script: "{Item.Name}" ({Item.ClassName}) was removed because it was outside of the rhpid-framework boundries,`, Item:GetFullName())
|
||||
|
||||
@@ -39,9 +39,9 @@ local function Clouds(): Clouds
|
||||
end
|
||||
|
||||
export type exports = {
|
||||
Sky: Sky,
|
||||
Atmosphere: Atmosphere,
|
||||
Clouds: Clouds,
|
||||
Sky: () -> Sky,
|
||||
Atmosphere: () -> Atmosphere,
|
||||
Clouds: () -> Clouds,
|
||||
}
|
||||
|
||||
local export: exports = {
|
||||
|
||||
Reference in New Issue
Block a user