Run it
Copy the script and paste it into your executor.
local RunService = game:GetService("RunService")
local RS = game:GetService("ReplicatedStorage")
local cfg = require(game.ReplicatedStorage.Config.Planning.Config).ChristmasArmWrestlConfig
local ArmData = require(game.Players.LocalPlayer.PlayerGui.Main.Func.Armwrestling.Armwrestling.ArmData)
local ArmGame = require(game.Players.LocalPlayer.PlayerGui.Main.Func.Armwrestling.Armwrestling.ArmGameClientLogic)
local cachedMinPos, cachedMaxPos = 0, 0
local cachedCenter = 0
local cachedEps =
lastLevel = -
lastRoundState =
armGameWS = :()
()
level = ArmData.curLevel.Value
level ~= lastLevel
spawnPos = ArmData.spawnPos.Value
level <
blockSize = cfg.blockSize
v27 = ( - level) * -
centerIdx = .((v27 + ) / )
centerPos = spawnPos - (v27 - centerIdx) * blockSize
cachedMinPos = centerPos - blockSize /
cachedMaxPos = centerPos + blockSize /
cachedMinPos = spawnPos -
cachedMaxPos = spawnPos +
cachedCenter = (cachedMinPos + cachedMaxPos) /
speed = cfg.Speed[level] cfg.Speed[#cfg.Speed]
cachedEps = .( + ( - speed * ), , )
lastLevel = level
RunService.Heartbeat:(()
ArmData.roundState.Value ~= ArmData.roundInputed.Value
lastRoundState = ArmData.roundState.Value
()
t = ArmData.judgmentlineX.Value
.(t - cachedCenter) <= cachedEps
ArmGame.()
)
plays arm wrestle for you.
Lootify馃巹