Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- > Credits <
- Stellar = Making the main script.
- Hamiii = Unpatching it and re scripting it.
- ]]
- --// EDITABLE
- local SpammingTimes = _G.SpammingTimes
- --// DO NOT EDIT
- local Remotes = game.ReplicatedStorage.remotes
- local Player = game.Players.LocalPlayer
- local make_writeable = setreadonly or make_writeable
- if not make_writeable then
- game.Players.LocalPlayer:Kick('Your exploit is not compatible with this script!')
- end
- local mt = debug.getmetatable(game) or getrawmetatable(game)
- local old = mt.__namecall
- make_writeable(mt,false)
- mt.__namecall = function(self,...)
- local a = {...}
- local m = table.remove(a)
- if self.Name == 'equipItem' and game.IsA(self,'RemoteFunction') and m == "InvokeServer" then
- _G.Key = a[2]
- _G.st = a[3]
- _G.Ready = true
- end
- return old(self,...)
- end
- if type(_G.Key) ~= 'number' then
- game.StarterGui:SetCore("SendNotification", {
- Title = "Dungeon Quest";
- Text = "Please re-equip the spell you want to use!";
- Duration = 5;
- })
- end
- local function spellCheck()
- for k,v in next,game.Players.LocalPlayer.Backpack:GetChildren() do
- if v.ClassName == 'Tool' and v.abilitySlot.Value == tostring(_G.st) then
- return v
- else
- end
- end
- end
- local function checkgui()
- if game.CoreGui:FindFirstChild('DevConsoleMaster') and game.CoreGui:FindFirstChild('DevConsoleMaster').DevConsoleWindow.DevConsoleUI:FindFirstChild('MainView') then
- for k,v in next,game.CoreGui.DevConsoleMaster.DevConsoleWindow.DevConsoleUI:FindFirstChild('MainView').ClientLog:GetChildren() do
- if v.ClassName ~= 'UIListLayout' then
- for dick,suck in next,v:GetChildren() do
- if suck.ClassName == 'TextLabel' and suck.Text:match('inventory') then
- suck:Destroy()
- end
- end
- end
- end
- end
- end
- local function Run()
- Loop = game:GetService("RunService").RenderStepped:Connect(function()
- if spellCheck() and spellCheck().Name and Player.Backpack:FindFirstChild(spellCheck().Name) then
- Player.Backpack[spellCheck().Name].Parent = Player.Backpack["Arcane Barrage"]
- Remotes.unequipItem:InvokeServer("ability", _G.Key)
- Remotes.equipItem:InvokeServer("ability", _G.Key, tostring(_G.st))
- checkgui()
- end
- end)
- wait(SpammingTimes)
- game.StarterGui:SetCore("SendNotification", {
- Title = "Dungeon Quest";
- Text = "Loaded spammer!\nPress F :)";
- Duration = 5;
- })
- Loop:Disconnect()
- checkgui()
- end
- game:GetService("UserInputService").InputBegan:Connect(function(inputObject)
- if inputObject.KeyCode == Enum.KeyCode.F then
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
- if v:IsA("RemoteEvent") then
- if v.Parent:FindFirstChild('abilitySlot') then
- if v.Parent.abilitySlot.Value == tostring(_G.st) then
- v:FireServer()
- wait()
- end
- end
- end
- end
- end
- end)
- while true do
- if _G.Ready == true and game.Players.LocalPlayer.Backpack:FindFirstChildOfClass('Tool') and game.Players.LocalPlayer.Backpack:FindFirstChildOfClass('Tool').abilitySlot ~= tostring(_G.st) then
- Run()
- break
- end
- wait()
- end
Advertisement
Add Comment
Please, Sign In to add comment