Advertisement
EmeraldIT

AAAA

Oct 12th, 2019
441
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 30.79 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. c = owner.Character
  85. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(85/255, 0/255, 255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,255/255,127/255))}
  86. local att1 = Instance.new("Attachment", c["Right Leg"])
  87. att1.Name = "att1"
  88. att1.Position = Vector3.new(0.5, 1, 0.5)
  89. local att2 = Instance.new("Attachment", c["Right Leg"])
  90. att2.Name = "att2"
  91. att2.Position = Vector3.new(-0.5, 1, 0.5)
  92. local att3 = Instance.new("Attachment", c["Right Leg"])
  93. att3.Name = "att3"
  94. att3.Position = Vector3.new(0.5, -1, 0.5)
  95. local att4 = Instance.new("Attachment", c["Right Leg"])
  96. att4.Name = "att4"
  97. att4.Position = Vector3.new(-0.5, -1, 0.5)
  98.  
  99. local attt1 = Instance.new("Attachment", c["Left Leg"])
  100. attt1.Name = "att1"
  101. attt1.Position = Vector3.new(0.5, 1, 0.5)
  102. local attt2 = Instance.new("Attachment", c["Left Leg"])
  103. attt2.Name = "att2"
  104. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  105. local attt3 = Instance.new("Attachment", c["Left Leg"])
  106. attt3.Name = "att3"
  107. attt3.Position = Vector3.new(0.5, -1, 0.5)
  108. local attt4 = Instance.new("Attachment", c["Left Leg"])
  109. attt4.Name = "att4"
  110. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  111.  
  112. local trailtop1 = Instance.new("Trail", c["Right Leg"])
  113. trailtop1.Enabled = true
  114. trailtop1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  115. trailtop1.Name = "toptrail"
  116. trailtop1.MinLength = 0
  117. trailtop1.Lifetime = 0.1
  118.  
  119. trailtop1.Color = ColorSequence.new(ColorArray)
  120.  
  121. trailtop1.Attachment0 = att1
  122. trailtop1.Attachment1 = att2
  123. trailtop1.Transparency = NumberSequence.new({
  124. NumberSequenceKeypoint.new(0, 0.5, 0),
  125. NumberSequenceKeypoint.new(1, 1, 0)
  126. })
  127.  
  128. local trailbot1 = Instance.new("Trail", c["Right Leg"])
  129. trailbot1.Enabled = true
  130. trailbot1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  131. trailbot1.Name = "bottrail"
  132. trailbot1.MinLength = 0
  133. trailbot1.Lifetime = 0.1
  134.  
  135. trailbot1.Color = ColorSequence.new(ColorArray)
  136.  
  137. trailbot1.Attachment0 = att3
  138. trailbot1.Attachment1 = att4
  139. trailbot1.Transparency = NumberSequence.new({
  140. NumberSequenceKeypoint.new(0, 0.5, 0),
  141. NumberSequenceKeypoint.new(1, 1, 0)
  142. })
  143.  
  144. local trailside1 = Instance.new("Trail", c["Right Leg"])
  145. trailside1.Enabled = true
  146. trailside1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  147. trailside1.Name = "sidetrail1"
  148. trailside1.MinLength = 0
  149. trailside1.Lifetime = 0.1
  150.  
  151. trailside1.Color = ColorSequence.new(ColorArray)
  152.  
  153. trailside1.Attachment0 = att1
  154. trailside1.Attachment1 = att3
  155. trailside1.Transparency = NumberSequence.new({
  156. NumberSequenceKeypoint.new(0, 0.5, 0),
  157. NumberSequenceKeypoint.new(1, 1, 0)
  158. })
  159.  
  160. local trailside2 = Instance.new("Trail", c["Right Leg"])
  161. trailside2.Enabled = true
  162. trailside2.Texture = "http://www.roblox.com/asset/?id=1978704853"
  163. trailside2.Name = "sidetrail2"
  164. trailside2.MinLength = 0
  165. trailside2.Lifetime = 0.1
  166. spawn(function()
  167. while true do wait()
  168. trailside2.Color = ColorSequence.new(ColorArray)
  169. end
  170. end)
  171. trailside2.Attachment0 = att2
  172. trailside2.Attachment1 = att4
  173. trailside2.Transparency = NumberSequence.new({
  174. NumberSequenceKeypoint.new(0, 0.5, 0),
  175. NumberSequenceKeypoint.new(1, 1, 0)
  176. })
  177.  
  178.  
  179. local trailtop12 = Instance.new("Trail", c["Left Leg"])
  180. trailtop12.Enabled = true
  181. trailtop12.Texture = "http://www.roblox.com/asset/?id=1978704853"
  182. trailtop12.Name = "toptrail"
  183. trailtop12.MinLength = 0
  184. trailtop12.Lifetime = 0.1
  185. spawn(function()
  186. while true do wait()
  187. trailtop12.Color = ColorSequence.new(ColorArray)
  188. end
  189. end)
  190. trailtop12.Attachment0 = attt1
  191. trailtop12.Attachment1 = attt2
  192. trailtop12.Transparency = NumberSequence.new({
  193. NumberSequenceKeypoint.new(0, 0.5, 0),
  194. NumberSequenceKeypoint.new(1, 1, 0)
  195. })
  196.  
  197. local trailbot2 = Instance.new("Trail", c["Left Leg"])
  198. trailbot2.Enabled = true
  199. trailbot2.Texture = "http://www.roblox.com/asset/?id=1978704853"
  200. trailbot2.Name = "bottrail"
  201. trailbot2.MinLength = 0
  202. trailbot2.Lifetime = 0.1
  203.  
  204. trailbot2.Color = ColorSequence.new(ColorArray)
  205.  
  206. trailbot2.Attachment0 = attt3
  207. trailbot2.Attachment1 = attt4
  208. trailbot2.Transparency = NumberSequence.new({
  209. NumberSequenceKeypoint.new(0, 0.5, 0),
  210. NumberSequenceKeypoint.new(1, 1, 0)
  211. })
  212.  
  213. local trailside12 = Instance.new("Trail", c["Left Leg"])
  214. trailside12.Enabled = true
  215. trailside12.Texture = "http://www.roblox.com/asset/?id=1978704853"
  216. trailside12.Name = "sidetrail1"
  217. trailside12.MinLength = 0
  218. trailside12.Lifetime = 0.1
  219.  
  220. trailside12.Color = ColorSequence.new(ColorArray)
  221.  
  222. trailside12.Attachment0 = attt1
  223. trailside12.Attachment1 = attt3
  224. trailside12.Transparency = NumberSequence.new({
  225. NumberSequenceKeypoint.new(0, 0.5, 0),
  226. NumberSequenceKeypoint.new(1, 1, 0)
  227. })
  228.  
  229. local trailside22 = Instance.new("Trail", c["Left Leg"])
  230. trailside22.Enabled = true
  231. trailside22.Texture = "http://www.roblox.com/asset/?id=1978704853"
  232. trailside22.Name = "sidetrail2"
  233. trailside22.MinLength = 0
  234. trailside22.Lifetime = 0.1
  235.  
  236. trailside22.Color = ColorSequence.new(ColorArray)
  237.  
  238. trailside22.Attachment0 = attt2
  239. trailside22.Attachment1 = attt4
  240. trailside22.Transparency = NumberSequence.new({
  241. NumberSequenceKeypoint.new(0, 0.5, 0),
  242. NumberSequenceKeypoint.new(1, 1, 0)
  243. })
  244.  
  245.  
  246. local att1 = Instance.new("Attachment", c["Right Arm"])
  247. att1.Name = "att1"
  248. att1.Position = Vector3.new(0.5, 1, 0.5)
  249. local att2 = Instance.new("Attachment", c["Right Arm"])
  250. att2.Name = "att2"
  251. att2.Position = Vector3.new(-0.5, 1, 0.5)
  252. local att3 = Instance.new("Attachment", c["Right Arm"])
  253. att3.Name = "att3"
  254. att3.Position = Vector3.new(0.5, -1, 0.5)
  255. local att4 = Instance.new("Attachment", c["Right Arm"])
  256. att4.Name = "att4"
  257. att4.Position = Vector3.new(-0.5, -1, 0.5)
  258.  
  259. local attt1 = Instance.new("Attachment", c["Left Arm"])
  260. attt1.Name = "att1"
  261. attt1.Position = Vector3.new(0.5, 1, 0.5)
  262. local attt2 = Instance.new("Attachment", c["Left Arm"])
  263. attt2.Name = "att2"
  264. attt2.Position = Vector3.new(-0.5, 1, 0.5)
  265. local attt3 = Instance.new("Attachment", c["Left Arm"])
  266. attt3.Name = "att3"
  267. attt3.Position = Vector3.new(0.5, -1, 0.5)
  268. local attt4 = Instance.new("Attachment", c["Left Arm"])
  269. attt4.Name = "att4"
  270. attt4.Position = Vector3.new(-0.5, -1, 0.5)
  271.  
  272. local trailtop1 = Instance.new("Trail", c["Right Arm"])
  273. trailtop1.Enabled = true
  274. trailtop1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  275. trailtop1.Name = "toptrail"
  276. trailtop1.MinLength = 0
  277. trailtop1.Lifetime = 0.1
  278.  
  279. trailtop1.Color = ColorSequence.new(ColorArray)
  280.  
  281. trailtop1.Attachment0 = att1
  282. trailtop1.Attachment1 = att2
  283. trailtop1.Transparency = NumberSequence.new({
  284. NumberSequenceKeypoint.new(0, 0.5, 0),
  285. NumberSequenceKeypoint.new(1, 1, 0)
  286. })
  287.  
  288. local trailbot1 = Instance.new("Trail", c["Right Arm"])
  289. trailbot1.Enabled = true
  290. trailbot1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  291. trailbot1.Name = "bottrail"
  292. trailbot1.MinLength = 0
  293. trailbot1.Lifetime = 0.1
  294. spawn(function()
  295. while true do wait()
  296. trailbot1.Color = ColorSequence.new(ColorArray)
  297. end
  298. end)
  299. trailbot1.Attachment0 = att3
  300. trailbot1.Attachment1 = att4
  301. trailbot1.Transparency = NumberSequence.new({
  302. NumberSequenceKeypoint.new(0, 0.5, 0),
  303. NumberSequenceKeypoint.new(1, 1, 0)
  304. })
  305.  
  306. local trailside1 = Instance.new("Trail", c["Right Arm"])
  307. trailside1.Enabled = true
  308. trailside1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  309. trailside1.Name = "sidetrail1"
  310. trailside1.MinLength = 0
  311. trailside1.Lifetime = 0.1
  312.  
  313. trailside1.Color = ColorSequence.new(ColorArray)
  314.  
  315. trailside1.Attachment0 = att1
  316. trailside1.Attachment1 = att3
  317. trailside1.Transparency = NumberSequence.new({
  318. NumberSequenceKeypoint.new(0, 0.5, 0),
  319. NumberSequenceKeypoint.new(1, 1, 0)
  320. })
  321.  
  322. local trailside2 = Instance.new("Trail", c["Right Arm"])
  323. trailside2.Enabled = true
  324. trailside2.Texture = "http://www.roblox.com/asset/?id=1978704853"
  325. trailside2.Name = "sidetrail2"
  326. trailside2.MinLength = 0
  327. trailside2.Lifetime = 0.1
  328.  
  329. trailside2.Color = ColorSequence.new(ColorArray)
  330.  
  331. trailside2.Attachment0 = att2
  332. trailside2.Attachment1 = att4
  333. trailside2.Transparency = NumberSequence.new({
  334. NumberSequenceKeypoint.new(0, 0.5, 0),
  335. NumberSequenceKeypoint.new(1, 1, 0)
  336. })
  337.  
  338.  
  339. local trailtop12 = Instance.new("Trail", c["Left Arm"])
  340. trailtop12.Enabled = true
  341. trailtop12.Texture = "http://www.roblox.com/asset/?id=1978704853"
  342. trailtop12.Name = "toptrail"
  343. trailtop12.MinLength = 0
  344. trailtop12.Lifetime = 0.1
  345.  
  346. trailtop12.Color = ColorSequence.new(ColorArray)
  347.  
  348. trailtop12.Attachment0 = attt1
  349. trailtop12.Attachment1 = attt2
  350. trailtop12.Transparency = NumberSequence.new({
  351. NumberSequenceKeypoint.new(0, 0.5, 0),
  352. NumberSequenceKeypoint.new(1, 1, 0)
  353. })
  354.  
  355. local trailbot2 = Instance.new("Trail", c["Left Arm"])
  356. trailbot2.Enabled = true
  357. trailbot2.Texture = "http://www.roblox.com/asset/?id=1978704853"
  358. trailbot2.Name = "bottrail"
  359. trailbot2.MinLength = 0
  360. trailbot2.Lifetime = 0.1
  361.  
  362. trailbot2.Color = ColorSequence.new(ColorArray)
  363.  
  364. trailbot2.Attachment0 = attt3
  365. trailbot2.Attachment1 = attt4
  366. trailbot2.Transparency = NumberSequence.new({
  367. NumberSequenceKeypoint.new(0, 0.5, 0),
  368. NumberSequenceKeypoint.new(1, 1, 0)
  369. })
  370.  
  371. local trailside12 = Instance.new("Trail", c["Left Arm"])
  372. trailside12.Enabled = true
  373. trailside12.Texture = "http://www.roblox.com/asset/?id=1978704853"
  374. trailside12.Name = "sidetrail1"
  375. trailside12.MinLength = 0
  376. trailside12.Lifetime = 0.1
  377.  
  378. trailside12.Color = ColorSequence.new(ColorArray)
  379.  
  380. trailside12.Attachment0 = attt1
  381. trailside12.Attachment1 = attt3
  382. trailside12.Transparency = NumberSequence.new({
  383. NumberSequenceKeypoint.new(0, 0.5, 0),
  384. NumberSequenceKeypoint.new(1, 1, 0)
  385. })
  386.  
  387. local trailside22 = Instance.new("Trail", c["Left Arm"])
  388. trailside22.Enabled = true
  389. trailside22.Texture = "http://www.roblox.com/asset/?id=1978704853"
  390. trailside22.Name = "sidetrail2"
  391. trailside22.MinLength = 0
  392. trailside22.Lifetime = 0.1
  393.  
  394. trailside22.Color = ColorSequence.new(ColorArray)
  395.  
  396. trailside22.Attachment0 = attt2
  397. trailside22.Attachment1 = attt4
  398. trailside22.Transparency = NumberSequence.new({
  399. NumberSequenceKeypoint.new(0, 0.5, 0),
  400. NumberSequenceKeypoint.new(1, 1, 0)
  401. })
  402.  
  403. local att1 = Instance.new("Attachment", c["Torso"])
  404. att1.Name = "att1"
  405. att1.Position = Vector3.new(1, 1, 0.5)
  406. local att2 = Instance.new("Attachment", c["Torso"])
  407. att2.Name = "att2"
  408. att2.Position = Vector3.new(-1, 1, 0.5)
  409. local att3 = Instance.new("Attachment", c["Torso"])
  410. att3.Name = "att3"
  411. att3.Position = Vector3.new(1, -1, 0.5)
  412. local att4 = Instance.new("Attachment", c["Torso"])
  413. att4.Name = "att4"
  414. att4.Position = Vector3.new(-1, -1, 0.5)
  415.  
  416. local attt1 = Instance.new("Attachment", c["Head"])
  417. attt1.Name = "att1"
  418. attt1.Position = Vector3.new(.55, .55, 0.025)
  419. local attt2 = Instance.new("Attachment", c["Head"])
  420. attt2.Name = "att2"
  421. attt2.Position = Vector3.new(-.55, .55, 0.025)
  422. local attt3 = Instance.new("Attachment", c["Head"])
  423. attt3.Name = "att3"
  424. attt3.Position = Vector3.new(.55, -.5, 0.025)
  425. local attt4 = Instance.new("Attachment", c["Head"])
  426. attt4.Name = "att4"
  427. attt4.Position = Vector3.new(-.55, -.5, 0.025)
  428. local trailtop1 = Instance.new("Trail", c["Torso"])
  429. trailtop1.Enabled = true
  430. trailtop1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  431. trailtop1.Name = "toptrail"
  432. trailtop1.MinLength = 0
  433. trailtop1.Lifetime = 0.1
  434.  
  435. trailtop1.Color = ColorSequence.new(ColorArray)
  436.  
  437. trailtop1.Attachment0 = att1
  438. trailtop1.Attachment1 = att2
  439. trailtop1.Transparency = NumberSequence.new({
  440. NumberSequenceKeypoint.new(0, 0.5, 0),
  441. NumberSequenceKeypoint.new(1, 1, 0)
  442. })
  443. local trailbot1 = Instance.new("Trail", c["Torso"])
  444. trailbot1.Enabled = true
  445. trailbot1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  446. trailbot1.Name = "bottrail"
  447. trailbot1.MinLength = 0
  448. trailbot1.Lifetime = 0.1
  449.  
  450. trailbot1.Color = ColorSequence.new(ColorArray)
  451.  
  452. trailbot1.Attachment0 = att3
  453. trailbot1.Attachment1 = att4
  454. trailbot1.Transparency = NumberSequence.new({
  455. NumberSequenceKeypoint.new(0, 0.5, 0),
  456. NumberSequenceKeypoint.new(1, 1, 0)
  457. })
  458. local trailside1 = Instance.new("Trail", c["Torso"])
  459. trailside1.Enabled = true
  460. trailside1.Texture = "http://www.roblox.com/asset/?id=1978704853"
  461. trailside1.Name = "sidetrail1"
  462. trailside1.MinLength = 0
  463. trailside1.Lifetime = 0.1
  464.  
  465. trailside1.Color = ColorSequence.new(ColorArray)
  466.  
  467. trailside1.Attachment0 = att1
  468. trailside1.Attachment1 = att3
  469. trailside1.Transparency = NumberSequence.new({
  470. NumberSequenceKeypoint.new(0, 0.5, 0),
  471. NumberSequenceKeypoint.new(1, 1, 0)
  472. })
  473. local trailside2 = Instance.new("Trail", c["Torso"])
  474. trailside2.Enabled = true
  475. trailside2.Texture = "http://www.roblox.com/asset/?id=1978704853"
  476. trailside2.Name = "sidetrail2"
  477. trailside2.MinLength = 0
  478. trailside2.Lifetime = 0.1
  479.  
  480. trailside2.Color = ColorSequence.new(ColorArray)
  481.  
  482. trailside2.Attachment0 = att2
  483. trailside2.Attachment1 = att4
  484. trailside2.Transparency = NumberSequence.new({
  485. NumberSequenceKeypoint.new(0, 0.5, 0),
  486. NumberSequenceKeypoint.new(1, 1, 0)
  487. })
  488. local trailtop12 = Instance.new("Trail", c["Head"])
  489. trailtop12.Enabled = true
  490. trailtop12.Texture = "http://www.roblox.com/asset/?id=1978704853"
  491. trailtop12.Name = "toptrail"
  492. trailtop12.MinLength = 0
  493. trailtop12.Lifetime = 0.1
  494.  
  495. trailtop12.Color = ColorSequence.new(ColorArray)
  496.  
  497. trailtop12.Attachment0 = attt1
  498. trailtop12.Attachment1 = attt2
  499. trailtop12.Transparency = NumberSequence.new({
  500. NumberSequenceKeypoint.new(0, 0.5, 0),
  501. NumberSequenceKeypoint.new(1, 1, 0)
  502. })
  503. local trailbot2 = Instance.new("Trail", c["Head"])
  504. trailbot2.Enabled = true
  505. trailbot2.Texture = "http://www.roblox.com/asset/?id=1978704853"
  506. trailbot2.Name = "bottrail"
  507. trailbot2.MinLength = 0
  508. trailbot2.Lifetime = 0.1
  509.  
  510. trailbot2.Color = ColorSequence.new(ColorArray)
  511.  
  512. trailbot2.Attachment0 = attt3
  513. trailbot2.Attachment1 = attt4
  514. trailbot2.Transparency = NumberSequence.new({
  515. NumberSequenceKeypoint.new(0, 0.5, 0),
  516. NumberSequenceKeypoint.new(1, 1, 0)
  517. })
  518. local trailside12 = Instance.new("Trail", c["Head"])
  519. trailside12.Enabled = true
  520. trailside12.Texture = "http://www.roblox.com/asset/?id=1978704853"
  521. trailside12.Name = "sidetrail1"
  522. trailside12.MinLength = 0
  523. trailside12.Lifetime = 0.1
  524.  
  525. trailside12.Color = ColorSequence.new(ColorArray)
  526.  
  527. trailside12.Attachment0 = attt1
  528. trailside12.Attachment1 = attt3
  529. trailside12.Transparency = NumberSequence.new({
  530. NumberSequenceKeypoint.new(0, 0.5, 0),
  531. NumberSequenceKeypoint.new(1, 1, 0)
  532. })
  533. local trailside22 = Instance.new("Trail", c["Head"])
  534. trailside22.Enabled = true
  535. trailside22.Texture = "http://www.roblox.com/asset/?id=1978704853"
  536. trailside22.Name = "sidetrail2"
  537. trailside22.MinLength = 0
  538. trailside22.Lifetime = 0.1
  539.  
  540. trailside22.Color = ColorSequence.new(ColorArray)
  541.  
  542. trailside22.Attachment0 = attt2 trailside22.Attachment1 = attt4
  543. trailside22.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0),NumberSequenceKeypoint.new(1, 1, 0)})
  544.  
  545. for i,v in pairs(c:children()) do
  546. if v.ClassName == "Part" then
  547. for i,v2 in pairs(v:children()) do
  548. if v2.ClassName == "Trail" then
  549. v2.Lifetime = .15
  550. v2.Enabled = true
  551. v2.LightEmission = 1
  552. end
  553. end
  554. end
  555. end
  556.  
  557. walksp = 0
  558. jumppo = 0
  559.  
  560. function freeze()
  561. c = owner.Character
  562. walksp = c.Humanoid.WalkSpeed
  563. jumppo = c.Humanoid.JumpPower
  564. bl = Instance.new("BlurEffect", game.Lighting)
  565. bl.Size = 0
  566. ball = Instance.new("Part", c)
  567. ball.Shape = "Ball"
  568. ball.Material = "Neon"
  569. ball.BrickColor = BrickColor.new("White")
  570. ball.Anchored = true
  571. ball.CanCollide = false
  572. ball.Size = Vector3.new(1.05,1.05,1.05)
  573. ball.CFrame = c.Torso.CFrame
  574. ball2 = Instance.new("Part", c)
  575. ball2.Shape = "Ball"
  576. ball2.Material = "Neon"
  577. ball2.Anchored = true
  578. ball2.CanCollide = false
  579. ball2.Size = Vector3.new(.05,.05,.05)
  580. ball2.CFrame = c.Torso.CFrame
  581. ball2.BrickColor = BrickColor.new("White")
  582. ball.Touched:Connect(function(h)
  583. if h.Parent.Name ~= owner.Character.Name then
  584. if h.ClassName == "BasePart" or h.ClassName == "Part" or h.ClassName == "MeshPart" then
  585. if h.Name == "Base" then return end
  586. if h.Parent.ClassName == "Model" then
  587. h.Parent:BreakJoints()
  588. end
  589. h.Velocity = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  590. end
  591. if h.Parent.ClassName == "Accessory" or h.ClassName == "Accessory" then return end
  592. game.Debris:AddItem(h,3)
  593. end
  594. end)
  595. for i, player in ipairs(game.Players:GetPlayers()) do
  596. if player.Name ~= owner.Name then
  597. if player.Character then
  598. if player.Character:FindFirstChildOfClass("Humanoid") then
  599. hum = player.Character:FindFirstChildOfClass("Humanoid")
  600. hum.WalkSpeed = 1
  601. hum.JumpPower = 10
  602. end
  603. end
  604. end
  605. end
  606. workspace.Gravity = 10
  607. NLS([==[
  608. workspace.Gravity = 198.2
  609. ]==],c)
  610. c.Humanoid.WalkSpeed = 500
  611. c.Humanoid.JumpPower = 200
  612. for i = 1,50 do
  613. ball.Size = ball.Size:Lerp(Vector3.new(50,50,50), .1)
  614. ball.Color = ball.Color:Lerp(BrickColor.new("Teal").Color,.05)
  615. ball.Transparency = i/50
  616. ball2.Size = ball2.Size:Lerp(Vector3.new(45,45,45), .1)
  617. ball2.Color = ball2.Color:Lerp(BrickColor.new("Royal purple").Color,.1)
  618. ball2.Transparency = i/50
  619. bl.Size = bl.Size + .2
  620. wait()
  621. end
  622. ball2:Remove()
  623. ball:Remove()
  624.  
  625. wait(10)
  626.  
  627. ball = Instance.new("Part", c)
  628. ball.Shape = "Ball"
  629. ball.Material = "Neon"
  630. ball.BrickColor = BrickColor.new("Teal")
  631. ball.Anchored = true
  632. ball.CanCollide = false
  633. ball.Transparency = 1
  634. ball.Size = Vector3.new(50,50,50)
  635. ball.CFrame = c.Torso.CFrame
  636. ball2 = Instance.new("Part", c)
  637. ball2.Shape = "Ball"
  638. ball2.Material = "Neon"
  639. ball2.Anchored = true
  640. ball2.Transparency = 1
  641. ball2.CanCollide = false
  642. ball2.Size = Vector3.new(45,45,45)
  643. ball2.CFrame = c.Torso.CFrame
  644. ball2.BrickColor = BrickColor.new("Royal purple")
  645. c.Humanoid.WalkSpeed = walksp
  646. c.Humanoid.JumpPower = jumppo
  647. for i = 1,50 do
  648. ball.Size = ball.Size:Lerp(Vector3.new(1.05,1.05,1.05), .1)
  649. ball.Color = ball.Color:Lerp(BrickColor.new("White").Color,.1)
  650. ball.Transparency = ball.Transparency - (1/50)
  651. ball2.Size = ball2.Size:Lerp(Vector3.new(.05,.05,.05), .1)
  652. ball2.Color = ball2.Color:Lerp(BrickColor.new("White").Color,.1)
  653. ball2.Transparency = ball2.Transparency - (1/50)
  654. bl.Size = bl.Size - .2
  655. wait()
  656. end
  657. ball2:Remove()
  658. ball:Remove()
  659. for i, player in ipairs(game.Players:GetPlayers()) do
  660. if player.Name ~= owner.Name then
  661. if player.Character then
  662. if player.Character:FindFirstChildOfClass("Humanoid") then
  663. hum = player.Character:FindFirstChildOfClass("Humanoid")
  664. hum.WalkSpeed = 16
  665. hum.JumpPower = 50
  666. end
  667. end
  668. end
  669. end
  670. bl:Remove()
  671. workspace.Gravity = 198.2
  672. end
  673. can_da = true
  674.  
  675. c = owner.Character
  676.  
  677. function dashattack(hit)
  678. if can_da == true then
  679. can_da = false
  680. owner.Character:MoveTo(hit)
  681. ball = Instance.new("Part", c)
  682. ball.Shape = "Ball"
  683. ball.Material = "Neon"
  684. ball.BrickColor = BrickColor.new("Teal")
  685. ball.Anchored = true
  686. ball.CanCollide = false
  687. ball.Transparency = 1
  688. ball.Size = Vector3.new(10,10,10)
  689. ball.CFrame = c.Torso.CFrame
  690. q= Instance.new("Part", c)
  691. q.Shape = "Ball"
  692. q.Material = "Neon"
  693. q.BrickColor = BrickColor.new("Teal")
  694. q.Anchored = true
  695. q.CanCollide = false
  696. q.Transparency = 1
  697. q.Size = Vector3.new(.1,.1,.1)
  698. q.CFrame = c.Torso.CFrame
  699. ball.Touched:Connect(function(h)
  700. if h.Parent.Name ~= owner.Character.Name then
  701. if h.ClassName == "BasePart" or h.ClassName == "Part" or h.ClassName == "MeshPart" then
  702. if h.Name == "Base" then return end
  703. if h.Parent.ClassName == "Model" then
  704. h.Parent:BreakJoints()
  705. end
  706. h.Velocity = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  707. end
  708. if h.Parent.ClassName == "Accessory" or h.ClassName == "Accessory" then return end
  709. game.Debris:AddItem(h,3)
  710. end
  711. end)
  712. sizes = {
  713. NumberSequenceKeypoint.new(0,2,0);
  714. NumberSequenceKeypoint.new(0.5,2.5,0);
  715. NumberSequenceKeypoint.new(1,3,0)
  716. }
  717. seeses = {
  718. NumberSequenceKeypoint.new(0,1,0);
  719. NumberSequenceKeypoint.new(0.2,0,0);
  720. NumberSequenceKeypoint.new(0.8,0,0);
  721. NumberSequenceKeypoint.new(1,1,0)
  722. }
  723. pt1 = Instance.new("ParticleEmitter", q)
  724. pt1.LightEmission = 1
  725. pt1.LightInfluence = 0
  726. pt1.Size = NumberSequence.new(sizes)
  727. pt1.Transparency = NumberSequence.new(seeses)
  728. pt1.Texture = "rbxassetid://2273224484"
  729. pt1.Acceleration = Vector3.new(0,0,0)
  730. pt1.Enabled = false
  731. pt1.ZOffset = 0
  732. pt1.Drag = 1
  733. life = 1
  734. pt1.Rate = 0
  735. pt1.EmissionDirection = "Left"
  736. pt1.Rotation = NumberRange.new(-180,180)
  737. pt1.SpreadAngle = Vector2.new(360,360)
  738. pt1.Lifetime = NumberRange.new(life)
  739. pt1.RotSpeed = NumberRange.new(-360,360)
  740. pt1.Speed = NumberRange.new(30)
  741. pt1.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
  742. pt1:Emit(100)
  743. BV = Instance.new('BodyVelocity', owner.Character.Torso)
  744. BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  745. BV.velocity = Vector3.new(0,100,0)
  746. game.Debris:AddItem(ball,1.1)
  747. game.Debris:AddItem(q,1.1)
  748. wait(.1)
  749. BV:Remove()
  750. can_da = true
  751. end
  752. end
  753.  
  754. function hellzone()
  755. paro = Instance.new("Part", owner.Character)
  756. paro.Size = Vector3.new(.05,.05,.05)
  757. paro.Transparency = 1
  758. paro.CanCollide = false
  759. paro.Anchored = true
  760. sizes = {
  761. NumberSequenceKeypoint.new(0,2,0);
  762. NumberSequenceKeypoint.new(0.5,2.5,0);
  763. NumberSequenceKeypoint.new(1,3,0)
  764. }
  765. seeses = {
  766. NumberSequenceKeypoint.new(0,1,0);
  767. NumberSequenceKeypoint.new(0.2,0,0);
  768. NumberSequenceKeypoint.new(0.8,0,0);
  769. NumberSequenceKeypoint.new(1,1,0)
  770. }
  771. pt1 = Instance.new("ParticleEmitter", paro)
  772. pt1.LightEmission = 1
  773. pt1.LightInfluence = 0
  774. pt1.Size = NumberSequence.new(sizes)
  775. pt1.Transparency = NumberSequence.new(seeses)
  776. pt1.Texture = "rbxassetid://2273224484"
  777. pt1.Acceleration = Vector3.new(0,0,0)
  778. pt1.Enabled = false
  779. pt1.ZOffset = 0
  780. pt1.Drag = 1
  781. life = 2
  782. pt1.Rate = 0
  783. pt1.EmissionDirection = "Left"
  784. pt1.Rotation = NumberRange.new(-180,180)
  785. pt1.SpreadAngle = Vector2.new(360,360)
  786. pt1.Lifetime = NumberRange.new(life)
  787. pt1.RotSpeed = NumberRange.new(-360,360)
  788. pt1.Speed = NumberRange.new(20)
  789. pt1.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
  790. for i = 1,100 do
  791. par = Instance.new("Part",workspace)
  792. par.Anchored = true
  793. par.Shape = "Ball"
  794. size = math.random(1,10)
  795. par.Size = Vector3.new(size,size,size)
  796. par.Material = "Neon"
  797. par.BrickColor = BrickColor.new("Steel blue")
  798. par.Name = "FlameOrb"
  799. par.CanCollide = false
  800. game.Debris:AddItem(par, 7)
  801. par.Position = Vector3.new(math.random(-700,700), math.random(1,700), math.random(-700,700))
  802. paro.Position = par.Position
  803. pt1:Emit(100)
  804. wait((5/100))
  805. end
  806. game.Debris:AddItem(paro, 2.5)
  807. end
  808.  
  809. sprinting = false
  810.  
  811. local ColorArray = {ColorSequenceKeypoint.new(0, Color3.new(85/255, 0/255, 255/255)),ColorSequenceKeypoint.new(1, Color3.new(0/255,255/255,127/255))}
  812.  
  813. function slash()
  814. LeftW = c.Torso["Left Shoulder"]
  815. tors = c.Torso
  816. prevC0 = LeftW.C0
  817. left = c["Left Arm"]
  818. LeftW.C0 = LeftW.C0 * CFrame.fromEulerAnglesXYZ(math.random(-180,180),math.random(-180,180),math.random(-180,180))
  819. ci = Instance.new("Part", c)
  820. ci.CanCollide = false
  821. ci.Size = Vector3.new(10,1,0)
  822. A1 = Instance.new("Attachment",ci)
  823. A1.Position = Vector3.new(5, 0, 0)
  824. local A2 = Instance.new("Attachment",ci)
  825. A2.Position = Vector3.new(-5, 0, 0)
  826. local Trail = Instance.new("Trail",ci)
  827. Trail.LightEmission = 1
  828. Trail.FaceCamera = false
  829. Trail.Texture = "http://www.roblox.com/asset/?id=1978704853"
  830. Trail.Attachment0 = A1
  831. Trail.Attachment1 = A2
  832. Trail.Lifetime = 0.2
  833. Trail.MinLength = 0
  834. Trail.Transparency = NumberSequence.new(0, 1)
  835. Trail.Color = ColorSequence.new(ColorArray)
  836. ci.CanCollide = false
  837. ci.CFrame = tors.CFrame * CFrame.new(0,0,5)
  838. ci.CFrame = ci.CFrame * CFrame.Angles(0,0,math.random(-360,360))
  839. ci.Material = "Neon"
  840. ci.BrickColor = BrickColor.new("White")
  841. ci.Touched:Connect(function(h)
  842. if h.Parent.Name ~= owner.Character.Name then
  843. if h.ClassName == "BasePart" or h.ClassName == "Part" or h.ClassName == "MeshPart" then
  844. if h.Name == "Base" then return end
  845. if h.Parent.ClassName == "Model" then
  846. h.Parent:BreakJoints()
  847. end
  848. h.Velocity = Vector3.new(math.random(-100,100), math.random(-100,100), math.random(-100,100))
  849. end
  850. if h.Parent.ClassName == "Accessory" or h.ClassName == "Accessory" then return end
  851. game.Debris:AddItem(h,3)
  852. end
  853. end)
  854. BV = Instance.new('BodyVelocity', ci)
  855. BV.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  856. BV.velocity = tors.CFrame.lookVector*250
  857. wait(.1)
  858. LeftW.C0 = prevC0
  859. end
  860.  
  861. qe= Instance.new("Part", c)
  862. qe.Shape = "Ball"
  863. qe.Material = "Neon"
  864. qe.BrickColor = BrickColor.new("Teal")
  865. qe.CanCollide = false
  866. qe.Transparency = 1
  867. qe.Size = Vector3.new(.1,.1,.1)
  868. qe.CFrame = c.Torso.CFrame
  869.  
  870. w = Instance.new("Weld", c)
  871. w.Part0 = c.Torso
  872. w.Part1 = qe
  873.  
  874. sizes = {
  875. NumberSequenceKeypoint.new(0,2,0);
  876. NumberSequenceKeypoint.new(0.5,2.5,0);
  877. NumberSequenceKeypoint.new(1,3,0)
  878. }
  879. seeses = {
  880. NumberSequenceKeypoint.new(0,1,0);
  881. NumberSequenceKeypoint.new(0.2,0,0);
  882. NumberSequenceKeypoint.new(0.8,0,0);
  883. NumberSequenceKeypoint.new(1,1,0)
  884. }
  885. pt1q = Instance.new("ParticleEmitter", qe)
  886. pt1q.LightEmission = 1
  887. pt1q.LightInfluence = 0
  888. pt1q.Size = NumberSequence.new(sizes)
  889. pt1q.Transparency = NumberSequence.new(seeses)
  890. pt1q.Texture = "rbxassetid://2273224484"
  891. pt1q.Acceleration = Vector3.new(0,0,0)
  892. pt1q.Enabled = false
  893. pt1q.ZOffset = 0
  894. pt1q.Drag = 1
  895. life = 1
  896. pt1q.Rate = 0
  897. pt1q.EmissionDirection = "Left"
  898. pt1q.Rotation = NumberRange.new(-180,180)
  899. pt1q.SpreadAngle = Vector2.new(0,360)
  900. pt1q.Lifetime = NumberRange.new(life)
  901. pt1q.RotSpeed = NumberRange.new(-30,30)
  902. pt1q.Speed = NumberRange.new(30)
  903. pt1q.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
  904.  
  905. sizes = {
  906. NumberSequenceKeypoint.new(0,0,0);
  907. NumberSequenceKeypoint.new(0.5,2,0);
  908. NumberSequenceKeypoint.new(1,3,0)
  909. }
  910. seeses = {
  911. NumberSequenceKeypoint.new(0,1,0);
  912. NumberSequenceKeypoint.new(0.2,0,0);
  913. NumberSequenceKeypoint.new(0.8,0,0);
  914. NumberSequenceKeypoint.new(1,1,0)
  915. }
  916. pt1a = Instance.new("ParticleEmitter", c.Head)
  917. pt1a.LightEmission = 1
  918. pt1a.LightInfluence = 0
  919. pt1a.Size = NumberSequence.new(sizes)
  920. pt1a.Transparency = NumberSequence.new(seeses)
  921. pt1a.Texture = "http://www.roblox.com/asset/?id=46492672"
  922. pt1a.Enabled = false
  923. pt1a.ZOffset = 0
  924. pt1a.Drag = 0
  925. life = 1
  926. pt1a.Rate = 1
  927. pt1a.EmissionDirection = "Top"
  928. pt1a.Rotation = NumberRange.new(0)
  929. pt1a.SpreadAngle = Vector2.new(-5,5)
  930. pt1a.Lifetime = NumberRange.new(5)
  931. pt1a.RotSpeed = NumberRange.new(0)
  932. pt1a.Speed = NumberRange.new(1)
  933. pt1a.Color = ColorSequence.new(BrickColor.new("Royal purple").Color, BrickColor.new("Teal").Color)
  934. sitting = false
  935. mouse.KeyDown:Connect(function(E)
  936. if E == "q" then
  937. freeze()
  938. elseif E == "e" then
  939. dashattack(mouse.Hit.p)
  940. elseif E == "r" then
  941. hellzone()
  942. elseif E == "t" then
  943. slash()
  944. elseif E == "z" and sprinting == false then
  945. sprinting = true
  946. owner.Character.Humanoid.WalkSpeed = 250
  947. owner.Character.Humanoid.JumpPower = 100
  948. elseif E == "z" and sprinting == true then
  949. sprinting = false
  950. owner.Character.Humanoid.WalkSpeed = 16
  951. owner.Character.Humanoid.JumpPower = 50
  952. elseif E == "x" and sitting == false then
  953. sitting = true
  954. owner.Character.Humanoid.Sit = true
  955. pt1a.Enabled = true
  956. elseif E == "x" and sitting == true then
  957. sitting = false
  958. owner.Character.Humanoid.Sit = false
  959. pt1a.Enabled = false
  960. end
  961. end)
  962.  
  963. while true do
  964. for i,v in pairs(c:children()) do
  965. if v.ClassName == "Part" then
  966. if v.Name == "Left Arm" or v.Name == "Left Leg" or v.Name == "Right Arm" or v.Name == "Right Leg" or v.Name == "Head" or v.Name == "Torso" or v.Name == "HumanoidRootPart" then
  967. v.Anchored = false
  968. end
  969. end
  970. end
  971. wait()
  972. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement