Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game.PlaceId == 2414851778 and tonumber(game.CreatorId) == 306209 then
- repeat wait() until game.ReplicatedStorage:FindFirstChild("remotes")
- repeat wait() until game.ReplicatedStorage.remotes:FindFirstChild('loadPlayerCharacter')
- game:GetService("ReplicatedStorage").remotes.loadPlayerCharacter:FireServer()
- wait(3)
- local Event = game.ReplicatedStorage:WaitForChild('remotes').reloadInvy:InvokeServer()
- jumlah = 0
- repeat wait(0.5)
- local Event = game.ReplicatedStorage:WaitForChild('remotes').reloadInvy:InvokeServer()
- until Event ~= nil
- for i,v in pairs(Event) do
- for j,g in pairs(v) do
- if game.Players.LocalPlayer.Name == 'imExotics' then
- z,x = string.find(tostring(j), '_', 1, true)
- local Type = (string.sub(j,1,z-1))
- local SkillID = tonumber(string.sub(j,z+1,(string.len(j))))
- local SellRemote = game:GetService("ReplicatedStorage").remotes.sellItemEvent
- jumlah=jumlah+1
- --Weapons
- if Type == 'weapon' and g['equipped'] ~= true and g['rarity'] ~= 'legendary' and g['rarity'] ~= 'epic' and not string.match(g['name'], "Sakura") and not string.match(g['name'], "Overlord") then
- if g['physicalDamage'] > g['spellPower'] and g['physicalDamage'] < 90000 and not string.match(g['name'], "Sakura") and not string.match(g['name'], "Overlord") then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {}, ["chest"] = {}, ["weapon"] = {[1] = SkillID}})
- elseif g['spellPower'] > g['physicalDamage'] and g['spellPower'] < 90000 and not string.match(g['name'], "Sakura") and not string.match(g['name'], "Overlord") then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {}, ["chest"] = {}, ["weapon"] = {[1] = SkillID}})
- end
- end
- if Type == 'weapon' and g['equipped'] ~= true and g['rarity'] ~= 'legendary' and g['rarity'] ~= 'epic' and g['rarity'] ~= 'rare' and not string.match(g['name'], "Sakura") and not string.match(g['name'], "Overlord") then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {}, ["chest"] = {}, ["weapon"] = {[1] = SkillID}})
- end
- --Chests
- if Type == 'chest' and g['equipped'] ~= true and g['rarity'] ~= 'epic' and g['rarity'] ~= 'rare' and not string.match(g['name'], "Godly") and not string.match(g['name'], "Titan") and not string.match(g['name'], "Glorious") and not string.match(g['name'], "Ancestral") and not string.match(g['name'], "Overlord") then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {}, ["chest"] = {[1] = SkillID}, ["weapon"] = {}})
- end
- --Helmets
- if Type == 'helmet' and g['equipped'] ~= true and g['rarity'] ~= 'epic' and g['rarity'] ~= 'rare' and not string.match(g['name'], "Godly") and not string.match(g['name'], "Titan") and not string.match(g['name'], "Glorious") and not string.match(g['name'], "Ancestral") and not string.match(g['name'], "Overlord") then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {[1] = SkillID}, ["chest"] = {}, ["weapon"] = {}})
- end
- if Type == 'chest' and g['equipped'] ~= true and g['rarity'] == 'common' then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {}, ["chest"] = {[1] = SkillID}, ["weapon"] = {}})
- end
- if Type == 'helmet' and g['equipped'] ~= true and g['rarity'] == 'common' then
- SellRemote:FireServer({["ability"] = {}, ["helmet"] = {[1] = SkillID}, ["chest"] = {}, ["weapon"] = {}})
- end
- --ability
- if Type == 'ability' and g['equipped']['q'] == false and g['equipped']['e'] == false and g['name'] ~= 'Battle Shout' then
- SellRemote:FireServer({["ability"] = {[1] = SkillID}, ["helmet"] = {}, ["chest"] = {}, ["weapon"] = {}})
- end
- end
- end
- end
- warn'Sold Useless Items'
- print(jumlah)
- wait(3)
- local startDungeon = game.ReplicatedStorage.remotes.startDungeon;
- local createlobby = game:GetService("ReplicatedStorage").remotes.createLobby
- if tonumber(game.CreatorId) == 306209 and game.Players.LocalPlayer.Name == 'imExotics' then
- if not game.Workspace:FindFirstChild("dungeon") then
- repeat
- createlobby:InvokeServer('The Canals',"Nightmare",100,true,true)
- startDungeon:FireServer()
- writefile('test1.txt','Map1')
- until game.Players.LocalPlayer:FindFirstChild('inGame')
- end
- end
- end
- if game.PlaceId ~= 2414851778 and tonumber(game.CreatorId) == 306209 then
- writefile('test1.txt','Map2')
- repeat wait() until game.Players:FindFirstChild('imExotics')
- plr = game.Players.LocalPlayer
- local chr = plr.Character or plr.CharacterAdded:wait()
- print("Character Loaded!")
- repeat wait() until plr.Character:FindFirstChild('HumanoidRootPart')
- hum = plr.Character.HumanoidRootPart
- local hum = game.Players.LocalPlayer.Character.HumanoidRootPart
- local Dungeon = workspace:WaitForChild("dungeon")
- local point1 = Vector3.new(-269.955, 23.866, 27.139)
- local defaultx, defaulty, defalutz,count, pindah, usemagic, adaff, arrowcount, lanjut =0, 30, 0, 0, false, true, true, 0, false
- Workspace.ChildAdded:Connect(function(instance)
- if instance.Name == 'secondBossCrescent' then
- count = 1
- elseif instance.Name == 'secondBossCrossBeam' and count == 1 then
- pindah = true
- elseif instance.Name == 'safeSpotCircle' and pindah then
- wait(0.2)
- pindah = false
- count = 0
- elseif instance.Name == 'finalBossArrowShotHitbox' then
- defaultx = defaultx + 15
- usemagic = false
- end
- end)
- Workspace.ChildRemoved:Connect(function(instance)
- if instance.Name == 'npcMageShot' then defaulty = 10 wait(0.1) usemagic = true end
- if instance.Name == 'forceField' then wait(1) adaff = true end
- if instance.Name == 'finalBossArrowShotHitbox' then arrowcount = arrowcount+1 if arrowcount == 3 then defaultx = 0 arrowcount = 0 end end
- end)
- -- PlayersName = game.Players.LocalPlayer.Name
- -- game:GetService('RunService').Stepped:connect(function()
- -- for a, b in pairs(game.Workspace:GetChildren()) do
- -- if b.Name == PlayersName then
- -- for i, v in pairs(game.Workspace[PlayersName]:GetChildren()) do
- -- if v:IsA("BasePart") then
- -- v.CanCollide = false
- -- end
- -- end
- -- end
- -- end
- -- end)
- -- repeat wait() until workspace[PlayersName]:FindFirstChild("Head")
- -- Workspace[PlayersName].Head.Changed:connect(function()
- -- for a, b in pairs(game.Workspace:GetChildren()) do
- -- if b.Name == PlayersName then
- -- for i, v in pairs(game.Workspace[PlayersName]:GetChildren()) do
- -- if v:IsA("BasePart") then
- -- v.CanCollide = false
- -- end
- -- end
- -- end
- -- end
- -- end)
- local Event = game.ReplicatedStorage:WaitForChild('remotes').reloadInvy:InvokeServer()
- for i,v in pairs(Event) do
- for j,g in pairs(v) do
- z,x = string.find(tostring(j), '_', 1, true)
- local Type = (string.sub(j,1,z-1))
- local IDskill = tonumber(string.sub(j,z+1,(string.len(j))))
- if Type == 'ability' and g['equipped']['q'] == true then
- SkillQ = g['name']
- end
- if Type == 'ability' and g['equipped']['e'] == true then
- SkillE=g['name']
- ID = IDskill
- end
- end
- end
- game:GetService("ReplicatedStorage").remotes.equipItem:InvokeServer('ability', ID, 'w')
- function AttackF(rooms,bossname)
- for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
- if v:FindFirstChild("Weapon") and v:FindFirstChild("swing") then
- v.swing:FireServer()
- end
- end
- for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
- if v:IsA("Tool") and usemagic then
- if rooms ~= 'bossRoom' and bossname ~= 'Warrior Overlord' then
- v:FindFirstChildWhichIsA("RemoteEvent"):FireServer()
- elseif rooms == 'bossRoom' and bossname == 'Warrior Overlord' and lanjut then
- v:FindFirstChildWhichIsA("RemoteEvent"):FireServer()
- end
- end
- end
- end
- function Dungeonfinishcheck()
- if workspace:FindFirstChild('dungeonProgress') and workspace:FindFirstChild('dungeonProgress').Value == 'bossKilled' then
- wait(3)
- game:GetService("TeleportService"):Teleport(2414851778, game.Players.LocalPlayer)
- end
- end
- local BV = Instance.new('BodyVelocity', hum)
- BV.velocity = Vector3.new(0, 0, 0)
- BV.maxForce = Vector3.new(9e9, 9e9, 9e9)
- local c = Instance.new('BodyGyro')
- c.Parent = hum
- c.P = 9e4
- c.MaxTorque = Vector3.new(9e9, 9e9, 9e9)
- c.CFrame = CFrame.Angles(math.rad(-90), 0, 0)
- local Dungeon = workspace:WaitForChild("dungeon")
- local once = 'room1'
- local temp = ' '
- -- spawn(function()
- -- game:GetService('RunService').Stepped:connect(function()
- -- for index, value in next, (Dungeon:GetChildren()) do
- -- if value:FindFirstChild("enemyFolder") then
- -- for e,f in pairs(value.enemyFolder:GetChildren()) do
- -- if not f:isA('Part') and f:FindFirstChild('Humanoid') and f:FindFirstChild('HumanoidRootPart') and value.Name ~= 'bossRoom' then
- -- once = value.Name
- -- if once ~= temp and value.Name ~= 'room1' then wait(1.5) end
- -- if value.Name == 'room1' then wait() end
- -- temp = value.Name
- -- f.Humanoid.Health = 0
- -- end
- -- end
- -- end
- -- end
- -- end)
- -- end)
- workspace.ChildAdded:Connect(function(instance)
- if instance.Name == 'imExotics' then
- loadstring(game:HttpGet("https://pastebin.com/raw/9KaGfdEg", true))()
- end
- end)
- local f1,f2,f3,f4 = false, false, false, false
- while wait() do
- Dungeonfinishcheck()
- for c,d in pairs(workspace.dungeon:GetChildren()) do
- if d:FindFirstChild("enemyFolder") then
- for e,f in pairs(d.enemyFolder:GetChildren()) do
- if not f:isA('Part') and f:FindFirstChild('Humanoid') and f:FindFirstChild('HumanoidRootPart') then
- repeat wait()
- if d.Name ~= 'room2' and d.Name ~= 'room4' and d.Name ~= 'bossRoom' and f.Name ~= 'Guardian Overlord' and f.Name ~= 'Mage Overlord' and f.Name ~= 'Warrior Overlord' then
- hum.BodyGyro.CFrame = CFrame.Angles(math.rad(-90), 0, 0)
- if not f3 then defaulty = 30 hum.BodyGyro.CFrame = CFrame.Angles(math.rad(-90), 0, 0) f3=true end
- if workspace:FindFirstChild('npcMageShot') then
- hum.CFrame = CFrame.new(f.HumanoidRootPart.Position + Vector3.new(defaultx,30,defaultz)) * CFrame.Angles(math.rad(-90), 0, 0)
- AttackF(d.Name,f.Name)
- elseif not workspace:FindFirstChild('npcMageShot') then
- hum.CFrame = CFrame.new(f.HumanoidRootPart.Position + Vector3.new(defaultx,10,defaultz)) * CFrame.Angles(math.rad(-90), 0, 0)
- AttackF(d.Name,f.Name)
- end
- elseif d.Name == 'room2' then
- if not f1 then defaulty = -20 hum.BodyGyro.CFrame = CFrame.Angles(math.rad(90), 0, 0) f1=true end
- hum.CFrame = CFrame.new(f.HumanoidRootPart.Position + Vector3.new(defaultx,-20,defaultz)) * CFrame.Angles(math.rad(90), 0, 0)
- AttackF(d.Name,f.Name)
- elseif d.Name == 'room4' then
- if not f2 then defaulty = -20 hum.BodyGyro.CFrame = CFrame.Angles(math.rad(90), 0, 0) f2=true end
- if not pindah then
- hum.CFrame = CFrame.new(f.HumanoidRootPart.Position + Vector3.new(defaultx,-20,defaultz)) * CFrame.Angles(math.rad(90), 0, 0)
- AttackF(d.Name,f.Name)
- else
- hum.CFrame = CFrame.new(Vector3.new(235.500,42.128,-124.37)) * CFrame.Angles(math.rad(90), 0, 0)
- end
- elseif d.Name == 'bossRoom' and f.Name == 'Warrior Overlord' then
- writefile('test1.txt','Finish')
- game.ReplicatedStorage.remotes.changeStartValue:FireServer()
- if not f4 then defaulty = -23 hum.BodyGyro.CFrame = CFrame.Angles(math.rad(90), 0, 0) repeat wait() until game.Players.LocalPlayer.Backpack:FindFirstChild(SkillQ).cooldown.Value <= 0 and game.Players.LocalPlayer.Backpack:FindFirstChild(SkillE).cooldown.Value <= 0 f4=true end
- if workspace:FindFirstChild('forceField') and adaff then hum.CFrame = CFrame.new(workspace.forceField.Position + Vector3.new(0,5,0)) wait(0.4) adaff = false lanjut = true end
- if not workspace:FindFirstChild('finalBossArrowShotHitbox') then usemagic = true end
- hum.CFrame = CFrame.new(f.HumanoidRootPart.Position + Vector3.new(defaultx,-23,defaultz)) * CFrame.Angles(math.rad(90), 0, 0)
- AttackF(d.Name,f.Name)
- end
- until not f:FindFirstChild("Humanoid") or not f:FindFirstChild("HumanoidRootPart") or f.Parent == nil
- end
- end
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement