local RunService = game:GetService('RunService')
local UserInputService = game:GetService('UserInputService')
local LocalPlayer = [Link]
local LocalCharacter = [Link] or [Link]:Wait()
local LocalHumanoid = LocalCharacter:WaitForChild('Humanoid')
local LocalRoot = LocalCharacter:WaitForChild('HumanoidRootPart')
local UndergroundEnabled = false
local AnimationTrack = [Link]('Animation')
[Link] = 'rbxassetid://15609995579'
[Link]:Connect(function(Input, GameProcessed)
if not GameProcessed and [Link] == [Link].U then
UndergroundEnabled = not UndergroundEnabled
end
end)
[Link]:Connect(function()
if LocalHumanoid and UndergroundEnabled then
if not (LocalCharacter and LocalHumanoid and
LocalCharacter:FindFirstChild('HumanoidRootPart')) then
pcall(function()
if Animation then
Animation:Stop()
end
end)
Animation = nil
return
end
if not Animation then
Animation = LocalHumanoid:LoadAnimation(AnimationTrack)
end
local OldCFrame = [Link]
local Offset = [Link]
Animation:Play(0, 1, 0)
[Link] = 2.37
local NewCFrame = OldCFrame * [Link](0, -1.1, 0) *
[Link]([Link](90), 0, 0)
[Link] = 0.1
[Link] = NewCFrame
[Link] =
NewCFrame:ToObjectSpace([Link]([Link])).Position
[Link]:Wait()
Animation:Stop()
[Link] = Offset
[Link] = 1
[Link] = OldCFrame
end
end)
local Nammecall
Namecall = hookmetamethod(game, '__namecall', function(self, ...)
local Method = getnamecallmethod()
local Args = {...}
if not checkcaller() and Method == 'FireServer' and UndergroundEnabled then
if [Link] == 'UpdateTilt' then
Args[1] = 1
end
end
return Namecall(self, unpack(Args))
end)