Forum > Suggestions >
How can I add additional features to the wearedevs api?
Posted
So I've recently been using the WeAreDevs API and noticed there really aren't many tools that help me write my own lua scripts to inject. I've essentially been limited to using the injector to figure out the structure of a game, basically just printing descendants in console. I have been changing the positions of guis so that my autoclicker clicks them, and do this based on certain physical changes in the game. I've been basically writing blind.
It would be great if I could add this to the API:
- see arguments of info you fire to server
- see arguments of remotes received by you
basically a remote spy, but wearedevs isn't compatible with the Lua remote spy, so I've been wondering how I could sort of log them from the exploit itself, among other things.
here's the script. It'd be much more convenient if I could view factors besides the external workspace. My idea is to see if they're shiny, their abilities, and nature as well.
```Lua
local Search={
["Duskit"]=true;
["Ikazune"]=true;
["Shawchi"]=true;
}
local plr=game.Players.LocalPlayer
local plrgui=game.Players.LocalPlayer.PlayerGui
local mouse=game.Players.LocalPlayer:GetMouse()
local cam=workspace.Camera
local battling=false
local plr=game.Players.LocalPlayer
local c=plr.Character
local h=c.Humanoid
local hrp=c.HumanoidRootPart
local enabled=true
local uis=game:GetService("UserInputService")
local dist=10
local start=hrp.CFrame
local MainGui=plrgui:WaitForChild("MainGui")
local Runbutton
local ImUsing="Geklow" -- enter first pokemon you send out so it doesn't get confused
function getpokemonname()
for i,v in pairs(workspace:GetDescendants()) do
if v.Name=="Base" and (v.Position-workspace.CurrentCamera.CFrame.p).magnitude<50 then
if v.Parent.Name~=ImUsing then
local name=v.Parent.Name
print(name)
return name
end
end
end
end
uis.InputBegan:Connect(function(input,gp)
if not gp then return end
if input.KeyCode==Enum.KeyCode.T then
enabled=false
end
end)
function run()
print(battling,enabled)
while battling and enabled do
print'running'
RunButton.Position=UDim2.new(0,0,0,-200)
wait()
end
end
function findrunbutton(battlegui)
local rb
for i,v in pairs(battlegui:GetChildren()) do
if not v:FindFirstChild("4",true) then
print(v)
return v
end
end
end
function battlestarted() -- cameratype just became scriptable
battling=true
local battlegui=MainGui:WaitForChild("Frame"):WaitForChild("BattleGui")
RunButton=findrunbutton(battlegui)
print'entered battle'
wait()
local name=getpokemonname()
if not name or not Search[name] then
print'flee'
run()
end
end
MainGui.ChildAdded:Connect(function(c)
if c.Name=="Frame" and enabled then
c.AncestryChanged:Connect(function()
if not c.Parent then
battling=false
end
end)
battlestarted()
end
end)
while enabled do
if not battling then
h:MoveTo((start*CFrame.new(0,0,-dist)).p)
dist=-dist
end
wait(1)
end```
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post