0% found this document useful (0 votes)
3 views

message (1)

The document is a Lua script for a game, specifically for managing player interactions and game mechanics using the Knit framework. It includes functions for handling player character events, managing animations, and responding to game state changes. The script also utilizes services like ReplicatedStorage and RunService to facilitate gameplay features such as tackling and ball handling.

Uploaded by

xqwcvz
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

message (1)

The document is a Lua script for a game, specifically for managing player interactions and game mechanics using the Knit framework. It includes functions for handling player character events, managing animations, and responding to game state changes. The script also utilizes services like ReplicatedStorage and RunService to facilitate gameplay features such as tackling and ball handling.

Uploaded by

xqwcvz
Copyright
© © All Rights Reserved
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 14

-- Decompiler will be improved soon!

-- Decompiled with Konstant V2.1, a fast Luau decompiler made in Luau by plusgiant5
(https://discord.gg/wyButjTMhM)
-- Decompiled on 2025-01-26 15:04:05
-- Luau version 6, Types version 3
-- Time taken: 0.016446 seconds

local ReplicatedStorage_upvr = game:GetService("ReplicatedStorage")


local RunService_upvr = game:GetService("RunService")
local Knit_upvr = require(ReplicatedStorage_upvr.Packages.Knit)
local SharedUtil_upvr = require(ReplicatedStorage_upvr.Modules.SharedUtil)
local Player_upvr = Knit_upvr.Player
local any_CreateController_result1_upvr = Knit_upvr.CreateController({
Name = "PlayerController";
Args = {};
Connections = {};
})
local tbl_upvw = {}
local tbl_upvr = {}
local StarterGui_upvr = game:GetService("StarterGui")
local function _(arg1, ...) -- Line 29, Named "coreCall"
--[[ Upvalues[2]:
[1]: StarterGui_upvr (readonly)
[2]: RunService_upvr (readonly)
]]
local var13
for _ = 1, 15 do
var13 = {pcall(StarterGui_upvr[arg1], StarterGui_upvr, ...)}
if var13[1] then break end
RunService_upvr.Stepped:Wait()
end
return unpack(var13)
end
local CurrentCamera_upvr = workspace.CurrentCamera
local var16_upvw
local var17_upvw
local var18_upvw
local var19_upvw
local var20_upvw
local var21_upvw
local CollectionService_upvr = game:GetService("CollectionService")
local mouse_upvr = Player_upvr:GetMouse()
local tick_result1_upvw = tick()
function any_CreateController_result1_upvr.CharacterAdded(arg1, arg2) -- Line 54
--[[ Upvalues[15]:
[1]: tbl_upvw (read and write)
[2]: CollectionService_upvr (readonly)
[3]: var18_upvw (read and write)
[4]: var19_upvw (read and write)
[5]: any_CreateController_result1_upvr (readonly)
[6]: SharedUtil_upvr (readonly)
[7]: var20_upvw (read and write)
[8]: var16_upvw (read and write)
[9]: mouse_upvr (readonly)
[10]: var17_upvw (read and write)
[11]: tick_result1_upvw (read and write)
[12]: Player_upvr (readonly)
[13]: RunService_upvr (readonly)
[14]: ReplicatedStorage_upvr (readonly)
[15]: CurrentCamera_upvr (readonly)
]]
arg1.Args.Setup = false
arg1.Args.HasBall = false
local pairs_result1_3, pairs_result2_3, _ = pairs(arg1.Connections)
local var44
for _, v in pairs_result1_3, pairs_result2_3, var44 do
v:Disconnect()
end
local pairs_result1_2, pairs_result2, pairs_result3_2 = pairs(tbl_upvw)
for _, v_2 in pairs_result1_2, pairs_result2, pairs_result3_2 do
v_2:Destroy()
end
arg1.Connections = {}
tbl_upvw = {}
arg1.Args.Character = arg2
arg1.Args.Humanoid = arg2:WaitForChild("Humanoid")
arg1.Args.HumanoidRootPart = arg2:WaitForChild("HumanoidRootPart")
arg1.Args.GameFolder = arg2:WaitForChild("GAMEOBJECTS")
pairs_result3_2 = "Part"
arg1.Args.TackleBox = Instance.new(pairs_result3_2)
arg1.Args.TackleBox.Transparency = 1
arg1.Args.TackleBox.CanCollide = false
arg1.Args.TackleBox.Anchored = false
arg1.Args.TackleBox.Massless = true
arg1.Args.TackleBox.Size = Vector3.new(4.25, 5, 2)
pairs_result3_2 = arg1.Args.HumanoidRootPart
arg1.Args.TackleBox.CFrame = pairs_result3_2.CFrame
pairs_result3_2 = arg1.Args
arg1.Args.TackleBox.Parent = pairs_result3_2.GameFolder
pairs_result3_2 = "WeldConstraint"
arg1.Args.TackleWeld = Instance.new(pairs_result3_2)
pairs_result3_2 = arg1.Args
arg1.Args.TackleWeld.Part0 = pairs_result3_2.HumanoidRootPart
pairs_result3_2 = arg1.Args
arg1.Args.TackleWeld.Part1 = pairs_result3_2.TackleBox
pairs_result3_2 = arg1.Args
arg1.Args.TackleWeld.Parent = pairs_result3_2.TackleBox
arg1.Args.Running = false
arg1.Args.EmoteSpeed = 8
pairs_result3_2 = arg1.Args.Humanoid
arg1.Connections.Death = pairs_result3_2.Died:Connect(function() -- Line 93
--[[ Upvalues[4]:
[1]: CollectionService_upvr (copied, readonly)
[2]: var18_upvw (copied, read and write)
[3]: var19_upvw (copied, read and write)
[4]: any_CreateController_result1_upvr (copied, readonly)
]]
for _, v_3 in pairs(CollectionService_upvr:GetTagged("Kickbox")) do
v_3:Destroy()
end
if var18_upvw.FullyLoaded == true then
var18_upvw.UIs.Kick:Visible(false)
end
var19_upvw:ToggleBeam(false)
any_CreateController_result1_upvr:CancelEmote()
end)
pairs_result3_2 = arg1.Args.Character
arg1.Connections.Child = pairs_result3_2.ChildAdded:Connect(function(arg1_2)
-- Line 104
--[[ Upvalues[2]:
[1]: SharedUtil_upvr (copied, readonly)
[2]: any_CreateController_result1_upvr (copied, readonly)
]]
-- KONSTANTERROR: [0] 1. Error Block 1 start (CF ANALYSIS FAILED)
-- KONSTANTERROR: [0] 1. Error Block 1 end (CF ANALYSIS FAILED)
-- KONSTANTERROR: [14] 11. Error Block 3 start (CF ANALYSIS FAILED)
any_CreateController_result1_upvr.Args[arg1_2.Name] = arg1_2
do
return
end
-- KONSTANTERROR: [14] 11. Error Block 3 end (CF ANALYSIS FAILED)
-- KONSTANTERROR: [21] 16. Error Block 11 start (CF ANALYSIS FAILED)
if arg1_2:IsA("BodyGyro") then
any_CreateController_result1_upvr:Fix(3)
return
end
if arg1_2:IsA("HopperBin") then
any_CreateController_result1_upvr:Fix()
end
-- KONSTANTERROR: [21] 16. Error Block 11 end (CF ANALYSIS FAILED)
end)
pairs_result3_2 = arg1.Args.GameFolder
arg1.Connections.Football1 =
pairs_result3_2.ChildAdded:Connect(function(arg1_3) -- Line 116
--[[ Upvalues[8]:
[1]: CollectionService_upvr (copied, readonly)
[2]: arg1 (readonly)
[3]: var20_upvw (copied, read and write)
[4]: any_CreateController_result1_upvr (copied, readonly)
[5]: var16_upvw (copied, read and write)
[6]: var19_upvw (copied, read and write)
[7]: var18_upvw (copied, read and write)
[8]: mouse_upvr (copied, readonly)
]]
-- KONSTANTERROR: [0] 1. Error Block 1 start (CF ANALYSIS FAILED)
-- KONSTANTERROR: [0] 1. Error Block 1 end (CF ANALYSIS FAILED)
-- KONSTANTERROR: [5] 5. Error Block 2 start (CF ANALYSIS FAILED)
local any_HasTag_result1 = CollectionService_upvr:HasTag(arg1_3,
"Football")
-- KONSTANTERROR: [5] 5. Error Block 2 end (CF ANALYSIS FAILED)
-- KONSTANTERROR: [45] 34. Error Block 36 start (CF ANALYSIS FAILED)
if var16_upvw.GameValues.Practice and any_HasTag_result1 or not
var16_upvw.GameValues.Practice and true then
any_CreateController_result1_upvr:PlayAnimation("Ball_QBHold")
var19_upvw:ToggleBeam(true)
var18_upvw.UIs.Power:Visible(true)
else
any_CreateController_result1_upvr:PlayAnimation("Ball_Hold")
end
if var18_upvw.FullyLoaded == true then
var18_upvw.UIs.Controls:UpdateControls()
end
mouse_upvr.TargetFilter = workspace
mouse_upvr.Icon = "rbxasset://textures//GunCursor.png"
-- KONSTANTERROR: [45] 34. Error Block 36 end (CF ANALYSIS FAILED)
-- KONSTANTERROR: [107] 78. Error Block 23 start (CF ANALYSIS FAILED)
-- KONSTANTERROR: [107] 78. Error Block 23 end (CF ANALYSIS FAILED)
end)
pairs_result3_2 = arg1.Args.GameFolder
arg1.Connections.Football2 =
pairs_result3_2.ChildRemoved:Connect(function(arg1_4) -- Line 143
--[[ Upvalues[7]:
[1]: CollectionService_upvr (copied, readonly)
[2]: arg1 (readonly)
[3]: any_CreateController_result1_upvr (copied, readonly)
[4]: var19_upvw (copied, read and write)
[5]: var18_upvw (copied, read and write)
[6]: var17_upvw (copied, read and write)
[7]: mouse_upvr (copied, readonly)
]]
if arg1_4:IsA("BasePart") and CollectionService_upvr:HasTag(arg1_4,
"Football") then
arg1.Args.HasBall = false
any_CreateController_result1_upvr:StopAnimation("Ball_Hold")
any_CreateController_result1_upvr:StopAnimation("Ball_QBHold")
any_CreateController_result1_upvr:StopAnimation("Ball_Handoff")
var19_upvw:ToggleBeam(false)
var18_upvw.UIs.Power:Visible(false)
var18_upvw.UIs.Controls:UpdateControls()
var17_upvw.Actions.Handoff:Act(false)
mouse_upvr.TargetFilter = nil
mouse_upvr.Icon = ""
end
end)
pairs_result3_2 = var16_upvw
arg1.Connections.GameValueChanged =
pairs_result3_2.ValueChanged:Connect(function(arg1_5, arg2_2) -- Line 160
--[[ Upvalues[4]:
[1]: arg1 (readonly)
[2]: any_CreateController_result1_upvr (copied, readonly)
[3]: var18_upvw (copied, read and write)
[4]: var17_upvw (copied, read and write)
]]
if arg1.Args.HasBall and arg1_5 == "Throwable" and arg2_2 == false then
any_CreateController_result1_upvr:PlayAnimation("Ball_Hold")
any_CreateController_result1_upvr:StopAnimation("Ball_QBHold")
any_CreateController_result1_upvr:StopAnimation("Ball_Handoff")
var18_upvw.UIs.Power:Visible(false)
var18_upvw.UIs.Controls:UpdateControls()
var17_upvw.Actions.Handoff:Act(false)
end
end)
pairs_result3_2 = arg1.Args
arg1.Connections.JumpCooldown =
pairs_result3_2.Humanoid:GetPropertyChangedSignal("Jump"):Connect(function() --
Line 173
--[[ Upvalues[3]:
[1]: arg1 (readonly)
[2]: tick_result1_upvw (copied, read and write)
[3]: any_CreateController_result1_upvr (copied, readonly)
]]
if not arg1.Args.Humanoid.Jump then
else
if tick() < tick_result1_upvw + 2.5 then
arg1.Args.Humanoid.Jump = false
else
tick_result1_upvw = tick()
end
any_CreateController_result1_upvr:CancelEmote()
end
end)
pairs_result3_2 = arg1.Args
arg1.Connections.Platform =
pairs_result3_2.Humanoid:GetPropertyChangedSignal("PlatformStand"):Connect(function
() -- Line 183
--[[ Upvalues[2]:
[1]: arg1 (readonly)
[2]: any_CreateController_result1_upvr (copied, readonly)
]]
if arg1.Args.Humanoid.PlatformStand == false then
any_CreateController_result1_upvr:StopAnimation("Action_Dive")
elseif arg1.Args.Humanoid.PlatformStand == true then
any_CreateController_result1_upvr:StopAnimation("Action_Slide")
any_CreateController_result1_upvr:StopAnimation("Action_Truck")
end
arg1.Args.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Jumping, not
arg1.Args.Humanoid.PlatformStand)
end)
pairs_result3_2 = arg1.Args.Humanoid
arg1.Connections.RunningDetection =
pairs_result3_2.Running:Connect(function(arg1_6) -- Line 193
--[[ Upvalues[1]:
[1]: arg1 (readonly)
]]
if 0 < arg1_6 then
arg1.Args.Running = true
else
arg1.Args.Running = false
end
end)
pairs_result3_2 = arg1.Args.TackleBox
arg1.Connections.TackleDetect =
pairs_result3_2.Touched:Connect(function(arg1_7) -- Line 201
--[[ Upvalues[3]:
[1]: Player_upvr (copied, readonly)
[2]: SharedUtil_upvr (copied, readonly)
[3]: var17_upvw (copied, read and write)
]]
if Player_upvr:GetAttribute("Field") == nil then
else
if not arg1_7.Parent then return end
if arg1_7.Parent:FindFirstChild("Humanoid") and
SharedUtil_upvr.GSettings.TackleParts[arg1_7.Name] then
var17_upvw:HandleTackle(arg1_7)
end
end
end)
pairs_result3_2 = RunService_upvr
arg1.Connections.HeartbeatLoop =
pairs_result3_2.Heartbeat:Connect(function(arg1_8) -- Line 213
--[[ Upvalues[7]:
[1]: any_CreateController_result1_upvr (copied, readonly)
[2]: var16_upvw (copied, read and write)
[3]: SharedUtil_upvr (copied, readonly)
[4]: Player_upvr (copied, readonly)
[5]: var18_upvw (copied, read and write)
[6]: var17_upvw (copied, read and write)
[7]: arg1 (readonly)
]]
if 0 < any_CreateController_result1_upvr.Args.Humanoid.Health and not
any_CreateController_result1_upvr.Args.HasBall and not
any_CreateController_result1_upvr.Args.Character:GetAttribute("Catching") then
if var16_upvw.GameValues then
if var16_upvw.GameValues.Practice then
local Position =
any_CreateController_result1_upvr.Args.HumanoidRootPart.Position
local any_GetClosestBall_result1 =
SharedUtil_upvr.FB:GetClosestBall(Position, 200)
if any_GetClosestBall_result1 and (Position -
any_GetClosestBall_result1.Position).Magnitude < 18 then
-- KONSTANTWARNING: GOTO [135] #91
end
else
local Ball = var16_upvw.GameValues.Ball
if Ball and Ball.Parent == workspace then
local var67 = Ball.Position -
any_CreateController_result1_upvr.Args.HumanoidRootPart.Position
if var16_upvw.GameValues.PlayStarted then
var67 = 18
else
var67 = 5
end
if var67.Magnitude < var67 then
end
if var16_upvw.GameValues.Kicker == Player_upvr
then
end
if var16_upvw.GameValues.QB == Player_upvr and
tick() - var16_upvw.LastThrow < 1 then
end
if var16_upvw.GameValues.PlayType ==
"FieldGoal" then
end
end
end
end
local var68
if var18_upvw.FullyLoaded and not
var18_upvw.UIs.Settings.Options.Autocatch then
var68 = false
end
if var68 then
var17_upvw.Actions.Catch:Act()
end
end
if arg1.Args.Humanoid then
if 20 < tonumber(arg1.Args.Humanoid.WalkSpeed) then
any_CreateController_result1_upvr:Fix(1)
end
if 50 < tonumber(arg1.Args.Humanoid.JumpPower) then
any_CreateController_result1_upvr:Fix(2)
end
if 4 < tonumber(arg1.Args.Humanoid.HipHeight) then
any_CreateController_result1_upvr:Fix(4)
end
end
end)
arg1.Connections.QueuePause =
Player_upvr:GetAttributeChangedSignal("Queue"):Connect(function() -- Line 271
--[[ Upvalues[2]:
[1]: Player_upvr (copied, readonly)
[2]: any_CreateController_result1_upvr (copied, readonly)
]]
if Player_upvr:GetAttribute("Queue") == nil then
local var70
if Player_upvr:GetAttribute("Field") then
var70 = any_CreateController_result1_upvr.Args
var70 = 20
var70.Humanoid.WalkSpeed = var70
else
var70 = any_CreateController_result1_upvr.Args
local function INLINED() -- Internal function, doesn't
exist in bytecode
var70 =
any_CreateController_result1_upvr.Args.EmoteSpeed
return var70
end
if not Player_upvr:GetAttribute("Emoting") or not INLINED()
then
var70 = 20
end
var70.Humanoid.WalkSpeed = var70
end
any_CreateController_result1_upvr.Args.Humanoid.JumpPower = 50
else
any_CreateController_result1_upvr.Args.Humanoid.WalkSpeed = 0
any_CreateController_result1_upvr.Args.Humanoid.JumpPower = 0
end
end)
arg1.Connections.AntiTackleJump =
Player_upvr:GetAttributeChangedSignal("Tackled"):Connect(function() -- Line 285
--[[ Upvalues[2]:
[1]: Player_upvr (copied, readonly)
[2]: any_CreateController_result1_upvr (copied, readonly)
]]
if Player_upvr:GetAttribute("Tackled") == true then
any_CreateController_result1_upvr.Args.Humanoid.JumpPower = 0
else
any_CreateController_result1_upvr.Args.Humanoid.JumpPower = 50
end
end)
pairs_result3_2 = ReplicatedStorage_upvr
if SharedUtil_upvr.GSettings.Place == "Testing" then
pairs_result3_2 = "AnimationsTesting"
else
pairs_result3_2 = "Animations"
end
local var72_upvr = pairs_result3_2.Assets[pairs_result3_2]
pairs_result3_2 = var72_upvr:GetChildren()
local pairs_result1, pairs_result2_6, pairs_result3_4 =
pairs(pairs_result3_2)
for _, v_4_upvr in pairs_result1, pairs_result2_6, pairs_result3_4 do
tbl_upvw[v_4_upvr.Name] = arg1.Args.Humanoid:LoadAnimation(v_4_upvr)
if string.sub(v_4_upvr.Name, 1, 6) == "Dance_" then
arg1.Connections[v_4_upvr.Name.."Stop"] =
tbl_upvw[v_4_upvr.Name].Stopped:Connect(function() -- Line 309
--[[ Upvalues[7]:
[1]: var72_upvr (readonly)
[2]: v_4_upvr (readonly)
[3]: any_CreateController_result1_upvr (copied,
readonly)
[4]: CurrentCamera_upvr (copied, readonly)
[5]: Player_upvr (copied, readonly)
[6]: var20_upvw (copied, read and write)
[7]: var17_upvw (copied, read and write)
]]
if
var72_upvr:FindFirstChild("DanceExtra_"..string.sub(v_4_upvr.Name, 7)) then

any_CreateController_result1_upvr:StopAnimation("DanceExtra_"..string.sub(v_4_upvr.
Name, 7))
end
if CurrentCamera_upvr.CameraSubject ==
any_CreateController_result1_upvr.Args.Head then
any_CreateController_result1_upvr:FixPlayerCamera()
end
if
any_CreateController_result1_upvr.Args.Humanoid.WalkSpeed ==
any_CreateController_result1_upvr.Args.EmoteSpeed then
local Args = any_CreateController_result1_upvr.Args
if Player_upvr:GetAttribute("Queue") then
Args = 0
else
Args = 20
end
Args.Humanoid.WalkSpeed = Args
end
var20_upvw.StopEmote:Fire()
var17_upvw.Args.StopEmoteTick = tick()
end)
end
end
pairs_result2_6 =
any_CreateController_result1_upvr.Args.Character:GetChildren()
local pairs_result1_6, pairs_result2_2, pairs_result3_3 =
pairs(pairs_result2_6)
for _, v_5 in pairs_result1_6, pairs_result2_2, pairs_result3_3 do
if v_5:IsA("BasePart") and
SharedUtil_upvr.GSettings.TackleParts[v_5.Name] then
any_CreateController_result1_upvr.Args[v_5.Name] = v_5
end
end
pairs_result2_2 = arg1.Args
pairs_result2_2.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Ragdoll,
false)
pairs_result2_2 = arg1.Args
pairs_result2_2.Humanoid:SetStateEnabled(Enum.HumanoidStateType.FallingDown,
false)
pairs_result2_2 = arg1.Args
pairs_result2_2.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Swimming,
false)
pairs_result2_2 = arg1.Args
pairs_result2_2.Humanoid:SetStateEnabled(Enum.HumanoidStateType.Climbing,
false)
pairs_result2_2 = var18_upvw
if pairs_result2_2.FullyLoaded then
pairs_result2_2 = var18_upvw.UIs
pairs_result2_2.Fields:FieldMode(false)
end
pairs_result2_2 = true
arg1.Args.Setup = pairs_result2_2
end
function any_CreateController_result1_upvr.KnitInit(arg1) -- Line 350
--[[ Upvalues[7]:
[1]: var16_upvw (read and write)
[2]: Knit_upvr (readonly)
[3]: var17_upvw (read and write)
[4]: var18_upvw (read and write)
[5]: var19_upvw (read and write)
[6]: var20_upvw (read and write)
[7]: var21_upvw (read and write)
]]
var16_upvw = Knit_upvr.GetController("GameController")
var17_upvw = Knit_upvr.GetController("InputController")
var18_upvw = Knit_upvr.GetController("UIController")
var19_upvw = Knit_upvr.GetController("VisualController")
var20_upvw = Knit_upvr.GetService("ControlService")
var21_upvw = Knit_upvr.GetService("PlayerService")
end
function any_CreateController_result1_upvr.KnitStart(arg1) -- Line 359
--[[ Upvalues[3]:
[1]: Player_upvr (readonly)
[2]: var18_upvw (read and write)
[3]: any_CreateController_result1_upvr (readonly)
]]
if Player_upvr.Character then
arg1:CharacterAdded(Player_upvr.Character)
end
Player_upvr.CharacterAdded:Connect(function(arg1_9) -- Line 363
--[[ Upvalues[1]:
[1]: arg1 (readonly)
]]
arg1:CharacterAdded(arg1_9)
end)
Player_upvr.Idled:Connect(function(arg1_10) -- Line 366
--[[ Upvalues[1]:
[1]: var18_upvw (copied, read and write)
]]
if 1020 < arg1_10 and var18_upvw.FullyLoaded then
var18_upvw.UIs.Park:Teleport(true)
end
end)
workspace:GetPropertyChangedSignal("Gravity"):Connect(function() -- Line 371
--[[ Upvalues[1]:
[1]: any_CreateController_result1_upvr (copied, readonly)
]]
any_CreateController_result1_upvr:Fix()
end)
end
function any_CreateController_result1_upvr.PlayAnimation(arg1, arg2, arg3, arg4,
arg5) -- Line 376
--[[ Upvalues[5]:
[1]: tbl_upvw (read and write)
[2]: ReplicatedStorage_upvr (readonly)
[3]: SharedUtil_upvr (readonly)
[4]: any_CreateController_result1_upvr (readonly)
[5]: CurrentCamera_upvr (readonly)
]]
if not tbl_upvw[arg2] then
local var87 = ReplicatedStorage_upvr
if SharedUtil_upvr.GSettings.Place == "Testing" then
var87 = "AnimationsTesting"
else
var87 = "Animations"
end
local SOME_2 = var87.Assets[var87]:FindFirstChild(arg2)
if SOME_2 then
tbl_upvw[arg2] = arg1.Args.Humanoid:LoadAnimation(SOME_2)
end
end
if tbl_upvw[arg2] then
if not arg5 and tbl_upvw[arg2].IsPlaying then return end
tbl_upvw[arg2]:Play(arg4 or 0.1, 1, arg3 or 1)
if string.sub(arg2, 1, 6) == "Dance_" then
local Head_2 = any_CreateController_result1_upvr.Args.Head
if Head_2 then
CurrentCamera_upvr.CameraSubject = Head_2
end
end
end
end
function any_CreateController_result1_upvr.StopAnimation(arg1, arg2, arg3) -- Line
401
--[[ Upvalues[1]:
[1]: tbl_upvw (read and write)
]]
if tbl_upvw[arg2] and tbl_upvw[arg2].IsPlaying then
tbl_upvw[arg2]:Stop(arg3 or 0.1)
end
end
function any_CreateController_result1_upvr.AdjustSpeed(arg1, arg2, arg3) -- Line
407
--[[ Upvalues[1]:
[1]: tbl_upvw (read and write)
]]
if tbl_upvw[arg2] and tbl_upvw[arg2].IsPlaying then
tbl_upvw[arg2]:AdjustSpeed(arg3 or 1)
end
end
function any_CreateController_result1_upvr.IsAnimationPlaying(arg1, arg2) -- Line
413
--[[ Upvalues[1]:
[1]: tbl_upvw (read and write)
]]
local var90
local function INLINED_2() -- Internal function, doesn't exist in bytecode
var90 = tbl_upvw[arg2].IsPlaying
return var90
end
if not tbl_upvw[arg2] or not INLINED_2() then
var90 = false
end
return var90
end
function any_CreateController_result1_upvr.IsAnimationLooped(arg1, arg2) -- Line
417
--[[ Upvalues[1]:
[1]: tbl_upvw (read and write)
]]
local var91
local function INLINED_3() -- Internal function, doesn't exist in bytecode
var91 = tbl_upvw[arg2].Looped
return var91
end
if not tbl_upvw[arg2] or not INLINED_3() then
var91 = false
end
return var91
end
function any_CreateController_result1_upvr.CreateM6D(arg1, arg2) -- Line 421
if not arg1.Args.RightHand then
else
if not arg1.Args.RightHand:FindFirstChild("Ball") then return end
arg1.Args.RightHand.Ball.Part0 = arg1.Args.RightHand
arg1.Args.RightHand.Ball.Part1 = arg2
end
end
function any_CreateController_result1_upvr.IsFirstPerson(arg1) -- Line 428
local var92
if not var92 then return end
var92 = arg1.Args.Head.LocalTransparencyModifier
if not var92 then return end
if arg1.Args.Head.LocalTransparencyModifier ~= 1 then
var92 = false
else
var92 = true
end
return var92
end
function any_CreateController_result1_upvr.FixPlayerCamera(arg1, arg2) -- Line 434
--[[ Upvalues[2]:
[1]: CurrentCamera_upvr (readonly)
[2]: Player_upvr (readonly)
]]
CurrentCamera_upvr.CameraType = Enum.CameraType.Custom
local var93
if arg2 then
local function INLINED_4() -- Internal function, doesn't exist in
bytecode
var93 = arg1.Args.Head
return var93
end
if not Player_upvr:GetAttribute("Emoting") or not INLINED_4() then
var93 = arg1.Args.Humanoid
end
CurrentCamera_upvr.CameraSubject = var93
else
var93 = arg1.Args.Humanoid
CurrentCamera_upvr.CameraSubject = var93
end
CurrentCamera_upvr.FieldOfView = 70
end
function any_CreateController_result1_upvr.CancelEmote(arg1) -- Line 444
--[[ Upvalues[4]:
[1]: any_CreateController_result1_upvr (readonly)
[2]: Player_upvr (readonly)
[3]: var20_upvw (read and write)
[4]: var17_upvw (read and write)
]]
if any_CreateController_result1_upvr.Args.LastEmote and
Player_upvr:GetAttribute("Emoting") then

any_CreateController_result1_upvr:StopAnimation(any_CreateController_result1_upvr.A
rgs.LastEmote)
var20_upvw.StopEmote:Fire(true)
var17_upvw.Args.StopEmoteTick = tick()
for _, v_6 in
pairs(any_CreateController_result1_upvr.Args.Character:GetChildren()) do
if v_6.Name == "EMOTE_PROP_MODEL" and
v_6:GetAttribute("DestroyPropCancel") then
v_6:Destroy()
end
end
end
end
local tbl_upvr_2 = {
["Enum.Material.Grass"] = {977245079, 0.6, 1.15};
["Enum.Material.LeafyGrass"] = {977245079, 0.6, 1.15};
["Enum.Material.Concrete"] = {277067660, 0.3, 1.15};
["Enum.Material.DiamondPlate"] = {177940974, 0.3, 1.15};
}
function any_CreateController_result1_upvr.AdjustWalkSound(arg1, arg2, arg3) --
Line 464
--[[ Upvalues[1]:
[1]: tbl_upvr_2 (readonly)
]]
if not arg2 or not arg3 then
else
local HumanoidRootPart = arg2:FindFirstChild("HumanoidRootPart")
if not HumanoidRootPart then return end
local Running = HumanoidRootPart:FindFirstChild("Running")
if not Running then return end
local tostring_result1 = tostring(arg3.FloorMaterial)
if not tbl_upvr_2[tostring_result1] or not
"rbxassetid://"..tbl_upvr_2[tostring_result1][1] then
end
Running.SoundId = "rbxasset://sounds/action_footsteps_plastic.mp3"
if not tbl_upvr_2[tostring_result1] or not tbl_upvr_2[tostring_result1]
[2] then
end
Running.Volume = 0.65
if not tbl_upvr_2[tostring_result1] or not tbl_upvr_2[tostring_result1]
[3] then
end
Running.PlaybackSpeed = 1.85
end
end
function any_CreateController_result1_upvr.AddWalkSound(arg1, arg2) -- Line 476
--[[ Upvalues[2]:
[1]: tbl_upvr (readonly)
[2]: any_CreateController_result1_upvr (readonly)
]]
if tbl_upvr[arg2] then
tbl_upvr[arg2]:Disconnect()
tbl_upvr[arg2] = nil
end
local Humanoid_upvr = arg2:FindFirstChild("Humanoid")
if Humanoid_upvr then
tbl_upvr[arg2] =
Humanoid_upvr:GetPropertyChangedSignal("FloorMaterial"):Connect(function() -- Line
483
--[[ Upvalues[3]:
[1]: any_CreateController_result1_upvr (copied, readonly)
[2]: arg2 (readonly)
[3]: Humanoid_upvr (readonly)
]]
any_CreateController_result1_upvr:AdjustWalkSound(arg2,
Humanoid_upvr)
end)
any_CreateController_result1_upvr:AdjustWalkSound(arg2, Humanoid_upvr)
end
end
function any_CreateController_result1_upvr.RemoveWalkSound(arg1, arg2) -- Line 490
--[[ Upvalues[1]:
[1]: tbl_upvr (readonly)
]]
if tbl_upvr[arg2] then
tbl_upvr[arg2]:Disconnect()
tbl_upvr[arg2] = nil
end
end
function any_CreateController_result1_upvr.Fix(arg1, arg2) -- Line 497
--[[ Upvalues[3]:
[1]: var21_upvw (read and write)
[2]: Player_upvr (readonly)
[3]: RunService_upvr (readonly)
]]
task.spawn(function() -- Line 498
--[[ Upvalues[2]:
[1]: var21_upvw (copied, read and write)
[2]: arg2 (readonly)
]]
var21_upvw.Claim:Fire(arg2)
end)
wait(3)
Player_upvr:Kick()
task.delay(5, function() -- Line 503
--[[ Upvalues[1]:
[1]: RunService_upvr (copied, readonly)
]]
RunService_upvr.RenderStepped:Connect(function() -- Line 504
task.spawn(function() -- Line 505
for _ = 1, math.huge do
Instance.new("Part", workspace)
end
end)
end)
end)
end
return any_CreateController_result1_upvr

You might also like