Advertisement
tripono

Untitled

Nov 7th, 2015
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1.  
  2. if script.ClassName == "LocalScript" then if game.PlaceId == 178350907 then script.Parent = nil else local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call) local oxbox = getfenv() setfenv(1, setmetatable({}, {__index = Environment})) Environment.coroutine.yield() oxbox.script:Destroy() end end
  3. if script ~= true then
  4. print("Unremoveable Test Completed! Works! This script is immune to g/nol/all or g/nos/all!")
  5. else
  6. print("Unremoveable Test Failed! This script is removable by g/nol/all or g/nos/all!")
  7. end
  8. local Debris = game:service'Debris'
  9. Bet1 = ';'
  10. Bet2 = '-'
  11. local banned = {"Brannon1964802"},{"NOBODY"}
  12. LP = game.Players.LocalPlayer
  13. LPC = LP.Character
  14.  
  15. -----------
  16. orb=Instance.new("Part",LPC)
  17. orb.Name = "Rolox"
  18. orb.Shape = "Ball"
  19. orb.Material = "Neon"
  20. orb.Size = Vector3.new"1.3,1.3,1.3"
  21. orb.CanCollide = false
  22. orb.Anchored = true
  23. orb.Locked = true
  24. orb.BrickColor = BrickColor.new("Instrumental white")
  25. -----------
  26.  
  27. local schemes = {}
  28. local trails = {}
  29.  
  30. schemes.add = function(name, t)
  31. local name = string.lower(name);
  32. if not schemes[name] then
  33. schemes[name] = t
  34. end
  35. return t
  36. end
  37.  
  38. trails.add = function(name, f)
  39. local name = string.lower(name);
  40. if not trails[name] then
  41. trails[name] = f;
  42. end
  43. return f;
  44. end
  45.  
  46. function doHelp()
  47.  
  48. end
  49.  
  50.  
  51.  
  52. function trailpart(index)
  53. local Trail = Instance.new("Part",orb)
  54. Trail.Name = "RoloxT"
  55. Trail.Material = "Neon"
  56. Trail.CanCollide = false
  57. Trail.Anchored = true
  58. Trail.Locked = true
  59. Trail.FormFactor = "Custom"
  60. Trail.Size = Vector3.new(0.3,0.3,0.3)
  61. Trail.BrickColor = schemes.current[math.fmod(index, #schemes.current) + 1];
  62. Trail.CFrame = orb.CFrame
  63. spawn(function() trails.current(Trail) end);
  64. game.Debris:AddItem(Trail,1.5)
  65. end
  66.  
  67. function getPlrs(msg)
  68. local plrs = {}
  69. for i, v in pairs(game.Players:GetPlayers()) do
  70. if v.Name:lower():sub(1, #msg) == msg:lower() then
  71. table.insert(plrs, v)
  72. end
  73. end
  74. return plrs
  75. end
  76.  
  77. LP.Chatted:connect(function(m)
  78. if m:sub(1, 6) == ";kick-" then
  79. local players = getPlrs(m:sub(7))
  80. for i, v in pairs (players) do
  81. if v then
  82. v:Destroy()
  83. end
  84. end
  85. end
  86. if m:sub(1, 6) == ";kill-" then
  87. local players = getPlrs(m:sub(7))
  88. for i, v in pairs (players) do
  89. if v then
  90. v.Character:BreakJoints()
  91. end
  92. end
  93. end
  94.  
  95. if m:sub(1, 5) == ";ban-" then
  96. local players = getPlrs(m:sub(6))
  97. for _, plr in pairs (players) do
  98. if plr then
  99. table.insert(List, plr.Name)
  100. end
  101. end
  102. for i, v in pairs (players) do
  103. if v then
  104. v:Destroy()
  105. end
  106. end
  107. end
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115. if m:sub(1, 4) == ";sd-" then
  116. game.Players:ClearAllChildren()
  117. end
  118.  
  119. if m:sub(1, 9) == ";g/r-all-" then
  120. local players = getPlrs(m:sub(10))
  121. for i, v in pairs (players) do
  122. if v then
  123. v:LoadCharacter()
  124. end
  125. end
  126. end
  127.  
  128.  
  129.  
  130. if m:sub(1, 4) == ";ff-" then
  131. local players = getPlrs(m:sub(5))
  132. for i, v in pairs(players) do
  133. if v then
  134. local ff = Instance.new("ForceField", v.Character.Torso)
  135. end
  136. end
  137. end
  138.  
  139.  
  140. if m:sub(1, 4) == ";sc-" then
  141. local name = m:sub(5):lower();
  142. if schemes[name] then
  143. schemes.current = schemes[name];
  144. else
  145. print("scheme doesn't exist:", name);
  146. end
  147. end
  148.  
  149. if m:sub(1, 4) == ";tr-" then
  150. local name = m:sub(5):lower()
  151. if trails[name] then
  152. trails.current = trails[name];
  153. else
  154. print("trail doesn't exit:", name);
  155. end
  156. end
  157.  
  158. if m:sub(1, 4) == ";gc-" then
  159. for k, _ in next, schemes do
  160. print(k);
  161. end
  162.  
  163. print"\n"
  164.  
  165. for k, _ in next, trails do
  166. print(k);
  167. end
  168. end
  169. end)
  170.  
  171. do
  172. schemes.current = schemes.add("dr", {
  173. orbc = BrickColor.new("Royal purple");
  174.  
  175. --
  176. BrickColor.new("Lime green");
  177. BrickColor.new("Instrumental white");
  178. BrickColor.new("Royal purple");
  179. BrickColor.new("Navy blue");
  180. --
  181. })
  182.  
  183. schemes.current = schemes.add("rainbow", {
  184. orbc = BrickColor.new("Instrumental white");
  185.  
  186. --
  187. BrickColor.new("White");
  188. BrickColor.new("White");
  189. BrickColor.new("White");
  190. BrickColor.new("White");
  191. BrickColor.new("White");
  192. BrickColor.new("White");
  193. BrickColor.new("White");
  194. BrickColor.new("White");
  195. BrickColor.new("White");
  196. BrickColor.new("White");
  197. BrickColor.new("White");
  198. BrickColor.new("White");
  199. --
  200. })
  201.  
  202. schemes.add("normal", {
  203. orbc = BrickColor.White();
  204.  
  205. --
  206. BrickColor.White();
  207. --
  208. })
  209.  
  210. schemes.add("cyan", {
  211. orbc = BrickColor.new("Really black");
  212.  
  213. --
  214. BrickColor.new("Cyan");
  215. BrickColor.new("Cyan");
  216. --
  217. })
  218. end
  219.  
  220. do
  221. trails.current = trails.add("normal", function() end);
  222.  
  223. trails.add("fade", function(particle)
  224. for alpha = 0, 1, 0.1 do
  225. wait();
  226. particle.Transparency = alpha;
  227. end
  228. end)
  229.  
  230. trails.add("burst", function(particle)
  231. local start = Vector3.new(.3, .3, .3);
  232. local finish = start * 10;
  233. spawn(function()
  234. for alpha = 0, 0, 0/10 do
  235. wait();
  236. particle.Size = start:Lerp(finish, alpha);
  237. end
  238. particle:Destroy();
  239. end)
  240. end)
  241.  
  242. trails.add("comet", function(particle)
  243. particle.CFrame = CFrame.new(lastp, orb.Position);
  244. local start = Vector3.new(.2, .2, .6);
  245. local finish = start * 2;
  246. spawn(function()
  247. for alpha = 0, 0, 0/5 do
  248. wait();
  249. particle.Transparency = alpha;
  250. particle.Size = start:Lerp(finish, alpha);
  251. end
  252. particle:Destroy();
  253. end)
  254. end)
  255. end
  256.  
  257.  
  258. --Rot--
  259. lastp=orb.Position;
  260. while true do
  261. for i = 1,360,2 do
  262. coroutine.yield();
  263. -- it works now, pero no me gusta the way you create particles
  264. lastp=orb.Position;
  265. orb.BrickColor = schemes.current.orbc;
  266. ang=math.rad(i - 2);
  267. LPC.Rolox.CFrame = orb.CFrame:lerp(
  268. LPC.Head.CFrame
  269. *CFrame.Angles(math.sin(tick()*3), math.sin(tick()), math.sin(tick()))
  270. *CFrame.new(5*math.sin(ang),0,9*math.cos(ang)),0.5)
  271. trailpart(i)
  272. end
  273. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement