1
2
3local materials = workspace.Materials
4local targetFolders = {"MediumObbyPotions", "ObbyPotions", "Potions", "WitchsRubble"}
5local rollingRemotes = game:GetService("ReplicatedStorage"):WaitForChild("Source"):WaitForChild("Rolling"):WaitForChild("Remotes")
6local activateRemote = rollingRemotes:WaitForChild("Activate")
7local claimRemote = rollingRemotes:WaitForChild("ClaimReward")
8
9while true do
10 activateRemote:InvokeServer()
11 claimRemote:FireServer()
12
13 for _, folderName in pairs(targetFolders) do
14 local folder = materials:FindFirstChild(folderName)
15 if folder then
16 for _, item in pairs(folder:GetChildren()) do
17 local hitbox = item:FindFirstChild("Hitbox")
18 if hitbox and hitbox:IsA("BasePart") then
19 local character = game.Players.LocalPlayer.Character
20 local hrp = character and character:FindFirstChild("HumanoidRootPart")
21
22 if hrp then
23 firetouchinterest(hrp, hitbox, 0)
24 task.wait()
25 firetouchinterest(hrp, hitbox, 1)
26 end
27 end
28 end
29 end
30 end
31 task.wait(0.1)
32end
Comments
…