Advertisement
KINGOFCOOL

Untitled

Jan 14th, 2015
212
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.08 KB | None | 0 0
  1. Owner = script.Parent.Parent.Parent.Johnmat
  2. Player = game.Players:findFirstChild(Owner)
  3.  
  4.  
  5. local RISE = 5
  6. local FOLLOW = true
  7. local M = Instance.new("Model")
  8. local H = Instance.new("Humanoid")
  9. M.Parent = Player.Character
  10. H.Parent = M
  11. H.MaxHealth = 0
  12. H.Health = 0
  13. M.Name = ""..Owner.." Orb!"
  14. local p = Instance.new("Part")
  15. local BP = Instance.new("BodyPosition")
  16. local BG = Instance.new("BodyGyro")
  17. local SPL = Instance.new("SelectionPartLasso")
  18. BP.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  19. SPL.Parent = p
  20. p.BrickColor = BrickColor.new("Really black")
  21. f=Instance.new("Fire")
  22. f.Parent=p
  23. f.Heat = 25
  24. f.Size = 2
  25. p.Name = "Head"
  26. p.Parent = M
  27. p.Shape = "Ball"
  28. p.formFactor = "Symmetric"
  29. p.Size = Vector3.new(1, 1, 1)
  30. p.TopSurface = 0
  31. p.BottomSurface = 0
  32. BP.Parent = p
  33.  
  34. mesh = Instance.new("SpecialMesh")
  35. mesh.Parent = p
  36. mesh.MeshType = "FileMesh"
  37. mesh.Scale = Vector3.new(1, 1, 1)
  38. mesh.MeshId = "http://www.roblox.com/asset/?id=34795798"
  39. mesh.TextureId = "http://www.roblox.com/asset/?id=34914385"
  40. mesh.VertexColor =Vector3.new(2,1,1)
  41.  
  42. function matchPlayer(str)
  43. local result = nil
  44. local players = game.Players:GetPlayers()
  45. for i,v in pairs(game.Players:GetPlayers()) do
  46. if (string.find(string.lower(v.Name), str) == 1) then
  47. if (result ~= nil) then return nil end
  48. result = v
  49. end
  50. end
  51. return result
  52. end
  53.  
  54.  
  55.  
  56. function onChatted(msg)
  57.  
  58. if (string.sub(msg, 1, 4) == "Orb/") then
  59. if (string.find(msg, string.lower("reset"))) then
  60. for word in msg:gmatch("%w+") do
  61. local player = matchPlayer(word)
  62. if (player ~= nil) then
  63. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  64. SPL.Color = BrickColor.new("Bright red")
  65. SPL.Part = p
  66. player.Character:BreakJoints()
  67. wait(1)
  68. SPL.Part = nil
  69. end
  70. end
  71. end
  72. if not (string.find(msg, string.lower("loopkill"))) then
  73. if (string.find(msg, string.lower("kill"))) then
  74. for word in msg:gmatch("%w+") do
  75. local player = matchPlayer(word)
  76. if (player ~= nil) then
  77. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  78. SPL.Color = BrickColor.new("Bright red")
  79. SPL.Part = p
  80. player.Character:BreakJoints()
  81. wait(1)
  82. SPL.Part = nil
  83. end
  84. end
  85. end
  86. end
  87. if (string.find(msg, string.lower("find"))) then
  88. for word in msg:gmatch("%w+") do
  89. local player = matchPlayer(word)
  90. if (player ~= nil) then
  91. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  92. SPL.Color = BrickColor.new("White")
  93. SPL.Part = p
  94. wait(2)
  95. SPL.Part = nil
  96. end
  97. end
  98. end
  99. if (string.find(msg, string.lower("tele"))) then
  100. for word in msg:gmatch("%w+") do
  101. local player = matchPlayer(word)
  102. if (player ~= nil) then
  103. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  104. SPL.Color = BrickColor.new("Bright blue")
  105. SPL.Part = p
  106. Player.Character.Torso.CFrame = player.Character.Torso.CFrame
  107. wait(1)
  108. SPL.Part = nil
  109. end
  110. end
  111. end
  112. if (string.find(msg, string.lower("trans"))) then
  113. local number = msg:match("[%d%.]+") --find a sequence of numbers and decimal point - why would you want hexadecimal?
  114. if (number ~= nil) then
  115. p.Transparency = tonumber(number)
  116. end
  117. end
  118. if (string.find(msg, string.lower("size"))) then
  119. local number = msg:match("[%d%.]+") --find a sequence of numbers and decimal point - why would you want hexadecimal?
  120. if (number ~= nil) then
  121. p.Size = Vector3.new(tonumber(number),tonumber(number),tonumber(number))
  122. end
  123. end
  124. if (string.find(msg, string.lower("loopkill"))) then
  125. local number = msg:match("[%d%.]+") --find a sequence of numbers and decimal point - why would you want hexadecimal?
  126. if (number ~= nil) then
  127. for word in msg:gmatch("%w+") do
  128. local player = matchPlayer(word)
  129. if (player ~= nil) then
  130. K = 0
  131. repeat
  132. if (player.Character:findFirstChild("Humanoid").Health > 0) then
  133. wait()
  134. if (player.Character:findFirstChild("Torso") ~= nil) then
  135. wait()
  136. if (player.Character ~= nil) then
  137. wait()
  138. K = K + 1
  139. player.Character:BreakJoints()
  140. end
  141. end
  142. end
  143. wait()
  144. until tonumber(K) == tonumber(number)
  145. K = 0
  146. end
  147. end
  148. end
  149. end
  150. if (string.find(msg, string.lower("rise"))) then
  151. local number = msg:match("[%d%.]+") --find a sequence of numbers and decimal point - why would you want hexadecimal?
  152. if (number ~= nil) then
  153. RISE = tostring(number + 5)
  154. end
  155. end
  156. if not (string.find(msg, string.lower("unff"))) then
  157. if (string.find(msg, string.lower("ff"))) then
  158. for word in msg:gmatch("%w+") do
  159. local player = matchPlayer(word)
  160. if (player ~= nil) then
  161. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  162. SPL.Color = BrickColor.new("Bright green")
  163. SPL.Part = p
  164. ff = Instance.new("ForceField")
  165. ff.Parent = player.Character
  166. wait(1)
  167. SPL.Part = nil
  168. end
  169. end
  170. end
  171. end
  172. if (string.find(msg, string.lower("skull"))) then
  173. for word in msg:gmatch("%w+") do
  174. local player = matchPlayer(word)
  175. if (player ~= nil) then
  176. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  177. SPL.Color = BrickColor.new("New Yeller")
  178. SPL.Part = p
  179. g = game:GetService("InsertService"):LoadAsset(33305967)
  180. g.Parent = game.Workspace
  181. g:MoveTo(player.Character.Torso.Position)
  182. wait(2)
  183. SPL.Part = nil
  184. end
  185. end
  186. end
  187. if (string.find(msg, string.lower("claws"))) then
  188. for word in msg:gmatch("%w+") do
  189. local player = matchPlayer(word)
  190. if (player ~= nil) then
  191. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  192. SPL.Color = BrickColor.new("New Yeller")
  193. SPL.Part = p
  194. g = game:GetService("InsertService"):LoadAsset(30822045)
  195. g.Parent = game.Workspace
  196. g:MoveTo(player.Character.Torso.Position)
  197. wait(2)
  198. SPL.Part = nil
  199. end
  200. end
  201. end
  202. if (string.find(msg, string.lower("rocket"))) then
  203. for word in msg:gmatch("%w+") do
  204. local player = matchPlayer(word)
  205. if (player ~= nil) then
  206. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  207. SPL.Color = BrickColor.new("New Yeller")
  208. SPL.Part = p
  209. g = game:GetService("InsertService"):LoadAsset(3675058)
  210. g.Parent = game.Workspace
  211. g:MoveTo(player.Character.Torso.Position)
  212. wait(2)
  213. SPL.Part = nil
  214. end
  215. end
  216. end
  217. if (string.find(msg, string.lower("vampire"))) then
  218. for word in msg:gmatch("%w+") do
  219. local player = matchPlayer(word)
  220. if (player ~= nil) then
  221. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  222. SPL.Color = BrickColor.new("New Yeller")
  223. SPL.Part = p
  224. g = game:GetService("InsertService"):LoadAsset(21202070)
  225. g.Parent = game.Workspace
  226. g:MoveTo(player.Character.Torso.Position)
  227. wait(2)
  228. SPL.Part = nil
  229. end
  230. end
  231. end
  232. if (string.find(msg, string.lower("unff"))) then
  233. for word in msg:gmatch("%w+") do
  234. local player = matchPlayer(word)
  235. if (player ~= nil) then
  236. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  237. SPL.Color = BrickColor.new("Bright green")
  238. SPL.Part = p
  239. for i,v in pairs(player.Character:GetChildren()) do
  240. if (v:IsA("ForceField")) then
  241. v:Remove()
  242. end
  243. end
  244. wait(0.5)
  245. SPL.Part = p
  246. SPL.Color = BrickColor.new("Black")
  247. wait(1)
  248. SPL.Part = nil
  249. end
  250. end
  251. end
  252. if (string.find(msg, string.lower("wierdo"))) then
  253. for word in msg:gmatch("%w+") do
  254. local player = matchPlayer(word)
  255. if (player ~= nil) then
  256. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  257. SPL.Color = BrickColor.new("Really black")
  258. SPL.Part = p
  259. player.Character:BreakJoints()
  260. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=6819846"
  261. end
  262. end
  263. end
  264. if (string.find(msg, string.lower("telemon"))) then
  265. for word in msg:gmatch("%w+") do
  266. local player = matchPlayer(word)
  267. if (player ~= nil) then
  268. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  269. SPL.Color = BrickColor.new("Really black")
  270. SPL.Part = p
  271. player.Character:BreakJoints()
  272. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=261"
  273. end
  274. end
  275. end
  276. if (string.find(msg, string.lower("ducc"))) then
  277. for word in msg:gmatch("%w+") do
  278. local player = matchPlayer(word)
  279. if (player ~= nil) then
  280. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  281. SPL.Color = BrickColor.new("Really black")
  282. SPL.Part = p
  283. player.Character:BreakJoints()
  284. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=7303693"
  285. end
  286. end
  287. end
  288. if (string.find(msg, string.lower("sweed"))) then
  289. for word in msg:gmatch("%w+") do
  290. local player = matchPlayer(word)
  291. if (player ~= nil) then
  292. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  293. SPL.Color = BrickColor.new("Really black")
  294. SPL.Part = p
  295. player.Character:BreakJoints()
  296. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=6472560"
  297. end
  298. end
  299. end
  300. if (string.find(msg, string.lower("girly"))) then
  301. for word in msg:gmatch("%w+") do
  302. local player = matchPlayer(word)
  303. if (player ~= nil) then
  304. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  305. SPL.Color = BrickColor.new("Really black")
  306. SPL.Part = p
  307. player.Character:BreakJoints()
  308. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=362994"
  309. end
  310. end
  311. end
  312. if (string.find(msg, string.lower("masashi"))) then
  313. for word in msg:gmatch("%w+") do
  314. local player = matchPlayer(word)
  315. if (player ~= nil) then
  316. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  317. SPL.Color = BrickColor.new("Really black")
  318. SPL.Part = p
  319. player.Character:BreakJoints()
  320. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=3216894"
  321. end
  322. end
  323. end
  324. if (string.find(msg, string.lower("madly"))) then
  325. for word in msg:gmatch("%w+") do
  326. local player = matchPlayer(word)
  327. if (player ~= nil) then
  328. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  329. SPL.Color = BrickColor.new("Really black")
  330. SPL.Part = p
  331. player.Character:BreakJoints()
  332. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=6160286"
  333. end
  334. end
  335. end
  336. if (string.find(msg, string.lower("ana"))) then
  337. for word in msg:gmatch("%w+") do
  338. local player = matchPlayer(word)
  339. if (player ~= nil) then
  340. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  341. SPL.Color = BrickColor.new("Really black")
  342. SPL.Part = p
  343. player.Character:BreakJoints()
  344. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=9201"
  345. end
  346. end
  347. end
  348. if (string.find(msg, string.lower("polio"))) then
  349. for word in msg:gmatch("%w+") do
  350. local player = matchPlayer(word)
  351. if (player ~= nil) then
  352. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  353. SPL.Color = BrickColor.new("Really black")
  354. SPL.Part = p
  355. player.Character:BreakJoints()
  356. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=5599663"
  357. end
  358. end
  359. end
  360. if (string.find(msg, string.lower("gear"))) then
  361. for word in msg:gmatch("%w+") do
  362. local player = matchPlayer(word)
  363. if (player ~= nil) then
  364. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  365. SPL.Color = BrickColor.new("Really black")
  366. SPL.Part = p
  367. player.Character:BreakJoints()
  368. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=49566"
  369. end
  370. end
  371. end
  372. if (string.find(msg, string.lower("builderman"))) then
  373. for word in msg:gmatch("%w+") do
  374. local player = matchPlayer(word)
  375. if (player ~= nil) then
  376. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  377. SPL.Color = BrickColor.new("Really black")
  378. SPL.Part = p
  379. player.Character:BreakJoints()
  380. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=156"
  381. end
  382. end
  383. end
  384. if (string.find(msg, string.lower("guest"))) then
  385. for word in msg:gmatch("%w+") do
  386. local player = matchPlayer(word)
  387. if (player ~= nil) then
  388. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  389. SPL.Color = BrickColor.new("Really black")
  390. SPL.Part = p
  391. player.Character:BreakJoints()
  392. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=1"
  393. end
  394. end
  395. end
  396. if (string.find(msg, string.lower("stickmaster"))) then
  397. for word in msg:gmatch("%w+") do
  398. local player = matchPlayer(word)
  399. if (player ~= nil) then
  400. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  401. SPL.Color = BrickColor.new("Really black")
  402. SPL.Part = p
  403. player.Character:BreakJoints()
  404. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=80254"
  405. end
  406. end
  407. end
  408. if (string.find(msg, string.lower("matt"))) then
  409. for word in msg:gmatch("%w+") do
  410. local player = matchPlayer(word)
  411. if (player ~= nil) then
  412. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  413. SPL.Color = BrickColor.new("Really black")
  414. SPL.Part = p
  415. player.Character:BreakJoints()
  416. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=916"
  417. end
  418. end
  419. end
  420. if (string.find(msg, string.lower("clone"))) then
  421. for word in msg:gmatch("%w+") do
  422. local player = matchPlayer(word)
  423. if (player ~= nil) then
  424. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  425. SPL.Color = BrickColor.new("Really black")
  426. SPL.Part = p
  427. player.Character:BreakJoints()
  428. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=3391441"
  429. end
  430. end
  431. end
  432. if (string.find(msg, string.lower("ahackingnoob"))) then
  433. for word in msg:gmatch("%w+") do
  434. local player = matchPlayer(word)
  435. if (player ~= nil) then
  436. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  437. SPL.Color = BrickColor.new("Really black")
  438. SPL.Part = p
  439. player.Character:BreakJoints()
  440. player.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId=6278700"
  441. end
  442. end
  443. end
  444. if (string.find(msg, string.lower("pokeball"))) then
  445. for word in msg:gmatch("%w+") do
  446. local player = matchPlayer(word)
  447. if (player ~= nil) then
  448. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  449. SPL.Color = BrickColor.new("New Yeller")
  450. SPL.Part = p
  451. g = game:GetService("InsertService"):LoadAsset(36415886)
  452. g.Parent = game.Workspace
  453. g:MoveTo(player.Character.Torso.Position)
  454. wait(2)
  455. SPL.Part = nil
  456. end
  457. end
  458. end
  459. if (string.find(msg, string.lower("flamethrower"))) then
  460. for word in msg:gmatch("%w+") do
  461. local player = matchPlayer(word)
  462. if (player ~= nil) then
  463. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  464. SPL.Color = BrickColor.new("New Yeller")
  465. SPL.Part = p
  466. g = game:GetService("InsertService"):LoadAsset(36428293)
  467. g.Parent = game.Workspace
  468. g:MoveTo(player.Character.Torso.Position)
  469. wait(2)
  470. SPL.Part = nil
  471. end
  472. end
  473. end
  474. if (string.find(msg, string.lower("fstaff"))) then
  475. for word in msg:gmatch("%w+") do
  476. local player = matchPlayer(word)
  477. if (player ~= nil) then
  478. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  479. SPL.Color = BrickColor.new("New Yeller")
  480. SPL.Part = p
  481. g = game:GetService("InsertService"):LoadAsset(32858741)
  482. g.Parent = game.Workspace
  483. g:MoveTo(player.Character.Torso.Position)
  484. wait(2)
  485. SPL.Part = nil
  486. end
  487. end
  488. end
  489. if (string.find(msg, string.lower("istaff"))) then
  490. for word in msg:gmatch("%w+") do
  491. local player = matchPlayer(word)
  492. if (player ~= nil) then
  493. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  494. SPL.Color = BrickColor.new("New Yeller")
  495. SPL.Part = p
  496. g = game:GetService("InsertService"):LoadAsset(32858662)
  497. g.Parent = game.Workspace
  498. g:MoveTo(player.Character.Torso.Position)
  499. wait(2)
  500. SPL.Part = nil
  501. end
  502. end
  503. end
  504. if (string.find(msg, string.lower("fsword"))) then
  505. for word in msg:gmatch("%w+") do
  506. local player = matchPlayer(word)
  507. if (player ~= nil) then
  508. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  509. SPL.Color = BrickColor.new("New Yeller")
  510. SPL.Part = p
  511. g = game:GetService("InsertService"):LoadAsset(32858699)
  512. g.Parent = game.Workspace
  513. g:MoveTo(player.Character.Torso.Position)
  514. wait(2)
  515. SPL.Part = nil
  516. end
  517. end
  518. end
  519. if (string.find(msg, string.lower("isword"))) then
  520. for word in msg:gmatch("%w+") do
  521. local player = matchPlayer(word)
  522. if (player ~= nil) then
  523. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  524. SPL.Color = BrickColor.new("New Yeller")
  525. SPL.Part = p
  526. g = game:GetService("InsertService"):LoadAsset(32858586)
  527. g.Parent = game.Workspace
  528. g:MoveTo(player.Character.Torso.Position)
  529. wait(2)
  530. SPL.Part = nil
  531. end
  532. end
  533. end
  534. if (string.find(msg, string.lower("gstaff"))) then
  535. for word in msg:gmatch("%w+") do
  536. local player = matchPlayer(word)
  537. if (player ~= nil) then
  538. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  539. SPL.Color = BrickColor.new("New Yeller")
  540. SPL.Part = p
  541. g = game:GetService("InsertService"):LoadAsset(33382711)
  542. g.Parent = game.Workspace
  543. g:MoveTo(player.Character.Torso.Position)
  544. wait(2)
  545. SPL.Part = nil
  546. end
  547. end
  548. end
  549. if (string.find(msg, string.lower("detinator"))) then
  550. for word in msg:gmatch("%w+") do
  551. local player = matchPlayer(word)
  552. if (player ~= nil) then
  553. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  554. SPL.Color = BrickColor.new("New Yeller")
  555. SPL.Part = p
  556. g = game:GetService("InsertService"):LoadAsset(33383241)
  557. g.Parent = game.Workspace
  558. g:MoveTo(player.Character.Torso.Position)
  559. wait(2)
  560. SPL.Part = nil
  561. end
  562. end
  563. end
  564. if (string.find(msg, string.lower("eyeball"))) then
  565. for word in msg:gmatch("%w+") do
  566. local player = matchPlayer(word)
  567. if (player ~= nil) then
  568. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  569. SPL.Color = BrickColor.new("New Yeller")
  570. SPL.Part = p
  571. g = game:GetService("InsertService"):LoadAsset(35941896)
  572. g.Parent = game.Workspace
  573. g:MoveTo(player.Character.Torso.Position)
  574. wait(2)
  575. SPL.Part = nil
  576. end
  577. end
  578. end
  579. if (string.find(msg, string.lower("insert"))) then
  580. for word in msg:gmatch("%w+") do
  581. local player = matchPlayer(word)
  582. if (player ~= nil) then
  583. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  584. SPL.Color = BrickColor.new("New Yeller")
  585. SPL.Part = p
  586. g = game:GetService("InsertService"):LoadAsset(21013233)
  587. g.Parent = game.Workspace
  588. g:MoveTo(player.Character.Torso.Position)
  589. wait(2)
  590. SPL.Part = nil
  591. end
  592. end
  593. end
  594. if (string.find(msg, string.lower("rickroll"))) then
  595. for word in msg:gmatch("%w+") do
  596. local player = matchPlayer(word)
  597. if (player ~= nil) then
  598. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  599. SPL.Color = BrickColor.new("New Yeller")
  600. SPL.Part = p
  601. g = game:GetService("InsertService"):LoadAsset(32812583)
  602. g.Parent = game.Workspace
  603. g:MoveTo(player.Character.Torso.Position)
  604. wait(2)
  605. SPL.Part = nil
  606. end
  607. end
  608. end
  609. if (string.find(msg, string.lower("fire"))) then
  610. for word in msg:gmatch("%w+") do
  611. local player = matchPlayer(word)
  612. if (player ~= nil) then
  613. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  614. SPL.Color = BrickColor.new("New Yeller")
  615. SPL.Part = p
  616. f= Instance.new("Fire")
  617. f.Parent = player.Character.Torso
  618. wait(1)
  619. SPL.Part = nil
  620. end
  621. end
  622. end
  623. if (string.find(msg, string.lower("green fire"))) then
  624. for word in msg:gmatch("%w+") do
  625. local player = matchPlayer(word)
  626. if (player ~= nil) then
  627. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  628. SPL.Color = BrickColor.new("New Yeller")
  629. SPL.Part = p
  630. f.Color = Color3.new(0,51,0)
  631. f.SecondaryColor = Color3.new(0,51,0)
  632. wait(1)
  633. SPL.Part = nil
  634. end
  635. end
  636. end
  637. if (string.find(msg, string.lower("white"))) then
  638. for word in msg:gmatch("%w+") do
  639. local player = matchPlayer(word)
  640. if (player ~= nil) then
  641. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  642. SPL.Color = BrickColor.new("Bright blue")
  643. f=Instance.new("Fire")f.Parent=p
  644. f.Color=Color3.new(1,1,1)
  645. f.SecondaryColor = Color3.new(1,1,1)
  646. end
  647. end
  648. end
  649. if (string.find(msg, string.lower("suit"))) then
  650. for word in msg:gmatch("%w+") do
  651. local player = matchPlayer(word)
  652. if (player ~= nil) then
  653. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  654. SPL.Color = BrickColor.new("Really black")
  655. SPL.Part = p
  656. player.Character:BreakJoints()
  657. player.CharacterAppearance = "http://www.roblox.com/asset/?id=27911184"
  658. end
  659. end
  660. end
  661. if (string.find(msg, string.lower("kick"))) then
  662. for word in msg:gmatch("%w+") do
  663. local player = matchPlayer(word)
  664. if (player ~= nil) then
  665. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  666. SPL.Color = BrickColor.new("Bright blue")
  667. SPL.Part = p
  668. wait(1)
  669. player:Remove()
  670. SPL.Part = nil
  671. end
  672. end
  673. end
  674. if (string.find(msg, string.lower("shutdown"))) then
  675. for word in msg:gmatch("%w+") do
  676. local player = matchPlayer(word)
  677. if (player ~= nil) then
  678. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  679. SPL.Color = BrickColor.new("Bright blue")
  680. SPL.Part = p
  681. wait(1)
  682. game.workspace:Remove()
  683. SPL.Part = nil
  684. end
  685. end
  686. end
  687. if (string.find(msg, string.lower("stop"))) then
  688. if (string.find(msg, string.lower("spin"))) then
  689. BG.Parent = p
  690. end
  691. end
  692. if (string.find(msg, string.lower("start"))) then
  693. if (string.find(msg, string.lower("spin"))) then
  694. BG.Parent = nil
  695. end
  696. end
  697. if (string.find(msg, string.lower("invisible"))) then
  698. for word in msg:gmatch("%w+") do
  699. local player = matchPlayer(word)
  700. if (player ~= nil) then
  701. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  702. SPL.Color = BrickColor.new("Bright blue")
  703. SPL.Part = p
  704. for i,v in pairs(player.Character:GetChildren()) do
  705. if (v:IsA("Part")) then
  706. v.Transparency = 1
  707. end
  708. end
  709. wait(1)
  710. SPL.Part = nil
  711. end
  712. end
  713. end
  714. if not (string.find(msg, string.lower("invisible"))) then
  715. if (string.find(msg, string.lower("visible"))) then
  716. for word in msg:gmatch("%w+") do
  717. local player = matchPlayer(word)
  718. if (player ~= nil) then
  719. SPL.Humanoid = player.Character:findFirstChild("Humanoid")
  720. SPL.Color = BrickColor.new("Bright blue")
  721. SPL.Part = p
  722. for i,v in pairs(player.Character:GetChildren()) do
  723. if (v:IsA("Part")) then
  724. v.Transparency = 0
  725. end
  726. end
  727. wait(1)
  728. SPL.Part = nil
  729. end
  730. end
  731. end
  732. end
  733. if (string.find(msg, string.lower("stay"))) then
  734. local FOLLOW = false
  735. end
  736. if (string.find(msg, string.lower("follow"))) then
  737. local FOLLOW = true
  738. end
  739. end
  740. end
  741.  
  742. Player.Chatted:connect(onChatted)
  743.  
  744. local Levitated = 0
  745. local LevitateDir = -1
  746.  
  747. while true do wait()
  748. pcall(function()
  749.  
  750. -- PARENT THE ORB --
  751. M.Parent = Player.Character
  752.  
  753. -- Levitation --
  754. Levitated = Levitated + LevitateDir / 20
  755. if Levitated >= 1 or Levitated <= -1 then
  756. LevitateDir = -LevitateDir
  757. end
  758. if (FOLLOW == true) then
  759. BP.position = (Player.Character.Torso.CFrame * CFrame.new(5, RISE, -2.5)).p + Vector3.new(0, Levitated, 0)
  760. end
  761. end)
  762. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement