Advertisement
Guest User

Roblox bump bot

a guest
Aug 28th, 2016
327
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. var ThreadId = prompt("Thread ID?")
  2. var BumpTimes = prompt("Number of bumps?")
  3. //
  4. var OnBump = 0
  5. var Link = "https://forum.roblox.com/Forum/AddPost.aspx?mode=flat&PostID=" + ThreadId
  6. function Post(){
  7. $.get(Link,function(Data){
  8. var VS = Data.match(/id="__VIEWSTATE" value="(.+)"/)[1]
  9. var EV = Data.match(/id="__EVENTVALIDATION" value="(.+)"/)[1]
  10. $.post(Link,{
  11. "__VIEWSTATE" : VS,
  12. "__EVENTVALIDATION" : EV,
  13. "ctl00$cphRoblox$Createeditpost1$PostForm$PostSubject" : "Re: -",
  14. "ctl00$cphRoblox$Createeditpost1$PostForm$PostBody" : OnBump,
  15. "ctl00$cphRoblox$Createeditpost1$PostForm$PostButton" : "Post"
  16. })
  17. })
  18. }
  19. Post()
  20. var Interval = setInterval(function(){
  21. if (OnBump == BumpTimes){
  22. clearInterval(Interval)
  23. }
  24. Post()
  25. OnBump++
  26. },40000)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement