Advertisement
Guest User

tpt bgEdit

a guest
Aug 18th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1. --kingcute50 in Powder Toy :D nvm
  2. --roblox username: king2218
  3. --very simple background editing in tpt
  4. --Part 1: save as "bgEdit.lua"
  5. for x = 50,160 do
  6.     for y = 70,180 do
  7.         tpt.drawpixel(x,y,math.random(0,255),math.random(0,255),math.random(0,255))
  8.     end
  9. end
  10. tpt.drawtext(200,200,"Edited Background!",math.random(0,255),math.random(0,255),math.random(0,255))
  11. --Part 2: save as "EditNow.lua"
  12. function blah()
  13.     dofile("bgEdit.lua")
  14. end
  15. tpt.register_step(blah)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement