192 Views
361 Executions
Sword Island Simulator

YoussefEslam9991First script
3 months ago
Please login to perform these actions:Does it work?
No reports yetNo reports yet. Tried it? Be the first to say.
Also noticed:
Description
Just a script xd
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local isFarming = false
local farmCoroutine = nil
local function farmAction()
for _, tool in ipairs(player.Backpack:GetChildren()) do
if tool:IsA("Tool") and tool.Name:match("^Sword") then
local handle = tool:FindFirstChild("Handle")
local scriptFolder = handle and handle:FindFirstChild("Script")
local remote = scriptFolder and scriptFolder:FindFirstChild("RemoteEvent")
if remote and remote:IsA("RemoteEvent") then
remote:FireServer()
end
task.wait(0.03)
end
end
end
local function startFarming()
isFarming = true
farmCoroutine = coroutine.create(function()
while isFarming do
farmAction()
task.wait(0)
end
end)
coroutine.resume(farmCoroutine)
toggleButton.Text = "Stop"
toggleButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
end
local function stopFarming()
isFarming = false
if farmCoroutine then
farmCoroutine = nil
end
toggleButton.Text = "Start"
toggleButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
Comments
0Log in to join the conversation. Login
No comments yet. Be the first!

![[SEASON 5] Operations: Siege](/images/script/13997018456-1793840732968.png)
![[🎃] Bloodlines](/images/script/5571328985-1793839522054.png)

![Deadly Golf [UPD]](/images/script/124796810499938-1789630399066.webp)
![[🎃PART 2] BedWars](/images/script/6872265039-1773851808762.png)