Advertisement
Tetezaza1542

False GOD

Aug 22nd, 2018
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 120.86 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return self[t]end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;x.RunService=v({RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")setmetatable(x,s)game,owner=x,x.Players.LocalPlayer end
  6. plr = game.Players.LocalPlayer
  7. repeat
  8. wait(0.4)
  9. until plr.Character
  10. chr = plr.Character
  11. human = chr:FindFirstChild("Humanoid")
  12. mouse = plr:GetMouse()
  13. selected = false
  14. equipd = false
  15. tors = chr.Torso
  16. rarm = chr["Right Arm"]
  17. larm = chr["Left Arm"]
  18. rleg = chr["Right Leg"]
  19. lleg = chr["Left Leg"]
  20. hrp = chr.HumanoidRootPart
  21. head = chr.Head
  22. anim = human.Animator
  23. activu = false
  24. torrent = false
  25. boxingu = false
  26. Heartbeat = Instance.new("BindableEvent")
  27. Heartbeat.Name = "Heartbeat"
  28. Heartbeat.Parent = script
  29. frame = 0.03333333333333333
  30. tf = 0
  31.  
  32. IT = Instance.new
  33. CF = CFrame.new
  34. VT = Vector3.new
  35. RAD = math.rad
  36. C3 = Color3.new
  37. UD2 = UDim2.new
  38. BRICKC = BrickColor.new
  39. ANGLES = CFrame.Angles
  40. EULER = CFrame.fromEulerAnglesXYZ
  41. COS = math.cos
  42. ACOS = math.acos
  43. SIN = math.sin
  44. ASIN = math.asin
  45. ABS = math.abs
  46. MRANDOM = math.random
  47. FLOOR = math.floor
  48.  
  49. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  50. local NEWMESH = IT(MESH)
  51. if MESH == "SpecialMesh" then
  52. NEWMESH.MeshType = MESHTYPE
  53. if MESHID ~= "nil" and MESHID ~= "" then
  54. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  55. end
  56. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  57. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  58. end
  59. end
  60. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  61. NEWMESH.Scale = SCALE
  62. NEWMESH.Parent = PARENT
  63. return NEWMESH
  64. end
  65.  
  66. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  67. local NEWPART = IT("Part")
  68. NEWPART.formFactor = FORMFACTOR
  69. NEWPART.Reflectance = REFLECTANCE
  70. NEWPART.Transparency = TRANSPARENCY
  71. NEWPART.CanCollide = false
  72. NEWPART.Locked = true
  73. NEWPART.Anchored = true
  74. if ANCHOR == false then
  75. NEWPART.Anchored = false
  76. end
  77. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  78. NEWPART.Name = NAME
  79. NEWPART.Size = SIZE
  80. NEWPART.Position = Torso.Position
  81. NEWPART.Material = MATERIAL
  82. NEWPART:BreakJoints()
  83. NEWPART.Parent = PARENT
  84. return NEWPART
  85. end
  86.  
  87. local A = IT("Attachment",tors)
  88. A.Position = VT(1,1.3,0)
  89. A.Orientation = VT(-0.098, -89.999, 0.227)
  90. local B = IT("Attachment",tors)
  91. B.Position = VT(-1.3,-0.6,0)
  92. B.Orientation = VT(-88.911, -68.808, 158.782)
  93. local ChainLink = IT("Beam",tors)
  94. ChainLink.Texture = "rbxassetid://73042633"
  95. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  96. ChainLink.TextureSpeed = 1
  97. ChainLink.FaceCamera = true
  98. ChainLink.Width0 = 1
  99. ChainLink.Width1 = 1
  100. ChainLink.TextureLength = 3
  101. ChainLink.Attachment0 = A
  102. ChainLink.Attachment1 = B
  103. ChainLink.CurveSize0 = 1.6
  104. ChainLink.CurveSize1 = 1.6
  105. ChainLink.FaceCamera = true
  106. ChainLink.Transparency = NumberSequence.new(0)
  107. local ChainLink = IT("Beam",tors)
  108. ChainLink.Texture = "rbxassetid://73042633"
  109. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  110. ChainLink.TextureSpeed = 1
  111. ChainLink.FaceCamera = true
  112. ChainLink.Width0 = 1
  113. ChainLink.Width1 = 1
  114. ChainLink.TextureLength = 3
  115. ChainLink.Attachment0 = B
  116. ChainLink.Attachment1 = A
  117. ChainLink.CurveSize0 = 1.6
  118. ChainLink.CurveSize1 = 1.6
  119. ChainLink.FaceCamera = true
  120. ChainLink.Transparency = NumberSequence.new(0)
  121. local A = IT("Attachment",tors)
  122. A.Position = VT(1.3,-0.85,0)
  123. A.Orientation = VT(-0.098, -89.999, 0.227)
  124. local B = IT("Attachment",tors)
  125. B.Position = VT(-1,2,0)
  126. B.Orientation = VT(-88.911, -68.808, 158.782)
  127. local ChainLink = IT("Beam",tors)
  128. ChainLink.Texture = "rbxassetid://73042633"
  129. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  130. ChainLink.TextureSpeed = 1
  131. ChainLink.FaceCamera = true
  132. ChainLink.Width0 = 1
  133. ChainLink.Width1 = 1
  134. ChainLink.TextureLength = 3
  135. ChainLink.Attachment0 = A
  136. ChainLink.Attachment1 = B
  137. ChainLink.CurveSize0 = 1.3
  138. ChainLink.CurveSize1 = 1.3
  139. ChainLink.FaceCamera = true
  140. ChainLink.Transparency = NumberSequence.new(0)
  141. local ChainLink = IT("Beam",tors)
  142. ChainLink.Texture = "rbxassetid://73042633"
  143. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  144. ChainLink.TextureSpeed = 1
  145. ChainLink.FaceCamera = true
  146. ChainLink.Width0 = 1
  147. ChainLink.Width1 = 1
  148. ChainLink.TextureLength = 3
  149. ChainLink.Attachment0 = B
  150. ChainLink.Attachment1 = A
  151. ChainLink.CurveSize0 = 1.3
  152. ChainLink.CurveSize1 = 1.3
  153. ChainLink.FaceCamera = true
  154. ChainLink.Transparency = NumberSequence.new(0)
  155.  
  156. local A = IT("Attachment",RightBarrel)
  157. A.Position = VT(0,-2.5,0)
  158. local B = IT("Attachment",RightBarrel)
  159. B.Position = VT(0,2.5,0)
  160. local Trail = IT("Trail",RightBarrel)
  161. Trail.Attachment0 = A
  162. Trail.Attachment1 = B
  163. Trail.Lifetime = 0.2
  164. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  165. Trail.Transparency = NumberSequence.new(0, 1)
  166. Trail.Enabled = false
  167.  
  168. local A = IT("Attachment",rarm)
  169. A.Position = VT(1,1.3,0)
  170. A.Orientation = VT(-0.098, -89.999, 0.227)
  171. local B = IT("Attachment",rarm)
  172. B.Position = VT(-1.3,-0.6,0)
  173. B.Orientation = VT(-88.911, -68.808, 158.782)
  174. local ChainLink = IT("Beam",rarm)
  175. ChainLink.Texture = "rbxassetid://73042633"
  176. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  177. ChainLink.TextureSpeed = 1
  178. ChainLink.FaceCamera = true
  179. ChainLink.Width0 = 1
  180. ChainLink.Width1 = 1
  181. ChainLink.TextureLength = 3
  182. ChainLink.Attachment0 = A
  183. ChainLink.Attachment1 = B
  184. ChainLink.CurveSize0 = 1.6
  185. ChainLink.CurveSize1 = 1.6
  186. ChainLink.FaceCamera = true
  187. ChainLink.Transparency = NumberSequence.new(0)
  188. local ChainLink = IT("Beam",rarm)
  189. ChainLink.Texture = "rbxassetid://73042633"
  190. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  191. ChainLink.TextureSpeed = 1
  192. ChainLink.FaceCamera = true
  193. ChainLink.Width0 = 1
  194. ChainLink.Width1 = 1
  195. ChainLink.TextureLength = 3
  196. ChainLink.Attachment0 = B
  197. ChainLink.Attachment1 = A
  198. ChainLink.CurveSize0 = 1.6
  199. ChainLink.CurveSize1 = 1.6
  200. ChainLink.FaceCamera = true
  201. ChainLink.Transparency = NumberSequence.new(0)
  202. local A = IT("Attachment",rarm)
  203. A.Position = VT(1.3,-0.85,0)
  204. A.Orientation = VT(-0.098, -89.999, 0.227)
  205. local B = IT("Attachment",rarm)
  206. B.Position = VT(-1,2,0)
  207. B.Orientation = VT(-88.911, -68.808, 158.782)
  208. local ChainLink = IT("Beam",rarm)
  209. ChainLink.Texture = "rbxassetid://73042633"
  210. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  211. ChainLink.TextureSpeed = 1
  212. ChainLink.FaceCamera = true
  213. ChainLink.Width0 = 1
  214. ChainLink.Width1 = 1
  215. ChainLink.TextureLength = 3
  216. ChainLink.Attachment0 = A
  217. ChainLink.Attachment1 = B
  218. ChainLink.CurveSize0 = 1.3
  219. ChainLink.CurveSize1 = 1.3
  220. ChainLink.FaceCamera = true
  221. ChainLink.Transparency = NumberSequence.new(0)
  222. local ChainLink = IT("Beam",rarm)
  223. ChainLink.Texture = "rbxassetid://73042633"
  224. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  225. ChainLink.TextureSpeed = 1
  226. ChainLink.FaceCamera = true
  227. ChainLink.Width0 = 1
  228. ChainLink.Width1 = 1
  229. ChainLink.TextureLength = 3
  230. ChainLink.Attachment0 = B
  231. ChainLink.Attachment1 = A
  232. ChainLink.CurveSize0 = 1.3
  233. ChainLink.CurveSize1 = 1.3
  234. ChainLink.FaceCamera = true
  235. ChainLink.Transparency = NumberSequence.new(0)
  236.  
  237. local A = IT("Attachment",RightBarrel)
  238. A.Position = VT(0,-2.5,0)
  239. local B = IT("Attachment",RightBarrel)
  240. B.Position = VT(0,2.5,0)
  241. local Trail = IT("Trail",RightBarrel)
  242. Trail.Attachment0 = A
  243. Trail.Attachment1 = B
  244. Trail.Lifetime = 0.2
  245. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  246. Trail.Transparency = NumberSequence.new(0, 1)
  247. Trail.Enabled = false
  248.  
  249. local A = IT("Attachment",larm)
  250. A.Position = VT(1,1.3,0)
  251. A.Orientation = VT(-0.098, -89.999, 0.227)
  252. local B = IT("Attachment",larm)
  253. B.Position = VT(-1.3,-0.6,0)
  254. B.Orientation = VT(-88.911, -68.808, 158.782)
  255. local ChainLink = IT("Beam",larm)
  256. ChainLink.Texture = "rbxassetid://73042633"
  257. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  258. ChainLink.TextureSpeed = 1
  259. ChainLink.FaceCamera = true
  260. ChainLink.Width0 = 1
  261. ChainLink.Width1 = 1
  262. ChainLink.TextureLength = 3
  263. ChainLink.Attachment0 = A
  264. ChainLink.Attachment1 = B
  265. ChainLink.CurveSize0 = 1.6
  266. ChainLink.CurveSize1 = 1.6
  267. ChainLink.FaceCamera = true
  268. ChainLink.Transparency = NumberSequence.new(0)
  269. local ChainLink = IT("Beam",larm)
  270. ChainLink.Texture = "rbxassetid://73042633"
  271. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  272. ChainLink.TextureSpeed = 1
  273. ChainLink.FaceCamera = true
  274. ChainLink.Width0 = 1
  275. ChainLink.Width1 = 1
  276. ChainLink.TextureLength = 3
  277. ChainLink.Attachment0 = B
  278. ChainLink.Attachment1 = A
  279. ChainLink.CurveSize0 = 1.6
  280. ChainLink.CurveSize1 = 1.6
  281. ChainLink.FaceCamera = true
  282. ChainLink.Transparency = NumberSequence.new(0)
  283. local A = IT("Attachment",larm)
  284. A.Position = VT(1.3,-0.85,0)
  285. A.Orientation = VT(-0.098, -89.999, 0.227)
  286. local B = IT("Attachment",lamr)
  287. B.Position = VT(-1,2,0)
  288. B.Orientation = VT(-88.911, -68.808, 158.782)
  289. local ChainLink = IT("Beam",larm)
  290. ChainLink.Texture = "rbxassetid://73042633"
  291. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  292. ChainLink.TextureSpeed = 1
  293. ChainLink.FaceCamera = true
  294. ChainLink.Width0 = 1
  295. ChainLink.Width1 = 1
  296. ChainLink.TextureLength = 3
  297. ChainLink.Attachment0 = A
  298. ChainLink.Attachment1 = B
  299. ChainLink.CurveSize0 = 1.3
  300. ChainLink.CurveSize1 = 1.3
  301. ChainLink.FaceCamera = true
  302. ChainLink.Transparency = NumberSequence.new(0)
  303. local ChainLink = IT("Beam",larm)
  304. ChainLink.Texture = "rbxassetid://73042633"
  305. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  306. ChainLink.TextureSpeed = 1
  307. ChainLink.FaceCamera = true
  308. ChainLink.Width0 = 1
  309. ChainLink.Width1 = 1
  310. ChainLink.TextureLength = 3
  311. ChainLink.Attachment0 = B
  312. ChainLink.Attachment1 = A
  313. ChainLink.CurveSize0 = 1.3
  314. ChainLink.CurveSize1 = 1.3
  315. ChainLink.FaceCamera = true
  316. ChainLink.Transparency = NumberSequence.new(0)
  317.  
  318. local A = IT("Attachment",RightBarrel)
  319. A.Position = VT(0,-2.5,0)
  320. local B = IT("Attachment",RightBarrel)
  321. B.Position = VT(0,2.5,0)
  322. local Trail = IT("Trail",RightBarrel)
  323. Trail.Attachment0 = A
  324. Trail.Attachment1 = B
  325. Trail.Lifetime = 0.2
  326. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  327. Trail.Transparency = NumberSequence.new(0, 1)
  328. Trail.Enabled = false
  329.  
  330. local A = IT("Attachment",rleg)
  331. A.Position = VT(1,1.3,0)
  332. A.Orientation = VT(-0.098, -89.999, 0.227)
  333. local B = IT("Attachment",rleg)
  334. B.Position = VT(-1.3,-0.6,0)
  335. B.Orientation = VT(-88.911, -68.808, 158.782)
  336. local ChainLink = IT("Beam",rleg)
  337. ChainLink.Texture = "rbxassetid://73042633"
  338. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  339. ChainLink.TextureSpeed = 1
  340. ChainLink.FaceCamera = true
  341. ChainLink.Width0 = 1
  342. ChainLink.Width1 = 1
  343. ChainLink.TextureLength = 3
  344. ChainLink.Attachment0 = A
  345. ChainLink.Attachment1 = B
  346. ChainLink.CurveSize0 = 1.6
  347. ChainLink.CurveSize1 = 1.6
  348. ChainLink.FaceCamera = true
  349. ChainLink.Transparency = NumberSequence.new(0)
  350. local ChainLink = IT("Beam",rleg)
  351. ChainLink.Texture = "rbxassetid://73042633"
  352. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  353. ChainLink.TextureSpeed = 1
  354. ChainLink.FaceCamera = true
  355. ChainLink.Width0 = 1
  356. ChainLink.Width1 = 1
  357. ChainLink.TextureLength = 3
  358. ChainLink.Attachment0 = B
  359. ChainLink.Attachment1 = A
  360. ChainLink.CurveSize0 = 1.6
  361. ChainLink.CurveSize1 = 1.6
  362. ChainLink.FaceCamera = true
  363. ChainLink.Transparency = NumberSequence.new(0)
  364. local A = IT("Attachment",rleg)
  365. A.Position = VT(1.3,-0.85,0)
  366. A.Orientation = VT(-0.098, -89.999, 0.227)
  367. local B = IT("Attachment",rleg)
  368. B.Position = VT(-1,2,0)
  369. B.Orientation = VT(-88.911, -68.808, 158.782)
  370. local ChainLink = IT("Beam",rleg)
  371. ChainLink.Texture = "rbxassetid://73042633"
  372. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  373. ChainLink.TextureSpeed = 1
  374. ChainLink.FaceCamera = true
  375. ChainLink.Width0 = 1
  376. ChainLink.Width1 = 1
  377. ChainLink.TextureLength = 3
  378. ChainLink.Attachment0 = A
  379. ChainLink.Attachment1 = B
  380. ChainLink.CurveSize0 = 1.3
  381. ChainLink.CurveSize1 = 1.3
  382. ChainLink.FaceCamera = true
  383. ChainLink.Transparency = NumberSequence.new(0)
  384. local ChainLink = IT("Beam",rleg)
  385. ChainLink.Texture = "rbxassetid://73042633"
  386. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  387. ChainLink.TextureSpeed = 1
  388. ChainLink.FaceCamera = true
  389. ChainLink.Width0 = 1
  390. ChainLink.Width1 = 1
  391. ChainLink.TextureLength = 3
  392. ChainLink.Attachment0 = B
  393. ChainLink.Attachment1 = A
  394. ChainLink.CurveSize0 = 1.3
  395. ChainLink.CurveSize1 = 1.3
  396. ChainLink.FaceCamera = true
  397. ChainLink.Transparency = NumberSequence.new(0)
  398.  
  399. local A = IT("Attachment",RightBarrel)
  400. A.Position = VT(0,-2.5,0)
  401. local B = IT("Attachment",RightBarrel)
  402. B.Position = VT(0,2.5,0)
  403. local Trail = IT("Trail",RightBarrel)
  404. Trail.Attachment0 = A
  405. Trail.Attachment1 = B
  406. Trail.Lifetime = 0.2
  407. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  408. Trail.Transparency = NumberSequence.new(0, 1)
  409. Trail.Enabled = false
  410.  
  411. local A = IT("Attachment",lleg)
  412. A.Position = VT(1,1.3,0)
  413. A.Orientation = VT(-0.098, -89.999, 0.227)
  414. local B = IT("Attachment",lleg)
  415. B.Position = VT(-1.3,-0.6,0)
  416. B.Orientation = VT(-88.911, -68.808, 158.782)
  417. local ChainLink = IT("Beam",lleg)
  418. ChainLink.Texture = "rbxassetid://73042633"
  419. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  420. ChainLink.TextureSpeed = 1
  421. ChainLink.FaceCamera = true
  422. ChainLink.Width0 = 1
  423. ChainLink.Width1 = 1
  424. ChainLink.TextureLength = 3
  425. ChainLink.Attachment0 = A
  426. ChainLink.Attachment1 = B
  427. ChainLink.CurveSize0 = 1.6
  428. ChainLink.CurveSize1 = 1.6
  429. ChainLink.FaceCamera = true
  430. ChainLink.Transparency = NumberSequence.new(0)
  431. local ChainLink = IT("Beam",lleg)
  432. ChainLink.Texture = "rbxassetid://73042633"
  433. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  434. ChainLink.TextureSpeed = 1
  435. ChainLink.FaceCamera = true
  436. ChainLink.Width0 = 1
  437. ChainLink.Width1 = 1
  438. ChainLink.TextureLength = 3
  439. ChainLink.Attachment0 = B
  440. ChainLink.Attachment1 = A
  441. ChainLink.CurveSize0 = 1.6
  442. ChainLink.CurveSize1 = 1.6
  443. ChainLink.FaceCamera = true
  444. ChainLink.Transparency = NumberSequence.new(0)
  445. local A = IT("Attachment",lleg)
  446. A.Position = VT(1.3,-0.85,0)
  447. A.Orientation = VT(-0.098, -89.999, 0.227)
  448. local B = IT("Attachment",lleg)
  449. B.Position = VT(-1,2,0)
  450. B.Orientation = VT(-88.911, -68.808, 158.782)
  451. local ChainLink = IT("Beam",lleg)
  452. ChainLink.Texture = "rbxassetid://73042633"
  453. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  454. ChainLink.TextureSpeed = 1
  455. ChainLink.FaceCamera = true
  456. ChainLink.Width0 = 1
  457. ChainLink.Width1 = 1
  458. ChainLink.TextureLength = 3
  459. ChainLink.Attachment0 = A
  460. ChainLink.Attachment1 = B
  461. ChainLink.CurveSize0 = 1.3
  462. ChainLink.CurveSize1 = 1.3
  463. ChainLink.FaceCamera = true
  464. ChainLink.Transparency = NumberSequence.new(0)
  465. local ChainLink = IT("Beam",lleg)
  466. ChainLink.Texture = "rbxassetid://73042633"
  467. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  468. ChainLink.TextureSpeed = 1
  469. ChainLink.FaceCamera = true
  470. ChainLink.Width0 = 1
  471. ChainLink.Width1 = 1
  472. ChainLink.TextureLength = 3
  473. ChainLink.Attachment0 = B
  474. ChainLink.Attachment1 = A
  475. ChainLink.CurveSize0 = 1.3
  476. ChainLink.CurveSize1 = 1.3
  477. ChainLink.FaceCamera = true
  478. ChainLink.Transparency = NumberSequence.new(0)
  479.  
  480. local A = IT("Attachment",RightBarrel)
  481. A.Position = VT(0,-2.5,0)
  482. local B = IT("Attachment",RightBarrel)
  483. B.Position = VT(0,2.5,0)
  484. local Trail = IT("Trail",RightBarrel)
  485. Trail.Attachment0 = A
  486. Trail.Attachment1 = B
  487. Trail.Lifetime = 0.2
  488. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  489. Trail.Transparency = NumberSequence.new(0, 1)
  490. Trail.Enabled = false
  491.  
  492. local A = IT("Attachment",head)
  493. A.Position = VT(1,1.3,0)
  494. A.Orientation = VT(-0.098, -89.999, 0.227)
  495. local B = IT("Attachment",head)
  496. B.Position = VT(-1.3,-0.6,0)
  497. B.Orientation = VT(-88.911, -68.808, 158.782)
  498. local ChainLink = IT("Beam",head)
  499. ChainLink.Texture = "rbxassetid://73042633"
  500. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  501. ChainLink.TextureSpeed = 1
  502. ChainLink.FaceCamera = true
  503. ChainLink.Width0 = 1
  504. ChainLink.Width1 = 1
  505. ChainLink.TextureLength = 3
  506. ChainLink.Attachment0 = A
  507. ChainLink.Attachment1 = B
  508. ChainLink.CurveSize0 = 1.6
  509. ChainLink.CurveSize1 = 1.6
  510. ChainLink.FaceCamera = true
  511. ChainLink.Transparency = NumberSequence.new(0)
  512. local ChainLink = IT("Beam",head)
  513. ChainLink.Texture = "rbxassetid://73042633"
  514. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  515. ChainLink.TextureSpeed = 1
  516. ChainLink.FaceCamera = true
  517. ChainLink.Width0 = 1
  518. ChainLink.Width1 = 1
  519. ChainLink.TextureLength = 3
  520. ChainLink.Attachment0 = B
  521. ChainLink.Attachment1 = A
  522. ChainLink.CurveSize0 = 1.6
  523. ChainLink.CurveSize1 = 1.6
  524. ChainLink.FaceCamera = true
  525. ChainLink.Transparency = NumberSequence.new(0)
  526. local A = IT("Attachment",head)
  527. A.Position = VT(1.3,-0.85,0)
  528. A.Orientation = VT(-0.098, -89.999, 0.227)
  529. local B = IT("Attachment",head)
  530. B.Position = VT(-1,2,0)
  531. B.Orientation = VT(-88.911, -68.808, 158.782)
  532. local ChainLink = IT("Beam",head)
  533. ChainLink.Texture = "rbxassetid://73042633"
  534. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  535. ChainLink.TextureSpeed = 1
  536. ChainLink.FaceCamera = true
  537. ChainLink.Width0 = 1
  538. ChainLink.Width1 = 1
  539. ChainLink.TextureLength = 3
  540. ChainLink.Attachment0 = A
  541. ChainLink.Attachment1 = B
  542. ChainLink.CurveSize0 = 1.3
  543. ChainLink.CurveSize1 = 1.3
  544. ChainLink.FaceCamera = true
  545. ChainLink.Transparency = NumberSequence.new(0)
  546. local ChainLink = IT("Beam",head)
  547. ChainLink.Texture = "rbxassetid://73042633"
  548. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  549. ChainLink.TextureSpeed = 1
  550. ChainLink.FaceCamera = true
  551. ChainLink.Width0 = 1
  552. ChainLink.Width1 = 1
  553. ChainLink.TextureLength = 3
  554. ChainLink.Attachment0 = B
  555. ChainLink.Attachment1 = A
  556. ChainLink.CurveSize0 = 1.3
  557. ChainLink.CurveSize1 = 1.3
  558. ChainLink.FaceCamera = true
  559. ChainLink.Transparency = NumberSequence.new(0)
  560.  
  561. local A = IT("Attachment",RightBarrel)
  562. A.Position = VT(0,-2.5,0)
  563. local B = IT("Attachment",RightBarrel)
  564. B.Position = VT(0,2.5,0)
  565. local Trail = IT("Trail",RightBarrel)
  566. Trail.Attachment0 = A
  567. Trail.Attachment1 = B
  568. Trail.Lifetime = 0.2
  569. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  570. Trail.Transparency = NumberSequence.new(0, 1)
  571. Trail.Enabled = false
  572.  
  573. wait(0)
  574.  
  575. local p = game.Players.localPlayer
  576. local char = p.Character
  577. local mouse=p:GetMouse()
  578. local larm = char["Left Arm"]
  579. local rarm = char["Right Arm"]
  580. local lleg = char["Left Leg"]
  581. local rleg = char["Right Leg"]
  582. local torso = char.Torso
  583. local root = char.HumanoidRootPart
  584. local hed = char.Head
  585. ---------------------------------------------
  586.  
  587. local PE1 = Instance.new("ParticleEmitter",rleg)
  588. PE1.Color = ColorSequence.new(Color3.new (1, 0, 0), Color3.new (1, 0, 0))
  589. PE1.LightEmission = NumberSequence.new(0.2)
  590. PE1.Size = NumberSequence.new(1.2)
  591. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  592. PE1.Lifetime = NumberRange.new(.5)
  593. PE1.Rate = 10
  594. PE1.Transparency = NumberSequence.new(0.2)
  595. PE1.LightEmission = NumberSequence.new(0.2)
  596. PE1.Rotation = NumberRange.new(260)
  597. PE1.Speed = NumberRange.new(0)
  598. PE1.RotSpeed = NumberRange.new(100)
  599.  
  600. ----------------------------------------------------
  601.  
  602.  
  603. local PE1 = Instance.new("ParticleEmitter",rleg)
  604. PE1.Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (0, 0, 0))
  605. PE1.LightEmission = NumberSequence.new(0.2)
  606. PE1.Size = NumberSequence.new(1.2)
  607. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  608. PE1.Lifetime = NumberRange.new(.5)
  609. PE1.Rate = 10
  610. PE1.Transparency = NumberSequence.new(0.2)
  611. PE1.LightEmission = NumberSequence.new(0.2)
  612. PE1.Rotation = NumberRange.new(260)
  613. PE1.Speed = NumberRange.new(0)
  614. PE1.RotSpeed = NumberRange.new(100)
  615.  
  616. ----------------------------------------------------
  617.  
  618.  
  619. local PE1 = Instance.new("ParticleEmitter",rleg)
  620. PE1.Color = ColorSequence.new(Color3.new (0, 0, 1), Color3.new (0, 0, 1))
  621. PE1.LightEmission = NumberSequence.new(0.2)
  622. PE1.Size = NumberSequence.new(1.2)
  623. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  624. PE1.Lifetime = NumberRange.new(.5)
  625. PE1.Rate = 10
  626. PE1.Transparency = NumberSequence.new(0.2)
  627. PE1.LightEmission = NumberSequence.new(0.2)
  628. PE1.Rotation = NumberRange.new(260)
  629. PE1.Speed = NumberRange.new(0)
  630. PE1.RotSpeed = NumberRange.new(100)
  631.  
  632. ----------------------------------------------------
  633. local PE1 = Instance.new("ParticleEmitter",rarm)
  634. PE1.Color = ColorSequence.new(Color3.new (1, 0, 0), Color3.new (1, 0, 0))
  635. PE1.LightEmission = NumberSequence.new(0.2)
  636. PE1.Size = NumberSequence.new(1.2)
  637. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  638. PE1.Lifetime = NumberRange.new(.5)
  639. PE1.Rate = 10
  640. PE1.Transparency = NumberSequence.new(0.2)
  641. PE1.LightEmission = NumberSequence.new(0.2)
  642. PE1.Rotation = NumberRange.new(260)
  643. PE1.Speed = NumberRange.new(0)
  644. PE1.RotSpeed = NumberRange.new(100)
  645. ---------------------------------------------
  646. local PE1 = Instance.new("ParticleEmitter",rarm)
  647. PE1.Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (0, 0, 0))
  648. PE1.LightEmission = NumberSequence.new(0.2)
  649. PE1.Size = NumberSequence.new(1.2)
  650. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  651. PE1.Lifetime = NumberRange.new(.5)
  652. PE1.Rate = 10
  653. PE1.Transparency = NumberSequence.new(0.2)
  654. PE1.LightEmission = NumberSequence.new(0.2)
  655. PE1.Rotation = NumberRange.new(260)
  656. PE1.Speed = NumberRange.new(0)
  657. PE1.RotSpeed = NumberRange.new(100)
  658. ---------------------------------------------
  659.  
  660. local PE1 = Instance.new("ParticleEmitter",rarm)
  661. PE1.Color = ColorSequence.new(Color3.new (0, 0, 1), Color3.new (0, 0, 1))
  662. PE1.LightEmission = NumberSequence.new(0.2)
  663. PE1.Size = NumberSequence.new(1.2)
  664. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  665. PE1.Lifetime = NumberRange.new(.5)
  666. PE1.Rate = 10
  667. PE1.Transparency = NumberSequence.new(0.2)
  668. PE1.LightEmission = NumberSequence.new(0.2)
  669. PE1.Rotation = NumberRange.new(260)
  670. PE1.Speed = NumberRange.new(0)
  671. PE1.RotSpeed = NumberRange.new(100)
  672. ---------------------------------------------
  673.  
  674.  
  675. local PE1 = Instance.new("ParticleEmitter",lleg)
  676. PE1.Color = ColorSequence.new(Color3.new (1, 0, 0), Color3.new (1, 0, 0))
  677. PE1.LightEmission = NumberSequence.new(0.2)
  678. PE1.Size = NumberSequence.new(1.2)
  679. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  680. PE1.Lifetime = NumberRange.new(.5)
  681. PE1.Rate = 10
  682. PE1.Transparency = NumberSequence.new(0.2)
  683. PE1.LightEmission = NumberSequence.new(0.2)
  684. PE1.Rotation = NumberRange.new(260)
  685. PE1.Speed = NumberRange.new(0)
  686. PE1.RotSpeed = NumberRange.new(100)
  687. ---------------------------------------------
  688.  
  689.  
  690. local PE1 = Instance.new("ParticleEmitter",lleg)
  691. PE1.Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (0, 0, 0))
  692. PE1.LightEmission = NumberSequence.new(0.2)
  693. PE1.Size = NumberSequence.new(1.2)
  694. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  695. PE1.Lifetime = NumberRange.new(.5)
  696. PE1.Rate = 10
  697. PE1.Transparency = NumberSequence.new(0.2)
  698. PE1.LightEmission = NumberSequence.new(0.2)
  699. PE1.Rotation = NumberRange.new(260)
  700. PE1.Speed = NumberRange.new(0)
  701. PE1.RotSpeed = NumberRange.new(100)
  702. ---------------------------------------------
  703.  
  704.  
  705. local PE1 = Instance.new("ParticleEmitter",lleg)
  706. PE1.Color = ColorSequence.new(Color3.new (0, 0, 1), Color3.new (0, 0, 1))
  707. PE1.LightEmission = NumberSequence.new(0.2)
  708. PE1.Size = NumberSequence.new(1.2)
  709. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  710. PE1.Lifetime = NumberRange.new(.5)
  711. PE1.Rate = 10
  712. PE1.Transparency = NumberSequence.new(0.2)
  713. PE1.LightEmission = NumberSequence.new(0.2)
  714. PE1.Rotation = NumberRange.new(260)
  715. PE1.Speed = NumberRange.new(0)
  716. PE1.RotSpeed = NumberRange.new(100)
  717. ---------------------------------------------
  718.  
  719. local PE1 = Instance.new("ParticleEmitter",larm)
  720. PE1.Color = ColorSequence.new(Color3.new (1, 0, 0), Color3.new (1, 0, 0))
  721. PE1.LightEmission = NumberSequence.new(0.2)
  722. PE1.Size = NumberSequence.new(1.2)
  723. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  724. PE1.Lifetime = NumberRange.new(.5)
  725. PE1.Rate = 10
  726. PE1.Transparency = NumberSequence.new(0.2)
  727. PE1.LightEmission = NumberSequence.new(0.2)
  728. PE1.Rotation = NumberRange.new(260)
  729. PE1.Speed = NumberRange.new(0)
  730. PE1.RotSpeed = NumberRange.new(100)
  731. ---------------------------------------------
  732.  
  733. local PE1 = Instance.new("ParticleEmitter",larm)
  734. PE1.Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (0, 0, 0))
  735. PE1.LightEmission = NumberSequence.new(0.2)
  736. PE1.Size = NumberSequence.new(1.2)
  737. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  738. PE1.Lifetime = NumberRange.new(.5)
  739. PE1.Rate = 10
  740. PE1.Transparency = NumberSequence.new(0.2)
  741. PE1.LightEmission = NumberSequence.new(0.2)
  742. PE1.Rotation = NumberRange.new(260)
  743. PE1.Speed = NumberRange.new(0)
  744. PE1.RotSpeed = NumberRange.new(100)
  745. ---------------------------------------------
  746.  
  747. local PE1 = Instance.new("ParticleEmitter",larm)
  748. PE1.Color = ColorSequence.new(Color3.new (0, 0, 1), Color3.new (0, 0, 1))
  749. PE1.LightEmission = NumberSequence.new(0.2)
  750. PE1.Size = NumberSequence.new(1.2)
  751. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  752. PE1.Lifetime = NumberRange.new(.5)
  753. PE1.Rate = 10
  754. PE1.Transparency = NumberSequence.new(0.2)
  755. PE1.LightEmission = NumberSequence.new(0.2)
  756. PE1.Rotation = NumberRange.new(260)
  757. PE1.Speed = NumberRange.new(0)
  758. PE1.RotSpeed = NumberRange.new(100)
  759. ---------------------------------------------
  760.  
  761. local PE1 = Instance.new("ParticleEmitter",torso)
  762. PE1.Color = ColorSequence.new(Color3.new (1, 0, 0), Color3.new (1, 0, 0))
  763. PE1.LightEmission = NumberSequence.new(0.2)
  764. PE1.Size = NumberSequence.new(1.2)
  765. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  766. PE1.Lifetime = NumberRange.new(.5)
  767. PE1.Rate = 10
  768. PE1.Transparency = NumberSequence.new(0.2)
  769. PE1.LightEmission = NumberSequence.new(0.2)
  770. PE1.Rotation = NumberRange.new(260)
  771. PE1.Speed = NumberRange.new(0)
  772. PE1.RotSpeed = NumberRange.new(100)
  773. ---------------------------------------------
  774. local PE1 = Instance.new("ParticleEmitter",torso)
  775. PE1.Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (0, 0, 0))
  776. PE1.LightEmission = NumberSequence.new(0.2)
  777. PE1.Size = NumberSequence.new(1.2)
  778. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  779. PE1.Lifetime = NumberRange.new(.5)
  780. PE1.Rate = 10
  781. PE1.Transparency = NumberSequence.new(0.2)
  782. PE1.LightEmission = NumberSequence.new(0.2)
  783. PE1.Rotation = NumberRange.new(260)
  784. PE1.Speed = NumberRange.new(0)
  785. PE1.RotSpeed = NumberRange.new(100)
  786. ---------------------------------------------
  787. local PE1 = Instance.new("ParticleEmitter",torso)
  788. PE1.Color = ColorSequence.new(Color3.new (0, 0, 1), Color3.new (0, 0, 1))
  789. PE1.LightEmission = NumberSequence.new(0.2)
  790. PE1.Size = NumberSequence.new(1.2)
  791. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  792. PE1.Lifetime = NumberRange.new(.5)
  793. PE1.Rate = 10
  794. PE1.Transparency = NumberSequence.new(0.2)
  795. PE1.LightEmission = NumberSequence.new(0.2)
  796. PE1.Rotation = NumberRange.new(260)
  797. PE1.Speed = NumberRange.new(0)
  798. PE1.RotSpeed = NumberRange.new(100)
  799. ---------------------------------------------
  800.  
  801. local PE1 = Instance.new("ParticleEmitter",hed)
  802. PE1.Color = ColorSequence.new(Color3.new (1, 0, 0), Color3.new (1, 0, 0))
  803. PE1.LightEmission = NumberSequence.new(0.2)
  804. PE1.Size = NumberSequence.new(1.2)
  805. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  806. PE1.Lifetime = NumberRange.new(.5)
  807. PE1.Rate = 10
  808. PE1.Transparency = NumberSequence.new(0.2)
  809. PE1.LightEmission = NumberSequence.new(0.2)
  810. PE1.Rotation = NumberRange.new(260)
  811. PE1.Speed = NumberRange.new(0)
  812. PE1.RotSpeed = NumberRange.new(100)
  813. ---------------------------------------------
  814.  
  815. local PE1 = Instance.new("ParticleEmitter",hed)
  816. PE1.Color = ColorSequence.new(Color3.new (0, 0, 0), Color3.new (0, 0, 0))
  817. PE1.LightEmission = NumberSequence.new(0.2)
  818. PE1.Size = NumberSequence.new(1.2)
  819. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  820. PE1.Lifetime = NumberRange.new(.5)
  821. PE1.Rate = 10
  822. PE1.Transparency = NumberSequence.new(0.2)
  823. PE1.LightEmission = NumberSequence.new(0.2)
  824. PE1.Rotation = NumberRange.new(260)
  825. PE1.Speed = NumberRange.new(0)
  826. PE1.RotSpeed = NumberRange.new(100)
  827. ---------------------------------------------
  828.  
  829. local PE1 = Instance.new("ParticleEmitter",hed)
  830. PE1.Color = ColorSequence.new(Color3.new (0, 0, 1), Color3.new (0, 0, 1))
  831. PE1.LightEmission = NumberSequence.new(0.2)
  832. PE1.Size = NumberSequence.new(1.2)
  833. PE1.Texture = "http://www.roblox.com/asset/?id=284607870"
  834. PE1.Lifetime = NumberRange.new(.5)
  835. PE1.Rate = 10
  836. PE1.Transparency = NumberSequence.new(0.2)
  837. PE1.LightEmission = NumberSequence.new(0.2)
  838. PE1.Rotation = NumberRange.new(260)
  839. PE1.Speed = NumberRange.new(0)
  840. PE1.RotSpeed = NumberRange.new(100)
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850. --
  851. local Player = game:GetService('Players').LocalPlayer
  852. repeat wait() until Player.Character
  853. local Character = Player.Character
  854.  
  855. --All The Settings for Trails in this Script
  856. TrailSettings = {
  857. Lifetime = 0.7,
  858. Texture = 'rbxassetid://31270182',
  859. --Color1 is for UpperBody and Accessories, Color2 is for Lower Body
  860. Color1 = ColorSequence.new(BrickColor.new('Really red').Color,BrickColor.new('Really red').Color),
  861. Color2 = ColorSequence.new(BrickColor.new('Black').Color,BrickColor.new('Black').Color),
  862. AllBody = true,
  863. UpperBodyOnly = false,
  864. LowerBodyOnly = false,
  865. Accessories = false,
  866. Extras = true,
  867. R15 = false, --Change to true if you're using R15
  868. R15Parts = {
  869. 'UpperTorso',
  870. 'LowerTorso',
  871. }
  872. }
  873.  
  874. local Trail; --Making other Trails uses this in this Script
  875.  
  876. --UpperBody Function
  877. UpperBody = function()
  878. if TrailSettings.R15 == false then
  879. A0 = Instance.new('Attachment',Character.Torso)
  880. A1 = Instance.new('Attachment',Character.Head)
  881. A2 = Instance.new('Attachment',Character['Right Arm'])
  882. A3 = Instance.new('Attachment',Character['Left Arm'])
  883. Trail = Instance.new('Trail',Character)
  884. Trail.Attachment0 = A0
  885. Trail.Attachment1 = A1
  886. Trail.Texture = TrailSettings.Texture
  887. Trail.Color = TrailSettings.Color1
  888. Trail.Lifetime = TrailSettings.Lifetime
  889. local Trail2 = Trail:Clone()
  890. Trail2.Parent = Character
  891. Trail2.Attachment1 = A2
  892. local Trail3 = Trail:Clone()
  893. Trail3.Parent = Character
  894. Trail3.Attachment1 = A3
  895. local Trail6 = Trail:Clone()
  896. Trail6.Parent = Character
  897. Trail6.Attachment0 = A1
  898. Trail6.Attachment1 = A2
  899. local Trail7 = Trail:Clone()
  900. Trail7.Parent = Character
  901. Trail7.Attachment0 = A1
  902. Trail7.Attachment1 = A3
  903. else
  904. A0 = Instance.new('Attachment',Character[TrailSettings.R15Parts[1]])
  905. A0R = Instance.new('Attachment',Character[TrailSettings.R15Parts[2]])
  906. A1 = Instance.new('Attachment',Character.Head)
  907. A2 = Instance.new('Attachment',Character['RightUpperArm'])
  908. A2R = Instance.new('Attachment',Character['RightLowerArm'])
  909. A3 = Instance.new('Attachment',Character['LeftUpperArm'])
  910. A3R = Instance.new('Attachment',Character['LeftLowerArm'])
  911. Trail = Instance.new('Trail',Character)
  912. Trail.Attachment0 = A0
  913. Trail.Attachment1 = A1
  914. Trail.Texture = TrailSettings.Texture
  915. Trail.Color = TrailSettings.Color1
  916. Trail.Lifetime = TrailSettings.Lifetime
  917. local Trail2 = Trail:Clone()
  918. Trail2.Parent = Character
  919. Trail2.Attachment1 = A2
  920. local Trail3 = Trail:Clone()
  921. Trail3.Parent = Character
  922. Trail3.Attachment1 = A3
  923. local Trail6 = Trail:Clone()
  924. Trail6.Parent = Character
  925. Trail6.Attachment0 = A1
  926. Trail6.Attachment1 = A2
  927. local Trail7 = Trail:Clone()
  928. Trail7.Parent = Character
  929. Trail7.Attachment0 = A1
  930. Trail7.Attachment1 = A3
  931. --R15 Trails
  932. local Trail1R = Trail:Clone()
  933. Trail1R.Parent = Character
  934. Trail1R.Attachment1 = A2R
  935. local Trail2R = Trail:Clone()
  936. Trail2R.Parent = Character
  937. Trail2R.Attachment1 = A3R
  938. local Trail6R = Trail:Clone()
  939. Trail6.Parent = Character
  940. Trail6.Attachment0 = A1
  941. Trail6.Attachment1 = A2R
  942. local Trail7R = Trail:Clone()
  943. Trail7.Parent = Character
  944. Trail7.Attachment0 = A1
  945. Trail7.Attachment1 = A3R
  946. end
  947. end
  948.  
  949. --Lower Body Function
  950. LowerBody = function()
  951. if TrailSettings.R15 == false then
  952. A4 = Instance.new('Attachment',Character['Right Leg'])
  953. A5 = Instance.new('Attachment',Character['Left Leg'])
  954. local Trail4 = Trail:Clone()
  955. Trail4.Parent = Character
  956. Trail4.Attachment1 = A4
  957. local Trail5 = Trail:Clone()
  958. Trail5.Parent = Character
  959. Trail5.Attachment1 = A5
  960. local Trail8 = Trail:Clone()
  961. Trail8.Parent = Character
  962. Trail8.Attachment0 = A2
  963. Trail8.Attachment1 = A4
  964. Trail8.Color = TrailSettings.Color2
  965. local Trail9 = Trail:Clone()
  966. Trail9.Parent = Character
  967. Trail9.Attachment0 = A3
  968. Trail9.Attachment1 = A5
  969. Trail9.Color = TrailSettings.Color2
  970. local FT = Trail:Clone()
  971. FT.Parent = Character
  972. FT.Attachment0 = A4
  973. FT.Attachment1 = A5
  974. FT.Color = TrailSettings.Color2
  975. else
  976. A4 = Instance.new('Attachment',Character['RightLowerLeg'])
  977. A4R = Instance.new('Attachment',Character['RightUpperLeg'])
  978. A5 = Instance.new('Attachment',Character['LeftLowerLeg'])
  979. A5R = Instance.new('Attachment',Character['LeftUpperLeg'])
  980. local Trail4 = Trail:Clone()
  981. Trail4.Parent = Character
  982. Trail4.Attachment1 = A4
  983. local Trail5 = Trail:Clone()
  984. Trail5.Parent = Character
  985. Trail5.Attachment1 = A5
  986. local Trail8 = Trail:Clone()
  987. Trail8.Parent = Character
  988. Trail8.Attachment0 = A2
  989. Trail8.Attachment1 = A4
  990. Trail8.Color = TrailSettings.Color2
  991. local Trail9 = Trail:Clone()
  992. Trail9.Parent = Character
  993. Trail9.Attachment0 = A3
  994. Trail9.Attachment1 = A5
  995. Trail9.Color = TrailSettings.Color2
  996. local FT = Trail:Clone()
  997. FT.Parent = Character
  998. FT.Attachment0 = A4
  999. FT.Attachment1 = A5
  1000. FT.Color = TrailSettings.Color2
  1001. --R15 Trails
  1002. local Trail3R = Trail:Clone()
  1003. Trail3R.Parent = Character
  1004. Trail3R.Attachment1 = A4R
  1005. local Trail4R = Trail:Clone()
  1006. Trail4R.Parent = Character
  1007. Trail4R.Attachment1 = A5R
  1008. local Trail8 = Trail:Clone()
  1009. Trail8.Parent = Character
  1010. Trail8.Attachment0 = A2R
  1011. Trail8.Attachment1 = A4R
  1012. Trail8.Color = TrailSettings.Color2
  1013. local Trail9 = Trail:Clone()
  1014. Trail9.Parent = Character
  1015. Trail9.Attachment0 = A3R
  1016. Trail9.Attachment1 = A5R
  1017. Trail9.Color = TrailSettings.Color2
  1018. local FT2R = Trail:Clone()
  1019. FT2R.Parent = Character
  1020. FT2R.Attachment0 = A4R
  1021. FT2R.Attachment1 = A5R
  1022. FT2R.Color = TrailSettings.Color2
  1023. end
  1024. end
  1025.  
  1026. --All Body Function calling Both Functions
  1027. AllBody = function()
  1028. UpperBody()
  1029. LowerBody()
  1030. end
  1031.  
  1032. --Checking to make sure that Only some Variables are Selected else do All Body
  1033. if TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  1034. TrailSettings.UpperBodyOnly = false
  1035. TrailSettings.LowerBodyOnly = false
  1036. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == false and TrailSettings.LowerBodyOnly == true then
  1037. TrailSettings.UpperBodyOnly = false
  1038. TrailSettings.LowerBodyOnly = false
  1039. elseif TrailSettings.AllBody == true and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == false then
  1040. TrailSettings.UpperBodyOnly = false
  1041. TrailSettings.LowerBodyOnly = false
  1042. elseif TrailSettings.AllBody == false and TrailSettings.UpperBodyOnly == true and TrailSettings.LowerBodyOnly == true then
  1043. TrailSettings.AllBody = true
  1044. TrailSettings.UpperBodyOnly = false
  1045. TrailSettings.LowerBodyOnly = false
  1046. end
  1047.  
  1048. --Call Trail Functions
  1049. if TrailSettings.UpperBodyOnly == true then
  1050. UpperBody()
  1051. print('Called Upper Body Trail')
  1052. elseif TrailSettings.LowerBodyOnly == true then
  1053. LowerBody()
  1054. print('Called Lower Body Trail')
  1055. elseif TrailSettings.AllBody == true then
  1056. AllBody()
  1057. print('Called Full Body Trail')
  1058. end
  1059.  
  1060. --Trails for Accessories
  1061. if TrailSettings.Accessories == true then
  1062. for Index,Item in pairs(Character:GetChildren()) do
  1063. if Item:IsA'Accessory' then
  1064. local AA = Instance.new('Attachment',Item.Handle)
  1065. local ATrail = Trail:Clone()
  1066. ATrail.Parent = Character
  1067. ATrail.Attachment1 = AA
  1068. end
  1069. end
  1070. end
  1071.  
  1072. --Extras
  1073. if TrailSettings.Extras == true then
  1074. --Making an Invisible Platform Part
  1075. local a = Instance.new('Part',Character)
  1076. a.CanCollide = false
  1077. a.Size = Vector3.new(2,.2,2)
  1078. a.Transparency = 1
  1079.  
  1080. --Constantly putting it under your feet
  1081. if TrailSettings.R15 == false then
  1082. spawn(function()
  1083. game:GetService('RunService').RenderStepped:connect(function()
  1084. a.CFrame = Character.Torso.CFrame * CFrame.new(0,-3,0)
  1085. end)
  1086. end)
  1087. else
  1088. spawn(function()
  1089. game:GetService('RunService').RenderStepped:connect(function()
  1090. a.CFrame = Character[TrailSettings.R15Parts[2]].CFrame * CFrame.new(0,-2,0)
  1091. end)
  1092. end)
  1093. end
  1094.  
  1095. --Make a Trail from both feet to the Platform
  1096. spawn(function()
  1097. repeat wait() until Trail
  1098. local AB = Instance.new('Attachment',a)
  1099. local ABT = Trail:Clone()
  1100. ABT.Parent = Character
  1101. ABT.Attachment0 = A4
  1102. ABT.Attachment1 = AB
  1103. ABT.Color = TrailSettings.Color2
  1104. local ABT2 = Trail:Clone()
  1105. ABT2.Parent = Character
  1106. ABT2.Attachment0 = A5
  1107. ABT2.Attachment1 = AB
  1108. ABT2.Color = TrailSettings.Color2
  1109. end)
  1110. end
  1111. --
  1112.  
  1113.  
  1114. wait(0.2)
  1115. Player = game:GetService("Players").LocalPlayer
  1116. PlayerGui = Player.PlayerGui
  1117. Cam = workspace.CurrentCamera
  1118. Backpack = Player.Backpack
  1119. Character = Player.Character
  1120. Humanoid = Character.Humanoid
  1121. Mouse = Player:GetMouse()
  1122. RootPart = Character.HumanoidRootPart
  1123. Torso = Character.Torso
  1124. Head = Character.Head
  1125. RightArm = Character["Right Arm"]
  1126. LeftArm = Character["Left Arm"]
  1127. RightLeg = Character["Right Leg"]
  1128. LeftLeg = Character["Left Leg"]
  1129. RootJoint = RootPart.RootJoint
  1130. Neck = Torso.Neck
  1131. RightShoulder = Torso["Right Shoulder"]
  1132. LeftShoulder = Torso["Left Shoulder"]
  1133. RightHip = Torso["Right Hip"]
  1134. LeftHip = Torso["Left Hip"]
  1135. local sick = Instance.new("Sound", Torso)
  1136. sick.SoundId = "rbxassetid://142306659"
  1137. sick.Looped = true
  1138. sick.Pitch = 2
  1139. sick.Volume = 50
  1140. IT = Instance.new
  1141. CF = CFrame.new
  1142. VT = Vector3.new
  1143. RAD = math.rad
  1144. C3 = Color3.new
  1145. UD2 = UDim2.new
  1146. BRICKC = BrickColor.new
  1147. ANGLES = CFrame.Angles
  1148. EULER = CFrame.fromEulerAnglesXYZ
  1149. COS = math.cos
  1150. ACOS = math.acos
  1151. SIN = math.sin
  1152. ASIN = math.asin
  1153. ABS = math.abs
  1154. MRANDOM = math.random
  1155. FLOOR = math.floor
  1156. Animation_Speed = 3
  1157. Frame_Speed = 0.016666666666666666
  1158. local Speed = 16
  1159. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1160. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  1161. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  1162. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  1163. local DAMAGEMULTIPLIER = 1
  1164. local ANIM = "Idle"
  1165. local ATTACK = false
  1166. local EQUIPPED = false
  1167. local HOLD = false
  1168. local COMBO = 1
  1169. local Rooted = false
  1170. local SINE = 0
  1171. local KEYHOLD = false
  1172. local CHANGE = 2 / Animation_Speed
  1173. local WALKINGANIM = false
  1174. local VALUE1 = false
  1175. local VALUE2 = false
  1176. local ROBLOXIDLEANIMATION = IT("Animation")
  1177. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  1178. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  1179. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  1180. WEAPONGUI.Name = "Weapon GUI"
  1181. local Weapon = IT("Model")
  1182. Weapon.Name = "Adds"
  1183. local Effects = IT("Folder", Weapon)
  1184. Effects.Name = "Effects"
  1185. local ANIMATOR = Humanoid.Animator
  1186. local ANIMATE = Character.Animate
  1187. local UNANCHOR = true
  1188. local RWINGS = {}
  1189. local LWINGS = {}
  1190. local EYE, PUPIL
  1191. local BLINKLOOP = 0
  1192. local FINISHEDINTRO = false
  1193. local INTROING = false
  1194. local INSTANT = false
  1195. local EYES = {}
  1196. ArtificialHB = Instance.new("BindableEvent", script)
  1197. ArtificialHB.Name = "ArtificialHB"
  1198. script:WaitForChild("ArtificialHB")
  1199. frame = Frame_Speed
  1200. tf = 0
  1201. allowframeloss = false
  1202. tossremainder = false
  1203. lastframe = tick()
  1204. script.ArtificialHB:Fire()
  1205. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1206. tf = tf + s
  1207. if tf >= frame then
  1208. if allowframeloss then
  1209. script.ArtificialHB:Fire()
  1210. lastframe = tick()
  1211. else
  1212. for i = 1, math.floor(tf / frame) do
  1213. script.ArtificialHB:Fire()
  1214. end
  1215. lastframe = tick()
  1216. end
  1217. if tossremainder then
  1218. tf = 0
  1219. else
  1220. tf = tf - frame * math.floor(tf / frame)
  1221. end
  1222. end
  1223. end)
  1224. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  1225. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  1226. end
  1227. function PositiveAngle(NUMBER)
  1228. if NUMBER >= 0 then
  1229. NUMBER = 0
  1230. end
  1231. return NUMBER
  1232. end
  1233. function NegativeAngle(NUMBER)
  1234. if NUMBER <= 0 then
  1235. NUMBER = 0
  1236. end
  1237. return NUMBER
  1238. end
  1239. function Swait(NUMBER)
  1240. if NUMBER == 0 or NUMBER == nil then
  1241. ArtificialHB.Event:wait()
  1242. else
  1243. for i = 1, NUMBER do
  1244. ArtificialHB.Event:wait()
  1245. end
  1246. end
  1247. end
  1248. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1249. local NEWMESH = IT(MESH)
  1250. if MESH == "SpecialMesh" then
  1251. NEWMESH.MeshType = MESHTYPE
  1252. if MESHID ~= "nil" and MESHID ~= "" then
  1253. NEWMESH.MeshId = "http://www.roblox.com/asset/?id=" .. MESHID
  1254. end
  1255. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1256. NEWMESH.TextureId = "http://www.roblox.com/asset/?id=" .. TEXTUREID
  1257. end
  1258. end
  1259. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1260. NEWMESH.Scale = SCALE
  1261. NEWMESH.Parent = PARENT
  1262. return NEWMESH
  1263. end
  1264. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1265. local NEWPART = IT("Part")
  1266. NEWPART.formFactor = FORMFACTOR
  1267. NEWPART.Reflectance = REFLECTANCE
  1268. NEWPART.Transparency = TRANSPARENCY
  1269. NEWPART.CanCollide = false
  1270. NEWPART.Locked = true
  1271. NEWPART.Anchored = true
  1272. if ANCHOR == false then
  1273. NEWPART.Anchored = false
  1274. end
  1275. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1276. NEWPART.Name = NAME
  1277. NEWPART.Size = SIZE
  1278. NEWPART.Position = Torso.Position
  1279. NEWPART.Material = MATERIAL
  1280. NEWPART:BreakJoints()
  1281. NEWPART.Parent = PARENT
  1282. return NEWPART
  1283. end
  1284. local weldBetween = function(a, b)
  1285. local weldd = Instance.new("ManualWeld")
  1286. weldd.Part0 = a
  1287. weldd.Part1 = b
  1288. weldd.C0 = CFrame.new()
  1289. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1290. weldd.Parent = a
  1291. return weldd
  1292. end
  1293. function QuaternionFromCFrame(cf)
  1294. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1295. local trace = m00 + m11 + m22
  1296. if trace > 0 then
  1297. local s = math.sqrt(1 + trace)
  1298. local recip = 0.5 / s
  1299. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1300. else
  1301. local i = 0
  1302. if m00 < m11 then
  1303. i = 1
  1304. end
  1305. if m22 > (i == 0 and m00 or m11) then
  1306. i = 2
  1307. end
  1308. if i == 0 then
  1309. local s = math.sqrt(m00 - m11 - m22 + 1)
  1310. local recip = 0.5 / s
  1311. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1312. elseif i == 1 then
  1313. local s = math.sqrt(m11 - m22 - m00 + 1)
  1314. local recip = 0.5 / s
  1315. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1316. elseif i == 2 then
  1317. local s = math.sqrt(m22 - m00 - m11 + 1)
  1318. local recip = 0.5 / s
  1319. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1320. end
  1321. end
  1322. end
  1323. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1324. local xs, ys, zs = x + x, y + y, z + z
  1325. local wx, wy, wz = w * xs, w * ys, w * zs
  1326. local xx = x * xs
  1327. local xy = x * ys
  1328. local xz = x * zs
  1329. local yy = y * ys
  1330. local yz = y * zs
  1331. local zz = z * zs
  1332. return CFrame.new(px, py, pz, 1 - (yy + zz), xy - wz, xz + wy, xy + wz, 1 - (xx + zz), yz - wx, xz - wy, yz + wx, 1 - (xx + yy))
  1333. end
  1334. function QuaternionSlerp(a, b, t)
  1335. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1336. local startInterp, finishInterp
  1337. if cosTheta >= 1.0E-4 then
  1338. if 1 - cosTheta > 1.0E-4 then
  1339. local theta = ACOS(cosTheta)
  1340. local invSinTheta = 1 / SIN(theta)
  1341. startInterp = SIN((1 - t) * theta) * invSinTheta
  1342. finishInterp = SIN(t * theta) * invSinTheta
  1343. else
  1344. startInterp = 1 - t
  1345. finishInterp = t
  1346. end
  1347. elseif 1 + cosTheta > 1.0E-4 then
  1348. local theta = ACOS(-cosTheta)
  1349. local invSinTheta = 1 / SIN(theta)
  1350. startInterp = SIN((t - 1) * theta) * invSinTheta
  1351. finishInterp = SIN(t * theta) * invSinTheta
  1352. else
  1353. startInterp = t - 1
  1354. finishInterp = t
  1355. end
  1356. return a[1] * startInterp + b[1] * finishInterp, a[2] * startInterp + b[2] * finishInterp, a[3] * startInterp + b[3] * finishInterp, a[4] * startInterp + b[4] * finishInterp
  1357. end
  1358. function Clerp(a, b, t)
  1359. local qa = {
  1360. QuaternionFromCFrame(a)
  1361. }
  1362. local qb = {
  1363. QuaternionFromCFrame(b)
  1364. }
  1365. local ax, ay, az = a.x, a.y, a.z
  1366. local bx, by, bz = b.x, b.y, b.z
  1367. local _t = 1 - t
  1368. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1369. end
  1370. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1371. local frame = IT("Frame")
  1372. frame.BackgroundTransparency = TRANSPARENCY
  1373. frame.BorderSizePixel = BORDERSIZEPIXEL
  1374. frame.Position = POSITION
  1375. frame.Size = SIZE
  1376. frame.BackgroundColor3 = COLOR
  1377. frame.BorderColor3 = BORDERCOLOR
  1378. frame.Name = NAME
  1379. frame.Parent = PARENT
  1380. return frame
  1381. end
  1382. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1383. local label = IT("TextLabel")
  1384. label.BackgroundTransparency = 1
  1385. label.Size = UD2(1, 0, 1, 0)
  1386. label.Position = UD2(0, 0, 0, 0)
  1387. label.TextColor3 = TEXTCOLOR
  1388. label.TextStrokeTransparency = STROKETRANSPARENCY
  1389. label.TextTransparency = TRANSPARENCY
  1390. label.FontSize = TEXTFONTSIZE
  1391. label.Font = TEXTFONT
  1392. label.BorderSizePixel = BORDERSIZEPIXEL
  1393. label.TextScaled = false
  1394. label.Text = TEXT
  1395. label.Name = NAME
  1396. label.Parent = PARENT
  1397. return label
  1398. end
  1399. function NoOutlines(PART)
  1400. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1401. end
  1402. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1403. local NEWWELD = IT(TYPE)
  1404. NEWWELD.Part0 = PART0
  1405. NEWWELD.Part1 = PART1
  1406. NEWWELD.C0 = C0
  1407. NEWWELD.C1 = C1
  1408. NEWWELD.Parent = PARENT
  1409. return NEWWELD
  1410. end
  1411. local S = IT("Sound")
  1412. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1413. local NEWSOUND
  1414. coroutine.resume(coroutine.create(function()
  1415. NEWSOUND = S:Clone()
  1416. NEWSOUND.Parent = PARENT
  1417. NEWSOUND.Volume = VOLUME
  1418. NEWSOUND.Pitch = PITCH
  1419. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id=" .. ID
  1420. NEWSOUND:play()
  1421. if DOESLOOP == true then
  1422. NEWSOUND.Looped = true
  1423. else
  1424. repeat
  1425. Swait()
  1426. until NEWSOUND.Playing == false
  1427. NEWSOUND:remove()
  1428. end
  1429. end))
  1430. return NEWSOUND
  1431. end
  1432. function CFrameFromTopBack(at, top, back)
  1433. local right = top:Cross(back)
  1434. return CF(at.x, at.y, at.z, right.x, top.x, back.x, right.y, top.y, back.y, right.z, top.z, back.z)
  1435. end
  1436. function WACKYEFFECT(Table)
  1437. local TYPE = Table.EffectType or "Sphere"
  1438. local SIZE = Table.Size or VT(1, 1, 1)
  1439. local ENDSIZE = Table.Size2 or VT(0, 0, 0)
  1440. local TRANSPARENCY = Table.Transparency or 0
  1441. local ENDTRANSPARENCY = Table.Transparency2 or 1
  1442. local CFRAME = Table.CFrame or Torso.CFrame
  1443. local MOVEDIRECTION = Table.MoveToPos or nil
  1444. local ROTATION1 = Table.RotationX or 0
  1445. local ROTATION2 = Table.RotationY or 0
  1446. local ROTATION3 = Table.RotationZ or 0
  1447. local MATERIAL = Table.Material or "Neon"
  1448. local COLOR = Table.Color or C3(1, 1, 1)
  1449. local TIME = Table.Time or 45
  1450. local SOUNDID = Table.SoundID or nil
  1451. local SOUNDPITCH = Table.SoundPitch or nil
  1452. local SOUNDVOLUME = Table.SoundVolume or nil
  1453. coroutine.resume(coroutine.create(function()
  1454. local PLAYSSOUND = false
  1455. local SOUND
  1456. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1, 1, 1), true)
  1457. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1458. PLAYSSOUND = true
  1459. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1460. end
  1461. EFFECT.Color = COLOR
  1462. local MSH
  1463. if TYPE == "Sphere" then
  1464. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0, 0, 0))
  1465. elseif TYPE == "Block" then
  1466. MSH = IT("BlockMesh", EFFECT)
  1467. MSH.Scale = VT(SIZE.X, SIZE.X, SIZE.X)
  1468. elseif TYPE == "Wave" then
  1469. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  1470. elseif TYPE == "Ring" then
  1471. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X, SIZE.X, 0.1), VT(0, 0, 0))
  1472. elseif TYPE == "Slash" then
  1473. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1474. elseif TYPE == "Round Slash" then
  1475. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X / 10, 0, SIZE.X / 10), VT(0, 0, 0))
  1476. elseif TYPE == "Swirl" then
  1477. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0, 0, 0))
  1478. elseif TYPE == "Skull" then
  1479. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0, 0, 0))
  1480. elseif TYPE == "Crystal" then
  1481. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0, 0, 0))
  1482. end
  1483. if MSH ~= nil then
  1484. local MOVESPEED
  1485. if MOVEDIRECTION ~= nil then
  1486. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude / TIME
  1487. end
  1488. local GROWTH = SIZE - ENDSIZE
  1489. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1490. if TYPE == "Block" then
  1491. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1492. else
  1493. EFFECT.CFrame = CFRAME
  1494. end
  1495. for LOOP = 1, TIME do
  1496. Swait()
  1497. MSH.Scale = MSH.Scale - GROWTH / TIME
  1498. if TYPE == "Wave" then
  1499. MSH.Offset = VT(0, 0, -MSH.Scale.X / 8)
  1500. end
  1501. EFFECT.Transparency = EFFECT.Transparency - TRANS / TIME
  1502. if TYPE == "Block" then
  1503. EFFECT.CFrame = CFRAME * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  1504. else
  1505. EFFECT.CFrame = EFFECT.CFrame * ANGLES(RAD(ROTATION1), RAD(ROTATION2), RAD(ROTATION3))
  1506. end
  1507. if MOVEDIRECTION ~= nil then
  1508. local ORI = EFFECT.Orientation
  1509. EFFECT.CFrame = CF(EFFECT.Position, MOVEDIRECTION) * CF(0, 0, -MOVESPEED)
  1510. EFFECT.Orientation = ORI
  1511. end
  1512. end
  1513. if PLAYSSOUND == false then
  1514. EFFECT:remove()
  1515. else
  1516. repeat
  1517. Swait()
  1518. until SOUND.Playing == false
  1519. EFFECT:remove()
  1520. end
  1521. elseif PLAYSSOUND == false then
  1522. EFFECT:remove()
  1523. else
  1524. repeat
  1525. Swait()
  1526. until SOUND.Playing == false
  1527. EFFECT:remove()
  1528. end
  1529. end))
  1530. end
  1531. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  1532. if FLOOR ~= nil then
  1533. coroutine.resume(coroutine.create(function()
  1534. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  1535. PART.CFrame = CF(POSITION)
  1536. for i = 1, 45 do
  1537. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  1538. RingPiece.Material = FLOOR.Material
  1539. RingPiece.Color = FLOOR.Color
  1540. RingPiece.CFrame = PART.CFrame * ANGLES(RAD(0), RAD(i * 8), RAD(0)) * CF(SIZE * 4, 0, 0) * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1541. Debris:AddItem(RingPiece, SWAIT)
  1542. end
  1543. PART:remove()
  1544. end))
  1545. end
  1546. end
  1547. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  1548. if FLOOR ~= nil then
  1549. for i = 1, AMOUNT do
  1550. do
  1551. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, 0, "Peal", "Debree", BLOCKSIZE, false)
  1552. DEBREE.Material = FLOOR.Material
  1553. DEBREE.Color = FLOOR.Color
  1554. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  1555. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), STRENGTH, MRANDOM(-STRENGTH, STRENGTH))
  1556. coroutine.resume(coroutine.create(function()
  1557. Swait(15)
  1558. DEBREE.Parent = workspace
  1559. DEBREE.CanCollide = true
  1560. Debris:AddItem(DEBREE, SWAIT)
  1561. end))
  1562. end
  1563. end
  1564. end
  1565. end
  1566. function MakeForm(PART, TYPE)
  1567. if TYPE == "Cyl" then
  1568. local MSH = IT("CylinderMesh", PART)
  1569. elseif TYPE == "Ball" then
  1570. local MSH = IT("SpecialMesh", PART)
  1571. MSH.MeshType = "Sphere"
  1572. elseif TYPE == "Wedge" then
  1573. local MSH = IT("SpecialMesh", PART)
  1574. MSH.MeshType = "Wedge"
  1575. end
  1576. end
  1577. function CheckTableForString(Table, String)
  1578. for i, v in pairs(Table) do
  1579. if string.find(string.lower(String), string.lower(v)) then
  1580. return true
  1581. end
  1582. end
  1583. return false
  1584. end
  1585. function CheckIntangible(Hit)
  1586. local ProjectileNames = {
  1587. "Water",
  1588. "Arrow",
  1589. "Projectile",
  1590. "Effect",
  1591. "Rail",
  1592. "Lightning",
  1593. "Bullet"
  1594. }
  1595. if Hit and Hit.Parent and (not Hit.CanCollide or CheckTableForString(ProjectileNames, Hit.Name)) and not Hit.Parent:FindFirstChild("Humanoid") then
  1596. return true
  1597. end
  1598. return false
  1599. end
  1600. Debris = game:GetService("Debris")
  1601. function CastZapRay(StartPos, Vec, Length, Ignore, DelayIfHit)
  1602. local Ignore = type(Ignore) == "table" and Ignore or {Ignore}
  1603. local RayHit, RayPos, RayNormal = game:GetService("Workspace"):FindPartOnRayWithIgnoreList(Ray.new(StartPos, Vec * Length), Ignore)
  1604. if RayHit and CheckIntangible(RayHit) then
  1605. if DelayIfHit then
  1606. wait()
  1607. end
  1608. RayHit, RayPos, RayNormal = CastZapRay(RayPos + Vec * 0.01, Vec, Length - (StartPos - RayPos).magnitude, Ignore, DelayIfHit)
  1609. end
  1610. return RayHit, RayPos, RayNormal
  1611. end
  1612. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1613. local DIRECTION = CF(StartPos, EndPos).lookVector
  1614. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1615. end
  1616. function turnto(position)
  1617. RootPart.CFrame = CFrame.new(RootPart.CFrame.p, VT(position.X, RootPart.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  1618. end
  1619. BaseLightning = IT("Part")
  1620. BaseLightning.Anchored = true
  1621. BaseLightning.CanCollide = false
  1622. BaseLightning.Material = "Neon"
  1623. local LightningBolts = {}
  1624. function Zap(Table)
  1625. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  1626. local Duration = Table.Duration or 2
  1627. local Offset = Table.Offset or 2
  1628. local Individualize = Table.Individualize or false
  1629. local MaxRange = Table.MaxRange or 200
  1630. local SegmentLength = Table.SegmentLength or 5
  1631. local Transparency = Table.Transparency or 0
  1632. local Ignore = Table.Ignore or {}
  1633. local SIZE = Table.SIZE or 0.3
  1634. if not (StartPos and TargetPos) or not Character then
  1635. return
  1636. end
  1637. local LightningModel = IT("Folder", Effects)
  1638. LightningModel.Name = "ZAPP"
  1639. for i, v in pairs({Character, LightningModel}) do
  1640. table.insert(Ignore, v)
  1641. end
  1642. local LastPos = StartPos
  1643. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  1644. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  1645. local RayLength = (StartPos - RayPos).Magnitude
  1646. local Struck = false
  1647. local TotalSegments = math.ceil(RayLength / SegmentLength)
  1648. Direction = CFrame.new(StartPos, RayPos).lookVector
  1649. local LightningBolt = IT("Model", Effects)
  1650. LightningBolt.Name = "Lightning"
  1651. LastBolt = LightningBolt
  1652. Debris:AddItem(LightningBolt, Duration)
  1653. LightningBolt.Parent = LightningModel
  1654. for i = 1, TotalSegments do
  1655. if not Struck then
  1656. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  1657. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  1658. local SegmentVec = NewPos - LastPos
  1659. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  1660. local RayVec = LastPos - RayPos
  1661. local LightningPart = BaseLightning:Clone()
  1662. LightningPart.BrickColor = BrickColor.new(Color)
  1663. LightningPart.Transparency = Transparency
  1664. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  1665. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  1666. local CylinderMesh = IT("CylinderMesh", LightningPart)
  1667. local OrigCF = LightningPart.CFrame
  1668. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  1669. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  1670. LightningPart.Parent = LightningBolt
  1671. LastPos = NewPos
  1672. end
  1673. end
  1674. return {
  1675. RayHit = RayHit,
  1676. RayPos = RayPos,
  1677. RayNormal = RayNormal,
  1678. LightningModel = LightningModel
  1679. }
  1680. end
  1681. function Blink()
  1682. coroutine.resume(coroutine.create(function()
  1683. if EYE ~= nil and PUPIL ~= nil then
  1684. for i = 1, 5 do
  1685. Swait()
  1686. EYE.Mesh.Scale = EYE.Mesh.Scale - VT(0, 0.2, 0)
  1687. PUPIL.Mesh.Scale = PUPIL.Mesh.Scale - VT(0, 0.2, 0)
  1688. end
  1689. for i = 1, 7 do
  1690. Swait()
  1691. EYE.Mesh.Scale = EYE.Mesh.Scale + VT(0, 0.2, 0)
  1692. PUPIL.Mesh.Scale = PUPIL.Mesh.Scale + VT(0, 0.2, 0)
  1693. end
  1694. EYE.Mesh.Scale = VT(1, 1, 1)
  1695. PUPIL.Mesh.Scale = VT(1, 1, 1)
  1696. end
  1697. end))
  1698. end
  1699. local BODY = {}
  1700. function Face()
  1701. local FACE = CreatePart(3, Weapon, "Fabric", 0, 0, "Dark stone grey", "Face", VT(1.01, 0.725, 1.01), false)
  1702. FACE.Color = C3(0, 0, 0)
  1703. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1704. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0, 0.225, 0), CF(0, 0, 0))
  1705. EYE = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eyeball", VT(0.15, 0.3, 0.15), false)
  1706. MakeForm(EYE, "Ball")
  1707. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15, 0.26, -0.55), CF(0, 0, 0))
  1708. PUPIL = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eyeball", VT(0.05, 0.2, 0.05), false)
  1709. PUPIL.Color = C3(0, 0, 0)
  1710. MakeForm(PUPIL, "Ball")
  1711. CreateWeldOrSnapOrMotor("Weld", Head, Head, PUPIL, CF(0.15, 0.26, -0.6), CF(0, 0, 0))
  1712. local LASTPART = Head
  1713. for i = 1, 30 do
  1714. local MATH = 1 - i / 40
  1715. if LASTPART == Head then
  1716. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  1717. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(15), RAD(-15)), CF(0, 0, 0))
  1718. LASTPART = Horn
  1719. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  1720. else
  1721. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  1722. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(3), RAD(0)), CF(0, 0, 0))
  1723. LASTPART = Horn
  1724. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  1725. end
  1726. end
  1727. local LASTPART = Head
  1728. for i = 1, 30 do
  1729. local MATH = 1 - i / 40
  1730. if LASTPART == Head then
  1731. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  1732. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.5, 0.35, -0.15) * ANGLES(RAD(-15), RAD(-15), RAD(15)), CF(0, 0, 0))
  1733. LASTPART = Horn
  1734. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  1735. else
  1736. local Horn = CreatePart(3, Weapon, "SmoothPlastic", 0, 0, "Dirt brown", "Horn", VT(0.25 * MATH, 0.25, 0.25 * MATH), false)
  1737. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y / 1.8, 0) * ANGLES(RAD(17), RAD(-3), RAD(0)), CF(0, 0, 0))
  1738. LASTPART = Horn
  1739. Horn.Color = C3((i * 2 - 2) / 255, (i * 2 - 2) / 255, (i * 2 - 2) / 255)
  1740. end
  1741. end
  1742. BODY = {}
  1743. for _, c in pairs(Character:GetDescendants()) do
  1744. if c:IsA("BasePart") then
  1745. table.insert(BODY, {
  1746. c,
  1747. c.Parent,
  1748. c.Material,
  1749. c.Color
  1750. })
  1751. elseif c:IsA("JointInstance") then
  1752. table.insert(BODY, {
  1753. c,
  1754. c.Parent,
  1755. nil,
  1756. nil
  1757. })
  1758. end
  1759. end
  1760. end
  1761. function RightWing()
  1762. for i = 1, 2 do
  1763. local PART
  1764. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1765. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  1766. table.insert(RWINGS, WingWeld)
  1767. PART = Wing
  1768. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1769. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  1770. PART = Wing
  1771. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1772. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1773. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1774. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1775. PART = Wing
  1776. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1777. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1778. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1779. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1780. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1781. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1782. PART = Wing
  1783. table.insert(RWINGS, WingWeld)
  1784. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1785. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1786. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1787. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1788. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1789. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1790. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1791. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  1792. PART = Wing
  1793. table.insert(RWINGS, WingWeld)
  1794. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1795. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1796. PART = Wing
  1797. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1798. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  1799. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1800. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  1801. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1802. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  1803. PART = Wing
  1804. table.insert(RWINGS, WingWeld)
  1805. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1806. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  1807. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1808. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1809. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1810. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1811. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1812. table.insert(EYES, Wing1)
  1813. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  1814. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1815. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  1816. PART = Wing
  1817. table.insert(RWINGS, WingWeld)
  1818. end
  1819. BODY = {}
  1820. for _, c in pairs(Character:GetDescendants()) do
  1821. if c:IsA("BasePart") then
  1822. table.insert(BODY, {
  1823. c,
  1824. c.Parent,
  1825. c.Material,
  1826. c.Color
  1827. })
  1828. elseif c:IsA("JointInstance") then
  1829. table.insert(BODY, {
  1830. c,
  1831. c.Parent,
  1832. nil,
  1833. nil
  1834. })
  1835. end
  1836. end
  1837. end
  1838. function LeftWing()
  1839. for i = 1, 2 do
  1840. local PART
  1841. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1842. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  1843. table.insert(LWINGS, WingWeld)
  1844. PART = Wing
  1845. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  1846. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  1847. PART = Wing
  1848. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1849. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  1850. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  1851. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1852. PART = Wing
  1853. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1854. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  1855. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  1856. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1857. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  1858. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1859. PART = Wing
  1860. table.insert(LWINGS, WingWeld)
  1861. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  1862. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1863. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  1864. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  1865. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  1866. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1867. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1868. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  1869. PART = Wing
  1870. table.insert(LWINGS, WingWeld)
  1871. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  1872. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1873. PART = Wing
  1874. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  1875. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  1876. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  1877. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  1878. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  1879. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  1880. PART = Wing
  1881. table.insert(LWINGS, WingWeld)
  1882. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  1883. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  1884. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  1885. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1886. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  1887. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1888. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  1889. table.insert(EYES, Wing1)
  1890. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  1891. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  1892. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  1893. PART = Wing
  1894. table.insert(LWINGS, WingWeld)
  1895. end
  1896. BODY = {}
  1897. for _, c in pairs(Character:GetDescendants()) do
  1898. if c:IsA("BasePart") then
  1899. table.insert(BODY, {
  1900. c,
  1901. c.Parent,
  1902. c.Material,
  1903. c.Color
  1904. })
  1905. elseif c:IsA("JointInstance") then
  1906. table.insert(BODY, {
  1907. c,
  1908. c.Parent,
  1909. nil,
  1910. nil
  1911. })
  1912. end
  1913. end
  1914. end
  1915. for _, c in pairs(Weapon:GetChildren()) do
  1916. if c.ClassName == "Part" then
  1917. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1918. end
  1919. end
  1920. for _, c in pairs(Character:GetDescendants()) do
  1921. if c:IsA("BasePart") then
  1922. table.insert(BODY, {
  1923. c,
  1924. c.Parent,
  1925. c.Material,
  1926. c.Color
  1927. })
  1928. elseif c:IsA("JointInstance") then
  1929. table.insert(BODY, {
  1930. c,
  1931. c.Parent,
  1932. nil,
  1933. nil
  1934. })
  1935. end
  1936. end
  1937. for e = 1, #BODY do
  1938. if BODY[e] ~= nil then
  1939. do
  1940. local STUFF = BODY[e]
  1941. local PART = STUFF[1]
  1942. local PARENT = STUFF[2]
  1943. local MATERIAL = STUFF[3]
  1944. local COLOR = STUFF[4]
  1945. PART.AncestryChanged:Connect(function()
  1946. if PART.ClassName == "Part" then
  1947. PART.Material = MATERIAL
  1948. PART.Color = COLOR
  1949. end
  1950. PART.Parent = PARENT
  1951. end)
  1952. end
  1953. end
  1954. end
  1955. function refit()
  1956. Weapon.Parent = Character
  1957. Character.Parent = workspace
  1958. for e = 1, #BODY do
  1959. if BODY[e] ~= nil then
  1960. local STUFF = BODY[e]
  1961. local PART = STUFF[1]
  1962. local PARENT = STUFF[2]
  1963. local MATERIAL = STUFF[3]
  1964. local COLOR = STUFF[4]
  1965. if PART.Parent ~= PARENT then
  1966. Humanoid:remove()
  1967. if PART.ClassName == "Part" then
  1968. PART.Material = MATERIAL
  1969. PART.Color = COLOR
  1970. end
  1971. PART.Parent = PARENT
  1972. Humanoid = IT("Humanoid", Character)
  1973. end
  1974. end
  1975. end
  1976. end
  1977. local SKILLTEXTCOLOR = C3(0, 0, 0)
  1978. local SKILLFONT = "SciFi"
  1979. local SKILLTEXTSIZE = 7
  1980. Weapon.Parent = Character
  1981. Humanoid.Died:connect(function()
  1982. refit()
  1983. end)
  1984. local SKILL1FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.23, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 1 Frame")
  1985. local SKILL2FRAME = CreateFrame(WEAPONGUI, 0.75, 2, UD2(0.5, 0, 0.8, 0), UD2(0.26, 0, 0.07, 0), C3(0, 0, 0), C3(0, 0, 0), "Skill 2 Frame")
  1986. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] HAND BLOOD!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 1")
  1987. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] EYE STORE!", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 1, "Text 2")
  1988. function StatLabel(CFRAME, TEXT, COLOR)
  1989. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1990. STATPART.CFrame = CF(CFRAME.p, CFRAME.p + VT(MRANDOM(-5, 5), MRANDOM(0, 5), MRANDOM(-5, 5)))
  1991. local BODYGYRO = IT("BodyGyro", STATPART)
  1992. game:GetService("Debris"):AddItem(STATPART, 5)
  1993. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1994. BILLBOARDGUI.Adornee = STATPART
  1995. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5, 0)
  1996. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1997. BILLBOARDGUI.AlwaysOnTop = false
  1998. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1999. TEXTLABEL.BackgroundTransparency = 1
  2000. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  2001. TEXTLABEL.Text = TEXT
  2002. TEXTLABEL.Font = SKILLFONT
  2003. TEXTLABEL.FontSize = "Size42"
  2004. TEXTLABEL.TextColor3 = COLOR
  2005. TEXTLABEL.TextStrokeTransparency = 0
  2006. TEXTLABEL.TextScaled = true
  2007. TEXTLABEL.TextWrapped = true
  2008. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  2009. for i = 1, 50 do
  2010. Swait()
  2011. STATPART.CFrame = STATPART.CFrame * CF(0, 0, -0.2)
  2012. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + 0.02
  2013. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  2014. end
  2015. THEPART.Parent = nil
  2016. end), STATPART, TEXTLABEL)
  2017. end
  2018. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  2019. local svch = Character2
  2020. Character2:BreakJoints()
  2021. local hum = Character2:findFirstChild("Humanoid")
  2022. local q = Character2:GetChildren()
  2023. local CLONE = IT("Model", Effects)
  2024. for i = 1, #q do
  2025. if q[i].ClassName == "Accessory" and Headless == true then
  2026. q[i]:remove()
  2027. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  2028. q[i].Parent = CLONE
  2029. elseif q[i].ClassName ~= "Humanoid" then
  2030. q[i]:remove()
  2031. end
  2032. end
  2033. local chrclone = CLONE
  2034. local ch = chrclone:GetChildren()
  2035. local i
  2036. for i = 1, #ch do
  2037. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2038. ch[i]:remove()
  2039. end
  2040. end
  2041. local function Scan(ch)
  2042. local e
  2043. for e = 1, #ch do
  2044. Scan(ch[e]:GetChildren())
  2045. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2046. ch[e]:remove()
  2047. end
  2048. end
  2049. end
  2050. Character2:remove()
  2051. local NEWHUM = IT("Humanoid")
  2052. NEWHUM.Name = "Corpse"
  2053. NEWHUM.Health = 0
  2054. NEWHUM.MaxHealth = 0
  2055. NEWHUM.PlatformStand = true
  2056. NEWHUM.Parent = CLONE
  2057. NEWHUM.DisplayDistanceType = "None"
  2058. Scan(chrclone:GetChildren())
  2059. local ch = Character2:GetChildren()
  2060. local i
  2061. for i = 1, #ch do
  2062. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2063. ch[i]:remove()
  2064. end
  2065. end
  2066. local ch = Character2:GetChildren()
  2067. local i
  2068. for i = 1, #ch do
  2069. if ch[i].ClassName == "Part" or ch[i].ClassName == "Hat" or ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2070. ch[i]:remove()
  2071. end
  2072. end
  2073. Character2 = chrclone
  2074. local Torso2 = Character2.Torso
  2075. local movevector = Vector3.new()
  2076. if Torso2 then
  2077. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  2078. local Head = Character2:FindFirstChild("Head")
  2079. if Head then
  2080. local Neck = Instance.new("Weld")
  2081. Neck.Name = "Neck"
  2082. Neck.Part0 = Torso2
  2083. Neck.Part1 = Head
  2084. Neck.C0 = CFrame.new(0, 1.5, 0)
  2085. Neck.C1 = CFrame.new()
  2086. Neck.Parent = Torso2
  2087. if Headless == true then
  2088. Head.Transparency = 1
  2089. Head:ClearAllChildren()
  2090. end
  2091. end
  2092. local Limb = Character2:FindFirstChild("Right Arm")
  2093. if Limb then
  2094. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2095. local Joint = Instance.new("Glue")
  2096. Joint.Name = "RightShoulder"
  2097. Joint.Part0 = Torso2
  2098. Joint.Part1 = Limb
  2099. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2100. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2101. Joint.Parent = Torso2
  2102. local B = Instance.new("Part")
  2103. B.TopSurface = 0
  2104. B.BottomSurface = 0
  2105. B.formFactor = "Symmetric"
  2106. B.Size = Vector3.new(1, 1, 1)
  2107. B.Transparency = 1
  2108. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2109. B.Parent = Character2
  2110. local W = Instance.new("Weld")
  2111. W.Part0 = Limb
  2112. W.Part1 = B
  2113. W.C0 = CFrame.new(0, -0.5, 0)
  2114. W.Parent = Limb
  2115. end
  2116. local Limb = Character2:FindFirstChild("Left Arm")
  2117. if Limb then
  2118. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2119. local Joint = Instance.new("Glue")
  2120. Joint.Name = "LeftShoulder"
  2121. Joint.Part0 = Torso2
  2122. Joint.Part1 = Limb
  2123. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2124. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2125. Joint.Parent = Torso2
  2126. local B = Instance.new("Part")
  2127. B.TopSurface = 0
  2128. B.BottomSurface = 0
  2129. B.formFactor = "Symmetric"
  2130. B.Size = Vector3.new(1, 1, 1)
  2131. B.Transparency = 1
  2132. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2133. B.Parent = Character2
  2134. local W = Instance.new("Weld")
  2135. W.Part0 = Limb
  2136. W.Part1 = B
  2137. W.C0 = CFrame.new(0, -0.5, 0)
  2138. W.Parent = Limb
  2139. end
  2140. local Limb = Character2:FindFirstChild("Right Leg")
  2141. if Limb then
  2142. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2143. local Joint = Instance.new("Glue")
  2144. Joint.Name = "RightHip"
  2145. Joint.Part0 = Torso2
  2146. Joint.Part1 = Limb
  2147. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2148. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2149. Joint.Parent = Torso2
  2150. local B = Instance.new("Part")
  2151. B.TopSurface = 0
  2152. B.BottomSurface = 0
  2153. B.formFactor = "Symmetric"
  2154. B.Size = Vector3.new(1, 1, 1)
  2155. B.Transparency = 1
  2156. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2157. B.Parent = Character2
  2158. local W = Instance.new("Weld")
  2159. W.Part0 = Limb
  2160. W.Part1 = B
  2161. W.C0 = CFrame.new(0, -0.5, 0)
  2162. W.Parent = Limb
  2163. end
  2164. local Limb = Character2:FindFirstChild("Left Leg")
  2165. if Limb then
  2166. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2167. local Joint = Instance.new("Glue")
  2168. Joint.Name = "LeftHip"
  2169. Joint.Part0 = Torso2
  2170. Joint.Part1 = Limb
  2171. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2172. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2173. Joint.Parent = Torso2
  2174. local B = Instance.new("Part")
  2175. B.TopSurface = 0
  2176. B.BottomSurface = 0
  2177. B.formFactor = "Symmetric"
  2178. B.Size = Vector3.new(1, 1, 1)
  2179. B.Transparency = 1
  2180. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2181. B.Parent = Character2
  2182. local W = Instance.new("Weld")
  2183. W.Part0 = Limb
  2184. W.Part1 = B
  2185. W.C0 = CFrame.new(0, -0.5, 0)
  2186. W.Parent = Limb
  2187. end
  2188. local Bar = Instance.new("Part")
  2189. Bar.TopSurface = 0
  2190. Bar.BottomSurface = 0
  2191. Bar.formFactor = "Symmetric"
  2192. Bar.Size = Vector3.new(1, 1, 1)
  2193. Bar.Transparency = 1
  2194. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2195. Bar.Parent = Character2
  2196. local Weld = Instance.new("Weld")
  2197. Weld.Part0 = Torso2
  2198. Weld.Part1 = Bar
  2199. Weld.C0 = CFrame.new(0, 0.5, 0)
  2200. Weld.Parent = Torso2
  2201. end
  2202. Character2.Parent = Weapon
  2203. if movevector ~= Vector3.new() then
  2204. for i = 1, 10 do
  2205. Torso2.Velocity = movevector * Velocity
  2206. end
  2207. end
  2208. Character2.Name = "Corpse"
  2209. return Character2, Torso2
  2210. end
  2211. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  2212. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  2213. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  2214. if HITFLOOR.Name == "BloodPuddle" then
  2215. local DIST = (Position - HITFLOOR.Position).Magnitude
  2216. if HITFLOOR.Size.Z <= 5 and MaxSize > HITFLOOR.Size.Z or HITFLOOR.Size.Z > 5 and MaxSize > HITFLOOR.Size.Z and DIST < HITFLOOR.Size.Z / 3 then
  2217. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  2218. end
  2219. elseif HITFLOOR.Anchored == true then
  2220. do
  2221. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(2, 0, 2))
  2222. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  2223. MakeForm(BLOOD, "Cyl")
  2224. coroutine.resume(coroutine.create(function()
  2225. Swait(75)
  2226. while true do
  2227. Swait()
  2228. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  2229. if BLOOD.Size.Z < 0.051 then
  2230. BLOOD:remove()
  2231. break
  2232. end
  2233. end
  2234. end))
  2235. end
  2236. end
  2237. end
  2238. end
  2239. function SprayBlood(POSITION, DIRECTION, BloodSize)
  2240. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Maroon", "BloodPuddle", VT(1, 1, 1), false)
  2241. BLOOD.CFrame = CF(POSITION)
  2242. MakeForm(BLOOD, "Ball")
  2243. local bv = Instance.new("BodyVelocity", BLOOD)
  2244. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2245. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  2246. bv.Name = "MOVE"
  2247. Debris:AddItem(bv, 0.05)
  2248. coroutine.resume(coroutine.create(function()
  2249. local HASTOUCHEDGROUND = false
  2250. local HIT = BLOOD.Touched:Connect(function(hit)
  2251. if hit.Anchored == true then
  2252. HASTOUCHEDGROUND = true
  2253. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  2254. end
  2255. end)
  2256. wait(5)
  2257. if HASTOUCHEDGROUND == false then
  2258. BLOOD:remove()
  2259. end
  2260. end))
  2261. end
  2262. function ApplyDamage(Humanoid, Damage, TorsoPart)
  2263. local defence = Instance.new("BoolValue", Humanoid.Parent)
  2264. defence.Name = "HitBy" .. Player.Name
  2265. game:GetService("Debris"):AddItem(defence, 0.001)
  2266. Damage = Damage * DAMAGEMULTIPLIER
  2267. if Humanoid.Health ~= 0 then
  2268. local CritChance = MRANDOM(1, 100)
  2269. if Damage > Humanoid.Health then
  2270. Damage = math.ceil(Humanoid.Health)
  2271. if Damage == 0 then
  2272. Damage = 0.1
  2273. end
  2274. end
  2275. Humanoid.Health = Humanoid.Health - Damage
  2276. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2277. end
  2278. end
  2279. function ApplyAoE(POSITION, RANGE, MINDMG, MAXDMG, FLING, INSTAKILL)
  2280. local CHILDREN = workspace:GetDescendants()
  2281. for index, CHILD in pairs(CHILDREN) do
  2282. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2283. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2284. if HUM then
  2285. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2286. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  2287. if INSTAKILL == true then
  2288. Petrify(CHILD)
  2289. else
  2290. local DMG = MRANDOM(MINDMG, MAXDMG)
  2291. ApplyDamage(HUM, DMG, TORSO)
  2292. end
  2293. if FLING > 0 then
  2294. for _, c in pairs(CHILD:GetChildren()) do
  2295. if c:IsA("BasePart") then
  2296. local bv = Instance.new("BodyVelocity")
  2297. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2298. bv.velocity = CF(POSITION, TORSO.Position).lookVector * FLING
  2299. bv.Parent = c
  2300. Debris:AddItem(bv, 0.05)
  2301. end
  2302. end
  2303. end
  2304. end
  2305. end
  2306. end
  2307. end
  2308. end
  2309. function Petrify(Foe)
  2310. local STONEMODEL = IT("Model", Effects)
  2311. local CHILDREN = Foe:GetDescendants()
  2312. for index, CHILD in pairs(CHILDREN) do
  2313. if CHILD:IsA("BasePart") and CHILD.Parent.ClassName ~= "Folder" then
  2314. CHILD.Parent = STONEMODEL
  2315. CHILD.Material = "Slate"
  2316. CHILD.Color = C3(0.5, 0.5, 0.5)
  2317. if CHILD:FindFirstChildOfClass("SpecialMesh") then
  2318. local mesh = CHILD:FindFirstChildOfClass("SpecialMesh")
  2319. mesh.TextureId = ""
  2320. end
  2321. if CHILD:FindFirstChildOfClass("Decal") then
  2322. local mesh = CHILD:FindFirstChildOfClass("Decal")
  2323. mesh:remove()
  2324. end
  2325. if CHILD.ClassName == "MeshPart" then
  2326. CHILD.TextureID = ""
  2327. end
  2328. if CHILD.ClassName == "UnionOperation" then
  2329. CHILD.UsePartColor = true
  2330. end
  2331. CHILD.CanCollide = true
  2332. end
  2333. end
  2334. Debris:AddItem(STONEMODEL, 5)
  2335. end
  2336. function Intro()
  2337. coroutine.resume(coroutine.create(function()
  2338. INTROING = true
  2339. Rooted = true
  2340. sick:Play()
  2341. FINISHEDINTRO = true
  2342. Head.Transparency = 1
  2343. Torso.Transparency = 1
  2344. LeftArm.Transparency = 1
  2345. RightArm.Transparency = 1
  2346. LeftLeg.Transparency = 1
  2347. RightLeg.Transparency = 1
  2348. repeat
  2349. Swait()
  2350. until sick.TimePosition > 3.2
  2351. for i = 1, 5 do
  2352. WACKYEFFECT({
  2353. EffectType = "Sphere",
  2354. Size = VT(3, 3, 3),
  2355. Size2 = VT(0, 5, 0),
  2356. Transparency = 0.5,
  2357. Transparency2 = 1,
  2358. CFrame = Torso.CFrame,
  2359. MoveToPos = Torso.CFrame * CF(15, -5 + i * 3, 1).p,
  2360. RotationX = MRANDOM(-5, 5),
  2361. RotationY = MRANDOM(-5, 5),
  2362. RotationZ = MRANDOM(-5, 5),
  2363. Material = "Neon",
  2364. Color = C3(1, 0, 0),
  2365. SoundID = nil,
  2366. SoundPitch = nil,
  2367. SoundVolume = nil
  2368. })
  2369. end
  2370. RightWing()
  2371. repeat
  2372. Swait()
  2373. until sick.TimePosition > 6.2
  2374. for i = 1, 5 do
  2375. WACKYEFFECT({
  2376. EffectType = "Sphere",
  2377. Size = VT(3, 3, 3),
  2378. Size2 = VT(0, 5, 0),
  2379. Transparency = 0.5,
  2380. Transparency2 = 1,
  2381. CFrame = Torso.CFrame,
  2382. MoveToPos = Torso.CFrame * CF(-15, -5 + i * 3, 1).p,
  2383. RotationX = MRANDOM(-5, 5),
  2384. RotationY = MRANDOM(-5, 5),
  2385. RotationZ = MRANDOM(-5, 5),
  2386. Material = "Neon",
  2387. Color = C3(1, 0, 0),
  2388. SoundID = nil,
  2389. SoundPitch = nil,
  2390. SoundVolume = nil
  2391. })
  2392. end
  2393. LeftWing()
  2394. repeat
  2395. Swait()
  2396. until sick.TimePosition > 16
  2397. for i = 1, 6 do
  2398. WACKYEFFECT({
  2399. EffectType = "Sphere",
  2400. Size = VT(1.5, 1.5, 1.5),
  2401. Size2 = VT(4, 4, 4) * i,
  2402. Transparency = 0,
  2403. Transparency2 = 1,
  2404. CFrame = Head.CFrame,
  2405. MoveToPos = nil,
  2406. RotationX = 0,
  2407. RotationY = 0,
  2408. RotationZ = 0,
  2409. Material = "Neon",
  2410. Color = C3(1, 0, 0),
  2411. SoundID = nil,
  2412. SoundPitch = nil,
  2413. SoundVolume = nil
  2414. })
  2415. end
  2416. Head.Transparency = 0
  2417. Face()
  2418. wait(1)
  2419. for i = 1, 100 do
  2420. Swait()
  2421. Torso.Transparency = 1 - i / 100
  2422. LeftArm.Transparency = 1 - i / 100
  2423. RightArm.Transparency = 1 - i / 100
  2424. LeftLeg.Transparency = 1 - i / 100
  2425. RightLeg.Transparency = 1 - i / 100
  2426. end
  2427. FINISHEDINTRO = true
  2428. Rooted = false
  2429. end))
  2430. end
  2431. function Neck_Snap()
  2432. ATTACK = true
  2433. Rooted = false
  2434. local TARGET, HUM, WLD
  2435. local HIT = RightArm.Touched:Connect(function(hit)
  2436. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  2437. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  2438. if H.Health > 0 then
  2439. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2440. if TORSO then
  2441. HUM = H
  2442. TARGET = TORSO
  2443. H.PlatformStand = true
  2444. CreateSound("260411131", TORSO, 10, 1)
  2445. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2446. end
  2447. end
  2448. end
  2449. end)
  2450. for i = 0, 1, 0.1 / Animation_Speed do
  2451. Swait()
  2452. if TARGET ~= nil then
  2453. break
  2454. end
  2455. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  2456. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  2457. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2458. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2459. if ANIM == "Idle" then
  2460. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2461. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2462. elseif ANIM == "Walk" then
  2463. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2464. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2465. elseif ANIM == "Jump" or ANIM == "Fall" then
  2466. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2467. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2468. end
  2469. end
  2470. HIT:disconnect()
  2471. if TARGET ~= nil then
  2472. if TARGET.Name == "Torso" then
  2473. for i = 0, 2, 0.1 / Animation_Speed do
  2474. Swait()
  2475. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2476. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2477. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2478. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2479. if ANIM == "Idle" then
  2480. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2481. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2482. elseif ANIM == "Walk" then
  2483. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2484. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2485. elseif ANIM == "Jump" or ANIM == "Fall" then
  2486. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2487. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2488. end
  2489. end
  2490. WLD:remove()
  2491. local HEAD = TARGET.Parent:FindFirstChild("Head")
  2492. if HEAD then
  2493. UNANCHOR = false
  2494. RootPart.Anchored = true
  2495. local HD = HEAD:Clone()
  2496. HD.Name = "FakeHead"
  2497. for i = 1, 7 do
  2498. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  2499. end
  2500. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  2501. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2502. HD.Parent = RAGDOLL
  2503. CreateSound("264486467", RAGTORSO, 10, 1)
  2504. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2505. for i = 0, 2, 0.1 / Animation_Speed do
  2506. Swait()
  2507. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2508. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2509. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2510. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2511. if ANIM == "Idle" then
  2512. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2513. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2514. elseif ANIM == "Walk" then
  2515. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2516. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2517. elseif ANIM == "Jump" or ANIM == "Fall" then
  2518. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2519. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2520. end
  2521. end
  2522. HEADWELD:remove()
  2523. for i = 0, 0.5, 0.1 / Animation_Speed do
  2524. Swait()
  2525. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2526. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2527. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2528. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2529. if ANIM == "Idle" then
  2530. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2531. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2532. elseif ANIM == "Walk" then
  2533. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2534. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2535. elseif ANIM == "Jump" or ANIM == "Fall" then
  2536. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2537. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2538. end
  2539. end
  2540. CreateSound("907333406", Torso, 10, 1)
  2541. for i = 0, 0.25, 0.1 / Animation_Speed do
  2542. Swait()
  2543. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2544. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2545. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2546. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2547. if ANIM == "Idle" then
  2548. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2549. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2550. elseif ANIM == "Walk" then
  2551. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2552. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2553. elseif ANIM == "Jump" or ANIM == "Fall" then
  2554. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2555. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2556. end
  2557. end
  2558. RAGWELD:remove()
  2559. local bv = Instance.new("BodyVelocity")
  2560. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2561. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  2562. bv.Parent = RAGTORSO
  2563. Debris:AddItem(bv, 0.05)
  2564. Debris:AddItem(RAGDOLL, 5)
  2565. for i = 0, 0.15, 0.1 / Animation_Speed do
  2566. Swait()
  2567. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2568. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2569. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2570. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2571. if ANIM == "Idle" then
  2572. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2573. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2574. elseif ANIM == "Walk" then
  2575. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2576. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2577. elseif ANIM == "Jump" or ANIM == "Fall" then
  2578. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2579. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2580. end
  2581. end
  2582. UNANCHOR = true
  2583. RootPart.Anchored = false
  2584. end
  2585. else
  2586. UNANCHOR = false
  2587. RootPart.Anchored = true
  2588. for i = 0, 0.5, 0.1 / Animation_Speed do
  2589. Swait()
  2590. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2591. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2592. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2593. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2594. if ANIM == "Idle" then
  2595. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2596. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2597. elseif ANIM == "Walk" then
  2598. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2599. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2600. elseif ANIM == "Jump" or ANIM == "Fall" then
  2601. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2602. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2603. end
  2604. end
  2605. for i = 0, 0.25, 0.1 / Animation_Speed do
  2606. Swait()
  2607. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2608. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2609. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2610. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2611. if ANIM == "Idle" then
  2612. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2613. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2614. elseif ANIM == "Walk" then
  2615. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2616. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2617. elseif ANIM == "Jump" or ANIM == "Fall" then
  2618. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2619. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2620. end
  2621. end
  2622. WLD:remove()
  2623. TARGET.Parent:BreakJoints()
  2624. for _, c in pairs(TARGET.Parent:GetChildren()) do
  2625. if c:IsA("BasePart") then
  2626. local bv = Instance.new("BodyVelocity")
  2627. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2628. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  2629. bv.Parent = c
  2630. Debris:AddItem(bv, 0.05)
  2631. end
  2632. end
  2633. for i = 0, 0.15, 0.1 / Animation_Speed do
  2634. Swait()
  2635. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2636. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2637. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2638. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2639. if ANIM == "Idle" then
  2640. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2641. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2642. elseif ANIM == "Walk" then
  2643. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2644. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2645. elseif ANIM == "Jump" or ANIM == "Fall" then
  2646. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2647. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2648. end
  2649. end
  2650. UNANCHOR = true
  2651. RootPart.Anchored = false
  2652. end
  2653. end
  2654. ATTACK = false
  2655. Rooted = false
  2656. end
  2657.  
  2658. function Imperfect_Command()
  2659. ATTACK = true
  2660. Rooted = true
  2661. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2662. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2663. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2664. if TORSO then
  2665. local GYRO = IT("BodyGyro", RootPart)
  2666. GYRO.D = 750
  2667. GYRO.P = 2000
  2668. GYRO.MaxTorque = VT(0, 40000, 0)
  2669. CreateSound("907330103", Torso, 10, 1)
  2670. for i = 0, 1.6, 0.1 / Animation_Speed do
  2671. Swait()
  2672. WACKYEFFECT({
  2673. Time = 5,
  2674. EffectType = "Round Slash",
  2675. Size = VT(1, 1, 1),
  2676. Size2 = VT(1, 1, 1),
  2677. Transparency = 0.5,
  2678. Transparency2 = 1,
  2679. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2680. MoveToPos = nil,
  2681. RotationX = MRANDOM(-50, 50) / 10,
  2682. RotationY = MRANDOM(-50, 50) / 10,
  2683. RotationZ = MRANDOM(-50, 50) / 10,
  2684. Material = "Neon",
  2685. Color = C3(0, 0, 0),
  2686. SoundID = nil,
  2687. SoundPitch = nil,
  2688. SoundVolume = nil
  2689. })
  2690. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  2691. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.2 / Animation_Speed)
  2692. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.2 / Animation_Speed)
  2693. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(120), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-45)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2694. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2695. if ANIM == "Idle" then
  2696. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2697. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2698. elseif ANIM == "Walk" then
  2699. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2700. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2701. elseif ANIM == "Jump" or ANIM == "Fall" then
  2702. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2703. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2704. end
  2705. end
  2706. GYRO:remove()
  2707. for i = 1, 15 do
  2708. WACKYEFFECT({
  2709. Time = MRANDOM(15, 85),
  2710. EffectType = "Round Slash",
  2711. Size = VT(0, 0, 0),
  2712. Size2 = VT(0.3, 0, 0.3),
  2713. Transparency = 0.5,
  2714. Transparency2 = 1,
  2715. CFrame = CF(TORSO.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2716. MoveToPos = nil,
  2717. RotationX = MRANDOM(-50, 50) / 10,
  2718. RotationY = MRANDOM(-50, 50) / 10,
  2719. RotationZ = MRANDOM(-50, 50) / 10,
  2720. Material = "Neon",
  2721. Color = C3(0, 0, 0),
  2722. SoundID = nil,
  2723. SoundPitch = nil,
  2724. SoundVolume = nil
  2725. })
  2726. end
  2727. local bv = Instance.new("BodyVelocity")
  2728. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2729. bv.velocity = CF(Torso.Position, TORSO.Position).lookVector * 5
  2730. bv.Parent = TORSO
  2731. Debris:AddItem(bv, 0.05)
  2732. CreateSound("1222405264", TORSO, 10, 1)
  2733. Petrify(HUM.Parent)
  2734. for i = 0, 0.5, 0.1 / Animation_Speed do
  2735. Swait()
  2736. WACKYEFFECT({
  2737. Time = 5,
  2738. EffectType = "Round Slash",
  2739. Size = VT(1, 1, 1),
  2740. Size2 = VT(1, 1, 1),
  2741. Transparency = 0.5,
  2742. Transparency2 = 1,
  2743. CFrame = CF(EYE.Position) * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360))),
  2744. MoveToPos = nil,
  2745. RotationX = MRANDOM(-50, 50) / 10,
  2746. RotationY = MRANDOM(-50, 50) / 10,
  2747. RotationZ = MRANDOM(-50, 50) / 10,
  2748. Material = "Neon",
  2749. Color = C3(0, 0, 0),
  2750. SoundID = nil,
  2751. SoundPitch = nil,
  2752. SoundVolume = nil
  2753. })
  2754. GYRO.cframe = CF(RootPart.Position, TORSO.Position)
  2755. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-25)), 2 / Animation_Speed)
  2756. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(25)), 2 / Animation_Speed)
  2757. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.025 * COS(SINE / 22), 0) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2758. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2759. if ANIM == "Idle" then
  2760. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2761. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2762. elseif ANIM == "Walk" then
  2763. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2764. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2765. elseif ANIM == "Jump" or ANIM == "Fall" then
  2766. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2767. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2768. end
  2769. end
  2770. end
  2771. end
  2772. ATTACK = false
  2773. Rooted = false
  2774. end
  2775.  
  2776. function Imperfect_Storm()
  2777. ATTACK = true
  2778. Rooted = false
  2779. for i = 0, 1, 0.1 / Animation_Speed do
  2780. Swait()
  2781. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2782. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2783. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2784. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2785. if ANIM == "Idle" then
  2786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2788. elseif ANIM == "Walk" then
  2789. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2790. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2791. elseif ANIM == "Jump" or ANIM == "Fall" then
  2792. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2793. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2794. end
  2795. end
  2796. ATTACK = false
  2797. Rooted = false
  2798. end
  2799. function MouseDown(Mouse)
  2800. if ATTACK == false then
  2801. end
  2802. end
  2803. function MouseUp(Mouse)
  2804. HOLD = false
  2805. end
  2806. function KeyDown(Key)
  2807. KEYHOLD = true
  2808. if FINISHEDINTRO == true then
  2809. if Key == "z" and ATTACK == false then
  2810. Neck_Snap()
  2811. end
  2812. if Key == "b" and ATTACK == false then
  2813. Imperfect_Command()
  2814. end
  2815. if Key ~= "v" or ATTACK == false then
  2816. end
  2817. if Key ~= "x" or ATTACK == false then
  2818. end
  2819. end
  2820. end
  2821. function KeyUp(Key)
  2822. KEYHOLD = false
  2823. end
  2824. Mouse.Button1Down:connect(function(NEWKEY)
  2825. MouseDown(NEWKEY)
  2826. end)
  2827. Mouse.Button1Up:connect(function(NEWKEY)
  2828. MouseUp(NEWKEY)
  2829. end)
  2830. Mouse.KeyDown:connect(function(NEWKEY)
  2831. KeyDown(NEWKEY)
  2832. end)
  2833. Mouse.KeyUp:connect(function(NEWKEY)
  2834. KeyUp(NEWKEY)
  2835. end)
  2836. function unanchor()
  2837. if UNANCHOR == true then
  2838. RootPart.Anchored = false
  2839. end
  2840. local CHILDREN = Character:GetDescendants()
  2841. for index, CHILD in pairs(CHILDREN) do
  2842. if CHILD:IsA("BasePart") and CHILD ~= RootPart and CHILD.Parent ~= Effects and CHILD.Parent.Parent ~= Effects then
  2843. CHILD.Anchored = false
  2844. end
  2845. end
  2846. end
  2847. Humanoid.Changed:connect(function(Jump)
  2848. if Jump == "Jump" and Disable_Jump == true then
  2849. Humanoid.Jump = false
  2850. end
  2851. end)
  2852. while true do
  2853. Swait()
  2854. script.Parent = WEAPONGUI
  2855. ANIMATE.Parent = nil
  2856. if Humanoid then
  2857. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2858. IDLEANIMATION:Play()
  2859. end
  2860. for RW = 1, #RWINGS do
  2861. if RWINGS[RW] ~= nil then
  2862. RWINGS[RW].C1 = Clerp(RWINGS[RW].C1, CF(-0.25 + 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 + 5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2863. end
  2864. end
  2865. for LW = 1, #LWINGS do
  2866. if LWINGS[LW] ~= nil then
  2867. LWINGS[LW].C1 = Clerp(LWINGS[LW].C1, CF(0.25 - 0.25 * COS(SINE / 22), 0, 0 + 0.15 * COS(SINE / 22)) * ANGLES(RAD(2.5 * SIN(SINE / 22)), RAD(0), RAD(0 - 5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2868. end
  2869. end
  2870. SINE = SINE + CHANGE
  2871. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2872. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2873. local HITFLOOR = Raycast(RootPart.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 4 + Humanoid.HipHeight, Character)
  2874. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  2875. if FINISHEDINTRO == true then
  2876. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  2877. ANIM = "Jump"
  2878. if ATTACK == false then
  2879. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2880. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2881. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2882. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2883. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  2884. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2885. end
  2886. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  2887. ANIM = "Fall"
  2888. if ATTACK == false then
  2889. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2890. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  2891. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  2892. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  2893. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  2894. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  2895. end
  2896. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  2897. ANIM = "Idle"
  2898. if ATTACK == false then
  2899. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 22)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2900. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 22)), RAD(15), RAD(0)), 0.15 / Animation_Speed)
  2901. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 - 7.5 * SIN(SINE / 12)), RAD(-90 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2902. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2903. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2904. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 22), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2905. end
  2906. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  2907. ANIM = "Walk"
  2908. if ATTACK == false then
  2909. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 22)) * ANGLES(RAD(25 + 2.5 * SIN(SINE / 22)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  2910. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 22)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 22))), 1 / Animation_Speed)
  2911. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 22)), RAD(15 + 7.5 * SIN(SINE / 22))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2912. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 22), 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 22)), RAD(-15 - 7.5 * SIN(SINE / 22))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2913. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2914. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2915. end
  2916. end
  2917. if TORSOVELOCITY > 1 then
  2918. Humanoid.HipHeight = 1
  2919. else
  2920. Humanoid.HipHeight = 0
  2921. end
  2922. elseif FINISHEDINTRO == false then
  2923. Humanoid.HipHeight = 0
  2924. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2925. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(25), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2926. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2927. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2928. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2929. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  2930. end
  2931. unanchor()
  2932. Humanoid.MaxHealth = "inf"
  2933. Humanoid.Health = "inf"
  2934. if Rooted == false then
  2935. Disable_Jump = false
  2936. Humanoid.WalkSpeed = Speed
  2937. elseif Rooted == true then
  2938. Disable_Jump = true
  2939. Humanoid.WalkSpeed = 0
  2940. end
  2941. sick.Parent = Torso
  2942. sick.Playing = true
  2943. sick.Volume = 50
  2944. sick.Pitch = 5
  2945. BLINKLOOP = BLINKLOOP + 1
  2946. if BLINKLOOP >= 650 then
  2947. BLINKLOOP = 0
  2948. Blink()
  2949. end
  2950. if Character:FindFirstChildOfClass("Accessory") then
  2951. Character:FindFirstChildOfClass("Accessory"):remove()
  2952. end
  2953. if Head:FindFirstChildOfClass("Sound") then
  2954. Head:FindFirstChildOfClass("Sound"):remove()
  2955. end
  2956. if INTROING == false and FINISHEDINTRO == false then
  2957. if INSTANT == false then
  2958. Intro()
  2959. else
  2960. FINISHEDINTRO = true
  2961. Face()
  2962. RightWing()
  2963. LeftWing()
  2964. end
  2965. end
  2966. if Head:FindFirstChild("face") then
  2967. Head.face:remove()
  2968. end
  2969. refit()
  2970. Humanoid.PlatformStand = false
  2971. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement