Paste --!optimize 2, --!native, and --!strict everywhere

This commit is contained in:
2024-02-22 16:59:31 -05:00
parent 75a476c37a
commit 1e8da39805
39 changed files with 156 additions and 1 deletions

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local Floors = {}
Floors.__index = Floors

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local Leveling: {[number]: number} = {
[1] = 13.205,
[10] = 239.216

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
return function(ElevatorBox: BasePart, StartPosition: Vector3)
local BoxAttachment = Instance.new("Attachment")
BoxAttachment.Parent = ElevatorBox

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local Doors = {
Closed = true,
Sensors = true,

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local Elevator = script.Parent
local Elevators = (Elevator :: Instance).Parent

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
--All debugging objects such as light source indicating objects will be turned invisible
local Players = game:GetService("Players")

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local function Sky(): Sky
local SkyBox = Instance.new("Sky")
SkyBox.MoonAngularSize = 8

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local Lighting = game:GetService("Lighting")
local Terrain = workspace:WaitForChild("Terrain")

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local StarterPlayer = game:GetService("StarterPlayer")
return function()

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
return function()
workspace.Gravity = 50
end

View File

@@ -1,3 +1,7 @@
--!optimize 2
--!native
--!strict
local HideEditorEntities = require(script:WaitForChild("EditorEntities"))
local Lighting_Stuff = require(script:WaitForChild("Lighting"))
local Workspace_Stuff = require(script:WaitForChild("Workspace"))