mirror of
https://github.com/unixtensor/Roblox-Elevator-Game.git
synced 2025-12-15 22:11:54 +00:00
Paste --!optimize 2, --!native, and --!strict everywhere
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Actions = {
|
||||
ActionCurrent = false,
|
||||
Walk = 10,
|
||||
@@ -20,4 +24,3 @@ function Actions:Disable()
|
||||
self.HumanoidSettingsInherent:SetWalkSpeed(Actions.Walk)
|
||||
end
|
||||
|
||||
return Actions
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local CrouchModule = {
|
||||
IsCrouching = false,
|
||||
StandHeight = 2.1,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Flashlight = {}
|
||||
Flashlight.__index = Flashlight
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local HumanoidModule = {}
|
||||
HumanoidModule.__index = HumanoidModule
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local HumanoidRPSettings = {}
|
||||
HumanoidRPSettings.__index = HumanoidRPSettings
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Spine = {
|
||||
Running = false
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Character = script.Parent.Parent
|
||||
local preprocessor = {}
|
||||
|
||||
@@ -13,6 +17,7 @@ _G.include = function(this: LuaSourceContainer, FunName: string, ...)
|
||||
return type(switch) == "function" and switch(...) or switch
|
||||
else
|
||||
warn(`Preprocessor append failed "{FunName}"`, debug.traceback())
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Flashlight = {}
|
||||
Flashlight.__index = Flashlight
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
--This really should be only client
|
||||
|
||||
local Shadows = {}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Spine = {
|
||||
Enabled = true,
|
||||
Multiplier = .5
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Character = script.Parent.Parent
|
||||
local preprocessor = {}
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local CoreGuis = {
|
||||
AllowReset = false,
|
||||
AllowEmotes = true,
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local GuiModule = {}
|
||||
GuiModule.__index = GuiModule
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local Mouse = {}
|
||||
|
||||
local UIS = game:GetService("UserInputService")
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local CrosshairModule = {
|
||||
Icon = "rbxassetid://12643750723"
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local HealthModule = {}
|
||||
HealthModule.__index = HealthModule
|
||||
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local VignetteModule = {
|
||||
Enabled = false,
|
||||
Icon = "rbxassetid://4576475446"
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
--!optimize 2
|
||||
--!native
|
||||
--!strict
|
||||
|
||||
local UI = script:WaitForChild("UI")
|
||||
local CrosshairSettings = require(UI:WaitForChild("Crosshair"))
|
||||
local VignetteSettings = require(UI:WaitForChild("Vignette"))
|
||||
|
||||
Reference in New Issue
Block a user