Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Players = game:GetService("Players")
- local StarterGui = game:GetService("StarterGui")
- local LocalPlayer = Players.LocalPlayer
- local Mouse = LocalPlayer:GetMouse()
- local Character = LocalPlayer.Character
- local Humanoid = Character:FindFirstChildOfClass("Humanoid")
- local Backpack = LocalPlayer.Backpack
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Tool Spammer";
- Color = Color3.new(1,1,1);
- Font = Enum.Font.Cartoon;
- FontSize = Enum.FontSize.Size32;
- })
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Created by pingsock";
- Color = Color3.new(.7,.7,.7);
- Font = Enum.Font.Cartoon;
- FontSize = Enum.FontSize.Size28;
- })
- StarterGui:SetCore("ChatMakeSystemMessage", {
- Text = "Press Q to toggle spam equip!";
- Color = Color3.new(0,1,0);
- Font = Enum.Font.Cartoon;
- FontSize = Enum.FontSize.Size28;
- })
- coroutine.wrap(function()
- while true do
- wait(.5);
- if _G.SpamEquipFunction then
- if not Character:FindFirstChildOfClass("Tool") then
- for i,v in pairs(Backpack:GetChildren()) do
- if v:IsA("Tool") then
- v.Parent = Character
- end
- end
- else
- Humanoid:UnequipTools();
- end
- end
- end
- end)();
- Mouse.KeyDown:Connect(function(Key)
- if Key == ("q") then
- if _G.SpamEquipFunction == false then
- _G.SpamEquipFunction = true;
- else
- _G.SpamEquipFunction = false;
- end
- end
- end)
Add Comment
Please, Sign In to add comment