Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local plr = game.Players.LocalPlayer
- game:GetService("UserInputService").InputBegan:connect(function(input)
- if input.KeyCode == Enum.KeyCode.Z then
- if game.Workspace.Dungeon:FindFirstChild("Colossal Dungeon Defender") then
- game.Workspace.Dungeon["Colossal Dungeon Defender"].Head:Destroy()
- elseif game.Workspace.Dungeon:FindFirstChild("Stonetroid Temple Guardian") then
- game.Workspace.Dungeon["Stonetroid Temple Guardian"].Head:Destroy()
- end
- elseif input.KeyCode == Enum.KeyCode.X then
- for i,v in pairs(game.Workspace.Dungeon:GetDescendants()) do
- if v.Name == "Chest" then
- game.Workspace[plr.Name].HumanoidRootPart.CFrame = v.KeyHole.CFrame + Vector3.new(0,5,0)
- wait(.7)
- end
- end
- elseif input.KeyCode == Enum.KeyCode.C then
- for i,v in pairs(game.Workspace.Dungeon:GetChildren()) do
- if string.match(v.Name, "BossStart") then
- game.Workspace[plr.Name].HumanoidRootPart.CFrame = v.Start.CFrame + Vector3.new(0,5,0)
- end
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement