Advertisement
5sdfsadgaq5465

Psycho Sin

Apr 16th, 2019
1,731
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 215.16 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126.  
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144.  
  145. --//====================================================\\--
  146. --|| CREATED BY SHACKLUSTER EDIT BY NAMECLAN edit2 by nobodyspecial11
  147. --\\====================================================//--
  148. local Player_Size = 1
  149. script:ClearAllChildren()
  150. wait(0.2)
  151.  
  152. Player = owner
  153. PlayerGui = Player.PlayerGui
  154. Cam = workspace.CurrentCamera
  155. Backpack = Player.Backpack
  156. Character = Player.Character
  157. Humanoid = Character.Humanoid
  158. Mouse = Player:GetMouse()
  159. RootPart = Character["HumanoidRootPart"]
  160. Torso = Character["Torso"]
  161. Head = Character["Head"]
  162. RightArm = Character["Right Arm"]
  163. LeftArm = Character["Left Arm"]
  164. RightLeg = Character["Right Leg"]
  165. LeftLeg = Character["Left Leg"]
  166. RootJoint = RootPart["RootJoint"]
  167. Neck = Torso["Neck"]
  168. RightShoulder = Torso["Right Shoulder"]
  169. LeftShoulder = Torso["Left Shoulder"]
  170. RightHip = Torso["Right Hip"]
  171. LeftHip = Torso["Left Hip"]
  172. local TIME = 0
  173. local sick = Instance.new("Sound",Torso)
  174.  
  175. IT = Instance.new
  176. CF = CFrame.new
  177. VT = Vector3.new
  178. RAD = math.rad
  179. C3 = Color3.new
  180. UD2 = UDim2.new
  181. BRICKC = BrickColor.new
  182. ANGLES = CFrame.Angles
  183. EULER = CFrame.fromEulerAnglesXYZ
  184. COS = math.cos
  185. ACOS = math.acos
  186. SIN = math.sin
  187. ASIN = math.asin
  188. ABS = math.abs
  189. MRANDOM = math.random
  190. FLOOR = math.floor
  191. local BODY = {}
  192.  
  193. local naeeym2 = Instance.new("BillboardGui",Character)
  194. naeeym2.AlwaysOnTop = true
  195. naeeym2.Size = UDim2.new(7,35,3,15)
  196. naeeym2.StudsOffset = Vector3.new(0,2,0)
  197. naeeym2.MaxDistance = 75
  198. naeeym2.Adornee = Character.Head
  199. naeeym2.Name = "Name2"
  200. local tecks2 = Instance.new("TextLabel",naeeym2)
  201. tecks2.BackgroundTransparency = 1
  202. tecks2.TextScaled = true
  203. tecks2.BorderSizePixel = 0
  204. tecks2.Text = "Psycho Sin"
  205. tecks2.Font = "ArialBold"
  206. tecks2.TextSize = 30
  207. tecks2.TextStrokeTransparency = 0
  208. tecks2.TextColor3 = Color3.fromRGB(.5,0,.5)
  209. tecks2.TextStrokeColor3 = Color3.fromRGB(.5,0,.5)
  210. tecks2.Size = UDim2.new(1,0,0.5,0)
  211. tecks2.Parent = naeeym2
  212. local top = Instance.new("Shirt")
  213. top.ShirtTemplate = "rbxassetid://12786196"
  214. top.Parent = Character
  215. top.Name = "Cloth"
  216. local bottom = Instance.new("Pants")
  217. bottom.PantsTemplate = "rbxassetid://326190288"
  218. bottom.Parent = Character
  219. bottom.Name = "Cloth"
  220. --//=================================\\
  221. --|| USEFUL VALUES
  222. --\\=================================//
  223.  
  224. local SONG = 534861083
  225. local SIZE = 1
  226. Animation_Speed = 3
  227. local FORCERESET = false
  228. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  229. local Speed = 16
  230. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  231. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  232. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  233. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  234. local DAMAGEMULTIPLIER = 1
  235. local ANIM = "Idle"
  236. local ATTACK = false
  237. local EQUIPPED = false
  238. local HOLD = false
  239. local COMBO = 1
  240. local Rooted = false
  241. local SINE = 0
  242. local KEYHOLD = false
  243. local CHANGE = 2 / Animation_Speed
  244. local WALKINGANIM = false
  245. local VALUE1 = false
  246. local VALUE2 = false
  247. local ROBLOXIDLEANIMATION = IT("Animation")
  248. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  249. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  250. --ROBLOXIDLEANIMATION.Parent = Humanoid
  251. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  252. WEAPONGUI.Name = "BanishV3Gui"
  253. local Weapon = IT("Model")
  254. Weapon.Name = "Adds"
  255. local Effects = IT("Folder", Weapon)
  256. Effects.Name = "Effects"
  257. local ANIMATOR = Humanoid.Animator
  258. local ANIMATE = Character:FindFirstChild("Animate")
  259. local UNANCHOR = true
  260. local TOBANISH = {}
  261. script.Parent = PlayerGui
  262.  
  263. --//=================================\\
  264. --\\=================================//
  265.  
  266.  
  267. --//=================================\\
  268. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  269. --\\=================================//
  270.  
  271. ArtificialHB = Instance.new("BindableEvent", script)
  272. ArtificialHB.Name = "ArtificialHB"
  273.  
  274. script:WaitForChild("ArtificialHB")
  275.  
  276. frame = Frame_Speed
  277. tf = 0
  278. allowframeloss = false
  279. tossremainder = false
  280. lastframe = tick()
  281. script.ArtificialHB:Fire()
  282.  
  283. game:GetService("RunService").Heartbeat:connect(function(s, p)
  284. tf = tf + s
  285. if tf >= frame then
  286. if allowframeloss then
  287. script.ArtificialHB:Fire()
  288. lastframe = tick()
  289. else
  290. for i = 1, math.floor(tf / frame) do
  291. script.ArtificialHB:Fire()
  292. end
  293. lastframe = tick()
  294. end
  295. if tossremainder then
  296. tf = 0
  297. else
  298. tf = tf - frame * math.floor(tf / frame)
  299. end
  300. end
  301. end)
  302.  
  303. --//=================================\\
  304. --\\=================================//
  305.  
  306. --//=================================\\
  307. --|| SOME FUNCTIONS
  308. --\\=================================//
  309.  
  310. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  311. function Lightning(Table)
  312. local Color = Table.Color or C3(1,1,1)
  313. local StartPos = Table.Start or Torso.Position
  314. local EndPos = Table.End or Mouse.Hit.p
  315. local SegmentLength = Table.SegmentL or 2
  316. local Thickness = Table.Thickness or 0.1
  317. local Dissapear = Table.DoesFade or false
  318. local Parent = Table.Ignore or Character
  319. local MaxDist = Table.MaxDist or 400
  320. local Branches = Table.Branches or false
  321. local Thicken = Table.Thicken or false
  322. local FadeTime = Table.FadeTime or 15
  323. local FadeIn = Table.FadeIn or false
  324. local Material = Table.Material or "Neon"
  325. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  326. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  327. local LIGHTNINGMODEL = IT("Model",Effects)
  328. LIGHTNINGMODEL.Name = "Lightning"
  329. local LastBolt = nil
  330. for E = 1, DISTANCE do
  331. local ExtraSize = 0
  332. if Thicken == true then
  333. ExtraSize = (DISTANCE-E)/15
  334. end
  335. local TRANSPARENCY = 0
  336. if FadeIn == true then
  337. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  338. if TRANSPARENCY < 0 then
  339. TRANSPARENCY = 0
  340. end
  341. end
  342. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  343. PART.Color = Color
  344. MakeForm(PART,"Cyl")
  345. if LastBolt == nil then
  346. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  347. else
  348. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  349. end
  350. LastBolt = PART
  351. if Branches == true and E < (DISTANCE-5) then
  352. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  353. if CHOICE == 1 then
  354. local LASTBRANCH = nil
  355. for i = 1, MRANDOM(2,5) do
  356. local ExtraSize2 = 0
  357. if Thicken == true then
  358. ExtraSize = ((DISTANCE-E)/25)/i
  359. end
  360. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  361. PART.Color = Color
  362. MakeForm(PART,"Cyl")
  363. if LASTBRANCH == nil then
  364. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  365. else
  366. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  367. end
  368. LASTBRANCH = PART
  369. end
  370. end
  371. end
  372. end
  373. if Dissapear == true then
  374. coroutine.resume(coroutine.create(function()
  375. for i = 1, FadeTime do
  376. Swait()
  377. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  378. if c.ClassName == "Part" then
  379. c.Transparency = c.Transparency + (i/FadeTime)/10
  380. end
  381. end
  382. end
  383. LIGHTNINGMODEL:remove()
  384. end))
  385. elseif Dissapear == false then
  386. Debris:AddItem(LIGHTNINGMODEL,0.1)
  387. end
  388. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  389. end
  390.  
  391. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  392. function Lightning(Table)
  393. local Color = Table.Color or C3(1,1,1)
  394. local StartPos = Table.Start or Torso.Position
  395. local EndPos = Table.End or Mouse.Hit.p
  396. local SegmentLength = Table.SegmentL or 2
  397. local Thickness = Table.Thickness or 0.1
  398. local Dissapear = Table.DoesFade or false
  399. local Parent = Table.Ignore or Character
  400. local MaxDist = Table.MaxDist or 400
  401. local Branches = Table.Branches or false
  402. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  403. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  404. local LIGHTNINGMODEL = IT("Model",Effects)
  405. LIGHTNINGMODEL.Name = "Lightning"
  406. local LastBolt = nil
  407. for E = 1, DISTANCE do
  408. local ExtraSize = (DISTANCE-E)/15
  409. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  410. PART.Color = Color
  411. MakeForm(PART,"Cyl")
  412. if LastBolt == nil then
  413. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  414. else
  415. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  416. end
  417. LastBolt = PART
  418. if Branches == true then
  419. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  420. if CHOICE == 1 then
  421. local LASTBRANCH = nil
  422. for i = 1, MRANDOM(2,5) do
  423. local ExtraSize2 = ((DISTANCE-E)/25)/i
  424. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  425. PART.Color = Color
  426. MakeForm(PART,"Cyl")
  427. if LASTBRANCH == nil then
  428. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  429. else
  430. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  431. end
  432. LASTBRANCH = PART
  433. end
  434. end
  435. end
  436. end
  437. if Dissapear == true then
  438. coroutine.resume(coroutine.create(function()
  439. for i = 1, 10 do
  440. Swait()
  441. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  442. if c.ClassName == "Part" then
  443. c.Transparency = i/10
  444. end
  445. end
  446. end
  447. LIGHTNINGMODEL:remove()
  448. end))
  449. elseif Dissapear == false then
  450. Debris:AddItem(LIGHTNINGMODEL,0.1)
  451. end
  452. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  453. end
  454.  
  455. --Lightning({Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  456. function Lightning(Table)
  457. local Color = Table.Color or C3(1,1,1)
  458. local StartPos = Table.Start or Torso.Position
  459. local EndPos = Table.End or Mouse.Hit.p
  460. local SegmentLength = Table.SegmentL or 2
  461. local Thickness = Table.Thickness or 0.1
  462. local Dissapear = Table.DoesFade or false
  463. local Parent = Table.Ignore or Character
  464. local MaxDist = Table.MaxDist or 400
  465. local Branches = Table.Branches or false
  466. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  467. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  468. local LIGHTNINGMODEL = IT("Model",Effects)
  469. LIGHTNINGMODEL.Name = "Lightning"
  470. local LastBolt = nil
  471. for E = 1, DISTANCE do
  472. local ExtraSize = (DISTANCE-E)/15
  473. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  474. PART.Color = Color
  475. MakeForm(PART,"Cyl")
  476. if LastBolt == nil then
  477. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  478. else
  479. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,SegmentLength/3+(DISTANCE-E)).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  480. end
  481. LastBolt = PART
  482. if Branches == true then
  483. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  484. if CHOICE == 1 then
  485. local LASTBRANCH = nil
  486. for i = 1, MRANDOM(2,5) do
  487. local ExtraSize2 = ((DISTANCE-E)/25)/i
  488. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  489. PART.Color = Color
  490. MakeForm(PART,"Cyl")
  491. if LASTBRANCH == nil then
  492. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  493. else
  494. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  495. end
  496. LASTBRANCH = PART
  497. end
  498. end
  499. end
  500. end
  501. if Dissapear == true then
  502. coroutine.resume(coroutine.create(function()
  503. for i = 1, 10 do
  504. Swait()
  505. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  506. if c.ClassName == "Part" then
  507. c.Transparency = i/10
  508. end
  509. end
  510. end
  511. LIGHTNINGMODEL:remove()
  512. end))
  513. elseif Dissapear == false then
  514. Debris:AddItem(LIGHTNINGMODEL,0.1)
  515. end
  516. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  517. end
  518.  
  519. BaseLightning = IT("Part")
  520. BaseLightning.Anchored = true
  521. BaseLightning.CanCollide = false
  522. BaseLightning.Material = "Neon"
  523. local LightningBolts = {}
  524. function Zap(Table)
  525. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  526. local Duration = Table.Duration or 2
  527. local Offset = Table.Offset or 2
  528. local Individualize = Table.Individualize or false
  529. local MaxRange = Table.MaxRange or 200
  530. local SegmentLength = Table.SegmentLength or 5
  531. local Transparency = Table.Transparency or 0
  532. local Ignore = Table.Ignore or {}
  533. local SIZE = Table.SIZE or 0.3
  534. if not (StartPos and TargetPos) or not Character then
  535. return
  536. end
  537. local LightningModel = IT("Folder", Effects)
  538. LightningModel.Name = "ZAPP"
  539. for i, v in pairs({Character, LightningModel}) do
  540. table.insert(Ignore, v)
  541. end
  542. local LastPos = StartPos
  543. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  544. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  545. local RayLength = (StartPos - RayPos).Magnitude
  546. local Struck = false
  547. local TotalSegments = math.ceil(RayLength / SegmentLength)
  548. Direction = CFrame.new(StartPos, RayPos).lookVector
  549. local LightningBolt = IT("Model", Effects)
  550. LightningBolt.Name = "Lightning"
  551. LastBolt = LightningBolt
  552. Debris:AddItem(LightningBolt, Duration)
  553. LightningBolt.Parent = LightningModel
  554. for i = 1, TotalSegments do
  555. if not Struck then
  556. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  557. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  558. local SegmentVec = NewPos - LastPos
  559. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  560. local RayVec = LastPos - RayPos
  561. local LightningPart = BaseLightning:Clone()
  562. LightningPart.BrickColor = BrickColor.new(Color)
  563. LightningPart.Transparency = Transparency
  564. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  565. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  566. local CylinderMesh = IT("CylinderMesh", LightningPart)
  567. local OrigCF = LightningPart.CFrame
  568. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  569. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  570. LightningPart.Parent = LightningBolt
  571. LastPos = NewPos
  572. end
  573. end
  574. return {
  575. RayHit = RayHit,
  576. RayPos = RayPos,
  577. RayNormal = RayNormal,
  578. LightningModel = LightningModel
  579. }
  580. end
  581.  
  582. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  583. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  584. end
  585.  
  586. function PositiveAngle(NUMBER)
  587. if NUMBER >= 0 then
  588. NUMBER = 0
  589. end
  590. return NUMBER
  591. end
  592.  
  593. function NegativeAngle(NUMBER)
  594. if NUMBER <= 0 then
  595. NUMBER = 0
  596. end
  597. return NUMBER
  598. end
  599.  
  600. function Swait(NUMBER)
  601. if NUMBER == 0 or NUMBER == nil then
  602. ArtificialHB.Event:wait()
  603. else
  604. for i = 1, NUMBER do
  605. ArtificialHB.Event:wait()
  606. end
  607. end
  608. end
  609.  
  610. --//=================================\\
  611. --|| WINGS
  612. --\\=================================//
  613. local halocolor = BrickColor.new("Dark blue")
  614. local halocolor2 = BrickColor.new("Dark blue")
  615. local starcolor = BrickColor.new("Dark blue")
  616. local lunacolor = BrickColor.new("Dark blue")
  617. local lunacolor2 = BrickColor.new("Dark blue")
  618. local wepcolor = BrickColor.new("Dark blue")
  619. local maincolor = BrickColor.new("Dark blue")
  620. local m = Instance.new("Model",char)
  621. local m2 = Instance.new("Model",char)
  622. local m3 = Instance.new("Model",char)
  623. local mw1 = Instance.new("Model",char)
  624. local mw2 = Instance.new("Model",char)
  625.  
  626. local extrawingmod1 = Instance.new("Model",char)
  627. local extrawingmod2 = Instance.new("Model",char)
  628.  
  629. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  630. local p = Instance.new("Part")
  631. p.TopSurface = 0
  632. p.BottomSurface = 0
  633. p.Parent = parent
  634. p.Size = Vector3.new(0.1,0.1,0.1)
  635. p.Transparency = transparency
  636. p.Reflectance = reflectance
  637. p.CanCollide = false
  638. p.Locked = true
  639. p.BrickColor = brickcolor
  640. p.Material = material
  641. return p
  642. end
  643.  
  644. function CreateMesh(parent,meshtype,x1,y1,z1)
  645. local mesh = Instance.new("SpecialMesh",parent)
  646. mesh.MeshType = meshtype
  647. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  648. return mesh
  649. end
  650.  
  651. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  652. local mesh = Instance.new("SpecialMesh",parent)
  653. mesh.MeshType = "FileMesh"
  654. mesh.MeshId = meshid
  655. mesh.Scale = Vector3.new(x1,y1,z1)
  656. return mesh
  657. end
  658.  
  659.  
  660. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  661. local mesh = Instance.new("SpecialMesh",parent)
  662. mesh.MeshType = "FileMesh"
  663. mesh.MeshId = meshid
  664. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  665. mesh.Scale = Vector3.new(x1,y1,z1)
  666. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  667. return mesh
  668. end
  669.  
  670. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  671. local weld = Instance.new("Weld")
  672. weld.Parent = parent
  673. weld.Part0 = part0
  674. weld.Part1 = part1
  675. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  676. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  677. return weld
  678. end
  679.  
  680.  
  681. --------------
  682. local secondchar = Instance.new("Model",char)
  683. local GhostCol = BrickColor.new("Dark blue")
  684. local sectors = CreateParta(secondchar,1,0,"Neon",GhostCol)
  685. CreateMesh(sectors,"Brick",2*8,2*8,1*8)
  686. local torsweld = CreateWeld(sectors,root,sectors,1,-1,-2,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  687.  
  688. local seclarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  689. CreateMesh(seclarm,"Brick",1*8,2*8,1*8)
  690. local larmsweld = CreateWeld(seclarm,sectors,seclarm,1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  691.  
  692. local secrarm = CreateParta(secondchar,1,0,"Neon",GhostCol)
  693. CreateMesh(secrarm,"Brick",1*8,2*8,1*8)
  694. local rarmsweld = CreateWeld(secrarm,sectors,secrarm,-1.5,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  695.  
  696. local seclleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  697. CreateMesh(seclleg,"Brick",1*8,2*8,1*8)
  698. local llegsweld = CreateWeld(seclleg,sectors,seclleg,0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  699.  
  700. local secrleg = CreateParta(secondchar,1,0,"Neon",GhostCol)
  701. CreateMesh(secrleg,"Brick",1*8,2*8,1*8)
  702. local rlegsweld = CreateWeld(secrleg,sectors,secrleg,-0.5,2,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  703.  
  704. local seched = CreateParta(secondchar,1,0,"Neon",GhostCol)
  705. CreateMesh(seched,"Brick",1*8,1*8,1*8)
  706. local hedsweld = CreateWeld(seched,sectors,seched,0,-1.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  707. --------------
  708. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  709. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  710. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  711. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  712.  
  713. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  714. CreateMesh(handle,"Brick",0,0,0)
  715. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  716. local valuaring = 10
  717. for i = 0, 49 do
  718. valuaring = valuaring + 10
  719. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  720. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  721. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  722. end
  723.  
  724. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  725. CreateMesh(handle,"Brick",0,0,0)
  726. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  727. local valuaring = 10
  728. for i = 0, 49 do
  729. valuaring = valuaring + 10
  730. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  731. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  732. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  733. end
  734.  
  735.  
  736. local handle = CreateParta(m,1,1,"Neon",maincolor)
  737. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  738. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  739.  
  740. --- Left wing.
  741.  
  742. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  743. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  744. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  745.  
  746. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  747. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  748. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  749. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  750. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  751. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  752. A0 = Instance.new('Attachment',wed)
  753. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  754. CreateMesh(wed,"Wedge",0.05,0.5,3)
  755. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  756. A1 = Instance.new('Attachment',wed)
  757. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  758. CreateMesh(wed,"Wedge",0.05,3,0.5)
  759. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  760.  
  761. tl1 = Instance.new('Trail',wed)
  762. tl1.Attachment0 = A0
  763. tl1.Attachment1 = A1
  764. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  765. tl1.LightEmission = 1
  766. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  767. tl1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  768. tl1.Lifetime = 0.6
  769.  
  770.  
  771. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  772. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  773. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  774.  
  775. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  776. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  777. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  778. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  779. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  780. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  781. A0 = Instance.new('Attachment',wed)
  782. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  783. CreateMesh(wed,"Wedge",0.05,0.5,3)
  784. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  785. A1 = Instance.new('Attachment',wed)
  786. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  787. CreateMesh(wed,"Wedge",0.05,3,0.5)
  788. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  789.  
  790. tl2 = Instance.new('Trail',wed)
  791. tl2.Attachment0 = A0
  792. tl2.Attachment1 = A1
  793. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  794. tl2.LightEmission = 1
  795. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  796. tl2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  797. tl2.Lifetime = 0.6
  798.  
  799. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  800. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  801. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802.  
  803. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  804. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  805. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  806. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  807. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  808. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  809. A0 = Instance.new('Attachment',wed)
  810. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  811. CreateMesh(wed,"Wedge",0.05,0.5,3)
  812. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  813. A1 = Instance.new('Attachment',wed)
  814. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  815. CreateMesh(wed,"Wedge",0.05,3,0.5)
  816. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  817.  
  818. tl3 = Instance.new('Trail',wed)
  819. tl3.Attachment0 = A0
  820. tl3.Attachment1 = A1
  821. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  822. tl3.LightEmission = 1
  823. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  824. tl3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  825. tl3.Lifetime = 0.6
  826.  
  827. tl1.Enabled = false
  828. tl2.Enabled = false
  829. tl3.Enabled = false
  830. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  831. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  832. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833.  
  834. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  836. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  837. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  838. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  839. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  840. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  841. CreateMesh(wed,"Wedge",0.05,0.5,3)
  842. CreateWeld(wed,lwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  843. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,3,0.5)
  845. CreateWeld(wed,lwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  846.  
  847. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  848. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  849. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850.  
  851. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  852. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  853. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  854. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  855. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  856. CreateWeld(wed,lwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  857. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  858. CreateMesh(wed,"Wedge",0.05,0.5,3)
  859. CreateWeld(wed,lwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  860. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,3,0.5)
  862. CreateWeld(wed,lwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  863.  
  864. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  865. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  866. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  867.  
  868. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  869. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  870. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  871. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  872. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  873. CreateWeld(wed,lwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  874. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  875. CreateMesh(wed,"Wedge",0.05,0.5,3)
  876. CreateWeld(wed,lwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  877. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  878. CreateMesh(wed,"Wedge",0.05,3,0.5)
  879. CreateWeld(wed,lwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  880.  
  881. -- Right wing.
  882.  
  883. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  884. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  885. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  886.  
  887. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  888. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  889. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  890. A0 = Instance.new('Attachment',wed)
  891. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  893. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  894. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  895. CreateMesh(wed,"Wedge",0.05,0.5,3)
  896. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  897. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  898. CreateMesh(wed,"Wedge",0.05,3,0.5)
  899. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  900. A1 = Instance.new('Attachment',wed)
  901.  
  902. tr1 = Instance.new('Trail',wed)
  903. tr1.Attachment0 = A0
  904. tr1.Attachment1 = A1
  905. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  906. tr1.LightEmission = 1
  907. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  908. tr1.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  909. tr1.Lifetime = 0.6
  910.  
  911. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  912. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  913. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  914.  
  915. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  916. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  917. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  918. A0 = Instance.new('Attachment',wed)
  919. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  921. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  922. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,3)
  924. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  925. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,3,0.5)
  927. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  928. A1 = Instance.new('Attachment',wed)
  929.  
  930. tr2 = Instance.new('Trail',wed)
  931. tr2.Attachment0 = A0
  932. tr2.Attachment1 = A1
  933. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  934. tr2.LightEmission = 1
  935. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  936. tr2.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  937. tr2.Lifetime = 0.6
  938.  
  939. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  940. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  941. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  942.  
  943. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  945. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  946. A0 = Instance.new('Attachment',wed)
  947. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  948. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  949. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  950. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.05,0.5,3)
  952. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  953. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  954. CreateMesh(wed,"Wedge",0.05,3,0.5)
  955. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  956. A1 = Instance.new('Attachment',wed)
  957.  
  958. tr3 = Instance.new('Trail',wed)
  959. tr3.Attachment0 = A0
  960. tr3.Attachment1 = A1
  961. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  962. tr3.LightEmission = 1
  963. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  964. tr3.Color = ColorSequence.new(BrickColor.new('Dark blue').Color)
  965. tr3.Lifetime = 0.6
  966.  
  967.  
  968. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  969. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  970. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  971.  
  972. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  974. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  975. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  977. CreateWeld(wed,rwing4,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,3)
  980. CreateWeld(wed,rwing4,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,3,0.5)
  983. CreateWeld(wed,rwing4,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  984.  
  985. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  986. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  987. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  988.  
  989. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  991. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  992. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  994. CreateWeld(wed,rwing5,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  995. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,3)
  997. CreateWeld(wed,rwing5,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  998. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1000. CreateWeld(wed,rwing5,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001.  
  1002. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1003. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1004. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005.  
  1006. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1007. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1008. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1009. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1010. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1011. CreateWeld(wed,rwing6,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1012. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1014. CreateWeld(wed,rwing6,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1015. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1016. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1017. CreateWeld(wed,rwing6,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1018.  
  1019. ---- HERES THE RING
  1020.  
  1021.  
  1022. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1023. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1024. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1025. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1026. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1027. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1028. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1029. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1030. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1031.  
  1032.  
  1033. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1034. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1035. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1036.  
  1037. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1038. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1039. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1040.  
  1041.  
  1042.  
  1043. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1044. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1045. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1046.  
  1047. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1048. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1049. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1050.  
  1051. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1052. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1053. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1054.  
  1055. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1056. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1057. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1058. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1059. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1060. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1061.  
  1062. --- second ring
  1063.  
  1064. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1065. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1066. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1067. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1068. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1069. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1071. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1072. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1073.  
  1074. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1075. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1076. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1077.  
  1078. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1079. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1080. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1081.  
  1082.  
  1083.  
  1084. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1085. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1086. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1087.  
  1088. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1089. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1090. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1091.  
  1092. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1093. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1094. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1095.  
  1096. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1097. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1098. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1100. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1101. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1102.  
  1103.  
  1104.  
  1105. for i, v in pairs(m:GetChildren()) do
  1106. if v:IsA("Part") then
  1107. v.BrickColor = BrickColor.new("Dark blue")
  1108. v.Material = "Glass"
  1109. end
  1110. end
  1111. for i, v in pairs(m2:GetChildren()) do
  1112. if v:IsA("Part") then
  1113. v.BrickColor = BrickColor.new("Dark blue")
  1114. v.Material = "Granite"
  1115. end
  1116. end
  1117. for i, v in pairs(m3:GetChildren()) do
  1118. if v:IsA("Part") then
  1119. v.BrickColor = BrickColor.new("Dark blue")
  1120. v.Material = "Neon"
  1121. end
  1122. end
  1123. for i, v in pairs(mw2:GetChildren()) do
  1124. if v:IsA("Part") then
  1125. v.BrickColor = BrickColor.new("Dark blue")
  1126. v.Material = "Neon"
  1127. end
  1128. end
  1129. for i, v in pairs(mw1:GetChildren()) do
  1130. if v:IsA("Part") then
  1131. v.Transparency = 1
  1132. v.BrickColor = BrickColor.new("Dark blue")
  1133. v.Material = "Neon"
  1134. end
  1135. end
  1136. for i, v in pairs(extrawingmod1:GetChildren()) do
  1137. if v:IsA("Part") then
  1138. v.Transparency = 1
  1139. v.BrickColor = BrickColor.new("Dark blue")
  1140. v.Material = "Neon"
  1141. end
  1142. end
  1143. for i, v in pairs(extrawingmod2:GetChildren()) do
  1144. if v:IsA("Part") then
  1145. v.Transparency = 1
  1146. v.BrickColor = BrickColor.new("Dark blue")
  1147. v.Material = "Neon"
  1148. end
  1149. end
  1150. local MAINRUINCOLOR = BrickColor.new("Dark blue")
  1151. ------
  1152.  
  1153. --//=================================\\
  1154. --|| DAMAGE FUNCTIONS
  1155. --\\=================================//
  1156.  
  1157. function StatLabel(LABELTYPE, CFRAME, TEXT, COLOR)
  1158. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1159. STATPART.CFrame = CF(CFRAME.p + VT(0, 1.5, 0))
  1160. local BODYGYRO = IT("BodyGyro", STATPART)
  1161. local BODYPOSITION = IT("BodyPosition", STATPART)
  1162. BODYPOSITION.P = 2000
  1163. BODYPOSITION.D = 100
  1164. BODYPOSITION.maxForce = VT(math.huge, math.huge, math.huge)
  1165. BODYPOSITION.position = STATPART.Position + VT(MRANDOM(-2, 2), 6, MRANDOM(-2, 2))
  1166. game:GetService("Debris"):AddItem(STATPART ,5)
  1167. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1168. BILLBOARDGUI.Adornee = STATPART
  1169. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1170. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1171. BILLBOARDGUI.AlwaysOnTop = false
  1172. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1173. TEXTLABEL.BackgroundTransparency = 1
  1174. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1175. TEXTLABEL.Text = TEXT
  1176. TEXTLABEL.Font = "SciFi"
  1177. TEXTLABEL.FontSize="Size42"
  1178. TEXTLABEL.TextColor3 = COLOR
  1179. TEXTLABEL.TextStrokeTransparency = 1
  1180. TEXTLABEL.TextScaled = true
  1181. TEXTLABEL.TextWrapped = true
  1182. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1183. if LABELTYPE == "Normal" then
  1184. for i = 1, 30 do
  1185. Swait()
  1186. STATPART.Position = STATPART.Position + VT(0, (15-i)/10 ,0)
  1187. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1188. end
  1189. elseif LABELTYPE == "Debuff" then
  1190. for i = 1, 30 do
  1191. Swait()
  1192. STATPART.Position = STATPART.Position - VT(0, i/10 ,0)
  1193. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1194. end
  1195. elseif LABELTYPE == "Shock" then
  1196. local ORIGIN = STATPART.Position
  1197. for i = 1, 30 do
  1198. Swait()
  1199. STATPART.Position = ORIGIN + VT(MRANDOM(-2,2),MRANDOM(-2,2),MRANDOM(-2,2))
  1200. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/30)
  1201. end
  1202. end
  1203. THEPART.Parent = nil
  1204. end),STATPART, BODYPOSITION, TEXTLABEL)
  1205. end
  1206.  
  1207. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1208. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1209. local mesh = IT("SpecialMesh",wave)
  1210. mesh.MeshType = "FileMesh"
  1211. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1212. mesh.Scale = SIZE
  1213. wave.CFrame = CFRAME
  1214. coroutine.resume(coroutine.create(function(PART)
  1215. for i = 1, WAIT do
  1216. Swait()
  1217. mesh.Scale = mesh.Scale + GROW
  1218. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1219. if DOESROT == true then
  1220. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1221. end
  1222. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1223. if wave.Transparency > 0.99 then
  1224. wave:remove()
  1225. end
  1226. end
  1227. end))
  1228. end
  1229.  
  1230. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  1231. local NEWMESH = IT(MESH)
  1232. if MESH == "SpecialMesh" then
  1233. NEWMESH.MeshType = MESHTYPE
  1234. if MESHID ~= "nil" and MESHID ~= "" then
  1235. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  1236. end
  1237. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  1238. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  1239. end
  1240. end
  1241. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  1242. NEWMESH.Scale = SCALE
  1243. NEWMESH.Parent = PARENT
  1244. return NEWMESH
  1245. end
  1246.  
  1247. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  1248. local NEWPART = IT("Part")
  1249. NEWPART.formFactor = FORMFACTOR
  1250. NEWPART.Reflectance = REFLECTANCE
  1251. NEWPART.Transparency = TRANSPARENCY
  1252. NEWPART.CanCollide = false
  1253. NEWPART.Locked = true
  1254. NEWPART.Anchored = true
  1255. if ANCHOR == false then
  1256. NEWPART.Anchored = false
  1257. end
  1258. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  1259. NEWPART.Name = NAME
  1260. NEWPART.Size = SIZE
  1261. NEWPART.Position = Torso.Position
  1262. NEWPART.Material = MATERIAL
  1263. NEWPART:BreakJoints()
  1264. NEWPART.Parent = PARENT
  1265. return NEWPART
  1266. end
  1267.  
  1268. local function weldBetween(a, b)
  1269. local weldd = Instance.new("ManualWeld")
  1270. weldd.Part0 = a
  1271. weldd.Part1 = b
  1272. weldd.C0 = CFrame.new()
  1273. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1274. weldd.Parent = a
  1275. return weldd
  1276. end
  1277.  
  1278.  
  1279. function QuaternionFromCFrame(cf)
  1280. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1281. local trace = m00 + m11 + m22
  1282. if trace > 0 then
  1283. local s = math.sqrt(1 + trace)
  1284. local recip = 0.5 / s
  1285. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1286. else
  1287. local i = 0
  1288. if m11 > m00 then
  1289. i = 1
  1290. end
  1291. if m22 > (i == 0 and m00 or m11) then
  1292. i = 2
  1293. end
  1294. if i == 0 then
  1295. local s = math.sqrt(m00 - m11 - m22 + 1)
  1296. local recip = 0.5 / s
  1297. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1298. elseif i == 1 then
  1299. local s = math.sqrt(m11 - m22 - m00 + 1)
  1300. local recip = 0.5 / s
  1301. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1302. elseif i == 2 then
  1303. local s = math.sqrt(m22 - m00 - m11 + 1)
  1304. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1305. end
  1306. end
  1307. end
  1308.  
  1309. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1310. local xs, ys, zs = x + x, y + y, z + z
  1311. local wx, wy, wz = w * xs, w * ys, w * zs
  1312. local xx = x * xs
  1313. local xy = x * ys
  1314. local xz = x * zs
  1315. local yy = y * ys
  1316. local yz = y * zs
  1317. local zz = z * zs
  1318. 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))
  1319. end
  1320.  
  1321. function QuaternionSlerp(a, b, t)
  1322. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1323. local startInterp, finishInterp;
  1324. if cosTheta >= 0.0001 then
  1325. if (1 - cosTheta) > 0.0001 then
  1326. local theta = ACOS(cosTheta)
  1327. local invSinTheta = 1 / SIN(theta)
  1328. startInterp = SIN((1 - t) * theta) * invSinTheta
  1329. finishInterp = SIN(t * theta) * invSinTheta
  1330. else
  1331. startInterp = 1 - t
  1332. finishInterp = t
  1333. end
  1334. else
  1335. if (1 + cosTheta) > 0.0001 then
  1336. local theta = ACOS(-cosTheta)
  1337. local invSinTheta = 1 / SIN(theta)
  1338. startInterp = SIN((t - 1) * theta) * invSinTheta
  1339. finishInterp = SIN(t * theta) * invSinTheta
  1340. else
  1341. startInterp = t - 1
  1342. finishInterp = t
  1343. end
  1344. end
  1345. 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
  1346. end
  1347.  
  1348. function Clerp(a, b, t)
  1349. local qa = {QuaternionFromCFrame(a)}
  1350. local qb = {QuaternionFromCFrame(b)}
  1351. local ax, ay, az = a.x, a.y, a.z
  1352. local bx, by, bz = b.x, b.y, b.z
  1353. local _t = 1 - t
  1354. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1355. end
  1356.  
  1357. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  1358. local frame = IT("Frame")
  1359. frame.BackgroundTransparency = TRANSPARENCY
  1360. frame.BorderSizePixel = BORDERSIZEPIXEL
  1361. frame.Position = POSITION
  1362. frame.Size = SIZE
  1363. frame.BackgroundColor3 = COLOR
  1364. frame.BorderColor3 = BORDERCOLOR
  1365. frame.Name = NAME
  1366. frame.Parent = PARENT
  1367. return frame
  1368. end
  1369.  
  1370. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  1371. local label = IT("TextLabel")
  1372. label.BackgroundTransparency = 1
  1373. label.Size = UD2(1, 0, 1, 0)
  1374. label.Position = UD2(0, 0, 0, 0)
  1375. label.TextColor3 = TEXTCOLOR
  1376. label.TextStrokeTransparency = STROKETRANSPARENCY
  1377. label.TextTransparency = TRANSPARENCY
  1378. label.FontSize = TEXTFONTSIZE
  1379. label.Font = TEXTFONT
  1380. label.BorderSizePixel = BORDERSIZEPIXEL
  1381. label.TextScaled = false
  1382. label.Text = TEXT
  1383. label.Name = NAME
  1384. label.Parent = PARENT
  1385. return label
  1386. end
  1387.  
  1388. function NoOutlines(PART)
  1389. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  1390. end
  1391.  
  1392. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  1393. local NEWWELD = IT(TYPE)
  1394. NEWWELD.Part0 = PART0
  1395. NEWWELD.Part1 = PART1
  1396. NEWWELD.C0 = C0
  1397. NEWWELD.C1 = C1
  1398. NEWWELD.Parent = PARENT
  1399. return NEWWELD
  1400. end
  1401.  
  1402. local S = IT("Sound")
  1403. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  1404. local NEWSOUND = nil
  1405. coroutine.resume(coroutine.create(function()
  1406. NEWSOUND = S:Clone()
  1407. NEWSOUND.Parent = PARENT
  1408. NEWSOUND.Volume = VOLUME
  1409. NEWSOUND.Pitch = PITCH
  1410. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  1411. NEWSOUND:play()
  1412. if DOESLOOP == true then
  1413. NEWSOUND.Looped = true
  1414. else
  1415. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  1416. NEWSOUND:remove()
  1417. end
  1418. end))
  1419. return NEWSOUND
  1420. end
  1421.  
  1422. function chatfunc(text)
  1423. local chat = coroutine.wrap(function()
  1424. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1425. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1426. end
  1427. local Bill = Instance.new("BillboardGui",Character)
  1428. Bill.Size = UDim2.new(0,100,0,40)
  1429. Bill.StudsOffset = Vector3.new(0,3,0)
  1430. Bill.Adornee = Character.Head
  1431. Bill.Name = "TalkingBillBoard"
  1432. local Hehe = Instance.new("TextLabel",Bill)
  1433. Hehe.BackgroundTransparency = 1
  1434. Hehe.BorderSizePixel = 0
  1435. Hehe.Text = ""
  1436. Hehe.Font = "Fantasy"
  1437. Hehe.TextSize = 40
  1438. Hehe.TextStrokeTransparency = 0
  1439. Hehe.Size = UDim2.new(1,0,0.5,0)
  1440. coroutine.resume(coroutine.create(function()
  1441. while Hehe ~= nil do
  1442. wait()
  1443. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1444. Hehe.Rotation = math.random(-5,5)
  1445. Hehe.TextColor3 = Color3.new(1,0,0)
  1446. Hehe.TextStrokeColor3 = Color3.new(1,0,0)
  1447. end
  1448. end))
  1449. for i = 1,string.len(text),1 do
  1450. wait()
  1451. Hehe.Text = string.sub(text,1,i)
  1452. end
  1453. wait(1.5)--Re[math.random(1, 93)]
  1454. for i = 0, 1, .025 do
  1455. wait()
  1456. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1457. Hehe.TextStrokeTransparency = i
  1458. Hehe.TextTransparency = i
  1459. end
  1460. Bill:Destroy()
  1461. end)
  1462. chat()
  1463. end
  1464.  
  1465. function onChatted(msg)
  1466. chatfunc(msg)
  1467. end
  1468.  
  1469. chatfunc("Psycho Sin!Edit By Micheal2358.")
  1470.  
  1471. Player.Chatted:connect(onChatted)
  1472.  
  1473.  
  1474. function CFrameFromTopBack(at, top, back)
  1475. local right = top:Cross(back)
  1476. 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)
  1477. end
  1478.  
  1479. --WACKYEFFECT({EffectType = "", Size = VT(1,1,1), Size2 = VT(0,0,0), Transparency = 0, Transparency2 = 1, CFrame = CF(), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1480. function WACKYEFFECT(Table)
  1481. local TYPE = (Table.EffectType or "Sphere")
  1482. local SIZE = (Table.Size or VT(1,1,1))
  1483. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1484. local TRANSPARENCY = (Table.Transparency or 0)
  1485. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1486. local CFRAME = (Table.CFrame or Torso.CFrame)
  1487. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1488. local ROTATION1 = (Table.RotationX or 0)
  1489. local ROTATION2 = (Table.RotationY or 0)
  1490. local ROTATION3 = (Table.RotationZ or 0)
  1491. local MATERIAL = (Table.Material or "Neon")
  1492. local COLOR = (Table.Color or C3(1,1,1))
  1493. local TIME = (Table.Time or 45)
  1494. local SOUNDID = (Table.SoundID or nil)
  1495. local SOUNDPITCH = (Table.SoundPitch or nil)
  1496. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1497. coroutine.resume(coroutine.create(function()
  1498. local PLAYSSOUND = false
  1499. local SOUND = nil
  1500. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1501. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1502. PLAYSSOUND = true
  1503. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1504. end
  1505. EFFECT.Color = COLOR
  1506. local MSH = nil
  1507. if TYPE == "Sphere" then
  1508. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1509. elseif TYPE == "Block" then
  1510. MSH = IT("BlockMesh",EFFECT)
  1511. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1512. elseif TYPE == "Wave" then
  1513. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1514. elseif TYPE == "Ring" then
  1515. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1516. elseif TYPE == "Slash" then
  1517. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1518. elseif TYPE == "Round Slash" then
  1519. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1520. elseif TYPE == "Swirl" then
  1521. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1522. elseif TYPE == "Skull" then
  1523. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1524. elseif TYPE == "Crystal" then
  1525. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1526. end
  1527. if MSH ~= nil then
  1528. local MOVESPEED = nil
  1529. if MOVEDIRECTION ~= nil then
  1530. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1531. end
  1532. local GROWTH = SIZE - ENDSIZE
  1533. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1534. if TYPE == "Block" then
  1535. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1536. else
  1537. EFFECT.CFrame = CFRAME
  1538. end
  1539. for LOOP = 1, TIME+1 do
  1540. Swait()
  1541. MSH.Scale = MSH.Scale - GROWTH/TIME
  1542. if TYPE == "Wave" then
  1543. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1544. end
  1545. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1546. if TYPE == "Block" then
  1547. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1548. else
  1549. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1550. end
  1551. if MOVEDIRECTION ~= nil then
  1552. local ORI = EFFECT.Orientation
  1553. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1554. EFFECT.Orientation = ORI
  1555. end
  1556. end
  1557. if PLAYSSOUND == false then
  1558. EFFECT:remove()
  1559. else
  1560. SOUND.Stopped:Connect(function()
  1561. EFFECT:remove()
  1562. end)
  1563. end
  1564. else
  1565. if PLAYSSOUND == false then
  1566. EFFECT:remove()
  1567. else
  1568. repeat Swait() until SOUND.Playing == false
  1569. EFFECT:remove()
  1570. end
  1571. end
  1572. end))
  1573. end
  1574.  
  1575. function MakeForm(PART,TYPE)
  1576. if TYPE == "Cyl" then
  1577. local MSH = IT("CylinderMesh",PART)
  1578. elseif TYPE == "Ball" then
  1579. local MSH = IT("SpecialMesh",PART)
  1580. MSH.MeshType = "Sphere"
  1581. elseif TYPE == "Wedge" then
  1582. local MSH = IT("SpecialMesh",PART)
  1583. MSH.MeshType = "Wedge"
  1584. end
  1585. end
  1586.  
  1587. function SpawnTrail(FROM,TO,BIG)
  1588. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Royal purple", "Trail", VT(0,0,0))
  1589. MakeForm(TRAIL,"Cyl")
  1590. local DIST = (FROM - TO).Magnitude
  1591. if BIG == true then
  1592. TRAIL.Size = VT(0.5,DIST,0.5)
  1593. else
  1594. TRAIL.Size = VT(0.25,DIST,0.25)
  1595. end
  1596. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1597. coroutine.resume(coroutine.create(function()
  1598. for i = 1, 5 do
  1599. Swait()
  1600. TRAIL.Transparency = TRAIL.Transparency + 0.1
  1601. end
  1602. TRAIL:remove()
  1603. end))
  1604. end
  1605.  
  1606. Debris = game:GetService("Debris")
  1607.  
  1608. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1609. local DIRECTION = CF(StartPos,EndPos).lookVector
  1610. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1611. end
  1612.  
  1613. function turnto(position)
  1614. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1615. end
  1616. local asd = Instance.new("ParticleEmitter")
  1617. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  1618. asd.LightEmission = .1
  1619. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  1620. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  1621. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1622. asd.Transparency = bbb
  1623. asd.Size = aaa
  1624. asd.ZOffset = .9
  1625. asd.Acceleration = Vector3.new(0, -15, 0)
  1626. asd.LockedToPart = false
  1627. asd.EmissionDirection = "Back"
  1628. asd.Lifetime = NumberRange.new(1, 2)
  1629. asd.Rotation = NumberRange.new(-100, 100)
  1630. asd.RotSpeed = NumberRange.new(-100, 100)
  1631. asd.Speed = NumberRange.new(10)
  1632. asd.Enabled = false
  1633. asd.VelocitySpread = 999
  1634.  
  1635. function getbloody(victim,amount)
  1636. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  1637. PART.CFrame = victim.CFrame
  1638. local HITPLAYERSOUNDS = {"356551938","264486467"}
  1639. Debris:AddItem(PART,5)
  1640. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1641. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1642. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  1643. local prtcl = asd:Clone()
  1644. prtcl.Parent = PART
  1645. prtcl:Emit(amount*10)
  1646. end
  1647.  
  1648. local Particle = IT("ParticleEmitter",nil)
  1649. Particle.Enabled = false
  1650. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  1651. Particle.LightEmission = 0.5
  1652. Particle.Rate = 150
  1653. Particle.ZOffset = 1
  1654. Particle.Rotation = NumberRange.new(-180, 180)
  1655. Particle.RotSpeed = NumberRange.new(-180, 180)
  1656. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1657. Particle.Color = ColorSequence.new(C3(.5,0,.5),C3(.5,0,.5))
  1658.  
  1659. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1660. function ParticleEmitter(Table)
  1661. local PRTCL = Particle:Clone()
  1662. local Speed = Table.Speed or 5
  1663. local Drag = Table.Drag or 0
  1664. local Size1 = Table.Size1 or 1
  1665. local Size2 = Table.Size2 or 5
  1666. local Lifetime1 = Table.Lifetime1 or 1
  1667. local Lifetime2 = Table.Lifetime2 or 1.5
  1668. local Parent = Table.Parent or Torso
  1669. local Emit = Table.Emit or 100
  1670. local Offset = Table.Offset or 360
  1671. local Acel = Table.Acel or VT(0,0,0)
  1672. local Enabled = Table.Enabled or false
  1673. PRTCL.Parent = Parent
  1674. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1675. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1676. PRTCL.Speed = NumberRange.new(Speed)
  1677. PRTCL.VelocitySpread = Offset
  1678. PRTCL.Drag = Drag
  1679. PRTCL.Acceleration = Acel
  1680. if Enabled == false then
  1681. PRTCL:Emit(Emit)
  1682. Debris:AddItem(PRTCL,Lifetime2)
  1683. else
  1684. PRTCL.Enabled = true
  1685. end
  1686. return PRTCL
  1687. end
  1688.  
  1689. function R_RANDOM(CFRAME,DIST)
  1690. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  1691. end
  1692.  
  1693. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  1694. coroutine.resume(coroutine.create(function()
  1695. local FADE = IT("Model",Effects)
  1696. if PARENT ~= nil then
  1697. FADE.Parent = PARENT
  1698. end
  1699. FADE.Name = "FadingEffect"
  1700. for _, c in pairs(Character:GetChildren()) do
  1701. if c.ClassName == "Part" then
  1702. c.CanCollide = false
  1703. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Royal purple"), c.Name, c.Size, true)
  1704. FADER.CFrame = c.CFrame
  1705. FADER.Color = COLOR
  1706. if FADER.Name == "Head" then
  1707. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  1708. elseif FADER.Name == "HumanoidRootPart" then
  1709. FADE.PrimaryPart = FADER
  1710. FADER.Transparency = 1
  1711. end
  1712. end
  1713. end
  1714. local TRANS = 0.25/TIMER
  1715. local DIST = nil
  1716. if MOVEDIRECTION ~= nil then
  1717. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  1718. end
  1719. for i = 1, TIMER do
  1720. Swait()
  1721. for _, c in pairs(FADE:GetChildren()) do
  1722. if c.ClassName == "Part" then
  1723. c.Transparency = c.Transparency + TRANS
  1724. end
  1725. end
  1726. if MOVEDIRECTION ~= nil then
  1727. local ORI = FADE.PrimaryPart.Orientation
  1728. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  1729. end
  1730. end
  1731. FADE:remove()
  1732. end))
  1733. end
  1734.  
  1735. function Pose(WhichPose,Speed,Time,Magic,Gyro,Tors)
  1736. PLAYMAINANIM = false
  1737. if WhichPose == "Cast1" then
  1738. for i=0, Time, 0.1 / Animation_Speed do
  1739. Swait()
  1740. if Magic == true then
  1741. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1742. end
  1743. if Gyro ~= nil and Gyro ~= false then
  1744. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1745. end
  1746. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(35)), Speed / Animation_Speed)
  1747. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-35)), Speed / Animation_Speed)
  1748. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(125), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1749. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1750. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1751. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1752. end
  1753. elseif WhichPose == "Cast2" then
  1754. for i=0, Time, 0.1 / Animation_Speed do
  1755. Swait()
  1756. if Magic == true then
  1757. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1758. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = LeftArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1759. end
  1760. if Gyro ~= nil and Gyro ~= false then
  1761. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1762. end
  1763. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1764. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1765. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(15)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1766. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(120), RAD(0), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1767. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1768. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1769. end
  1770. elseif WhichPose == "RightArmUp" then
  1771. for i=0, Time, 0.1 / Animation_Speed do
  1772. Swait()
  1773. if Magic == true then
  1774. WACKYEFFECT({Time = 15, EffectType = "Crystal", Size = VT(1,1,1)*1.5, Size2 = VT(0,4,0), Transparency = 0, Transparency2 = 1, CFrame = RightArm.CFrame*CF(0,-1,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Glass", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1775. end
  1776. if Gyro ~= nil and Gyro ~= false then
  1777. Gyro.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1778. end
  1779. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)), Speed / Animation_Speed)
  1780. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1781. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.65 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.2) * ANGLES(RAD(125), RAD(0), RAD(25)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1782. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1783. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1784. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1785. end
  1786. elseif WhichPose == "Taunt" then
  1787. for i=0, Time, 0.1 / Animation_Speed do
  1788. Swait()
  1789. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1790. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-5 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1791. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1792. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1793. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1794. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1795. end
  1796. HATWELD.Part0 = RightArm
  1797. HATWELD.C0 = CF(0,-1.1,-0.4) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(-20), RAD(0), RAD(0))
  1798. CreateSound(221057812,Torso,10,1,false)
  1799. for i=0, Time*2, 0.1 / Animation_Speed do
  1800. Swait()
  1801. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1802. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(35 - 6.5 * SIN(SINE / 12)), RAD(0), RAD(0)), Speed / Animation_Speed)
  1803. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(145), RAD(0), RAD(45)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1804. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(5), RAD(25), RAD(-15)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1805. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1806. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1807. end
  1808. for i=0, Time, 0.1 / Animation_Speed do
  1809. Swait()
  1810. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), Speed / Animation_Speed)
  1811. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(0)), Speed / Animation_Speed)
  1812. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.65, -0.5) * ANGLES(RAD(175), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, Speed / Animation_Speed)
  1813. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5 + 0.15 * COS(SINE / 12) - 0.05 * COS(SINE / 12), 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, Speed / Animation_Speed)
  1814. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(65), RAD(0)) * ANGLES(RAD(-3), RAD(0), RAD(-15)), Speed / Animation_Speed)
  1815. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), Speed / Animation_Speed)
  1816. HATWELD.C0 = Clerp(HATWELD.C0, CF(-0.5,-1.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(180)) * ANGLES(RAD(35), RAD(0), RAD(35)), Speed / Animation_Speed)
  1817. end
  1818. HATWELD.Part0 = Head
  1819. HATWELD.C0 = CF(0,0.35,0)
  1820. elseif WhichPose == "Prepare key" then
  1821. for i=0, Time, 0.1 / Animation_Speed do
  1822. Swait()
  1823. if Gyro ~= nil and Gyro ~= false then
  1824. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1825. end
  1826. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1827. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(45)), 0.15 / Animation_Speed)
  1828. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, 0.2*SIZE) * ANGLES(RAD(60), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1829. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1830. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1831. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1832. end
  1833. elseif WhichPose == "Turn key" then
  1834. for i=0, Time, 0.1 / Animation_Speed do
  1835. Swait()
  1836. if Gyro ~= nil and Gyro ~= false then
  1837. Gyro.cframe = CF(RootPart.Position,Tors.Position)
  1838. end
  1839. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0*SIZE + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(45)), 1 / Animation_Speed)
  1840. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  1841. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35*SIZE, 0.65*SIZE, -0.2*SIZE) * ANGLES(RAD(90), RAD(0), RAD(45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1842. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25*SIZE, 0.5*SIZE, 0.5*SIZE) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1843. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(75), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1844. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  1845. end
  1846. end
  1847. PLAYMAINANIM = true
  1848. end
  1849.  
  1850.  
  1851. --//=================================\\
  1852. --|| WEAPON CREATION
  1853. --\\=================================//
  1854. Player=game:GetService('Players').LocalPlayer
  1855. Character=Player.Character
  1856. Mouse=Player:GetMouse()
  1857. m=Instance.new('Model',Character)
  1858. local function weldBetween(a, b)
  1859. local weldd = Instance.new("ManualWeld")
  1860. weldd.Part0 = a
  1861. weldd.Part1 = b
  1862. weldd.C0 = CFrame.new()
  1863. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1864. weldd.Parent = a
  1865. return weldd
  1866. end
  1867.  
  1868. it=Instance.new
  1869.  
  1870. function nooutline(part)
  1871. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1872. end
  1873.  
  1874. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1875. local fp=it("Part")
  1876. fp.formFactor=formfactor
  1877. fp.Parent=parent
  1878. fp.Reflectance=reflectance
  1879. fp.Transparency=transparency
  1880. fp.CanCollide=false
  1881. fp.Locked=true
  1882. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1883. fp.Name=name
  1884. fp.Size=size
  1885. fp.Position=Character.Torso.Position
  1886. nooutline(fp)
  1887. fp.Material=material
  1888. fp:BreakJoints()
  1889. return fp
  1890. end
  1891.  
  1892. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1893. local mesh=it(Mesh)
  1894. mesh.Parent=part
  1895. if Mesh=="SpecialMesh" then
  1896. mesh.MeshType=meshtype
  1897. mesh.MeshId=meshid
  1898. end
  1899. mesh.Offset=offset
  1900. mesh.Scale=scale
  1901. return mesh
  1902. end
  1903.  
  1904. function weld(parent,part0,part1,c0,c1)
  1905. local weld=it("Weld")
  1906. weld.Parent=parent
  1907. weld.Part0=part0
  1908. weld.Part1=part1
  1909. weld.C0=c0
  1910. weld.C1=c1
  1911. return weld
  1912. end
  1913.  
  1914. handle=part(Enum.FormFactor.Brick,m,Enum.Material.Plastic,0,0,"Really black","Handle",Vector3.new(4, 1, 2))
  1915. handleweld=weld(m,Character["Torso"],handle,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),CFrame.new(1.72890472, 0.675598145, -1.43186569, 0.258819073, 0, -0.965925813, 0, 1, 0, 0.965925813, 0, 0.258819073))
  1916. mesh("SpecialMesh",handle,Enum.MeshType.FileMesh,"rbxassetid://1553468709",Vector3.new(0, 0, 0),Vector3.new(0.0480000004, 0.0480000004, 0.0480000004))
  1917.  
  1918. local SIZE = 1
  1919.  
  1920.  
  1921. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Hood", VT(1,1,1),false)
  1922. PRT.Color = C3(0,0,0)
  1923. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1924. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1925.  
  1926. for i = 1, 16 do
  1927. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  1928. FACE.Color = C3(0,0,0)
  1929. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1930. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1931. end
  1932.  
  1933. for i = 1, 20 do
  1934. local MATH = (1-(i/25))
  1935. if LASTPART == Head then
  1936. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1937. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1938. LASTPART = Horn
  1939. Horn.Color = C3(0,0,0)
  1940. else
  1941. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1942. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(-0.3), RAD(0)), CF(0, 0, 0))
  1943. LASTPART = Horn
  1944. Horn.Color = C3(0,0,0)
  1945. end
  1946. end
  1947. local LASTPART = Head
  1948. for i = 1, 20 do
  1949. local MATH = (1-(i/25))
  1950. if LASTPART == Head then
  1951. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1952. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1953. LASTPART = Horn
  1954. Horn.Color = C3(0,0,0)
  1955. else
  1956. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Royal purple", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1957. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0, Horn.Size.Y/1.8, 0) * ANGLES(RAD(6), RAD(0.3), RAD(0)), CF(0, 0, 0))
  1958. LASTPART = Horn
  1959. Horn.Color = C3(0,0,0)
  1960. end
  1961. end
  1962.  
  1963.  
  1964. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Hair", VT(1,1,1),false)
  1965. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1966. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  1967. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Royal purple", "Hair", VT(1,1,1),false)
  1968. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1969. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  1970.  
  1971. local Particle = IT("ParticleEmitter",nil)
  1972. Particle.Enabled = false
  1973. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1974. Particle.LightEmission = 0.5
  1975. Particle.Rate = 150
  1976. Particle.ZOffset = 0.2
  1977. Particle.Rotation = NumberRange.new(-180, 180)
  1978. Particle.RotSpeed = NumberRange.new(-180, 180)
  1979. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1980. Particle.Color = ColorSequence.new(C3(.5,0,.5),C3(.5,0,.5))
  1981.  
  1982. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1983. function ParticleEmitter(Table)
  1984. local PRTCL = Particle:Clone()
  1985. local Speed = Table.Speed or 5
  1986. local Drag = Table.Drag or 0
  1987. local Size1 = Table.Size1 or 1
  1988. local Size2 = Table.Size2 or 5
  1989. local Lifetime1 = Table.Lifetime1 or 1
  1990. local Lifetime2 = Table.Lifetime2 or 1.5
  1991. local Parent = Table.Parent or Torso
  1992. local Emit = Table.Emit or 100
  1993. local Offset = Table.Offset or 360
  1994. local Acel = Table.Acel or VT(0,0,0)
  1995. local Enabled = Table.Enabled or false
  1996. PRTCL.Parent = Parent
  1997. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1998. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1999. PRTCL.Speed = NumberRange.new(Speed)
  2000. PRTCL.VelocitySpread = Offset
  2001. PRTCL.Drag = Drag
  2002. PRTCL.Acceleration = Acel
  2003. if Enabled == false then
  2004. PRTCL:Emit(Emit)
  2005. Debris:AddItem(PRTCL,Lifetime2)
  2006. else
  2007. PRTCL.Enabled = true
  2008. end
  2009. return PRTCL
  2010. end
  2011.  
  2012.  
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018.  
  2019. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2020. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2021. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2022. MakeForm(Part,"Wedge")
  2023. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2024. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2025. MakeForm(Part,"Wedge")
  2026. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2027. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2028. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2029. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2030. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2031. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2032. MakeForm(Part,"Cyl")
  2033. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2034. for i = 1, 8 do
  2035. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2036. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2037. end
  2038. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2039. MakeForm(Part,"Cyl")
  2040. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2041. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2042. MakeForm(Part,"Ball")
  2043. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2044. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2045. MakeForm(Part,"Wedge")
  2046. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2047. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2048. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2049. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2050. MakeForm(Part,"Cyl")
  2051. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2052. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2053. MakeForm(Part,"Cyl")
  2054. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2055. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2056. MakeForm(Part,"Cyl")
  2057. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2058. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2059. MakeForm(Part,"Wedge")
  2060. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2061. local LASTPART = Handle
  2062. for i = 1, 10 do
  2063. if LASTPART == Handle then
  2064. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2065. LASTPART = Part
  2066. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2067. else
  2068. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2069. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2070. LASTPART = Part
  2071. end
  2072. end
  2073.  
  2074. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2075. MakeForm(Barrel,"Cyl")
  2076. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2077. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2078. MakeForm(Part,"Cyl")
  2079. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2080. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2081. MakeForm(Part,"Wedge")
  2082. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2083. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2084. MakeForm(Hole2,"Cyl")
  2085. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  2086. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2087. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2088. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2089. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2090. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2091. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2092. coroutine.resume(coroutine.create(function()
  2093. while wait() do
  2094. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2095. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2096. end
  2097. end))
  2098.  
  2099. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole2, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2100. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2101.  
  2102. for _, c in pairs(Weapon:GetDescendants()) do
  2103. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2104. c.Material = "Glass"
  2105. c.Color = C3(.5,0,.5)
  2106. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2107. c.Color = C3(.5,0,.5)
  2108. c.Material = "Neon"
  2109. end
  2110. end
  2111.  
  2112. Weapon.Parent = Character
  2113. for _, c in pairs(Weapon:GetChildren()) do
  2114. if c.ClassName == "Part" then
  2115. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2116. end
  2117. end
  2118.  
  2119. function ParticleEmitter(Table)
  2120. local PRTCL = Particle:Clone()
  2121. local Speed = Table.Speed or 5
  2122. local Drag = Table.Drag or 0
  2123. local Size1 = Table.Size1 or 1
  2124. local Size2 = Table.Size2 or 5
  2125. local Lifetime1 = Table.Lifetime1 or 1
  2126. local Lifetime2 = Table.Lifetime2 or 1.5
  2127. local Parent = Table.Parent or Torso
  2128. local Emit = Table.Emit or 100
  2129. local Offset = Table.Offset or 360
  2130. local Acel = Table.Acel or VT(0,0,0)
  2131. local Enabled = Table.Enabled or false
  2132. PRTCL.Parent = Parent
  2133. PRTCL.Size = NumberSequence.new(Size1,Size2)
  2134. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  2135. PRTCL.Speed = NumberRange.new(Speed)
  2136. PRTCL.VelocitySpread = Offset
  2137. PRTCL.Drag = Drag
  2138. PRTCL.Acceleration = Acel
  2139. if Enabled == false then
  2140. PRTCL:Emit(Emit)
  2141. Debris:AddItem(PRTCL,Lifetime2)
  2142. else
  2143. PRTCL.Enabled = true
  2144. end
  2145. return PRTCL
  2146. end
  2147.  
  2148. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  2149. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  2150. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2151. MakeForm(Part,"Wedge")
  2152. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  2153. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  2154. MakeForm(Part,"Wedge")
  2155. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  2156. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  2157. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2158. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  2159. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  2161. MakeForm(Part,"Cyl")
  2162. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2163. for i = 1, 8 do
  2164. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  2165. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  2166. end
  2167. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  2168. MakeForm(Part,"Cyl")
  2169. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2170. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  2171. MakeForm(Part,"Ball")
  2172. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2173. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  2174. MakeForm(Part,"Wedge")
  2175. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  2176. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  2177. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  2178. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  2179. MakeForm(Part,"Cyl")
  2180. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  2182. MakeForm(Part,"Cyl")
  2183. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2184. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  2185. MakeForm(Part,"Cyl")
  2186. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2187. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  2188. MakeForm(Part,"Wedge")
  2189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  2190. local LASTPART = Handle
  2191. for i = 1, 10 do
  2192. if LASTPART == Handle then
  2193. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  2194. LASTPART = Part
  2195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2196. else
  2197. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  2198. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  2199. LASTPART = Part
  2200. end
  2201. end
  2202.  
  2203. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  2204. MakeForm(Barrel,"Cyl")
  2205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  2206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  2207. MakeForm(Part,"Cyl")
  2208. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  2209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  2210. MakeForm(Part,"Wedge")
  2211. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  2212. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  2213. MakeForm(Hole,"Cyl")
  2214. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  2215. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  2216. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2217. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  2218. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  2219. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  2220. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  2221. coroutine.resume(coroutine.create(function()
  2222. while wait() do
  2223. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  2224. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  2225. end
  2226. end))
  2227.  
  2228. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2229. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  2230.  
  2231. for _, c in pairs(Weapon:GetDescendants()) do
  2232. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  2233. c.Material = "Glass"
  2234. c.Color = C3(0.05,0.05,0.05)
  2235. elseif c.ClassName == "Part" and c.Name == "Eye" then
  2236. c.Color = C3(.5,0,.5)
  2237. c.Material = "Neon"
  2238. end
  2239. end
  2240.  
  2241. Weapon.Parent = Character
  2242. for _, c in pairs(Weapon:GetChildren()) do
  2243. if c.ClassName == "Part" then
  2244. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2245. end
  2246. end
  2247.  
  2248. local SKILLTEXTCOLOR = C3(.5,0,.5)
  2249. local SKILLFONT = "Antique"
  2250. local SKILLTEXTSIZE = 7
  2251.  
  2252. Humanoid.Died:connect(function()
  2253. ATTACK = true
  2254. end)
  2255.  
  2256.  
  2257. local SKILL1FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.0, 1, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 1 Frame")
  2258. --[[local SKILL2FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.63, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 2 Frame")
  2259. local SKILL3FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.215, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 3 Frame")
  2260. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  2261. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  2262. ]]
  2263. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  2264. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  2265. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  2266. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  2267. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  2268. ]]
  2269. function printbye(Name)
  2270. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  2271. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  2272. end
  2273.  
  2274. workspace.ChildAdded:connect(function(instance)
  2275. for BANISH = 1, #TOBANISH do
  2276. if TOBANISH[BANISH] ~= nil then
  2277. if instance.Name == TOBANISH[BANISH] then
  2278. coroutine.resume(coroutine.create(function()
  2279. printbye(instance.Name)
  2280. instance:ClearAllChildren()
  2281. Debris:AddItem(instance,0.0005)
  2282. end))
  2283. end
  2284. end
  2285. end
  2286. end)
  2287.  
  2288. --//=================================\\
  2289. --|| DAMAGING
  2290. --\\=================================//
  2291.  
  2292. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  2293. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2294. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  2295. wave.CFrame = CFRAME
  2296. coroutine.resume(coroutine.create(function(PART)
  2297. for i = 1, WAIT do
  2298. Swait()
  2299. mesh.Scale = mesh.Scale + GROW
  2300. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  2301. if DOESROT == true then
  2302. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2303. end
  2304. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2305. if wave.Transparency > 0.99 then
  2306. wave:remove()
  2307. end
  2308. end
  2309. end))
  2310. end
  2311.  
  2312. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  2313. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  2314. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  2315. wave.CFrame = CFRAME
  2316. coroutine.resume(coroutine.create(function(PART)
  2317. for i = 1, WAIT do
  2318. Swait()
  2319. mesh.Scale = mesh.Scale + GROW
  2320. if DOESROT == true then
  2321. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  2322. end
  2323. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2324. if wave.Transparency > 0.99 then
  2325. wave:remove()
  2326. end
  2327. end
  2328. end))
  2329. end
  2330.  
  2331. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  2332. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  2333. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  2334. wave.CFrame = CFRAME
  2335. coroutine.resume(coroutine.create(function(PART)
  2336. for i = 1, WAIT do
  2337. Swait()
  2338. mesh.Scale = mesh.Scale + GROW
  2339. wave.Transparency = wave.Transparency + (1/WAIT)
  2340. if wave.Transparency > 0.99 then
  2341. wave:remove()
  2342. end
  2343. end
  2344. end))
  2345. end
  2346.  
  2347. function CFrameFromTopBack(at, top, back)
  2348. local right = top:Cross(back)
  2349. 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)
  2350. end
  2351.  
  2352. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  2353. local mesh = nil
  2354. if KIND == "Base" then
  2355. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  2356. elseif KIND == "Thin" then
  2357. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2358. elseif KIND == "Round" then
  2359. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  2360. end
  2361. wave.CFrame = CFRAME
  2362. coroutine.resume(coroutine.create(function(PART)
  2363. for i = 1, WAIT do
  2364. Swait()
  2365. mesh.Scale = mesh.Scale + GROW/10
  2366. wave.Transparency = wave.Transparency + (0.5/WAIT)
  2367. if wave.Transparency > 0.99 then
  2368. wave:remove()
  2369. end
  2370. end
  2371. end))
  2372. end
  2373.  
  2374. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  2375. local svch = Character2
  2376. Character2:BreakJoints()
  2377. local hum = Character2:findFirstChild("Humanoid")
  2378. local q = Character2:GetChildren()
  2379. local CLONE = IT("Model", Effects)
  2380. for i = 1, #q do
  2381. if q[i].ClassName == "Accessory" and Headless == true then
  2382. q[i]:remove()
  2383. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  2384. q[i].Parent = CLONE
  2385. elseif q[i].ClassName ~= "Humanoid" then
  2386. q[i]:remove()
  2387. end
  2388. end
  2389. local chrclone = CLONE
  2390. local ch = chrclone:GetChildren()
  2391. local i
  2392. for i = 1, #ch do
  2393. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  2394. ch[i]:remove()
  2395. end
  2396. end
  2397. local function Scan(ch)
  2398. local e
  2399. for e = 1, #ch do
  2400. Scan(ch[e]:GetChildren())
  2401. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  2402. ch[e]:remove()
  2403. end
  2404. end
  2405. end
  2406. Character2:remove()
  2407. local NEWHUM = IT("Humanoid")
  2408. NEWHUM.Name = "Corpse"
  2409. NEWHUM.Health = 0
  2410. NEWHUM.MaxHealth = 0
  2411. NEWHUM.PlatformStand = true
  2412. NEWHUM.Parent = CLONE
  2413. NEWHUM.DisplayDistanceType = "None"
  2414. Scan(chrclone:GetChildren())
  2415. local ch = Character2:GetChildren()
  2416. local i
  2417. for i = 1, #ch do
  2418. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  2419. ch[i]:remove()
  2420. end
  2421. end
  2422.  
  2423. Character2 = chrclone
  2424. local Torso2 = Character2.Torso
  2425. local movevector = Vector3.new()
  2426. if Torso2 then
  2427. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  2428. local Head = Character2:FindFirstChild("Head")
  2429. if Head then
  2430. local Neck = Instance.new("Weld")
  2431. Neck.Name = "Neck"
  2432. Neck.Part0 = Torso2
  2433. Neck.Part1 = Head
  2434. Neck.C0 = CFrame.new(0, 1.5, 0)
  2435. Neck.C1 = CFrame.new()
  2436. Neck.Parent = Torso2
  2437. if Headless == true then
  2438. Head.Transparency = 1
  2439. Head:ClearAllChildren()
  2440. end
  2441. end
  2442. local Limb = Character2:FindFirstChild("Right Arm")
  2443. if Limb then
  2444. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  2445. local Joint = Instance.new("Glue")
  2446. Joint.Name = "RightShoulder"
  2447. Joint.Part0 = Torso2
  2448. Joint.Part1 = Limb
  2449. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2450. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2451. Joint.Parent = Torso2
  2452. local B = Instance.new("Part")
  2453. B.TopSurface = 0
  2454. B.BottomSurface = 0
  2455. B.formFactor = "Symmetric"
  2456. B.Size = Vector3.new(1, 1, 1)
  2457. B.Transparency = 1
  2458. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2459. B.Parent = Character2
  2460. local W = Instance.new("Weld")
  2461. W.Part0 = Limb
  2462. W.Part1 = B
  2463. W.C0 = CFrame.new(0, -0.5, 0)
  2464. W.Parent = Limb
  2465. end
  2466. local Limb = Character2:FindFirstChild("Left Arm")
  2467. if Limb then
  2468. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  2469. local Joint = Instance.new("Glue")
  2470. Joint.Name = "LeftShoulder"
  2471. Joint.Part0 = Torso2
  2472. Joint.Part1 = Limb
  2473. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2474. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2475. Joint.Parent = Torso2
  2476. local B = Instance.new("Part")
  2477. B.TopSurface = 0
  2478. B.BottomSurface = 0
  2479. B.formFactor = "Symmetric"
  2480. B.Size = Vector3.new(1, 1, 1)
  2481. B.Transparency = 1
  2482. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2483. B.Parent = Character2
  2484. local W = Instance.new("Weld")
  2485. W.Part0 = Limb
  2486. W.Part1 = B
  2487. W.C0 = CFrame.new(0, -0.5, 0)
  2488. W.Parent = Limb
  2489. end
  2490. local Limb = Character2:FindFirstChild("Right Leg")
  2491. if Limb then
  2492. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  2493. local Joint = Instance.new("Glue")
  2494. Joint.Name = "RightHip"
  2495. Joint.Part0 = Torso2
  2496. Joint.Part1 = Limb
  2497. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2498. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  2499. Joint.Parent = Torso2
  2500. local B = Instance.new("Part")
  2501. B.TopSurface = 0
  2502. B.BottomSurface = 0
  2503. B.formFactor = "Symmetric"
  2504. B.Size = Vector3.new(1, 1, 1)
  2505. B.Transparency = 1
  2506. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2507. B.Parent = Character2
  2508. local W = Instance.new("Weld")
  2509. W.Part0 = Limb
  2510. W.Part1 = B
  2511. W.C0 = CFrame.new(0, -0.5, 0)
  2512. W.Parent = Limb
  2513. end
  2514. local Limb = Character2:FindFirstChild("Left Leg")
  2515. if Limb then
  2516. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  2517. local Joint = Instance.new("Glue")
  2518. Joint.Name = "LeftHip"
  2519. Joint.Part0 = Torso2
  2520. Joint.Part1 = Limb
  2521. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2522. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  2523. Joint.Parent = Torso2
  2524. local B = Instance.new("Part")
  2525. B.TopSurface = 0
  2526. B.BottomSurface = 0
  2527. B.formFactor = "Symmetric"
  2528. B.Size = Vector3.new(1, 1, 1)
  2529. B.Transparency = 1
  2530. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  2531. B.Parent = Character2
  2532. local W = Instance.new("Weld")
  2533. W.Part0 = Limb
  2534. W.Part1 = B
  2535. W.C0 = CFrame.new(0, -0.5, 0)
  2536. W.Parent = Limb
  2537. end
  2538. local Bar = Instance.new("Part")
  2539. Bar.TopSurface = 0
  2540. Bar.BottomSurface = 0
  2541. Bar.formFactor = "Symmetric"
  2542. Bar.Size = Vector3.new(1, 1, 1)
  2543. Bar.Transparency = 1
  2544. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  2545. Bar.Parent = Character2
  2546. local Weld = Instance.new("Weld")
  2547. Weld.Part0 = Torso2
  2548. Weld.Part1 = Bar
  2549. Weld.C0 = CFrame.new(0, 0.5, 0)
  2550. Weld.Parent = Torso2
  2551. end
  2552. Character2.Parent = Weapon
  2553. if movevector ~= Vector3.new() then
  2554. for i = 1, 10 do
  2555. Torso2.Velocity = movevector * Velocity
  2556. end
  2557. end
  2558. Character2.Name = "Corpse"
  2559. return Character2, Torso2
  2560. end
  2561.  
  2562. function Banish(Foe)
  2563. if Foe then
  2564. coroutine.resume(coroutine.create(function()
  2565. --if game.Players:FindFirstChild(Foe.Name) then
  2566. table.insert(TOBANISH,Foe.Name)
  2567. printbye(Foe.Name)
  2568. --end
  2569. Foe.Archivable = true
  2570. local CLONE = Foe:Clone()
  2571. Foe:Destroy()
  2572. CLONE.Parent = Effects
  2573. CLONE:BreakJoints()
  2574. local MATERIALS = {"Glass","Neon"}
  2575. for _, c in pairs(CLONE:GetDescendants()) do
  2576. if c:IsA("BasePart") then
  2577. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  2578. CreateSound(340722848, c, 10, 1, false)
  2579. end
  2580. c.Anchored = true
  2581. c.Transparency = c.Transparency + 0.2
  2582. c.Material = MATERIALS[MRANDOM(1,2)]
  2583. c.Color = C3(.5,0,.5)
  2584. if c.ClassName == "MeshPart" then
  2585. c.TextureID = ""
  2586. end
  2587. if c:FindFirstChildOfClass("SpecialMesh") then
  2588. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  2589. end
  2590. if c:FindFirstChildOfClass("Decal") then
  2591. c:FindFirstChildOfClass("Decal"):remove()
  2592. end
  2593. c.Name = "Banished"
  2594. c.CanCollide = false
  2595. else
  2596. c:remove()
  2597. end
  2598. end
  2599. local A = false
  2600. for i = 1, 35 do
  2601. if A == false then
  2602. A = true
  2603. elseif A == true then
  2604. A = false
  2605. end
  2606. for _, c in pairs(CLONE:GetDescendants()) do
  2607. if c:IsA("BasePart") then
  2608. c.Anchored = true
  2609. c.Material = MATERIALS[MRANDOM(1,2)]
  2610. c.Transparency = c.Transparency + 0.8/35
  2611. if A == false then
  2612. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2613. elseif A == true then
  2614. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  2615. end
  2616. end
  2617. end
  2618. Swait()
  2619. end
  2620. CLONE:remove()
  2621. end))
  2622. end
  2623. end
  2624.  
  2625. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  2626. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  2627. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  2628. if HITFLOOR.Name == "BloodPuddle" then
  2629. local DIST = (Position - HITFLOOR.Position).Magnitude
  2630. 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
  2631. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  2632. end
  2633. elseif HITFLOOR.Anchored == true then
  2634. do
  2635. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Royal purple", "BloodPuddle", VT(2, 0, 2))
  2636. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  2637. MakeForm(BLOOD, "Cyl")
  2638. coroutine.resume(coroutine.create(function()
  2639. Swait(75)
  2640. while true do
  2641. Swait()
  2642. BLOOD.Size = BLOOD.Size - VT(0.02, 0, 0.02)
  2643. if BLOOD.Size.Z < 0.051 then
  2644. BLOOD:remove()
  2645. break
  2646. end
  2647. end
  2648. end))
  2649. end
  2650. end
  2651. end
  2652. end
  2653.  
  2654. function SprayBlood(POSITION, DIRECTION, BloodSize)
  2655. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Royal purple", "BloodPuddle", VT(1, 1, 1), false)
  2656. BLOOD.CFrame = CF(POSITION)
  2657. MakeForm(BLOOD, "Ball")
  2658. local bv = Instance.new("BodyVelocity", BLOOD)
  2659. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2660. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  2661. bv.Name = "MOVE"
  2662. Debris:AddItem(bv, 0.05)
  2663. coroutine.resume(coroutine.create(function()
  2664. local HASTOUCHEDGROUND = false
  2665. local HIT = BLOOD.Touched:Connect(function(hit)
  2666. if hit.Anchored == true then
  2667. HASTOUCHEDGROUND = true
  2668. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  2669. end
  2670. end)
  2671. wait(5)
  2672. if HASTOUCHEDGROUND == false then
  2673. BLOOD:remove()
  2674. end
  2675. end))
  2676. end
  2677. function ApplyAoE3(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2678. local CHILDREN = workspace:GetDescendants()
  2679. for index, CHILD in pairs(CHILDREN) do
  2680. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2681. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2682. if HUM then
  2683. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2684. if TORSO then
  2685. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2686. if INSTAKILL == true then
  2687. CHILD:BreakJoints()
  2688. else
  2689. local DMG = MRANDOM(MINDMG,MAXDMG)
  2690. ApplyDamage(HUM,DMG,TORSO)
  2691. end
  2692. if FLING > 0 then
  2693. for _, c in pairs(CHILD:GetChildren()) do
  2694. if c:IsA("BasePart") then
  2695. local bv = Instance.new("BodyVelocity")
  2696. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2697. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2698. bv.Parent = c
  2699. Debris:AddItem(bv,0.05)
  2700. end
  2701. end
  2702. end
  2703. end
  2704. end
  2705. end
  2706. end
  2707. end
  2708. end
  2709.  
  2710. function ApplyDamage(Humanoid, Damage, TorsoPart)
  2711. local defence = Instance.new("BoolValue", Humanoid.Parent)
  2712. defence.Name = "HitBy" .. Player.Name
  2713. game:GetService("Debris"):AddItem(defence, 0.001)
  2714. Damage = Damage * DAMAGEMULTIPLIER
  2715. if Humanoid.Health ~= 0 then
  2716. local CritChance = MRANDOM(1, 100)
  2717. if Damage > Humanoid.Health then
  2718. Damage = math.ceil(Humanoid.Health)
  2719. if Damage == 0 then
  2720. Damage = 0.1
  2721. end
  2722. end
  2723. Humanoid.Health = Humanoid.Health - Damage
  2724. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  2725. end
  2726. end
  2727.  
  2728. function ApplyAoE(POSITION,RANGE,ISBANISH)
  2729. local CHILDREN = workspace:GetDescendants()
  2730. for index, CHILD in pairs(CHILDREN) do
  2731. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2732. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2733. if HUM then
  2734. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2735. if TORSO then
  2736. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2737. if ISBANISH == true then
  2738. Banish(CHILD)
  2739. else
  2740. if ISBANISH == "Gravity" then
  2741. HUM.PlatformStand = true
  2742. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2743. local grav = Instance.new("BodyPosition",TORSO)
  2744. grav.D = 15
  2745. grav.P = 20000
  2746. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2747. grav.position = TORSO.Position
  2748. grav.Name = "V3BanishForce"..Player.Name
  2749. else
  2750. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2751. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2752. end
  2753. else
  2754. HUM.PlatformStand = false
  2755. end
  2756. end
  2757. elseif ISBANISH == "Gravity" then
  2758. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2759. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2760. HUM.PlatformStand = false
  2761. end
  2762. end
  2763. end
  2764. end
  2765. end
  2766. end
  2767. end
  2768.  
  2769. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  2770. local dmg = math.random(min,max)
  2771. for i,v in ipairs(workspace:GetChildren()) do
  2772. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  2773. local body = v:GetChildren()
  2774. for part = 1, #body do
  2775. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  2776. if(body[part].Position - position).Magnitude < radius then
  2777. if v.ClassName == "Model" then
  2778. if v:FindFirstChildOfClass("Humanoid") then
  2779. if CanBeDodgedByJumping == true then
  2780. if body[part].Position.Y < position.Y+5 then
  2781. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  2782. end
  2783. else
  2784. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  2785. end
  2786. local bv = Instance.new("BodyVelocity")
  2787. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2788. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  2789. bv.Parent = body[part]
  2790. Debris:AddItem(bv,0.2)
  2791. end
  2792. end
  2793. end
  2794. end
  2795. end
  2796. end
  2797. if v:FindFirstChild("HitBy"..Player.Name) then
  2798. v:FindFirstChild("HitBy"..Player.Name):remove()
  2799. end
  2800. end
  2801. end
  2802.  
  2803.  
  2804. --//=================================\\
  2805. --|| ATTACK FUNCTIONS AND STUFF
  2806. --\\=================================//
  2807.  
  2808. function ShadowCloak()
  2809. if ANIM ~= "Fall" and ANIM ~= "Jump" then
  2810. ATTACK = true
  2811. Rooted = false
  2812. UNANCHOR = false
  2813. FADERS = false
  2814. coroutine.resume(coroutine.create(function()
  2815. coroutine.resume(coroutine.create(function()
  2816. for i=1, 25 do
  2817. Swait()
  2818. RootPart.CFrame = RootPart.CFrame*CF(0,(25-i)/25,0)
  2819. end
  2820. end))
  2821. repeat
  2822. Swait()
  2823. BLADE.Transparency = Torso.Transparency
  2824. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.1 * COS(SINE / 12)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  2825. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,5))), 1 / Animation_Speed)
  2826. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(-15+MRANDOM(-5,5)), RAD(35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2827. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25+MRANDOM(-5,5)), RAD(15+MRANDOM(-5,5)), RAD(-35)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2828. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.1) * ANGLES(RAD(0), RAD(85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(-12)), 1 / Animation_Speed)
  2829. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.1) * ANGLES(RAD(0), RAD(-85), RAD(MRANDOM(-5,5))) * ANGLES(RAD(-1), RAD(0), RAD(12)), 1 / Animation_Speed)
  2830. until ATTACK == false
  2831. end))
  2832. for i = 1, 50 do
  2833. Swait()
  2834. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  2835. for index, CHILD in pairs(Character:GetChildren()) do
  2836. if CHILD:IsA("BasePart") then
  2837. CHILD.Transparency = CHILD.Transparency + 1/50
  2838. elseif CHILD:IsA("Accessory") then
  2839. CHILD.Handle.Transparency = CHILD.Handle.Transparency + 1/50
  2840. end
  2841. end
  2842. end
  2843. for i = 1, 25 do
  2844. Swait()
  2845. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  2846. end
  2847. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,12,0)) * ANGLES(RAD(0), RAD(RootPart.Orientation.Y), RAD(0))
  2848. for i = 1, 5 do
  2849. WACKYEFFECT({Time = 50, EffectType = "Round Slash", Size = VT(0,0,0), Size2 = VT(0.3,0,0.3), Transparency = 0, Transparency2 = 1, CFrame = CF(RootPart.Position) * ANGLES(RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360)), RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(0,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = true, Boomerang = 0, SizeBoomerang = 10})
  2850. end
  2851. ApplyAoE(Torso.Position,15,12,22,150,false)
  2852. CreateSound(331666014,Torso,5,1,false)
  2853. for i = 1, 12 do
  2854. Swait()
  2855. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  2856. end
  2857. for i = 1, 50 do
  2858. Swait()
  2859. CharacterFade(C3(.5,0,.5),12,R_RANDOM(Torso.CFrame,1.25).p)
  2860. for index, CHILD in pairs(Character:GetChildren()) do
  2861. if CHILD:IsA("BasePart") then
  2862. CHILD.Transparency = CHILD.Transparency - 1/50
  2863. elseif CHILD:IsA("Accessory") then
  2864. CHILD.Handle.Transparency = CHILD.Handle.Transparency - 1/50
  2865. end
  2866. end
  2867. end
  2868. UNANCHOR = true
  2869. ATTACK = false
  2870. Rooted = false
  2871. FADERS = true
  2872. end
  2873. end
  2874.  
  2875. function Maniac_Wave()
  2876. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  2877. if HITFLOOR ~= nil then
  2878. ATTACK = true
  2879. Rooted = false
  2880. local GYRO = IT("BodyGyro",RootPart)
  2881. GYRO.D = 100
  2882. GYRO.P = 2000
  2883. GYRO.MaxTorque = VT(0,4000000,0)
  2884. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2885. for i=0, 1, 0.1 / Animation_Speed do
  2886. Swait()
  2887. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  2888. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2889. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2890. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2891. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2892. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0.3*SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2893. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2894. end
  2895. GYRO:remove()
  2896. coroutine.resume(coroutine.create(function()
  2897. local PITS = {}
  2898. local FRAME = RootPart.CFrame
  2899. for i = 1, 120 do
  2900. Swait()
  2901. local CFRAME = FRAME*CF(MRANDOM(-10,10)/10,0,5-(i)).p
  2902. local HITFLOOR,HITPOS,NORMAL = Raycast(CFRAME, (CF(CFRAME, CFRAME + VT(0, -1, 0))).lookVector, 25, Character)
  2903. if HITFLOOR ~= nil then
  2904. if MRANDOM(1, 2) == 1 then
  2905. local ICICLE = IT("CornerWedgePart",Effects)
  2906. ICICLE.Locked = true
  2907. ICICLE.CanCollide = false
  2908. ICICLE.Anchored = true
  2909. ICICLE.BrickColor = BRICKC"Really black"
  2910. ICICLE.Material = "Marble"
  2911. ICICLE.Size = VT(i/10,i/2,i/10)
  2912. ICICLE.CFrame = CF(HITPOS)*CF(MRANDOM(-i/10,i/10),0,MRANDOM(-i/10,i/10))*ANGLES(RAD(MRANDOM(-25,25)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-25,25)))
  2913. table.insert(PITS,ICICLE)
  2914. CreateSound("588693156", ICICLE, 3, MRANDOM(8,12)/10, false)
  2915. ApplyAoE(ICICLE.Position,ICICLE.Size.X,12.5,30,25,false)
  2916. end
  2917. else
  2918. break
  2919. end
  2920. end
  2921. wait(2)
  2922. coroutine.resume(coroutine.create(function()
  2923. for i = 1, 10 do
  2924. Swait()
  2925. for e=1,#PITS do
  2926. if PITS[e]~=nil then
  2927. local E = PITS[e]
  2928. E.Transparency = E.Transparency + 0.1
  2929. end
  2930. end
  2931. end
  2932. for e=1,#PITS do
  2933. if PITS[e]~=nil then
  2934. local E = PITS[e]
  2935. E:remove()
  2936. end
  2937. end
  2938. end))
  2939. end))
  2940. ATTACK = false
  2941. Rooted = false
  2942. end
  2943. end
  2944.  
  2945. function Prison_Key()
  2946. if Mouse.Target ~= nil then
  2947. if Mouse.Target.Parent ~= Character and Mouse.Target.Parent.Parent ~= Character and Mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  2948. local HUM = Mouse.Target.Parent:FindFirstChildOfClass("Humanoid")
  2949. local TORSO = HUM.Parent:FindFirstChild("Torso") or HUM.Parent:FindFirstChild("UpperTorso")
  2950. local GYRO = IT("BodyGyro",RootPart)
  2951. GYRO.D = 750
  2952. GYRO.P = 20000
  2953. GYRO.MaxTorque = VT(0,40000000,0)
  2954. local grav = Instance.new("BodyPosition",TORSO)
  2955. grav.D = 15
  2956. grav.P = 20000
  2957. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2958. grav.position = TORSO.Position
  2959. local GYRO2 = IT("BodyGyro",TORSO)
  2960. GYRO2.D = 750
  2961. GYRO2.P = 20000
  2962. GYRO2.MaxTorque = VT(0,40000000,0)
  2963. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  2964. grav.Name = "Jail"
  2965. local LOCKPARTS = {}
  2966. ATTACK = true
  2967. Rooted = false
  2968. local LOCK = IT("Model",Effects)
  2969. LOCK.Name = "Lock"
  2970. local LOCK2 = IT("Model",LOCK)
  2971. LOCK2.Name = "Metal"
  2972. chatfunc("Good punishment for you....")
  2973. --CREATE LOCK--
  2974. local BASE = CreatePart(3, LOCK, "Glass", 0, 0, "Really black", "Keylock", VT(3, 2.5, 1))
  2975. LOCK.PrimaryPart = BASE
  2976. BASE.CFrame = CF(TORSO.Position,RootPart.Position)*CF(0,0,-4)
  2977. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Grey stone", "Keylock", VT(3, 1, 3))
  2978. PRT.CFrame = BASE.CFrame*CF(0,-1.25,0)*ANGLES(RAD(90),RAD(0),RAD(0))
  2979. MakeForm(PRT,"Cyl")
  2980. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Grey stone", "Hole", VT(1, 1, 1))
  2981. PRT.Color = C3(0,0,0)
  2982. PRT.CFrame = BASE.CFrame*CF(0,0.3,-0.01)*ANGLES(RAD(90),RAD(0),RAD(0))
  2983. MakeForm(PRT,"Cyl")
  2984. local PRT = CreatePart(3, LOCK, "Glass", 0, 0, "Grey stone", "Hole", VT(0.5, 1, 1))
  2985. PRT.Color = C3(0,0,0)
  2986. PRT.CFrame = BASE.CFrame*CF(0,-0.2,-0.01)
  2987. for i = 1, 45 do
  2988. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Really black", "Keylock", VT(0.5, 0.5, 0.5))
  2989. PRT.CFrame = BASE.CFrame*CF(0,2,0)*ANGLES(RAD(0),RAD(0),RAD(-90+(360/90*i)))*CF(0,1,0)
  2990. end
  2991. local PRT = CreatePart(3, LOCK2, "Glass", 0, 0, "Really black", "Keylock", VT(0.5, 0.5, 0.5))
  2992. PRT.CFrame = BASE.CFrame*CF(0,1.5,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0)
  2993. LOCK2.PrimaryPart = PRT
  2994. ---------------
  2995. local CHILDREN = LOCK:GetDescendants()
  2996. for index, CHILD in pairs(CHILDREN) do
  2997. if CHILD:IsA("BasePart") then
  2998. CHILD.Transparency = 1
  2999. end
  3000. end
  3001. for i = 1, 75 do
  3002. LOCK:SetPrimaryPartCFrame(CF(TORSO.Position,RootPart.Position)*CF(0,0,-4))
  3003. Swait()
  3004. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3005. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3006. local CHILDREN = LOCK:GetDescendants()
  3007. for index, CHILD in pairs(CHILDREN) do
  3008. if CHILD:IsA("BasePart") then
  3009. CHILD.Transparency = CHILD.Transparency - 1/75
  3010. end
  3011. end
  3012. end
  3013. HUM.DisplayDistanceType = "None"
  3014. local KEY = IT("Model",Effects)
  3015. KEY.Name = "Key"
  3016. --CREATE KEY--
  3017. local KBASE = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "KeyBase", VT(0.1, 1, 0.1),false)
  3018. KEY.PrimaryPart = KBASE
  3019. KBASE.CFrame = RightArm.CFrame*CF(0,-2.1,0)*ANGLES(RAD(0),RAD(90),RAD(0))
  3020. local WLD = weldBetween(RightArm,KBASE)
  3021. for i = 1, 45 do
  3022. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.1, 0.1, 0.1),false)
  3023. PRT.CFrame = KBASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD((360/45*i)))*CF(0,0.25,0)
  3024. weldBetween(KBASE,PRT)
  3025. end
  3026. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.3, 0.1, 0.1),false)
  3027. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.45,0)
  3028. weldBetween(KBASE,PRT)
  3029. local PRT = CreatePart(3, KEY, "Neon", 0, 0, "Alder", "Key", VT(0.3, 0.1, 0.1),false)
  3030. PRT.CFrame = KBASE.CFrame*CF(-0.15,-0.25,0)
  3031. weldBetween(KBASE,PRT)
  3032. --------------
  3033. Rooted = true
  3034. Pose("Prepare key",1.5,1.2,false,GYRO,TORSO)
  3035. coroutine.resume(coroutine.create(function()
  3036. for i = 1, 10 do
  3037. Swait()
  3038. GYRO2.cframe = CF(TORSO.Position,RootPart.Position)
  3039. GYRO.cframe = CF(RootPart.Position,TORSO.Position)
  3040. end
  3041. CreateSound(1149318312,BASE,5,1,false)
  3042. CreateSound(160772554,BASE,3,1,false)
  3043. LOCK2:SetPrimaryPartCFrame(BASE.CFrame*CF(0,0.8,0)*ANGLES(RAD(0),RAD(0),RAD(90))*CF(0,1,0))
  3044. for i = 1, 4 do
  3045. WACKYEFFECT({Time = 35, EffectType = "Crystal", Size = VT(1,1,1), Size2 = VT(0,15,0), Transparency = 0, Transparency2 = 1, CFrame = BASE.CFrame*CF(1,1.45,0)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360))), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3046. end
  3047. WACKYEFFECT({Time = 35, EffectType = "Sphere", Size = VT(0,0,0), Size2 = VT(1,1,1)*25, Transparency = 0, Transparency2 = 1, CFrame = TORSO.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Alder".Color, SoundID = nil, SoundPitch = MRANDOM(8,12)/10, SoundVolume = 5})
  3048. wait(1)
  3049. TORSO.Parent.Parent = LOCK
  3050. for i = 1, 75 do
  3051. Swait()
  3052. local CHILDREN = KEY:GetDescendants()
  3053. for index, CHILD in pairs(CHILDREN) do
  3054. if CHILD:IsA("BasePart") then
  3055. CHILD.Transparency = i/25
  3056. end
  3057. end
  3058. local CHILDREN = LOCK:GetDescendants()
  3059. for index, CHILD in pairs(CHILDREN) do
  3060. if CHILD:IsA("BasePart") and CHILD.Name ~= "HumanoidRootPart" then
  3061. CHILD.Transparency = CHILD.Transparency + 1/75
  3062. elseif CHILD.ClassName == "Decal" then
  3063. CHILD.Transparency = CHILD.Transparency + 1/75
  3064. end
  3065. end
  3066. end
  3067. TORSO.Parent:ClearAllChildren()
  3068. KEY:remove()
  3069. LOCK:remove()
  3070. end))
  3071. chatfunc("CLOSE YOU'RE MOUTH!")
  3072. Pose("Turn key",0.8,1.2,false,GYRO,TORSO)
  3073. GYRO:remove()
  3074. ATTACK = false
  3075. Rooted = false
  3076. end
  3077. end
  3078. end
  3079.  
  3080.  
  3081. function Taunt()
  3082. ATTACK = true
  3083. Rooted = false
  3084. TAUNT = true
  3085. for i=0, 0.1, 0.1 / Animation_Speed do
  3086. Swait()
  3087. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3088. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3089. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3090. end
  3091. for i=0, 3, 0.1 / Animation_Speed do
  3092. Swait()
  3093. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3094. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3095. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(170), RAD(0), RAD(15)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3096. end
  3097. CreateSound(363808674, Torso, 10, 1.3)
  3098. for i=0, 1, 0.1 / Animation_Speed do
  3099. Swait()
  3100. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5), RAD(0), RAD(120)), 3 / Animation_Speed)
  3101. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(150), RAD(0), RAD(-25)) * RIGHTSHOULDERC0, 3/ Animation_Speed)
  3102. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(230), RAD(0), RAD(35)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3103. end
  3104. WACKYEFFECT({EffectType = "Block", Size = VT(6,6,6), Size2 = VT(15,15,15), Transparency = 0, Transparency2 = 1, CFrame = Torso.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = 1, SoundVolume = 5})
  3105. CreateSound(649634100, Torso, 10, 0.8)
  3106. for i=0, 0.01, 0.1 / Animation_Speed do
  3107. Swait()
  3108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 3 / Animation_Speed)
  3109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, 0.5) * ANGLES(RAD(0), RAD(45), RAD(-12)) * ANGLES(RAD(-45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3111. end
  3112. ATTACK = false
  3113. Rooted = false
  3114. TAUNT = false
  3115. end
  3116.  
  3117. function Shriek()
  3118. ATTACK = true
  3119. Rooted = false
  3120. local TAUNTS = {"368794227","368794903","368794985"}
  3121. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 25*SIZE, Character)
  3122. for i=0, 2.5, 0.1 / Animation_Speed do
  3123. Swait()
  3124. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0*SIZE + 0.05 * COS(SINE / 12)*SIZE) * ANGLES(RAD(15), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3125. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3126. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(160), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3127. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(160), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3128. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(-15)), 0.15 / Animation_Speed)
  3129. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-15)), 0.15 / Animation_Speed)
  3130. end
  3131. Rooted = true
  3132. chatfunc("ARRRRRRRRGHHHHHHHH.")
  3133. CreateSound(TAUNTS[MRANDOM(1,#TAUNTS)], Effects, 10, 1)
  3134. for i=0, 4.5, 0.1 / Animation_Speed do
  3135. Swait()
  3136. ApplyAoE(HITPOS,38,.4,.7,5,false)
  3137. MagicSphere3(VT(0,0,0),5,Head.CFrame,"Pearl",VT(15,15,15))
  3138. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.4*SIZE, -0*SIZE + 0.05 * COS(SINE / 12)) * ANGLES(RAD(55), RAD(0), RAD(0)), 0.7 / Animation_Speed)
  3139. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(-35+MRANDOM(-5,5)), RAD(MRANDOM(-5,5)), RAD(MRANDOM(-5,1))), 1)
  3140. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-15), RAD(45), RAD(12)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  3141. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE, 0) * ANGLES(RAD(-15), RAD(-45), RAD(-12)) * LEFTSHOULDERC0, 0.75 / Animation_Speed)
  3142. RightHip.C0 = Clerp(RightHip.C0, CF(1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(-15), RAD(15)), 0.75 / Animation_Speed)
  3143. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1.1*SIZE, -1*SIZE - 0.05 * COS(SINE / 12)*SIZE, -0.4*SIZE) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(15), RAD(-55)), 0.75 / Animation_Speed)
  3144. end
  3145. ATTACK = false
  3146. Rooted = false
  3147. end
  3148.  
  3149. function Wall()
  3150. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 8, Character)
  3151. if HITFLOOR ~= nil then
  3152. if HITFLOOR.Anchored == true then
  3153. local WALL = HITFLOOR:Clone()
  3154. WALL.Size = VT(45,45,5)
  3155. WALL.Parent = Effects
  3156. WALL.Name = "Wall"
  3157. WALL.CFrame = RootPart.CFrame*CF(0,-65/2.1,-5)*ANGLES(RAD(-15),RAD(0),RAD(0))
  3158. CreateSound(130972023,WALL,5,0.8,false)
  3159. ATTACK = true
  3160. Rooted = true
  3161. local HIT = WALL.Touched:Connect(function(hit)
  3162. if hit.Parent ~= Character then
  3163. hit:BreakJoints()
  3164. end
  3165. end)
  3166. coroutine.resume(coroutine.create(function()
  3167. WACKYEFFECT({Time = 35, EffectType = "Box", Size = WALL.Size, Size2 = WALL.Size*2, Transparency = 0, Transparency2 = 1, CFrame = WALL.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = BRICKC"Lavender".Color, SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3168. for i = 1, 90 do
  3169. Swait()
  3170. WALL.CFrame = WALL.CFrame*CF(0,0.5,0)
  3171. end
  3172. HIT:disconnect()
  3173. wait(5)
  3174. for i = 1, 46 do
  3175. Swait()
  3176. WALL.CFrame = WALL.CFrame*CF(0,-1,0)
  3177. end
  3178. WALL:remove()
  3179. end))
  3180. Pose("RightArmUp2",1.5,1.2,true)
  3181. ATTACK = false
  3182. Rooted = false
  3183. end
  3184. end
  3185. end
  3186.  
  3187. function Teleport()
  3188. ATTACK = true
  3189. Rooted = false
  3190. for i=0, 0.5, 0.1 / Animation_Speed do
  3191. Swait()
  3192. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3193. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3194. end
  3195. for e = 1, #BODY do
  3196. if BODY[e] ~= nil then
  3197. local STUFF = BODY[e]
  3198. local PART = STUFF[1]
  3199. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  3200. local PRT = PART:Clone()
  3201. PRT.Anchored = true
  3202. PRT.CanCollide = false
  3203. PRT.Material = "Neon"
  3204. PRT.Color = C3(1,1,1)
  3205. PRT.Name = "WarpEffect"
  3206. PRT.Parent = Effects
  3207. PRT.CFrame = PART.CFrame
  3208. PRT:BreakJoints()
  3209. if PRT:FindFirstChildOfClass("Sound") then
  3210. PRT:FindFirstChildOfClass("Sound"):remove()
  3211. end
  3212. if PRT:FindFirstChildOfClass("Decal") then
  3213. PRT:FindFirstChildOfClass("Decal"):remove()
  3214. end
  3215. coroutine.resume(coroutine.create(function()
  3216. for i = 1, 100 do
  3217. Swait()
  3218. PRT.Transparency = PRT.Transparency + 1/100
  3219. end
  3220. PRT:remove()
  3221. end))
  3222. end
  3223. end
  3224. end
  3225. CreateSound(217767125, Torso, 10, 1)
  3226. local POS = RootPart.Orientation
  3227. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  3228. RootPart.Orientation = POS
  3229. RootJoint.Parent = RootPart
  3230. for i=0, 0.5, 0.1 / Animation_Speed do
  3231. Swait()
  3232. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3233. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  3234. end
  3235. for i=0, 0.1, 0.1 / Animation_Speed do
  3236. Swait()
  3237. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  3238. end
  3239. ATTACK = false
  3240. Rooted = false
  3241. end
  3242.  
  3243. function GoldenPunch()
  3244. ATTACK = true
  3245. Rooted = false
  3246. local SPEED = Speed
  3247. Speed = 8
  3248. for i=0, 4, 1 / Animation_Speed do
  3249. Swait()
  3250. turnto(Mouse.Hit.p)
  3251. chatfunc("HOW ABOUT THIS?!")
  3252. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really black",VT(-1/15,-1/15,-1/15))
  3253. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Really black",VT(-2/15,-2/15,-2/15))
  3254. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(-85)), 0.15 / Animation_Speed)
  3255. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(85)), 0.2 / Animation_Speed)
  3256. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90+(MRANDOM(-45,45)/10)), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3257. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(-85)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3258. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3259. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3260. end
  3261. for i=0, 0.15, 1 / Animation_Speed do
  3262. Swait()
  3263. turnto(Mouse.Hit.p)
  3264. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(65)), 1 / Animation_Speed)
  3265. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 1 / Animation_Speed)
  3266. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(65)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3267. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-20), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3268. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3269. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3270. end
  3271. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really black", "Punch", VT(50,50,50),false)
  3272. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  3273. PART.Shape = "Ball"
  3274. local bv = Instance.new("BodyVelocity")
  3275. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3276. bv.velocity = RootPart.CFrame.lookVector*600
  3277. bv.Parent = PART
  3278. bv.Name = "PROJECTILEVELOCITY"
  3279. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(2.5,0.2,2.5))
  3280. CreateWave(VT(1,5,1),55,RootPart.CFrame * CF(0,0,-6)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(3,0.2,3))
  3281. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,-1,"Really black",VT(2,0.6,2))
  3282. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really black",VT(2.2,0.6,2.2))
  3283. CreateSound("824687369", Effects, 10, MRANDOM(10, 12) / 10)
  3284. CreateSound("159882598", Effects, 10, MRANDOM(10, 10) / 10)
  3285. coroutine.resume(coroutine.create(function()
  3286. for i = 1, 10 do
  3287. Swait()
  3288. PART.Transparency = PART.Transparency + 0.2/10
  3289. PART.Size = PART.Size + VT(5,5,5)
  3290. ApplyAoE3(PART.Position,35,10,99999,99999,false)
  3291. end
  3292. PART:Destroy()
  3293. end))
  3294. for i=0, 1, 0.1 / Animation_Speed do
  3295. Swait()
  3296. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, -0.2 * Player_Size + 0.05 * COS(SINE / 12) * Player_Size) * ANGLES(RAD(15), RAD(0), RAD(95)), 2 / Animation_Speed)
  3297. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(25), RAD(0), RAD(35)), 3 / Animation_Speed)
  3298. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 3 / Animation_Speed)
  3299. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-70), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 3 / Animation_Speed)
  3300. RightHip.C0 = Clerp(RightHip.C0, CF(1 * Player_Size, -0.8 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-15), RAD(0), RAD(0)), 3 / Animation_Speed)
  3301. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * Player_Size, -1 * Player_Size, -0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 3 / Animation_Speed)
  3302. end
  3303. Speed = SPEED
  3304. ATTACK = false
  3305. Rooted = false
  3306. end
  3307. function kiss()
  3308. ATTACK = true
  3309. Rooted = false
  3310. local HASGRABBED = false
  3311. local GRABTARGET = nil
  3312. local TORS = nil
  3313. local WELD = nil
  3314. for i=0, 1, 0.1 / Animation_Speed do
  3315. Swait()
  3316. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3317. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3318. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3319. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(120), RAD(0), RAD(-25)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3320. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3321. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3322. end
  3323. local GRAB1 = RightArm.Touched:Connect(function(hit)
  3324. if hit.Parent:FindFirstChild("Humanoid") then
  3325. if hit.Parent.Humanoid.Health ~= 0 then
  3326. UNANCHOR = false
  3327. RootPart.Anchored = true
  3328. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  3329. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  3330. WELD = weldBetween(RootPart,TORS)
  3331. HASGRABBED = true
  3332. Rooted = true
  3333. end
  3334. end
  3335. end)
  3336. local GRAB2 = LeftArm.Touched:Connect(function(hit)
  3337. if hit.Parent:FindFirstChild("Humanoid") then
  3338. if hit.Parent.Humanoid.Health ~= 0 then
  3339. UNANCHOR = false
  3340. RootPart.Anchored = true
  3341. TORS = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  3342. TORS.CFrame = RootPart.CFrame * CF(0,0,-1.8) * ANGLES(RAD(0),RAD(180),RAD(0))
  3343. WELD = weldBetween(RootPart,TORS)
  3344. HASGRABBED = true
  3345. Rooted = true
  3346. end
  3347. end
  3348. end)
  3349. for i=0, 1, 0.1 / Animation_Speed do
  3350. Swait()
  3351. if HASGRABBED == true then
  3352. break
  3353. end
  3354. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3355. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3356. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3357. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3358. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3359. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3360. end
  3361. GRAB1:disconnect()
  3362. GRAB2:disconnect()
  3363. if HASGRABBED == true then
  3364. TORS.Anchored = false
  3365. GRABTARGET = TORS.Parent
  3366. HED = GRABTARGET:FindFirstChild("Head")
  3367. for i=0, 2, 0.1 / Animation_Speed do
  3368. Swait()
  3369. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3370. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3371. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3372. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3373. 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.15 / Animation_Speed)
  3374. 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.15 / Animation_Speed)
  3375. end
  3376. local heart = CreatePart(1, HED, "SmoothPlastic", 0, 0, "Really red", "Heart", VT(1,1,1), false)
  3377. local msh = CreateMesh("SpecialMesh", heart, "FileMesh", "431221914", "", VT(0.3, 0.3, 0.3), VT(0,0,0))
  3378. CreateWeldOrSnapOrMotor("Weld", HED, heart, HED,CF(0, -2, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  3379. local ECH = 0
  3380.  
  3381. for i=0, 8, 0.1 / Animation_Speed do
  3382. Swait()
  3383. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, -0.25, -0.25 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(22.5), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3384. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-17.5 - 2.5 * SIN(SINE / 12)), RAD(25 * SIN(SINE / 3)), RAD(0)), 0.5 / Animation_Speed)
  3385. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(35)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3386. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.35, 0.5, -1) * ANGLES(RAD(110), RAD(0), RAD(-35)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3387. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3388. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(22.5), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3389. end
  3390. WELD:remove()
  3391. end
  3392. UNANCHOR = true
  3393. ATTACK = false
  3394. Rooted = false
  3395. end
  3396.  
  3397.  
  3398.  
  3399. function Fury()
  3400. ATTACK = true
  3401. Rooted = false
  3402. if EQUIPPED == false then
  3403. Rooted = true
  3404. chatfunc("STOMP!")
  3405. for i = 0, 0.3, 0.1 / Animation_Speed do
  3406. Swait()
  3407. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0.01 * SIZE, -0.01 * SIZE) * ANGLES(RAD(-5), RAD(0), RAD(15)), 1 / Animation_Speed)
  3408. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  3409. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3410. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3411. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, 0.2 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(5), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3412. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(-5), RAD(-75), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3413. end
  3414. local TOUCH = RightLeg.Touched:Connect(function(HIT)
  3415. if HIT.Anchored == false and (HIT.Parent:FindFirstChildOfClass("Humanoid") or HIT.Parent.Parent:FindFirstChildOfClass("Humanoid")) then
  3416. HIT:BreakJoints()
  3417. end
  3418. end)
  3419. for i = 0, 0.1, 0.1 / Animation_Speed do
  3420. Swait()
  3421. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  3422. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  3423. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3424. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3425. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3426. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3427. end
  3428. local HITFLOOR, HITPOS = Raycast(RightLeg.Position, CF(RootPart.Position, RootPart.Position + VT(0, -1, 0)).lookVector, 2 * SIZE, Character)
  3429. if HITFLOOR then
  3430. for i = 1, 5 do
  3431. WACKYEFFECT({
  3432. Time = 25,
  3433. EffectType = "Wave",
  3434. Size = VT(0, 0, 5),
  3435. Size2 = VT(15 + i * 3, 0, 15 + i * 3),
  3436. Transparency = 0.7,
  3437. Transparency2 = 1,
  3438. CFrame = CF(RightLeg.CFrame * CF(0, -1.05 * SIZE, 0).p) * ANGLES(RAD(0), RAD(MRANDOM(0, 360)), RAD(0)),
  3439. MoveToPos = nil,
  3440. RotationX = 0,
  3441. RotationY = 0,
  3442. RotationZ = 0,
  3443. Material = "Neon",
  3444. Color = C3(1, 1, 1),
  3445. SoundID = nil,
  3446. SoundPitch = nil,
  3447. SoundVolume = nil
  3448. })
  3449. end
  3450. ApplyAoE(HITPOS, 25, 35, 45, 45, false)
  3451. CreateSound(765590102, RightLeg, 6, 1, false)
  3452. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 10, VT(2, 2, 2), 5, 75, false)
  3453. end
  3454. TOUCH:Disconnect()
  3455. for i = 0, 0.2, 0.1 / Animation_Speed do
  3456. Swait()
  3457. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, -0.4 * SIZE, -0.1 * SIZE) * ANGLES(RAD(25), RAD(0), RAD(15)), 1 / Animation_Speed)
  3458. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(25 - 5 * COS(SINE / 24)), RAD(-5), RAD(-5)), 1 / Animation_Speed)
  3459. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3460. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(-25), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3461. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -0.7 * SIZE, -0.5 * SIZE) * ANGLES(RAD(25), RAD(65), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3462. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1.1 * SIZE, -0.01 * SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(-2), RAD(0), RAD(0)), 1 / Animation_Speed)
  3463. end
  3464. else
  3465. do
  3466. local GYRO = IT("BodyGyro", RootPart)
  3467. GYRO.D = 2
  3468. GYRO.P = 20000
  3469. GYRO.MaxTorque = VT(0, 4000000, 0)
  3470. coroutine.resume(coroutine.create(function()
  3471. repeat
  3472. Swait()
  3473. GYRO.CFrame = CF(RootPart.Position, Mouse.Hit.p)
  3474. until ATTACK == false
  3475. GYRO:Remove()
  3476. end))
  3477. local FIRING = true
  3478. local SHOOTING = false
  3479. local TIMER = 70
  3480. CreateSound(1498950813, HELDGUN, 6, 1, false)
  3481. for i = 0, 0.2, 0.1 / Animation_Speed do
  3482. Swait()
  3483. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  3484. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  3485. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3486. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3487. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3488. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3489. end
  3490. local MOUSE = Mouse.Button1Down:connect(function(NEWKEY)
  3491. if SHOOTING == false then
  3492. HOLD = true
  3493. repeat
  3494. SHOOTING = true
  3495. local GUNPOS = HELDGUN.CFrame * GUNOFFSET.p
  3496. local HIT, POS, NORMAL = CastProperRay(GUNPOS, Mouse.Hit.p, 1000, Character)
  3497. local DISTANCE = (POS - GUNPOS).Magnitude
  3498. if HIT then
  3499. if HIT.Parent:FindFirstChildOfClass("Humanoid") then
  3500. if HIT.Parent:FindFirstChildOfClass("Humanoid").Health > 0 then
  3501. HIT.CFrame = HIT.CFrame * ANGLES(RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(0, 360)))
  3502. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], HIT, 10, 1, false)
  3503. ApplyDamage(HIT.Parent:FindFirstChildOfClass("Humanoid"), 99)
  3504. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.1, 0.1, 0.1), 5, 35, true)
  3505. end
  3506. elseif HIT.Anchored == true then
  3507. CreateFlyingDebree(HIT, CF(POS), 7, VT(0.2, 0.2, 0.2), 5, 35, true)
  3508. end
  3509. end
  3510. SHAKECAM(GUNPOS, 8, 5, 3)
  3511. SHAKECAM(POS, 10, 6, 6)
  3512. WACKYEFFECT({
  3513. Time = 6,
  3514. EffectType = "Block",
  3515. Size = VT(2, 2, 2),
  3516. Size2 = VT(4, 4, 4),
  3517. Transparency = 0,
  3518. Transparency2 = 1,
  3519. CFrame = CF(GUNPOS),
  3520. MoveToPos = nil,
  3521. RotationX = 0,
  3522. RotationY = 0,
  3523. RotationZ = 0,
  3524. Material = "Neon",
  3525. Color = C3(1, 1, 0),
  3526. SoundID = 213603013,
  3527. SoundPitch = 0.9,
  3528. SoundVolume = 10
  3529. })
  3530. for i = 0, 0.3, 0.1 / Animation_Speed do
  3531. Swait()
  3532. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  3533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  3534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(100), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3535. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3536. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3537. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3538. end
  3539. for i = 0, 0.5, 0.1 / Animation_Speed do
  3540. Swait()
  3541. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  3542. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  3543. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3544. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3545. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3546. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3547. end
  3548. until HOLD == false
  3549. SHOOTING = false
  3550. end
  3551. end)
  3552. repeat
  3553. Swait()
  3554. if SHOOTING == false then
  3555. TIMER = TIMER - 1
  3556. if TIMER <= 0 then
  3557. FIRING = false
  3558. end
  3559. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0 * SIZE, 0 * SIZE, 0 + 0.05 * SIZE * COS(SINE / 24)) * ANGLES(RAD(0), RAD(0), RAD(35)), 1 / Animation_Speed)
  3560. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + (1 * SIZE - 1)) * ANGLES(RAD(15 - 5 * COS(SINE / 24)), RAD(-5), RAD(-25)), 1 / Animation_Speed)
  3561. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), -0.5 * SIZE) * ANGLES(RAD(80), RAD(0), RAD(30)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3562. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5 * SIZE, 0.5 * SIZE - 0.05 * SIZE * SIN(SINE / 24), 0 * SIZE) * ANGLES(RAD(0), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3563. RightHip.C0 = Clerp(RightHip.C0, CF(1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 1 / Animation_Speed)
  3564. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1 * SIZE, -1 * SIZE - 0.05 * SIZE * COS(SINE / 24), -0.01 * SIZE) * ANGLES(RAD(0), RAD(-45), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3565. end
  3566. until FIRING == false and SHOOTING == false
  3567. MOUSE:Disconnect()
  3568. end
  3569. end
  3570. ATTACK = false
  3571. Rooted = false
  3572. end
  3573.  
  3574. local LAUGHS = {189035381,189035323,189035671,872089905}
  3575. function Deathbound()
  3576. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 10, 1, false)
  3577. ATTACK = true
  3578. Rooted = true
  3579. for i=0, 1, 0.1 / Animation_Speed do
  3580. Swait()
  3581. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  3582. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3583. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3584. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 1, 0) * ANGLES(RAD(15), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3585. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3586. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3587. end
  3588. local DONE = false
  3589. local GATE = nil
  3590. local GATESPIN = true
  3591. coroutine.resume(coroutine.create(function()
  3592. repeat
  3593. Swait()
  3594. if GATE ~= nil then
  3595. GATE.CFrame = GATE.CFrame * ANGLES(RAD(0), RAD(-3), RAD(0))
  3596. end
  3597. until GATESPIN == false
  3598. end))
  3599. coroutine.resume(coroutine.create(function()
  3600. repeat
  3601. Swait()
  3602. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0.2 - 0.25 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3603. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(5 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3604. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(5)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3605. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5 + 0.25 * COS(SINE / 12), 0) * ANGLES(RAD(15), RAD(0), RAD(-5)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3606. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3607. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3608. until DONE == true
  3609. Swait(50)
  3610. for i = 1, 35 do
  3611. Swait(4)
  3612. local FIRED = false
  3613. local CHILDREN = workspace:GetDescendants()
  3614. for index, CHILD in pairs(CHILDREN) do
  3615. if CHILD.ClassName == "Model" and CHILD ~= Character then
  3616. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3617. if HUM then
  3618. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3619. if TORSO then
  3620. if (TORSO.Position - GATE.Position).Magnitude <= GATE.Size.X/2.5 + TORSO.Size.Magnitude/5 then
  3621. local HITFLOOR,HITPOS = Raycast(TORSO.Position, (CF(TORSO.Position, TORSO.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3622. local CFRAME = CF(HITPOS)*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3623. SpawnTrail(CFRAME.p,CFRAME*CF(0,1000,0).p)
  3624. Banish(CHILD)
  3625. FIRED = true
  3626. break
  3627. end
  3628. end
  3629. end
  3630. end
  3631. end
  3632. if FIRED == false then
  3633. local CFRAME = GATE.CFrame*ANGLES(RAD(0),RAD(MRANDOM(0,360)),RAD(0))*CF(0,0,MRANDOM(2,math.ceil(GATE.Size.X/2.5)))*ANGLES(RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)),RAD(MRANDOM(-15,15)))
  3634. SpawnTrail(CFRAME.p,CFRAME*CF(1,1000,1).p)
  3635. local HITBOD = Raycast(CFRAME.p, (CF(CFRAME.p, CFRAME.p + VT(0, 1, 0))).lookVector, 1000, Character)
  3636. if HITBOD ~= nil then
  3637. if HITBOD.Parent:FindFirstChildOfClass("Humanoid") then
  3638. Kill(HITBOD.Parent)
  3639. end
  3640. end
  3641. end
  3642. end
  3643. for i = 1, 45 do
  3644. Swait()
  3645. GATE.Size = GATE.Size - VT(3,0,3)
  3646. end
  3647. GATESPIN = false
  3648. GATE:remove()
  3649. end))
  3650. Swait(15)
  3651. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 15, Character)
  3652. GATE = CreatePart(3, Effects, "Neon", 0, 1, "Teal", "Gate", VT(0,0,0))
  3653. local DECAL = IT("Decal",GATE)
  3654. DECAL.Texture = "http://www.roblox.com/asset/?id=249559138"
  3655. DECAL.Face = "Top"
  3656. GATE.CFrame = CF(HITPOS)
  3657. CreateSound(160772554, GATE, 7, 1.3, false)
  3658. for i = 1, 45 do
  3659. Swait()
  3660. GATE.Size = GATE.Size + VT(3,0,3)
  3661. end
  3662. CreateSound(213603013, RightHole, 7, 1, false)
  3663. CreateSound(213603013, LeftHole, 7, 1, false)
  3664. ATTACK = false
  3665. Rooted = false
  3666. DONE = true
  3667. end
  3668.  
  3669.  
  3670. function Shot()
  3671. ATTACK = true
  3672. Rooted = false
  3673. for i=0, 0.05, 0.1 / Animation_Speed do
  3674. Swait()
  3675. turnto(Mouse.Hit.p)
  3676. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3677. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3678. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3679. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3680. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3681. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3682. end
  3683. repeat
  3684. for i=0, 0.05, 0.1 / Animation_Speed do
  3685. Swait()
  3686. turnto(Mouse.Hit.p)
  3687. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3688. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  3689. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3690. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3691. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3692. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3693. end
  3694. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  3695. SpawnTrail(Hole2.Position,POS)
  3696. if HIT ~= nil then
  3697. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3698. Banish(HIT.Parent)
  3699. end
  3700. end
  3701. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3702. for i=0, 0.05, 0.1 / Animation_Speed do
  3703. Swait()
  3704. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  3705. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  3706. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  3707. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  3708. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3709. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  3710. end
  3711. until KEYHOLD == false
  3712. ATTACK = false
  3713. Rooted = false
  3714. end
  3715.  
  3716. function AttackTemplate()
  3717. ATTACK = true
  3718. Rooted = false
  3719. for i=0, 1, 0.1 / Animation_Speed do
  3720. Swait()
  3721. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  3725. 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.15 / Animation_Speed)
  3726. 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.15 / Animation_Speed)
  3727. end
  3728. ATTACK = false
  3729. Rooted = false
  3730. end
  3731.  
  3732. function BulletRoller()
  3733. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3734. if HITFLOOR then
  3735. ATTACK = true
  3736. Rooted = true
  3737. local bv = Instance.new("BodyVelocity")
  3738. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3739. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
  3740. bv.Parent = RootPart
  3741. local GYRO = IT("BodyGyro",RootPart)
  3742. GYRO.D = 2
  3743. GYRO.P = 20000
  3744. GYRO.MaxTorque = VT(0,4000000,0)
  3745. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  3746. CreateSound(145486992,Torso,10,0.85,false)
  3747. for i=0, 0.05, 0.1 / Animation_Speed do
  3748. Swait()
  3749. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  3750. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  3751. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3752. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3753. if ANIM == "Fall" or ANIM == "Jump" then
  3754. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(1), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3755. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3756. else
  3757. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(-5), RAD(80), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3758. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-70), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 1 / Animation_Speed)
  3759. end
  3760. end
  3761. bv:Remove()
  3762. local E = 360/15
  3763. for i = 1, 15 do
  3764. Swait()
  3765. WACKYEFFECT({Time = 10, EffectType = "Wave", Size = VT(8,1,8), Size2 = VT(2,15,2), Transparency = 0.9, Transparency2 = 1, CFrame = CF(RootPart.Position,HITPOS) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3766. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  3767. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  3768. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3769. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3770. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.4, -0.6) * ANGLES(RAD(-35), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3771. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-85), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3772. end
  3773. Cooldown1 = true
  3774. local LANDED = nil
  3775. local POS = nil
  3776. coroutine.resume(coroutine.create(function()
  3777. repeat
  3778. Swait()
  3779. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  3780. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3781. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(45 + 10 * COS(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3782. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-35 - 4 * COS(SINE / 6)), RAD(0), RAD(-45 - 10 * COS(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3783. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.3, -0.7) * ANGLES(RAD(-25 + 5 * SIN(SINE / 12)), RAD(90), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3784. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8, -0.3) * ANGLES(RAD(-10), RAD(-80), RAD(0)) * ANGLES(RAD(-1 * SIN(SINE / 6)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3785. until LANDED ~= nil
  3786. end))
  3787. repeat
  3788. Swait()
  3789. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  3790. if HITFLOOR then
  3791. LANDED = HITFLOOR
  3792. POS = HITPOS
  3793. end
  3794. until LANDED ~= nil
  3795. GYRO:remove()
  3796. Swait(4)
  3797. ManualAoE(RootPart.Position,10,20,50,0,false)
  3798. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  3799. WACKYEFFECT({EffectType = "Sphere", Size = VT(5,5,5), Size2 = VT(20,20,20), Transparency = 0.5, Transparency2 = 1, CFrame = CF(Torso.Position), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3800. for i = 0, 4 do
  3801. WACKYEFFECT({Time = 35, EffectType = "Wave", Size = VT(0,0.33,0), Size2 = VT(8,0.11,8), Transparency = 0.4, Transparency2 = 1, CFrame = RootPart.CFrame*CF(0,-2.5,0) * ANGLES(RAD(0), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = MRANDOM(-10,10), RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  3802. end
  3803. for i=0, 0.5, 0.1 / Animation_Speed do
  3804. Swait()
  3805. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3806. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3807. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3808. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3809. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3810. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3811. end
  3812. local AMMO = 0
  3813. repeat
  3814. AMMO = AMMO + 1
  3815. for i=0, 0.1, 0.05 / Animation_Speed do
  3816. Swait()
  3817. turnto(Mouse.Hit.p)
  3818. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3819. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-75 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3820. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3821. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3822. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3823. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3824. end
  3825. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  3826. SpawnTrail(Hole.Position,POS)
  3827. if HIT ~= nil then
  3828. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  3829. Banish(HIT.Parent)
  3830. end
  3831. end
  3832. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(1,1.5,1), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = Hole.CFrame*CF(0,0.5,0).p, RotationX = 0, RotationY = -15, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  3833. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3834. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = -5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3835. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(0.3,0,0.3), Size2 = VT(2,0.5,2), Transparency = 0, Transparency2 = 1, CFrame = CF(POS,Hole2.Position) * ANGLES(RAD(-90), RAD(0), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(.5,0,.5), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  3836. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  3837. for i=0, 0.075, 0.05 / Animation_Speed do
  3838. Swait()
  3839. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -2.5 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(90), RAD(0), RAD(0)), 1 / Animation_Speed)
  3840. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0.35, 0 + ((1) - 1)) * ANGLES(RAD(-85 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3841. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3842. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3843. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3844. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1 / Animation_Speed)
  3845. end
  3846. until AMMO == 5
  3847. ATTACK = false
  3848. Rooted = false
  3849. wait(0.3)
  3850. Cooldown1 = false
  3851. end
  3852. end
  3853.  
  3854. local Cooldown2 = false
  3855.  
  3856. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  3857. local CHILDREN = workspace:GetDescendants()
  3858. for index, CHILD in pairs(CHILDREN) do
  3859. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  3860. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  3861. if HUM then
  3862. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  3863. if TORSO then
  3864. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  3865. if INSTAKILL == true then
  3866. CHILD:BreakJoints()
  3867. else
  3868. local DMG = MRANDOM(MINDMG,MAXDMG)
  3869. ManualDamage(HUM,DMG,TORSO)
  3870. end
  3871. if FLING > 0 then
  3872. for _, c in pairs(CHILD:GetChildren()) do
  3873. if c:IsA("BasePart") then
  3874. local bv = Instance.new("BodyVelocity")
  3875. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3876. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  3877. bv.Parent = c
  3878. Debris:AddItem(bv,0.05)
  3879. end
  3880. end
  3881. end
  3882. end
  3883. end
  3884. end
  3885. end
  3886. end
  3887. end
  3888.  
  3889. function Extreme_Offset()
  3890. local HITFLOOR, HITPOS = Raycast(Mouse.Hit.p + VT(0, 1, 0), CF(Mouse.Hit.p + VT(0, 1, 0), Mouse.Hit.p - VT(0, 1, 0)).lookVector, 25, Character)
  3891. if HITFLOOR then
  3892. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  3893. CreateSound("1295446488", Torso, 5, 1)
  3894. for i = 1, 5 do
  3895. WACKYEFFECT({
  3896. Time = MRANDOM(15, 35),
  3897. EffectType = "Round Slash",
  3898. Size = VT(0, 0, 0),
  3899. Size2 = VT(0.3, 0, 0.3),
  3900. Transparency = 0.5,
  3901. Transparency2 = 1,
  3902. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  3903. MoveToPos = nil,
  3904. RotationX = MRANDOM(-50, 50) / 10,
  3905. RotationY = MRANDOM(-50, 50) / 10,
  3906. RotationZ = MRANDOM(-50, 50) / 10,
  3907. Material = "Neon",
  3908. Color = C3(.5,0,.5),
  3909. SoundID = nil,
  3910. SoundPitch = nil,
  3911. SoundVolume = nil
  3912. })
  3913. end
  3914. ATTACK = true
  3915. Rooted = true
  3916. UNANCHOR = false
  3917. RootPart.Anchored = true
  3918. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  3919. for i = 1, 5 do
  3920. WACKYEFFECT({
  3921. Time = MRANDOM(15, 35),
  3922. EffectType = "Round Slash",
  3923. Size = VT(0, 0, 0),
  3924. Size2 = VT(0.3, 0, 0.3),
  3925. Transparency = 0.5,
  3926. Transparency2 = 1,
  3927. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  3928. MoveToPos = nil,
  3929. RotationX = MRANDOM(-50, 50) / 10,
  3930. RotationY = MRANDOM(-50, 50) / 10,
  3931. RotationZ = MRANDOM(-50, 50) / 10,
  3932. Material = "Neon",
  3933. Color = C3(.5,0,.5),
  3934. SoundID = nil,
  3935. SoundPitch = nil,
  3936. SoundVolume = nil
  3937. })
  3938. end
  3939. for i = 0, 0.2, 0.1 / Animation_Speed do
  3940. Swait()
  3941. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  3942. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3943. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3944. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3945. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  3946. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 2 / Animation_Speed)
  3947. end
  3948. for i = 0, 1, 0.1 / Animation_Speed do
  3949. Swait()
  3950. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  3951. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  3952. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  3953. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  3954. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  3955. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 0.02 / Animation_Speed)
  3956. end
  3957. for i = 1, 10 do
  3958. Swait()
  3959. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  3960. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  3961. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  3962. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  3963. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  3964. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  3965. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.7 / Animation_Speed)
  3966. end
  3967. for i = 0, 0.2, 0.1 / Animation_Speed do
  3968. Swait()
  3969. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  3970. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  3971. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3972. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  3973. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3974. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  3975. end
  3976. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  3977. if HITFLOOR then
  3978. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  3979. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  3980. for index, CHILD in pairs(CHILDREN) do
  3981. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  3982. for i = 1, 5 do
  3983. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  3984. CHILD:remove()
  3985. end
  3986. end
  3987. end
  3988. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  3989. SOUNDPART.CFrame = CF(HITPOS)
  3990. Debris:AddItem(SOUNDPART, 5)
  3991. CreateSound("130972023", SOUNDPART, 6, 3)
  3992. CreateSound("182765513", SOUNDPART, 6, 1)
  3993. WACKYEFFECT({
  3994. EffectType = "Ring",
  3995. Size = VT(0, 0, 0),
  3996. Size2 = VT(1, 1, 0),
  3997. Transparency = 0.7,
  3998. Transparency2 = 1,
  3999. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4000. MoveToPos = nil,
  4001. RotationX = 0,
  4002. RotationY = 0,
  4003. RotationZ = 0,
  4004. Material = "Neon",
  4005. Color = C3(.5,0,.5),
  4006. SoundID = nil,
  4007. SoundPitch = nil,
  4008. SoundVolume = nil
  4009. })
  4010. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  4011. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  4012. for index, CHILD in pairs(CHILDREN) do
  4013. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  4014. for i = 1, 5 do
  4015. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  4016. CHILD:remove()
  4017. end
  4018. end
  4019. end
  4020. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4021. SOUNDPART.CFrame = CF(HITPOS)
  4022. Debris:AddItem(SOUNDPART, 5)
  4023. CreateSound("130972023", SOUNDPART, 6, 3)
  4024. CreateSound("182765513", SOUNDPART, 6, 1)
  4025. WACKYEFFECT({
  4026. EffectType = "Ring",
  4027. Size = VT(0, 0, 0),
  4028. Size2 = VT(1, 1, 0),
  4029. Transparency = 0.7,
  4030. Transparency2 = 1,
  4031. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4032. MoveToPos = nil,
  4033. RotationX = 0,
  4034. RotationY = 0,
  4035. RotationZ = 0,
  4036. Material = "Neon",
  4037. Color = C3(.5,0,.5),
  4038. SoundID = nil,
  4039. SoundPitch = nil,
  4040. SoundVolume = nil
  4041. })
  4042. elseif HITFLOOR.Anchored == false then
  4043. if HITFLOOR.Parent ~= workspace then
  4044. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  4045. for index, CHILD in pairs(CHILDREN) do
  4046. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  4047. for i = 1, 5 do
  4048. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  4049. end
  4050. CHILD:remove()
  4051. end
  4052. end
  4053. else
  4054. for i = 1, 5 do
  4055. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  4056. end
  4057. HITFLOOR:remove()
  4058. end
  4059. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4060. SOUNDPART.CFrame = CF(HITPOS)
  4061. Debris:AddItem(SOUNDPART, 5)
  4062. CreateSound("130972023", SOUNDPART, 10, 3)
  4063. CreateSound("178452217", SOUNDPART, 6, 1)
  4064. WACKYEFFECT({
  4065. EffectType = "Ring",
  4066. Size = VT(0, 0, 0),
  4067. Size2 = VT(1, 1, 0),
  4068. Transparency = 0.7,
  4069. Transparency2 = 1,
  4070. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  4071. MoveToPos = nil,
  4072. RotationX = 0,
  4073. RotationY = 0,
  4074. RotationZ = 0,
  4075. Material = "Neon",
  4076. Color = C3(.5,0,.5),
  4077. SoundID = nil,
  4078. SoundPitch = nil,
  4079. SoundVolume = nil
  4080. })
  4081. else
  4082. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  4083. SOUNDPART.CFrame = CF(HITPOS)
  4084. Debris:AddItem(SOUNDPART, 5)
  4085. CreateSound("130972023", SOUNDPART, 10, 1)
  4086. CreateSound("130972023", SOUNDPART, 6, 0.7)
  4087. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  4088. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  4089. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  4090. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  4091. for i = 1, 5 do
  4092. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  4093. end
  4094. for i = 1, 5 do
  4095. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  4096. end
  4097. end
  4098. end
  4099. for i = 0, 1.2, 0.1 / Animation_Speed do
  4100. Swait()
  4101. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  4102. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  4103. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  4104. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  4105. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4106. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-4), RAD(0), RAD(0)), 1.5 / Animation_Speed)
  4107. end
  4108. ATTACK = false
  4109. Rooted = false
  4110. UNANCHOR = true
  4111. RootPart.Anchored = false
  4112. end
  4113. end
  4114.  
  4115. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  4116. if FLOOR ~= nil then
  4117. coroutine.resume(coroutine.create(function()
  4118. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  4119. PART.CFrame = CF(POSITION)
  4120. for i = 1, 45 do
  4121. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  4122. RingPiece.Material = FLOOR.Material
  4123. RingPiece.Color = FLOOR.Color
  4124. 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)))
  4125. Debris:AddItem(RingPiece, SWAIT)
  4126. end
  4127. PART:remove()
  4128. end))
  4129. end
  4130. end
  4131. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  4132. if FLOOR ~= nil then
  4133. for i = 1, AMOUNT do
  4134. do
  4135. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  4136. DEBREE.Material = FLOOR.Material
  4137. DEBREE.Color = FLOOR.Color
  4138. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  4139. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  4140. coroutine.resume(coroutine.create(function()
  4141. Swait(15)
  4142. DEBREE.Parent = workspace
  4143. DEBREE.CanCollide = true
  4144. Debris:AddItem(DEBREE, SWAIT)
  4145. end))
  4146. end
  4147. end
  4148. end
  4149. end
  4150.  
  4151. function RiftForm()
  4152. ATTACK = true
  4153. Rooted = false
  4154. UNANCHOR = false
  4155. RootPart.Anchored = true
  4156. for i=0, 5, 0.1 / Animation_Speed do
  4157. Swait()
  4158. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  4159. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4160. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4161. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4162. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4163. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 2 / Animation_Speed)
  4164. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 2 / Animation_Speed)
  4165. end
  4166. CreateSound("1368598393", Effects, 10, 1)
  4167. for i=0, 2, 0.1 / Animation_Speed do
  4168. Swait()
  4169. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4170. MagicSphere3(VT(0,0,0),15,CFRAME,"Royal purple",VT(0.1,0.1,5))
  4171. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Royal purple",VT(0.1,0.1,5))
  4172. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4173. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4174. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4175. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4176. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4177. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4178. end
  4179. CreateSound("1368583274", Effects, 10, 1)
  4180. for i=0, 6, 0.1 / Animation_Speed do
  4181. Swait()
  4182. CreateRing2(VT(45,5,0)*2,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0))
  4183. CreateRing2(VT(45,5,0)*3,false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Really black",VT(-1,0,0)*3)
  4184. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  4185. MagicSphere3(VT(0,0,0),15,CFRAME,"Royal purple",VT(0.1,0.1,55))
  4186. MagicSphere3(VT(0,0,0),15,CFRAME,"Royal purple",VT(2,2,2))
  4187. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Royal Purple",VT(0.1,0.1,55))
  4188. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4189. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4190. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4191. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4192. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5, -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4193. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(0)), 2 / Animation_Speed)
  4194. end
  4195. CreateSound("907329532", Effects, 10, 0.9)
  4196. Swait(175)
  4197. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Royal purple",VT(7,7,0))
  4198. CreateSound("1368605755", Effects, 10, 1)
  4199. CreateSound("1368637781", Effects, 10, 1)
  4200. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Royal purple",VT(5,5,5))
  4201. for i=0, 1, 0.1 / Animation_Speed do
  4202. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(4,4,0))
  4203. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Royal purple",VT(5,5,0))
  4204. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4205. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  4206. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  4207. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  4208. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-50)), 2 / Animation_Speed)
  4209. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(50)), 2 / Animation_Speed)
  4210. end
  4211. UNANCHOR = true
  4212. RootPart.Anchored = false
  4213. ATTACK = false
  4214. Rooted = false
  4215. end
  4216.  
  4217. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  4218. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  4219. local mesh = IT("SpecialMesh",wave)
  4220. mesh.MeshType = "FileMesh"
  4221. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  4222. mesh.Scale = SIZE
  4223. mesh.Offset = VT(0,0,0)
  4224. wave.CFrame = CFRAME
  4225. coroutine.resume(coroutine.create(function(PART)
  4226. for i = 1, WAIT do
  4227. Swait()
  4228. mesh.Scale = mesh.Scale + GROW
  4229. if DOESROT == true then
  4230. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  4231. end
  4232. wave.Transparency = wave.Transparency + (0.5/WAIT)
  4233. if wave.Transparency > 0.99 then
  4234. wave:remove()
  4235. end
  4236. end
  4237. end))
  4238. end
  4239.  
  4240. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  4241. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  4242. local mesh = IT("SpecialMesh",wave)
  4243. mesh.MeshType = "Sphere"
  4244. mesh.Scale = SIZE
  4245. mesh.Offset = VT(0,0,0)
  4246. wave.CFrame = CFRAME
  4247. coroutine.resume(coroutine.create(function(PART)
  4248. for i = 1, WAIT do
  4249. Swait()
  4250. mesh.Scale = mesh.Scale + GROW
  4251. wave.Transparency = wave.Transparency + (1/WAIT)
  4252. if wave.Transparency > 0.99 then
  4253. wave:remove()
  4254. end
  4255. end
  4256. end))
  4257. end
  4258.  
  4259. local lightning = Instance.new("ParticleEmitter",Torso)
  4260. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  4261. lightning.LightEmission = 0
  4262. lightning.Color = ColorSequence.new(Color3.new(5,0,.5),Color3.new(0,0,0))
  4263. lightning.LockedToPart = true
  4264. lightning.Rate = 20
  4265. lightning.Lifetime = NumberRange.new(0.1,0.10)
  4266. lightning.Rotation = NumberRange.new(0,360)
  4267. lightning.Size = NumberSequence.new(3,3,3)
  4268. lightning.Transparency = NumberSequence.new(0,0)
  4269. lightning.Speed = NumberRange.new(0,0)
  4270. lightning.RotSpeed = NumberRange.new(0,0)
  4271. lightning.ZOffset = 5
  4272. lightning.Parent = Character.Torso
  4273. lightning.Enabled = false
  4274.  
  4275. Player=game:GetService('Players').LocalPlayer
  4276. Character=Player.Character
  4277. Mouse=Player:GetMouse()
  4278. m=Instance.new('Model',Character)
  4279. local function weldBetween(a, b)
  4280. local weldd = Instance.new("ManualWeld")
  4281. weldd.Part0 = a
  4282. weldd.Part1 = b
  4283. weldd.C0 = CFrame.new()
  4284. weldd.C1 = b.CFrame:inverse() * a.CFrame
  4285. weldd.Parent = a
  4286. return weldd
  4287. end
  4288.  
  4289. it=Instance.new
  4290.  
  4291. function nooutline(part)
  4292. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  4293. end
  4294.  
  4295. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  4296. local fp=it("Part")
  4297. fp.formFactor=formfactor
  4298. fp.Parent=parent
  4299. fp.Reflectance=reflectance
  4300. fp.Transparency=transparency
  4301. fp.CanCollide=false
  4302. fp.Locked=true
  4303. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  4304. fp.Name=name
  4305. fp.Size=size
  4306. fp.Position=Character.Torso.Position
  4307. nooutline(fp)
  4308. fp.Material=material
  4309. fp:BreakJoints()
  4310. return fp
  4311. end
  4312.  
  4313. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  4314. local mesh=it(Mesh)
  4315. mesh.Parent=part
  4316. if Mesh=="SpecialMesh" then
  4317. mesh.MeshType=meshtype
  4318. mesh.MeshId=meshid
  4319. end
  4320. mesh.Offset=offset
  4321. mesh.Scale=scale
  4322. return mesh
  4323. end
  4324.  
  4325. function weld(parent,part0,part1,c0,c1)
  4326. local weld=it("Weld")
  4327. weld.Parent=parent
  4328. weld.Part0=part0
  4329. weld.Part1=part1
  4330. weld.C0=c0
  4331. weld.C1=c1
  4332. return weld
  4333. end
  4334.  
  4335. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  4336. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  4337. eeeffecto.LightEmission = 0
  4338. eeeffecto.Color = ColorSequence.new(Color3.new(5,0,.5),Color3.new(0,0,0))
  4339. eeeffecto.LockedToPart = true
  4340. eeeffecto.Rate = 10
  4341. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  4342. eeeffecto.Rotation = NumberRange.new(0,0)
  4343. eeeffecto.Size = NumberSequence.new(9,9,9)
  4344. eeeffecto.Transparency = NumberSequence.new(0,0)
  4345. eeeffecto.Speed = NumberRange.new(0,0)
  4346. eeeffecto.RotSpeed = NumberRange.new(0,0)
  4347. eeeffecto.Parent = Character.Torso
  4348. eeeffecto.Enabled = false
  4349.  
  4350. --//=================================\\
  4351. --|| ASSIGN THINGS TO KEYS
  4352. --\\=================================//
  4353.  
  4354. function MouseDown(Mouse)
  4355. if ATTACK == false then
  4356. end
  4357. end
  4358.  
  4359. function MouseUp(Mouse)
  4360. HOLD = false
  4361. end
  4362.  
  4363. function KeyDown(Key)
  4364. KEYHOLD = true
  4365. if Key == "l" and ATTACK == false then
  4366. RiftForm()
  4367. lightning.Enabled = true
  4368. eeeffecto.Enabled = true
  4369. SKILL4TEXT:remove()
  4370. SKILL3TEXT:remove()
  4371. SKILL2TEXT:remove()
  4372. SKILL1TEXT:remove()
  4373.  
  4374. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  4375. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  4376. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  4377. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  4378. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[E]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  4379. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "[X]", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  4380. RiftWorld()
  4381. s:stop()
  4382. local s = Instance.new("Sound",char)
  4383. s.Name = "BGMusic"
  4384. s.SoundId = "rbxassetid://1275083876"
  4385. s.Pitch = 1
  4386. s.Volume = 40
  4387. s.Looped = true
  4388. s.archivable = false
  4389. s.Parent = char.Head
  4390. wait(0.1)
  4391. s:play()
  4392. end
  4393.  
  4394. if Key == "q" and ATTACK == false then
  4395. Prison_Key()
  4396. end
  4397.  
  4398. if Key == "e" and ATTACK == false then
  4399. Wall()
  4400. end
  4401.  
  4402. if Key == "m" and ATTACK == false then
  4403. kiss()
  4404. end
  4405.  
  4406. if Key == "z" and ATTACK == false then
  4407. Shot()
  4408. end
  4409.  
  4410. if Key == "r" and ATTACK == false then
  4411. Deathbound()
  4412. end
  4413.  
  4414. if Key == "y" and ATTACK == false then
  4415. Fury()
  4416. end
  4417.  
  4418.  
  4419.  
  4420. if Key == "t" and ATTACK == false then
  4421. Taunt()
  4422. end
  4423.  
  4424.  
  4425. if Key == "x" and ATTACK == false then
  4426. Shriek()
  4427. end
  4428.  
  4429. if Key == "c" and ATTACK == false then
  4430. Maniac_Wave()
  4431. end
  4432.  
  4433. if Key == "n" and ATTACK == false then
  4434. Teleport()
  4435. end
  4436.  
  4437.  
  4438. if Key == "v" and ATTACK == false then
  4439. GoldenPunch()
  4440. end
  4441.  
  4442. if Key == "b" and ATTACK == false then
  4443. Extreme_Offset()
  4444. end
  4445. end
  4446.  
  4447. function KeyUp(Key)
  4448. KEYHOLD = false
  4449. end
  4450.  
  4451. Mouse.Button1Down:connect(function(NEWKEY)
  4452. MouseDown(NEWKEY)
  4453. end)
  4454. Mouse.Button1Up:connect(function(NEWKEY)
  4455. MouseUp(NEWKEY)
  4456. end)
  4457. Mouse.KeyDown:connect(function(NEWKEY)
  4458. KeyDown(NEWKEY)
  4459. end)
  4460. Mouse.KeyUp:connect(function(NEWKEY)
  4461. KeyUp(NEWKEY)
  4462. end)
  4463.  
  4464. --//=================================\\
  4465. --\\=================================//
  4466.  
  4467.  
  4468. function unanchor()
  4469. if UNANCHOR == true then
  4470. g = Character:GetChildren()
  4471. for i = 1, #g do
  4472. if g[i].ClassName == "Part" then
  4473. g[i].Anchored = false
  4474. end
  4475. end
  4476. end
  4477. end
  4478.  
  4479.  
  4480. --//=================================\\
  4481. --|| WRAP THE WHOLE SCRIPT UP
  4482. --\\=================================//
  4483.  
  4484. Humanoid.Changed:connect(function(Jump)
  4485. if Jump == "Jump" and (Disable_Jump == true) then
  4486. Humanoid.Jump = false
  4487. end
  4488. end)
  4489.  
  4490. local CONNECT = nil
  4491.  
  4492. while true do
  4493. Swait()
  4494. ANIMATE.Parent = nil
  4495. if Character:FindFirstChildOfClass("Humanoid") == nil then
  4496. Humanoid = IT("Humanoid",Character)
  4497. end
  4498. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  4499. v:Stop();
  4500. end
  4501. SINE = SINE + CHANGE
  4502. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  4503. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  4504. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  4505. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  4506. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  4507. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4508. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4509. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4510. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  4511. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  4512. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  4513. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4514. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4515. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  4516. end
  4517. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  4518. ANIM = "Jump"
  4519. if ATTACK == false then
  4520. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  4521. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4522. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4523. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4524. 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)
  4525. 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)
  4526. end
  4527. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  4528. ANIM = "Fall"
  4529. if ATTACK == false then
  4530. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  4531. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  4532. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  4533. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  4534. 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)
  4535. 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)
  4536. end
  4537. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  4538. ANIM = "Idle"
  4539. if ATTACK == false then
  4540. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1))), 1 / Animation_Speed)
  4541. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
  4542. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(52 - 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4543. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-42 + 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4544. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20 + 11 * COS(SINE / 1)), RAD(55 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  4545. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10 + 11 * COS(SINE / 1)), RAD(-74 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  4546. end
  4547. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  4548. ANIM = "Walk"
  4549. if ATTACK == false then
  4550. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed)
  4551. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed)
  4552. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(-70 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  4553. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(70 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  4554. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 2 / Animation_Speed)
  4555. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(15 - 11 * COS(SINE / 1))), 2 / Animation_Speed)
  4556. end
  4557. end
  4558. unanchor()
  4559. Humanoid.MaxHealth = "inf"
  4560. Humanoid.Health = "inf"
  4561. if Rooted == false then
  4562. Disable_Jump = false
  4563. Humanoid.WalkSpeed = Speed
  4564. elseif Rooted == true then
  4565. Disable_Jump = true
  4566. Humanoid.WalkSpeed = 0
  4567. end
  4568. if Head:FindFirstChild("face") then
  4569. Head.face.Texture = "rbxassetid://403870689"
  4570. end
  4571. for _, c in pairs(Character:GetChildren()) do
  4572. if c.ClassName == "Part" and c.Name ~= "Detail" then
  4573. c.Material = "Fabric"
  4574. if c:FindFirstChildOfClass("ParticleEmitter") then
  4575. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  4576. end
  4577. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  4578. c:remove()
  4579. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  4580. c:remove()
  4581. end
  4582. end
  4583. sick.Parent = Torso
  4584. sick:resume()
  4585. sick.Volume = 5
  4586. sick.Pitch = 1
  4587. sick.SoundId = "rbxassetid://"..SONG
  4588. --sick.Name = "BanishV3Music"
  4589. end
  4590.  
  4591. --//=================================\\
  4592. --\\=================================//
  4593.  
  4594.  
  4595.  
  4596.  
  4597.  
  4598. --//====================================================\\--
  4599. --|| END OF SCRIPT
  4600. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement