Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _G.Enemy = {
- ["Shroom"] = true,
- ["Elder Shroom"] = true,
- ["Crabby"] = true,
- ["Rubee"] = true,
- ["Scarecrow"] = true,
- ["Spider"] = true,
- ["Spiderling"] = true,
- ["Batty"] = true,
- ["Guardian"] = true,
- }
- _G.Focus = {
- ["Hitbox"] = true,
- ["Spider Queen"] = true,
- ["Giant Spider"] = true,
- ["The Yeti"] = true,
- }
- _G.Items = {
- ["Hay"] = true,
- ["Spider Fang"] = true,
- ["Spider Leg"] = true,
- ["Goblin Ears"] = true,
- ["Yeti Fur"] = true,
- ["Yeti Antler"] = true,
- ["Guardian Core"] = true,
- ["Hog Meat"] = true,
- ["Mushroom Spore"] = true,
- ["Ratty Tail"] = true,
- ["Ratty Head"] = true,
- ["Batty Wing"] = true,
- }
- ------//Locals//---------
- local Grab = {}
- local player = game.Players.LocalPlayer
- if player.PlayerGui.gameUI.version.Text == "beta-1.4" then
- -----//Function//------
- local getFocus = function()
- for i, v in next, workspace.placeFolders.entityManifestCollection:GetChildren() do
- if _G.Focus[v.Name] and v:FindFirstChild("health") then
- return v
- end
- end
- end
- local getMob = function()
- for i, v in next, workspace.placeFolders.entityRenderCollection:GetChildren() do
- if v:FindFirstChild("MonsterEnemyTag") and _G.Enemy[v.MonsterEnemyTag.SurfaceGui.monster.Text] and v:FindFirstChild("hitbox") then
- local mag = (v.hitbox.Position - player.Character.hitbox.Position).magnitude
- if mag <= 100 then
- return v
- end
- end
- end
- end
- local getItem = function()
- for i, v in next, workspace.placeFolders.items:GetChildren() do
- if v:FindFirstChild("owners") and v.owners:FindFirstChild(player.UserId) then
- return v
- end
- end
- end
- local afk = function()
- local VirtualUser=game:service'VirtualUser'
- player.Idled:connect(function()
- VirtualUser:CaptureController()
- VirtualUser:ClickButton2(Vector2.new())
- end)
- end
- afk()
- local godmode = function()
- local DamageRemote, old = game:GetService("ReplicatedStorage").modules.network.playerRequest_damageEntity
- old = hookfunc(DamageRemote.FireServer, function(self, ...)
- local Args = {...}
- local Method = Args[#Args]
- if self == DamageRemote and Args[3] == 'monster' then
- return true
- end
- return old(self, ...)
- end)
- end
- godmode()
- local tpbypass = function()
- p=1300
- d=500
- a = Instance.new("Part", player.Character)
- a.CanCollide = false
- a.CFrame = player.Character.hitbox.CFrame
- player.Character.hitbox.CFrame = player.Character.hitbox.CFrame
- player.Character.hitbox.CanCollide = false
- a.Name = "Bypassed"
- a.Transparency = 1
- weld = Instance.new("Weld", a)
- weld.Part0 = a
- weld.Part1 = player.Character.hitbox
- BP = Instance.new("BodyPosition", a)
- BP.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
- BP.P = p
- BP.D = d
- end
- local setup = function()
- T = Instance.new("Part", player.Character)
- T.Name = "Flying"
- T.CanCollide = false
- T.Transparency = 1
- weld = Instance.new("Weld", T)
- weld.Part0 = player.Character.hitbox
- weld.Part1 = T
- BG = Instance.new('BodyGyro', T)
- BV = Instance.new('BodyVelocity', T)
- BG.P = 9e4
- BG.maxTorque = Vector3.new(9e4,9e4,9e4)
- BG.CFrame = T.CFrame
- BV.velocity = Vector3.new(0, 0.1, 0)
- BV.maxForce = Vector3.new(9e4,9e4,9e4)
- end
- local nocooldownweaponattack = function()
- getrenv().delay = function(...)
- local args = {...}
- return true
- end
- end
- local CONTROL = {F = 0, B = 0, L = 0, R = 0}
- local lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- local mouse = player:GetMouse()
- mouse.KeyDown:connect(function(k)
- if k:lower() == 'w' then CONTROL.F = 1
- elseif k:lower() == 's' then CONTROL.B = -1
- elseif k:lower() == 'a' then CONTROL.L = -1
- elseif k:lower() == 'd' then CONTROL.R = 1
- end
- end)
- mouse.KeyUp:connect(function(k)
- if k:lower() == 'w' then CONTROL.F = 0
- elseif k:lower() == 's' then CONTROL.B = 0
- elseif k:lower() == 'a' then CONTROL.L = 0
- elseif k:lower() == 'd' then CONTROL.R = 0
- end
- end)
- -----//Set Up Wally's Hub//-----
- local library = loadstring(game:HttpGet("https://pastebin.com/raw/gYWEkcwR", true))()
- local example = library:CreateWindow({
- text = "VESTERIA"
- })
- --------//Places TP//----------
- local placetp = function()
- example:AddLabel("Places TP")
- local dropdown;
- dropdown = example:AddDropdown({'Nil', 'Mushtown', 'Mushroom Forest', 'The Clearing', 'Nilgarf', 'Sewers', 'Seaside Path', 'Scallop Shores', 'The Colosseum', 'Port Fidelio', 'Shiprock Bottom', 'Farmlands', 'Enchanted Forest', 'Tree of Life', 'Redwood Pass', 'Warrior Stronghold'}, function(a)
- if a == 'Nil' then wait()
- elseif a == 'The Clearing' then
- for _,v in pairs(workspace:GetChildren()) do
- if player.Character:FindFirstChild("hitbox") then
- player.Character.PrimaryPart = player.Character.hitbox
- end
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2060556572 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2060556572 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Nilgarf' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2119298605 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2119298605 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Mushtown' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2064647391 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2064647391 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Mushroom Forest' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2035250551 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2035250551 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Tree of Life' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 3112029149 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 3112029149 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Sewers' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2878620739 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2878620739 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Enchanted Forest' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2260598172 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2260598172 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Farmlands' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2180867434 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2180867434 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Shiprock Bottom' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 3232913902 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 3232913902 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'The Colosseum' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2496503573 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2496503573 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Seaside Path' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2093766642 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2093766642 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Redwood Pass' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2376890690 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2376890690 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Port Fidelio' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2546689567 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2546689567 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Warrior Stronghold' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2470481225 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2470481225 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- elseif a == 'Scallop Shores' then
- for _,v in pairs(workspace:GetChildren()) do
- if v.Name == "TeleportBrick" and v:FindFirstChild("teleportDestination").Value == 2471035818 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- elseif v.Name == "teleportPart" and v:FindFirstChild("teleportDestination").Value == 2471035818 then
- v.CFrame = player.Character.PrimaryPart.CFrame
- end
- end
- end
- end)
- end
- --------//Set Up Function//---------
- local flyboost = function()
- _G.Speed = nil
- example:AddBox("Fly Speed", function(object, focus)
- if focus then
- _G.Speed = tonumber(object.Text)
- end
- end)
- end
- local fly = function()
- _G.Flying = false
- example:AddToggle("Fly", function()
- _G.Flying = not _G.Flying
- if _G.Flying then
- setup()
- repeat wait()
- if CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0 then
- SPEED = _G.Speed or 50
- elseif not (CONTROL.L + CONTROL.R ~= 0 or CONTROL.F + CONTROL.B ~= 0) and SPEED ~= 0 then
- SPEED = 0
- end
- if (CONTROL.L + CONTROL.R) ~= 0 or (CONTROL.F + CONTROL.B) ~= 0 then
- BV.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (CONTROL.F + CONTROL.B)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(CONTROL.L + CONTROL.R, (CONTROL.F + CONTROL.B) * 0.2, 0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- lCONTROL = {F = CONTROL.F, B = CONTROL.B, L = CONTROL.L, R = CONTROL.R}
- elseif (CONTROL.L + CONTROL.R) == 0 and (CONTROL.F + CONTROL.B) == 0 and SPEED ~= 0 then
- BV.velocity = ((game.Workspace.CurrentCamera.CoordinateFrame.lookVector * (lCONTROL.F + lCONTROL.B)) + ((game.Workspace.CurrentCamera.CoordinateFrame * CFrame.new(lCONTROL.L + lCONTROL.R, (lCONTROL.F + lCONTROL.B) * 0.2, 0).p) - game.Workspace.CurrentCamera.CoordinateFrame.p)) * SPEED
- else
- BV.velocity = Vector3.new(0, 0.1, 0)
- end
- BG.CFrame = game.Workspace.CurrentCamera.CoordinateFrame
- until not _G.Flying
- elseif not _G.Flying and player.Character:FindFirstChild("Flying") then
- CONTROL = {F = 0, B = 0, L = 0, R = 0}
- lCONTROL = {F = 0, B = 0, L = 0, R = 0}
- SPEED = 0
- player.Character:FindFirstChild("Flying"):Remove()
- end
- end)
- end
- local noclip = function()
- _G.NoClip = false
- example:AddToggle("NoClip", function()
- _G.NoClip = not _G.NoClip
- if _G.NoClip then
- player.Character.hitbox.CanCollide = false
- elseif not _G.NoClip then
- player.Character.hitbox.CanCollide = true
- end
- end)
- end
- local aoemobs = function()
- for i, v in next, workspace.placeFolders.entityManifestCollection:GetChildren() do
- if v ~= nil and v:FindFirstChild("health") then
- local mag = (player.Character.hitbox.Position - v.Position).magnitude
- if mag <= 40 then
- for i=1,1.5 do
- game.ReplicatedStorage.modules.network["playerRequest_damageEntity"]:FireServer(v, Vector3.new(0,0,0), "equipment")
- end
- end
- end
- end
- end
- local killauramob = function()
- _G.KillAuraM = false
- example:AddToggle("Kill Aura (Mobs)", function()
- _G.KillAuraM = not _G.KillAuraM
- while _G.KillAuraM do wait()
- aoemobs()
- end
- end)
- end
- local aoeplayers = function()
- for i, v in next, game.Players:GetPlayers() do
- if v.Name ~= player.Name and v:FindFirstChild("isInPVP") and v.isInPVP.Value == true and v.Character:FindFirstChild("hitbox") then
- local mag = (v.Character.hitbox.Position - player.Character.hitbox.Position).magnitude
- if mag <= 40 then
- for i=1, 3 do
- game.ReplicatedStorage.modules.network["playerRequest_damageEntity"]:FireServer(v.Character.hitbox, Vector3.new(0,0,0), "equipment")
- end
- end
- end
- end
- end
- local killauraplayer = function()
- _G.KillAuraP = false
- example:AddToggle("Kill Aura (Players)", function()
- _G.KillAuraP = not _G.KillAuraP
- while _G.KillAuraP do wait()
- aoeplayers()
- end
- end)
- end
- local autoattack = function()
- _G.Attack = false
- example:AddToggle("Auto Attack", function()
- _G.Attack = not _G.Attack
- if _G.Attack then
- Grab.staffModule = require(player.PlayerScripts.services.clientServerDamageSourceInterface.staff)
- Grab.swordModule = require(player.PlayerScripts.services.clientServerDamageSourceInterface.sword)
- Grab.daggerModule = require(player.PlayerScripts.services.clientServerDamageSourceInterface.dagger)
- repeat wait()
- nocooldownweaponattack()
- Grab.daggerModule:attack()
- Grab.swordModule:attack()
- Grab.staffModule:attack()
- until not _G.Attack
- end
- end)
- end
- local chestfarm = function()
- _G.ChestFarm = false
- example:AddToggle("Chests Farm", function()
- _G.ChestFarm = not _G.ChestFarm
- if _G.ChestFarm then
- local _p = game:GetService("Players").LocalPlayer
- local _c = _p.Character
- local _h = _c.PrimaryPart
- local _tpS = {}
- local _bp = function()
- _c.PrimaryPart = nil
- _h.Parent = nil
- wait()
- _h.Parent = Char
- _c.PrimaryPart = hum
- end
- for _, _c in next, workspace:GetChildren() do
- if _c:IsA'Model' and _c:FindFirstChild'chestLevel' then
- _bp()
- local _pp = _c.PrimaryPart
- _c:MoveTo(_pp.Position)
- require(_pp.interactScript).init()
- elseif rawequal(_c.Name, 'TeleportBrick') then
- table.insert(_tpS,_c)
- end
- end
- else wait()
- end
- end)
- end
- local autosell = function()
- _G.AutoSell = false
- example:AddToggle("Auto Sell", function()
- _G.AutoSell = not _G.AutoSell
- while _G.AutoSell do wait()
- for i,v in next, game.ReplicatedStorage.itemData:GetChildren() do
- Grab.item = require(v)
- if _G.Items[Grab.item.name] then
- game.ReplicatedStorage.modules.network["playerRequest_sellItemToShop"]:InvokeServer({["id"] = Grab.item.id, ["position"] = 99}, 1)
- end
- end
- end
- end)
- end
- local autofarm = function()
- _G.Autofarm = false
- example:AddToggle("Auto Farm", function()
- _G.Autofarm = not _G.Autofarm
- while _G.Autofarm do wait()
- if not player.Character:FindFirstChild("Bypassed") then
- tpbypass()
- elseif player.Character:FindFirstChild("Bypassed") then
- if player.Character.hitbox.CanCollide == true then
- player.Character.hitbox.CanCollide = false
- end
- local item = getItem()
- local mob = getMob()
- local focus = getFocus()
- if item then
- BP.Position = item.Position
- game.ReplicatedStorage.modules.network["pickUpItemRequest"]:InvokeServer(item)
- elseif not item and focus then
- repeat wait()
- if item then break
- elseif not item then
- if focus:FindFirstChild("health") then
- for i=1, 2 do
- BP.Position = focus.Position
- game.ReplicatedStorage.modules.network["playerRequest_damageEntity"]:FireServer(focus, Vector3.new(0,0,0), "equipment")
- end
- if focus.health.Value <= 0 then
- focus:Remove()
- end
- else break
- end
- end
- until not focus or not _G.Autofarm
- elseif not item and not focus and mob then
- repeat wait()
- if item or focus then break
- elseif not item and not focus then
- if mob:FindFirstChild("entity") and mob:FindFirstChild("hitbox") then
- game.ReplicatedStorage.modules.network["getEntityManifestByRenderEntityContainer"]:Invoke(mob)
- BP.Position = mob.hitbox.Position + Vector3.new(0,-7,0)
- aoemobs()
- if not mob.entity.HumanoidRootPart:FindFirstChild("death") then
- mob:Remove()
- end
- else break
- end
- end
- until not mob or not _G.Autofarm
- elseif not item and not focus and not mob then
- for i,g in next, workspace.placeFolders.entityManifestCollection:GetChildren() do
- if _G.Enemy[g.Name] and g:FindFirstChild("health") then
- BP.Position = g.Position
- end
- end
- end
- end
- if not _G.Autofarm and player.Character:FindFirstChild("Bypassed") then
- player.Character.hitbox.CanCollide = true
- BP.Position = BP.Position + Vector3.new(0,5,0)
- wait(1)
- player.Character:FindFirstChild("Bypassed"):Remove()
- end
- end
- end)
- end
- placetp()
- example:AddLabel("------------------------------------------")
- flyboost()
- fly()
- noclip()
- killauramob()
- killauraplayer()
- --autoattack()--
- chestfarm()
- autosell()
- autofarm()
- example:AddLabel("------------------------------------------")
- example:AddLabel("Credits\nJank: Script\nAtrex: Chests Farm\nSiren: Idea for TP Places\nUsing Wally's UI\n")
- else
- player:Kick("Script outdated, game updated")
- end
Advertisement
Add Comment
Please, Sign In to add comment