N4ri

Castle Heist Adventure

May 9th, 2020
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. local library = loadstring(game:HttpGet("https://pastebin.com/raw/eWKgbdix", true))()
  2. library.options.underlinecolor = "rainbow"
  3. local w = library:CreateWindow('Main')
  4. w:Section('Toggles')
  5.  
  6. w:Toggle('Collect Gems', {flag = "toggle1"})
  7. spawn(function()
  8. while wait() do
  9. if w.flags.toggle1 then
  10. if game.Players.LocalPlayer.Character:WaitForChild("Humanoid") then
  11. for i,v in pairs(game:GetService("Workspace").Gems:GetChildren()) do
  12. tweenService, tweenInfo = game:GetService("TweenService"), TweenInfo.new(0.1, Enum.EasingStyle.Linear)
  13. game.Players.LocalPlayer.Character.Humanoid:ChangeState(11)
  14. tween = tweenService:Create(game:GetService("Players")["LocalPlayer"].Character.HumanoidRootPart, tweenInfo, {CFrame = CFrame.new(v.Position)})
  15. tween:Play()
  16. end
  17. end
  18. end
  19. end
  20. end)
  21. w:Button("Fire ClickDetectors", function()
  22. for i,v in pairs(game.workspace:GetDescendants()) do
  23. if v:IsA("ClickDetector") then
  24. fireclickdetector(v)
  25. end
  26. end
  27. end)
  28. w:Button("Unlock Zombie Door", function()
  29. game:GetService("Workspace").NPCTriggers.ZomDoor.EnemyCount.MrVal.Value = 100
  30. end)
Add Comment
Please, Sign In to add comment