
Keyless

local RunService = game:GetService("RunService")
-- uncomment the line below if your device is not too good idek if this will work its kinda laggy still
-- game:GetService("RunService"):Set3dRenderingEnabled(false)
local respawn = game:GetService("ReplicatedStorage").Customization:WaitForChild("UpdateClothing") -- for respawning
local event -- idek what im doing anymore
-- you can ignore him hes just for finding the bat interact remote
for a, b in ipairs(workspace:WaitForChild("WIPFolder"):GetDescendants()) do
if b.Name == "Pickup" then
local c = b:FindFirstChild("InteractInfo")
if c and c:IsA("StringValue") and c.Value == "Bat" then
local d = b:FindFirstChild("InteractEventyer")
if d and d:IsA("RemoteEvent") then
event = d
end
end
end
end
task.spawn(function() -- droptools borrowed from infinite yield
while task.wait(3) do -- chagne 1.5 if you want it to drop the bats more often
for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
if v:IsA("Tool") then
v.Parent = game.Players.LocalPlayer.Character
end
end
task.wait()
for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
if v:IsA("Tool") then
v.Parent = workspace
end
end
end
end)
task.spawn(function()
while task.wait(10) do
respawn:FireServer()
end
end)
game:GetService("RunService").Heartbeat:Connect(function()
event:FireServer()
end)No comments yet for this script.