Advertisement
FurkingBoi

dsfdsfds

Nov 24th, 2019
8,075
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.72 KB | None | 0 0
  1. _G.d = true
  2.  
  3. _G.d = true
  4. function getgiant()
  5. for i,d in pairs(game.workspace:GetChildren()) do
  6. if string.sub(d.Name,1,6) == "Giant_" then
  7. return d
  8. end
  9. end
  10. end
  11. local giant = getgiant()
  12. while _G.d == true and wait() do
  13. if giant then
  14. local args =
  15. {
  16. [1] =
  17. {
  18. [1] = giant.Name,
  19. [2] = 14,
  20. [3] = 0.96785491759897
  21. },
  22. [2] =
  23. {
  24. [1] = false,
  25. [2] = false,
  26. [3] = false
  27. }
  28. }
  29. local Event = game:GetService("Workspace")["__THINGS"]["__REMOTES"]["giant_dealdamage"]
  30. Event:FireServer(args)
  31. else
  32. ginat = getgiant()
  33. wait(0.25)
  34. end
  35. end
  36.  
  37. local args = {{false}, {2}}
  38. _G.d = true
  39.  
  40. while _G.d == true and wait() do
  41. local Event = game:GetService("Workspace")["__THINGS"]["__REMOTES"].currencycollected
  42. Event:FireServer(args)
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement