Advertisement
tripono

Untitled

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