SHARE
TWEET

Untitled

bingdongssssskaaskak Mar 12th, 2019 (edited) 26,926 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. wait(3)local a=game.Players.LocalPlayer;local b=a.leaderstats.Level.Value;local c=game:GetService('ReplicatedStorage').remotes.createLobby;local d=game.ReplicatedStorage.remotes.startDungeon;local e=game:GetService("ReplicatedStorage").remotes:FindFirstChild('changeStartValue')local function f(b)if b>=34 then game:GetService("ReplicatedStorage").remotes.createLobby:InvokeServer("Desert Temple","Nightmare",0,true,false)d:FireServer()game:GetService("ReplicatedStorage").remotes.createLobby:InvokeServer("Desert Temple","Insane",0,true,false)d:FireServer()game:GetService("ReplicatedStorage").remotes.createLobby:InvokeServer("Desert Temple","Hard",0,true,false)d:FireServer()game:GetService("ReplicatedStorage").remotes.createLobby:InvokeServer("Desert Temple","Medium",0,true,false)d:FireServer()game:GetService("ReplicatedStorage").remotes.createLobby:InvokeServer("Desert Temple","Easy",0,true,false)d:FireServer()end end;if workspace:FindFirstChild('games')then f(b)end;wait()local function g()if workspace:FindFirstChild('dungeon')then local h;local g=2e9;for i,j in pairs(workspace.dungeon:GetDescendants())do if j:FindFirstChild('Head')and j:FindFirstChild('Humanoid')then local k=(j.Head.Position-a.Character.HumanoidRootPart.Position).magnitude;if k<g then h=j;g=k end end end;return h end end;local function l()for i,j in next,workspace.dungeon:GetDescendants()do if j:FindFirstChild('Humanoid')and j:FindFirstChild('LeftUpperArm')and j:FindFirstChild('RightUpperArm')and j:FindFirstChild('RightLowerArm')and j:FindFirstChild('LeftLowerArm')and j:FindFirstChild('RightHand')and j:FindFirstChild('LeftHand')then j.LeftUpperArm:Destroy()j.RightUpperArm:Destroy()j.LeftLowerArm:Destroy()j.RightLowerArm:Destroy()j.LeftHand:Destroy()j.RightHand:Destroy()wait()end end end;local function m()if workspace:FindFirstChild('start')and workspace:FindFirstChild('start').Value==false then e:FireServer()l()wait()m()elseif workspace:FindFirstChild('start')and workspace:FindFirstChild('start').Value==true then game:GetService("RunService").RenderStepped:connect(function()if a.Character and a.Character:FindFirstChild('HumanoidRootPart')and a.Character:FindFirstChild(a.weaponEquipped.Value)then a.Character.HumanoidRootPart.CFrame=CFrame.new(g().HumanoidRootPart.Position-(6+0.25*1)*g().HumanoidRootPart.CFrame.lookVector+0.5*1*g().HumanoidRootPart.CFrame.upVector,g().HumanoidRootPart.Position)l()a.Character[a.weaponEquipped.Value].swing:FireServer()end end)end end;m()local n=game:GetService("TeleportService")while wait()do if workspace:FindFirstChild('dungeonProgress')and workspace:FindFirstChild('dungeonProgress').Value=='bossKilled'then wait(5)n:Teleport(2414851778,player)end end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top