Penien23

The Superiority

May 7th, 2019
187
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 161.43 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. --|| UNFE IT'S LEAK DON'T USE ||--
  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.  
  192. local naeeym2 = Instance.new("BillboardGui",Character)
  193. naeeym2.AlwaysOnTop = true
  194. naeeym2.Size = UDim2.new(7,35,3,15)
  195. naeeym2.StudsOffset = Vector3.new(0,2,0)
  196. naeeym2.MaxDistance = 75
  197. naeeym2.Adornee = Character.Head
  198. naeeym2.Name = "Name2"
  199. local tecks2 = Instance.new("TextLabel",naeeym2)
  200. tecks2.BackgroundTransparency = 1
  201. tecks2.TextScaled = true
  202. tecks2.BorderSizePixel = 0
  203. tecks2.Text = "The Superiority"
  204. tecks2.Font = "ArialBold"
  205. tecks2.TextSize = 30
  206. tecks2.TextStrokeTransparency = 0
  207. tecks2.TextColor3 = Color3.fromRGB(1,1,1)
  208. tecks2.TextStrokeColor3 = Color3.fromRGB(108,129,183)
  209. tecks2.Size = UDim2.new(1,0,0.5,0)
  210. tecks2.Parent = naeeym2
  211. --//=================================\\
  212. --|| USEFUL VALUES
  213. --\\=================================//
  214.  
  215. Animation_Speed = 3
  216. local FORCERESET = false
  217. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  218. local Speed = 16
  219. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  220. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  221. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  222. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  223. local DAMAGEMULTIPLIER = 1
  224. local ANIM = "Idle"
  225. local ATTACK = false
  226. local EQUIPPED = false
  227. local HOLD = false
  228. local COMBO = 1
  229. local Rooted = false
  230. local SINE = 0
  231. local KEYHOLD = false
  232. local CHANGE = 2 / Animation_Speed
  233. local WALKINGANIM = false
  234. local VALUE1 = false
  235. local VALUE2 = false
  236. local LEFTWINGS = {}
  237. local RIGHTWINGS = {}
  238. local ROBLOXIDLEANIMATION = IT("Animation")
  239. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  240. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  241. --ROBLOXIDLEANIMATION.Parent = Humanoid
  242. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  243. WEAPONGUI.Name = "BanishV3Gui"
  244. local Weapon = IT("Model")
  245. Weapon.Name = "Adds"
  246. local Effects = IT("Folder", Weapon)
  247. Effects.Name = "Effects"
  248. local ANIMATOR = Humanoid.Animator
  249. local ANIMATE = Character:FindFirstChild("Animate")
  250. local UNANCHOR = true
  251. local TOBANISH = {}
  252. script.Parent = PlayerGui
  253.  
  254. --//=================================\\
  255. --\\=================================//
  256.  
  257.  
  258. --//=================================\\
  259. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  260. --\\=================================//
  261.  
  262. ArtificialHB = Instance.new("BindableEvent", script)
  263. ArtificialHB.Name = "ArtificialHB"
  264.  
  265. script:WaitForChild("ArtificialHB")
  266.  
  267. frame = Frame_Speed
  268. tf = 0
  269. allowframeloss = false
  270. tossremainder = false
  271. lastframe = tick()
  272. script.ArtificialHB:Fire()
  273.  
  274. game:GetService("RunService").Heartbeat:connect(function(s, p)
  275. tf = tf + s
  276. if tf >= frame then
  277. if allowframeloss then
  278. script.ArtificialHB:Fire()
  279. lastframe = tick()
  280. else
  281. for i = 1, math.floor(tf / frame) do
  282. script.ArtificialHB:Fire()
  283. end
  284. lastframe = tick()
  285. end
  286. if tossremainder then
  287. tf = 0
  288. else
  289. tf = tf - frame * math.floor(tf / frame)
  290. end
  291. end
  292. end)
  293.  
  294. --//=================================\\
  295. --\\=================================//
  296.  
  297. --//=================================\\
  298. --|| SOME FUNCTIONS
  299. --\\=================================//
  300. --Lightning({Material = "Neon", FadeIn = false, Color = C3(108,129,183), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  301. function Lightning(Table)
  302. local Color = Table.Color or C3(108,129,183)
  303. local StartPos = Table.Start or Torso.Position
  304. local EndPos = Table.End or Mouse.Hit.p
  305. local SegmentLength = Table.SegmentL or 2
  306. local Thickness = Table.Thickness or 0.1
  307. local Dissapear = Table.DoesFade or false
  308. local Parent = Table.Ignore or Character
  309. local MaxDist = Table.MaxDist or 400
  310. local Branches = Table.Branches or false
  311. local Thicken = Table.Thicken or false
  312. local FadeTime = Table.FadeTime or 15
  313. local FadeIn = Table.FadeIn or false
  314. local Material = Table.Material or "Neon"
  315. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  316. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  317. local LIGHTNINGMODEL = IT("Model",Effects)
  318. LIGHTNINGMODEL.Name = "Lightning"
  319. local LastBolt = nil
  320. for E = 1, DISTANCE do
  321. local ExtraSize = 0
  322. if Thicken == true then
  323. ExtraSize = (DISTANCE-E)/15
  324. end
  325. local TRANSPARENCY = 0
  326. if FadeIn == true then
  327. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  328. if TRANSPARENCY < 0 then
  329. TRANSPARENCY = 0
  330. end
  331. end
  332. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  333. PART.Color = Color
  334. MakeForm(PART,"Cyl")
  335. if LastBolt == nil then
  336. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  337. else
  338. 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)
  339. end
  340. LastBolt = PART
  341. if Branches == true and E < (DISTANCE-5) then
  342. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  343. if CHOICE == 1 then
  344. local LASTBRANCH = nil
  345. for i = 1, MRANDOM(2,5) do
  346. local ExtraSize2 = 0
  347. if Thicken == true then
  348. ExtraSize = ((DISTANCE-E)/25)/i
  349. end
  350. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  351. PART.Color = Color
  352. MakeForm(PART,"Cyl")
  353. if LASTBRANCH == nil then
  354. 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)
  355. else
  356. 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)
  357. end
  358. LASTBRANCH = PART
  359. end
  360. end
  361. end
  362. end
  363. if Dissapear == true then
  364. coroutine.resume(coroutine.create(function()
  365. for i = 1, FadeTime do
  366. Swait()
  367. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  368. if c.ClassName == "Part" then
  369. c.Transparency = c.Transparency + (i/FadeTime)/10
  370. end
  371. end
  372. end
  373. LIGHTNINGMODEL:remove()
  374. end))
  375. elseif Dissapear == false then
  376. Debris:AddItem(LIGHTNINGMODEL,0.1)
  377. end
  378. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  379. end
  380.  
  381. --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})
  382. function Lightning(Table)
  383. local Color = Table.Color or C3(108,129,183)
  384. local StartPos = Table.Start or Torso.Position
  385. local EndPos = Table.End or Mouse.Hit.p
  386. local SegmentLength = Table.SegmentL or 2
  387. local Thickness = Table.Thickness or 0.1
  388. local Dissapear = Table.DoesFade or false
  389. local Parent = Table.Ignore or Character
  390. local MaxDist = Table.MaxDist or 400
  391. local Branches = Table.Branches or false
  392. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  393. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  394. local LIGHTNINGMODEL = IT("Model",Effects)
  395. LIGHTNINGMODEL.Name = "Lightning"
  396. local LastBolt = nil
  397. for E = 1, DISTANCE do
  398. local ExtraSize = (DISTANCE-E)/15
  399. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  400. PART.Color = Color
  401. MakeForm(PART,"Cyl")
  402. if LastBolt == nil then
  403. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  404. else
  405. 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)
  406. end
  407. LastBolt = PART
  408. if Branches == true then
  409. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  410. if CHOICE == 1 then
  411. local LASTBRANCH = nil
  412. for i = 1, MRANDOM(2,5) do
  413. local ExtraSize2 = ((DISTANCE-E)/25)/i
  414. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  415. PART.Color = Color
  416. MakeForm(PART,"Cyl")
  417. if LASTBRANCH == nil then
  418. 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)
  419. else
  420. 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)
  421. end
  422. LASTBRANCH = PART
  423. end
  424. end
  425. end
  426. end
  427. if Dissapear == true then
  428. coroutine.resume(coroutine.create(function()
  429. for i = 1, 10 do
  430. Swait()
  431. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  432. if c.ClassName == "Part" then
  433. c.Transparency = i/10
  434. end
  435. end
  436. end
  437. LIGHTNINGMODEL:remove()
  438. end))
  439. elseif Dissapear == false then
  440. Debris:AddItem(LIGHTNINGMODEL,0.1)
  441. end
  442. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  443. end
  444.  
  445. --Lightning({Color = C3(108,129,183), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 9999, Branches = false})
  446. function Lightning(Table)
  447. local Color = Table.Color or C3(108,129,183)
  448. local StartPos = Table.Start or Torso.Position
  449. local EndPos = Table.End or Mouse.Hit.p
  450. local SegmentLength = Table.SegmentL or 2
  451. local Thickness = Table.Thickness or 0.1
  452. local Dissapear = Table.DoesFade or false
  453. local Parent = Table.Ignore or Character
  454. local MaxDist = Table.MaxDist or 400
  455. local Branches = Table.Branches or false
  456. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  457. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/SegmentLength)
  458. local LIGHTNINGMODEL = IT("Model",Effects)
  459. LIGHTNINGMODEL.Name = "Lightning"
  460. local LastBolt = nil
  461. for E = 1, DISTANCE do
  462. local ExtraSize = (DISTANCE-E)/15
  463. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  464. PART.Color = Color
  465. MakeForm(PART,"Cyl")
  466. if LastBolt == nil then
  467. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  468. else
  469. 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)
  470. end
  471. LastBolt = PART
  472. if Branches == true then
  473. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  474. if CHOICE == 1 then
  475. local LASTBRANCH = nil
  476. for i = 1, MRANDOM(2,5) do
  477. local ExtraSize2 = ((DISTANCE-E)/25)/i
  478. local PART = CreatePart(3, LIGHTNINGMODEL, "Neon", 0, 0, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  479. PART.Color = Color
  480. MakeForm(PART,"Cyl")
  481. if LASTBRANCH == nil then
  482. 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)
  483. else
  484. 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)
  485. end
  486. LASTBRANCH = PART
  487. end
  488. end
  489. end
  490. end
  491. if Dissapear == true then
  492. coroutine.resume(coroutine.create(function()
  493. for i = 1, 10 do
  494. Swait()
  495. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  496. if c.ClassName == "Part" then
  497. c.Transparency = i/10
  498. end
  499. end
  500. end
  501. LIGHTNINGMODEL:remove()
  502. end))
  503. elseif Dissapear == false then
  504. Debris:AddItem(LIGHTNINGMODEL,0.1)
  505. end
  506. return {End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z/2).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  507. end
  508.  
  509. BaseLightning = IT("Part")
  510. BaseLightning.Anchored = true
  511. BaseLightning.CanCollide = false
  512. BaseLightning.Material = "Neon"
  513. local LightningBolts = {}
  514. function Zap(Table)
  515. local StartPos, TargetPos, Character, Color = Table.StartPosition, Table.TargetPosition, Table.Character, Table.Color
  516. local Duration = Table.Duration or 2
  517. local Offset = Table.Offset or 2
  518. local Individualize = Table.Individualize or false
  519. local MaxRange = Table.MaxRange or 200
  520. local SegmentLength = Table.SegmentLength or 5
  521. local Transparency = Table.Transparency or 0
  522. local Ignore = Table.Ignore or {}
  523. local SIZE = Table.SIZE or 0.3
  524. if not (StartPos and TargetPos) or not Character then
  525. return
  526. end
  527. local LightningModel = IT("Folder", Effects)
  528. LightningModel.Name = "ZAPP"
  529. for i, v in pairs({Character, LightningModel}) do
  530. table.insert(Ignore, v)
  531. end
  532. local LastPos = StartPos
  533. local Direction = CFrame.new(StartPos, TargetPos).lookVector
  534. local RayHit, RayPos, RayNormal = CastZapRay(StartPos, Direction, MaxRange, Ignore, false)
  535. local RayLength = (StartPos - RayPos).Magnitude
  536. local Struck = false
  537. local TotalSegments = math.ceil(RayLength / SegmentLength)
  538. Direction = CFrame.new(StartPos, RayPos).lookVector
  539. local LightningBolt = IT("Model", Effects)
  540. LightningBolt.Name = "Lightning"
  541. LastBolt = LightningBolt
  542. Debris:AddItem(LightningBolt, Duration)
  543. LightningBolt.Parent = LightningModel
  544. for i = 1, TotalSegments do
  545. if not Struck then
  546. local Entropy = Vector3.new(math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset, math.random() * Offset * 2.5 - Offset)
  547. local NewPos = StartPos + Direction * (RayLength * (i / TotalSegments)) + Entropy
  548. local SegmentVec = NewPos - LastPos
  549. local RayHit, RayPos, RayNormal = CastZapRay(LastPos, SegmentVec.Unit, SegmentVec.Magnitude, {Character, LightningModel}, false)
  550. local RayVec = LastPos - RayPos
  551. local LightningPart = BaseLightning:Clone()
  552. LightningPart.BrickColor = BrickColor.new(Color)
  553. LightningPart.Transparency = Transparency
  554. LightningPart.Size = Vector3.new(SIZE, SIZE, RayVec.Magnitude)
  555. LightningPart.CFrame = CFrame.new(LastPos, RayPos) * CFrame.new(0, 0, -(RayVec.Magnitude / 2))
  556. local CylinderMesh = IT("CylinderMesh", LightningPart)
  557. local OrigCF = LightningPart.CFrame
  558. LightningPart.Size = Vector3.new(LightningPart.Size.X, LightningPart.Size.Z, LightningPart.Size.Y)
  559. LightningPart.CFrame = OrigCF * CFrame.Angles(math.pi / 2, 0, 0)
  560. LightningPart.Parent = LightningBolt
  561. LastPos = NewPos
  562. end
  563. end
  564. return {
  565. RayHit = RayHit,
  566. RayPos = RayPos,
  567. RayNormal = RayNormal,
  568. LightningModel = LightningModel
  569. }
  570. end
  571.  
  572. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  573. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  574. end
  575.  
  576. function PositiveAngle(NUMBER)
  577. if NUMBER >= 0 then
  578. NUMBER = 0
  579. end
  580. return NUMBER
  581. end
  582.  
  583. function NegativeAngle(NUMBER)
  584. if NUMBER <= 0 then
  585. NUMBER = 0
  586. end
  587. return NUMBER
  588. end
  589.  
  590. function Swait(NUMBER)
  591. if NUMBER == 0 or NUMBER == nil then
  592. ArtificialHB.Event:wait()
  593. else
  594. for i = 1, NUMBER do
  595. ArtificialHB.Event:wait()
  596. end
  597. end
  598. end
  599.  
  600. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  601. local NEWMESH = IT(MESH)
  602. if MESH == "SpecialMesh" then
  603. NEWMESH.MeshType = MESHTYPE
  604. if MESHID ~= "nil" and MESHID ~= "" then
  605. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  606. end
  607. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  608. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  609. end
  610. end
  611. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  612. NEWMESH.Scale = SCALE
  613. NEWMESH.Parent = PARENT
  614. return NEWMESH
  615. end
  616.  
  617. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  618. local NEWPART = IT("Part")
  619. NEWPART.formFactor = FORMFACTOR
  620. NEWPART.Reflectance = REFLECTANCE
  621. NEWPART.Transparency = TRANSPARENCY
  622. NEWPART.CanCollide = false
  623. NEWPART.Locked = true
  624. NEWPART.Anchored = true
  625. if ANCHOR == false then
  626. NEWPART.Anchored = false
  627. end
  628. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  629. NEWPART.Name = NAME
  630. NEWPART.Size = SIZE
  631. NEWPART.Position = Torso.Position
  632. NEWPART.Material = MATERIAL
  633. NEWPART:BreakJoints()
  634. NEWPART.Parent = PARENT
  635. return NEWPART
  636. end
  637.  
  638. local function weldBetween(a, b)
  639. local weldd = Instance.new("ManualWeld")
  640. weldd.Part0 = a
  641. weldd.Part1 = b
  642. weldd.C0 = CFrame.new()
  643. weldd.C1 = b.CFrame:inverse() * a.CFrame
  644. weldd.Parent = a
  645. return weldd
  646. end
  647.  
  648.  
  649. function QuaternionFromCFrame(cf)
  650. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  651. local trace = m00 + m11 + m22
  652. if trace > 0 then
  653. local s = math.sqrt(1 + trace)
  654. local recip = 0.5 / s
  655. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  656. else
  657. local i = 0
  658. if m11 > m00 then
  659. i = 1
  660. end
  661. if m22 > (i == 0 and m00 or m11) then
  662. i = 2
  663. end
  664. if i == 0 then
  665. local s = math.sqrt(m00 - m11 - m22 + 1)
  666. local recip = 0.5 / s
  667. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  668. elseif i == 1 then
  669. local s = math.sqrt(m11 - m22 - m00 + 1)
  670. local recip = 0.5 / s
  671. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  672. elseif i == 2 then
  673. local s = math.sqrt(m22 - m00 - m11 + 1)
  674. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  675. end
  676. end
  677. end
  678.  
  679. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  680. local xs, ys, zs = x + x, y + y, z + z
  681. local wx, wy, wz = w * xs, w * ys, w * zs
  682. local xx = x * xs
  683. local xy = x * ys
  684. local xz = x * zs
  685. local yy = y * ys
  686. local yz = y * zs
  687. local zz = z * zs
  688. 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))
  689. end
  690.  
  691. function QuaternionSlerp(a, b, t)
  692. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  693. local startInterp, finishInterp;
  694. if cosTheta >= 0.0001 then
  695. if (1 - cosTheta) > 0.0001 then
  696. local theta = ACOS(cosTheta)
  697. local invSinTheta = 1 / SIN(theta)
  698. startInterp = SIN((1 - t) * theta) * invSinTheta
  699. finishInterp = SIN(t * theta) * invSinTheta
  700. else
  701. startInterp = 1 - t
  702. finishInterp = t
  703. end
  704. else
  705. if (1 + cosTheta) > 0.0001 then
  706. local theta = ACOS(-cosTheta)
  707. local invSinTheta = 1 / SIN(theta)
  708. startInterp = SIN((t - 1) * theta) * invSinTheta
  709. finishInterp = SIN(t * theta) * invSinTheta
  710. else
  711. startInterp = t - 1
  712. finishInterp = t
  713. end
  714. end
  715. 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
  716. end
  717.  
  718. function Clerp(a, b, t)
  719. local qa = {QuaternionFromCFrame(a)}
  720. local qb = {QuaternionFromCFrame(b)}
  721. local ax, ay, az = a.x, a.y, a.z
  722. local bx, by, bz = b.x, b.y, b.z
  723. local _t = 1 - t
  724. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  725. end
  726.  
  727. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  728. local frame = IT("Frame")
  729. frame.BackgroundTransparency = TRANSPARENCY
  730. frame.BorderSizePixel = BORDERSIZEPIXEL
  731. frame.Position = POSITION
  732. frame.Size = SIZE
  733. frame.BackgroundColor3 = COLOR
  734. frame.BorderColor3 = BORDERCOLOR
  735. frame.Name = NAME
  736. frame.Parent = PARENT
  737. return frame
  738. end
  739.  
  740. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  741. local label = IT("TextLabel")
  742. label.BackgroundTransparency = 1
  743. label.Size = UD2(1, 0, 1, 0)
  744. label.Position = UD2(0, 0, 0, 0)
  745. label.TextColor3 = TEXTCOLOR
  746. label.TextStrokeTransparency = STROKETRANSPARENCY
  747. label.TextTransparency = TRANSPARENCY
  748. label.FontSize = TEXTFONTSIZE
  749. label.Font = TEXTFONT
  750. label.BorderSizePixel = BORDERSIZEPIXEL
  751. label.TextScaled = false
  752. label.Text = TEXT
  753. label.Name = NAME
  754. label.Parent = PARENT
  755. return label
  756. end
  757.  
  758. function NoOutlines(PART)
  759. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  760. end
  761.  
  762. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  763. local NEWWELD = IT(TYPE)
  764. NEWWELD.Part0 = PART0
  765. NEWWELD.Part1 = PART1
  766. NEWWELD.C0 = C0
  767. NEWWELD.C1 = C1
  768. NEWWELD.Parent = PARENT
  769. return NEWWELD
  770. end
  771.  
  772. local S = IT("Sound")
  773. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  774. local NEWSOUND = nil
  775. coroutine.resume(coroutine.create(function()
  776. NEWSOUND = S:Clone()
  777. NEWSOUND.Parent = PARENT
  778. NEWSOUND.Volume = VOLUME
  779. NEWSOUND.Pitch = PITCH
  780. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  781. NEWSOUND:play()
  782. if DOESLOOP == true then
  783. NEWSOUND.Looped = true
  784. else
  785. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  786. NEWSOUND:remove()
  787. end
  788. end))
  789. return NEWSOUND
  790. end
  791.  
  792. function CFrameFromTopBack(at, top, back)
  793. local right = top:Cross(back)
  794. 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)
  795. end
  796.  
  797. --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})
  798. function WACKYEFFECT(Table)
  799. local TYPE = (Table.EffectType or "Sphere")
  800. local SIZE = (Table.Size or VT(1,1,1))
  801. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  802. local TRANSPARENCY = (Table.Transparency or 0)
  803. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  804. local CFRAME = (Table.CFrame or Torso.CFrame)
  805. local MOVEDIRECTION = (Table.MoveToPos or nil)
  806. local ROTATION1 = (Table.RotationX or 0)
  807. local ROTATION2 = (Table.RotationY or 0)
  808. local ROTATION3 = (Table.RotationZ or 0)
  809. local MATERIAL = (Table.Material or "Neon")
  810. local COLOR = (Table.Color or C3(1,1,1))
  811. local TIME = (Table.Time or 45)
  812. local SOUNDID = (Table.SoundID or nil)
  813. local SOUNDPITCH = (Table.SoundPitch or nil)
  814. local SOUNDVOLUME = (Table.SoundVolume or nil)
  815. coroutine.resume(coroutine.create(function()
  816. local PLAYSSOUND = false
  817. local SOUND = nil
  818. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  819. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  820. PLAYSSOUND = true
  821. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  822. end
  823. EFFECT.Color = COLOR
  824. local MSH = nil
  825. if TYPE == "Sphere" then
  826. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  827. elseif TYPE == "Block" then
  828. MSH = IT("BlockMesh",EFFECT)
  829. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  830. elseif TYPE == "Wave" then
  831. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  832. elseif TYPE == "Ring" then
  833. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  834. elseif TYPE == "Slash" then
  835. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  836. elseif TYPE == "Round Slash" then
  837. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  838. elseif TYPE == "Swirl" then
  839. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  840. elseif TYPE == "Skull" then
  841. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  842. elseif TYPE == "Crystal" then
  843. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  844. end
  845. if MSH ~= nil then
  846. local MOVESPEED = nil
  847. if MOVEDIRECTION ~= nil then
  848. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  849. end
  850. local GROWTH = SIZE - ENDSIZE
  851. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  852. if TYPE == "Block" then
  853. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  854. else
  855. EFFECT.CFrame = CFRAME
  856. end
  857. for LOOP = 1, TIME+1 do
  858. Swait()
  859. MSH.Scale = MSH.Scale - GROWTH/TIME
  860. if TYPE == "Wave" then
  861. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  862. end
  863. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  864. if TYPE == "Block" then
  865. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  866. else
  867. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  868. end
  869. if MOVEDIRECTION ~= nil then
  870. local ORI = EFFECT.Orientation
  871. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  872. EFFECT.Orientation = ORI
  873. end
  874. end
  875. if PLAYSSOUND == false then
  876. EFFECT:remove()
  877. else
  878. SOUND.Stopped:Connect(function()
  879. EFFECT:remove()
  880. end)
  881. end
  882. else
  883. if PLAYSSOUND == false then
  884. EFFECT:remove()
  885. else
  886. repeat Swait() until SOUND.Playing == false
  887. EFFECT:remove()
  888. end
  889. end
  890. end))
  891. end
  892.  
  893. function MakeForm(PART,TYPE)
  894. if TYPE == "Cyl" then
  895. local MSH = IT("CylinderMesh",PART)
  896. elseif TYPE == "Ball" then
  897. local MSH = IT("SpecialMesh",PART)
  898. MSH.MeshType = "Sphere"
  899. elseif TYPE == "Wedge" then
  900. local MSH = IT("SpecialMesh",PART)
  901. MSH.MeshType = "Wedge"
  902. end
  903. end
  904.  
  905. function SpawnTrail(FROM,TO,BIG)
  906. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Tr. Blue", "Trail", VT(0,0,0))
  907. MakeForm(TRAIL,"Cyl")
  908. local DIST = (FROM - TO).Magnitude
  909. if BIG == true then
  910. TRAIL.Size = VT(0.5,DIST,0.5)
  911. else
  912. TRAIL.Size = VT(0.25,DIST,0.25)
  913. end
  914. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  915. coroutine.resume(coroutine.create(function()
  916. for i = 1, 5 do
  917. Swait()
  918. TRAIL.Transparency = TRAIL.Transparency + 0.1
  919. end
  920. TRAIL:remove()
  921. end))
  922. end
  923.  
  924. Debris = game:GetService("Debris")
  925.  
  926. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  927. local DIRECTION = CF(StartPos,EndPos).lookVector
  928. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  929. end
  930.  
  931. function turnto(position)
  932. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  933. end
  934. local asd = Instance.new("ParticleEmitter")
  935. asd.Color = ColorSequence.new(Color3.new(108,129,183), Color3.new(108,129,183))
  936. asd.LightEmission = .1
  937. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  938. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  939. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  940. asd.Transparency = bbb
  941. asd.Size = aaa
  942. asd.ZOffset = .9
  943. asd.Acceleration = Vector3.new(0, -15, 0)
  944. asd.LockedToPart = false
  945. asd.EmissionDirection = "Back"
  946. asd.Lifetime = NumberRange.new(1, 2)
  947. asd.Rotation = NumberRange.new(-100, 100)
  948. asd.RotSpeed = NumberRange.new(-100, 100)
  949. asd.Speed = NumberRange.new(10)
  950. asd.Enabled = false
  951. asd.VelocitySpread = 999
  952.  
  953. function getbloody(victim,amount)
  954. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  955. PART.CFrame = victim.CFrame
  956. local HITPLAYERSOUNDS = {"356551938","264486467"}
  957. Debris:AddItem(PART,5)
  958. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  959. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  960. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  961. local prtcl = asd:Clone()
  962. prtcl.Parent = PART
  963. prtcl:Emit(amount*10)
  964. end
  965.  
  966. local Particle = IT("ParticleEmitter",nil)
  967. Particle.Enabled = false
  968. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  969. Particle.LightEmission = 0.5
  970. Particle.Rate = 150
  971. Particle.ZOffset = 1
  972. Particle.Rotation = NumberRange.new(-180, 180)
  973. Particle.RotSpeed = NumberRange.new(-180, 180)
  974. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  975. Particle.Color = ColorSequence.new(C3(108,129,183),C3(108,129,183))
  976.  
  977. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  978. function ParticleEmitter(Table)
  979. local PRTCL = Particle:Clone()
  980. local Speed = Table.Speed or 5
  981. local Drag = Table.Drag or 0
  982. local Size1 = Table.Size1 or 1
  983. local Size2 = Table.Size2 or 5
  984. local Lifetime1 = Table.Lifetime1 or 1
  985. local Lifetime2 = Table.Lifetime2 or 1.5
  986. local Parent = Table.Parent or Torso
  987. local Emit = Table.Emit or 100
  988. local Offset = Table.Offset or 360
  989. local Acel = Table.Acel or VT(0,0,0)
  990. local Enabled = Table.Enabled or false
  991. PRTCL.Parent = Parent
  992. PRTCL.Size = NumberSequence.new(Size1,Size2)
  993. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  994. PRTCL.Speed = NumberRange.new(Speed)
  995. PRTCL.VelocitySpread = Offset
  996. PRTCL.Drag = Drag
  997. PRTCL.Acceleration = Acel
  998. if Enabled == false then
  999. PRTCL:Emit(Emit)
  1000. Debris:AddItem(PRTCL,Lifetime2)
  1001. else
  1002. PRTCL.Enabled = true
  1003. end
  1004. return PRTCL
  1005. end
  1006.  
  1007. function R_RANDOM(CFRAME,DIST)
  1008. return CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,-DIST)
  1009. end
  1010.  
  1011. function CharacterFade(COLOR,TIMER,MOVEDIRECTION,PARENT)
  1012. coroutine.resume(coroutine.create(function()
  1013. local FADE = IT("Model",Effects)
  1014. if PARENT ~= nil then
  1015. FADE.Parent = PARENT
  1016. end
  1017. FADE.Name = "FadingEffect"
  1018. for _, c in pairs(Character:GetChildren()) do
  1019. if c.ClassName == "Part" then
  1020. c.CanCollide = false
  1021. local FADER = CreatePart(3, FADE, "Neon", 0, 0.75, BRICKC("Tr. Blue"), c.Name, c.Size, true)
  1022. FADER.CFrame = c.CFrame
  1023. FADER.Color = COLOR
  1024. if FADER.Name == "Head" then
  1025. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FADER
  1026. elseif FADER.Name == "HumanoidRootPart" then
  1027. FADE.PrimaryPart = FADER
  1028. FADER.Transparency = 1
  1029. end
  1030. end
  1031. end
  1032. local TRANS = 0.25/TIMER
  1033. local DIST = nil
  1034. if MOVEDIRECTION ~= nil then
  1035. DIST = (FADE.PrimaryPart.Position - MOVEDIRECTION).Magnitude
  1036. end
  1037. for i = 1, TIMER do
  1038. Swait()
  1039. for _, c in pairs(FADE:GetChildren()) do
  1040. if c.ClassName == "Part" then
  1041. c.Transparency = c.Transparency + TRANS
  1042. end
  1043. end
  1044. if MOVEDIRECTION ~= nil then
  1045. local ORI = FADE.PrimaryPart.Orientation
  1046. FADE:SetPrimaryPartCFrame(CF(CF(FADE.PrimaryPart.Position,MOVEDIRECTION)*CF(0,0,-DIST/TIMER).p) * ANGLES(RAD(ORI.X), RAD(ORI.Y), RAD(ORI.Z)))
  1047. end
  1048. end
  1049. FADE:remove()
  1050. end))
  1051. end
  1052.  
  1053.  
  1054. --//=================================\\
  1055. --|| WEAPON CREATION
  1056. --\\=================================//
  1057. local Back = CreatePart(3, Character, "ForceField", 0, 0, "Light stone grey", "Wing", VT(1,1,0.35),false)
  1058. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Back, CF(0, 0.5, 1.2) * ANGLES(RAD(0),RAD(0),RAD(45)), CF(0, 0, 0))
  1059.  
  1060. local ANGLE = 35
  1061. for i = 1, 5 do
  1062. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Light stone grey", "Wing", VT(0.15,2+(i/2),0.15),false)
  1063. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1064. local Wing2 = CreatePart(3, Character, "ForceField", 0, 0, "Light stone grey", "Wing", VT(0.25,1,0.25),false)
  1065. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1066. ANGLE = ANGLE - 15
  1067. table.insert(LEFTWINGS,WingWeld)
  1068. end
  1069. ANGLE = 35
  1070. for i = 1, 5 do
  1071. local Wing = CreatePart(3, Character, "Neon", 0, 0, "Light stone grey", "Wing", VT(0.15,2+(i/2),0.15),false)
  1072. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Wing, Torso, Wing, CF(0, 1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * CF(0,1,0) * ANGLES(RAD(0), RAD(0), RAD(-90)) * ANGLES(RAD(ANGLE), RAD(0), RAD(0)) * CF(0,3+(i/10),0) , CF(0, 0, 0))
  1073. local Wing2 = CreatePart(3, Character, "ForceField", 0, 0, "Light stone grey", "Wing", VT(0.25,1,0.25),false)
  1074. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing2, CF(0, 2+(i/2), 0) * ANGLES(RAD(25), RAD(0), RAD(0)), CF(0, 1, 0))
  1075. ANGLE = ANGLE - 15
  1076. table.insert(RIGHTWINGS,WingWeld)
  1077. end
  1078.  
  1079. local EyePiece1 = CreatePart(3, Character, "Neon", 0, 0, "Tr. Blue", "EyePiece1", VT(0.6,0.1,1)/2,false)
  1080. MakeForm(EyePiece1,"Ball")
  1081. CreateWeldOrSnapOrMotor("Weld", EyePiece1, Head, EyePiece1, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  1082. local EyePiece2 = CreatePart(3, Character, "Neon", 0, 0, "Tr. Blue", "EyePiece2", VT(0.1,1,1)/2,false)
  1083. MakeForm(EyePiece2,"Ball")
  1084. CreateWeldOrSnapOrMotor("Weld", EyePiece2, Head, EyePiece2, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  1085. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Black", "Hood", VT(1,1,1),false)
  1086. PRT.Color = C3(0,0,0)
  1087. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  1088. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  1089. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Black", "Scarf", VT(1,1,1),false)
  1090. PRT.Color = C3(0,0,0)
  1091. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  1092. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  1093. for i = 1, 16 do
  1094. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Black", "FaceGradient", VT(1.01,0.65,1.01),false)
  1095. FACE.Color = C3(0,0,0)
  1096. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  1097. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  1098. end
  1099. local LASTPART = Head
  1100. for i = 1, 20 do
  1101. local MATH = (1-(i/25))
  1102. if LASTPART == Head then
  1103. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Blue", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1104. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(15), RAD(-15)), CF(0, 0, 0))
  1105. LASTPART = Horn
  1106. Horn.Color = C3((i*3-3)/108,129,183)
  1107. else
  1108. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Blue", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1109. 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))
  1110. LASTPART = Horn
  1111. Horn.Color = C3((i*3-3)/108,129,183)
  1112. end
  1113. end
  1114. local LASTPART = Head
  1115. for i = 1, 20 do
  1116. local MATH = (1-(i/25))
  1117. if LASTPART == Head then
  1118. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Blue", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1119. CreateWeldOrSnapOrMotor("Weld", LASTPART, LASTPART, Horn, CF(-0.3, 0.7, -0.35) * ANGLES(RAD(-55), RAD(-15), RAD(15)), CF(0, 0, 0))
  1120. LASTPART = Horn
  1121. Horn.Color = C3((i*3-3)/1,1,1)
  1122. else
  1123. local Horn = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Tr. Blue", "Horn", VT(0.25*MATH,0.25,0.25*MATH),false)
  1124. 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))
  1125. LASTPART = Horn
  1126. Horn.Color = C3((i*3-3)/0,0,0)
  1127. end
  1128. end
  1129. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "White", "Hair", VT(1,1,1),false)
  1130. local HairWeld1 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.1,-0.25) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1131. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.025, 0.025, 0.02), VT(0,0,0))
  1132. local Hair = CreatePart(3, Character, "Fabric", 0, 0, "Black", "Hair", VT(1,1,1),false)
  1133. local HairWeld2 = CreateWeldOrSnapOrMotor("Weld", Hair, Head, Hair, CF(0,0.2,-0.3) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1134. CreateMesh("SpecialMesh", Hair, "FileMesh", "873651376", "", VT(0.03, 0.015, 0.01), VT(0,0,-0.1))
  1135.  
  1136. local Particle = IT("ParticleEmitter",nil)
  1137. Particle.Enabled = false
  1138. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1139. Particle.LightEmission = 0.5
  1140. Particle.Rate = 150
  1141. Particle.ZOffset = 0.2
  1142. Particle.Rotation = NumberRange.new(-180, 180)
  1143. Particle.RotSpeed = NumberRange.new(-180, 180)
  1144. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  1145. Particle.Color = ColorSequence.new(C3(108,129,183),C3(108,129,183))
  1146.  
  1147. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1148. function ParticleEmitter(Table)
  1149. local PRTCL = Particle:Clone()
  1150. local Speed = Table.Speed or 5
  1151. local Drag = Table.Drag or 0
  1152. local Size1 = Table.Size1 or 1
  1153. local Size2 = Table.Size2 or 5
  1154. local Lifetime1 = Table.Lifetime1 or 1
  1155. local Lifetime2 = Table.Lifetime2 or 1.5
  1156. local Parent = Table.Parent or Torso
  1157. local Emit = Table.Emit or 100
  1158. local Offset = Table.Offset or 360
  1159. local Acel = Table.Acel or VT(0,0,0)
  1160. local Enabled = Table.Enabled or false
  1161. PRTCL.Parent = Parent
  1162. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1163. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1164. PRTCL.Speed = NumberRange.new(Speed)
  1165. PRTCL.VelocitySpread = Offset
  1166. PRTCL.Drag = Drag
  1167. PRTCL.Acceleration = Acel
  1168. if Enabled == false then
  1169. PRTCL:Emit(Emit)
  1170. Debris:AddItem(PRTCL,Lifetime2)
  1171. else
  1172. PRTCL.Enabled = true
  1173. end
  1174. return PRTCL
  1175. end
  1176.  
  1177.  
  1178.  
  1179.  
  1180.  
  1181.  
  1182.  
  1183.  
  1184. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1185. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1186. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1187. MakeForm(Part,"Wedge")
  1188. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1189. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1190. MakeForm(Part,"Wedge")
  1191. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1192. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1193. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1194. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1197. MakeForm(Part,"Cyl")
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1199. for i = 1, 8 do
  1200. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1201. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1202. end
  1203. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1204. MakeForm(Part,"Cyl")
  1205. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1206. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1207. MakeForm(Part,"Ball")
  1208. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1209. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1210. MakeForm(Part,"Wedge")
  1211. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1212. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1213. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1214. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1215. MakeForm(Part,"Cyl")
  1216. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1217. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1218. MakeForm(Part,"Cyl")
  1219. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1220. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1221. MakeForm(Part,"Cyl")
  1222. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1223. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1224. MakeForm(Part,"Wedge")
  1225. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1226. local LASTPART = Handle
  1227. for i = 1, 10 do
  1228. if LASTPART == Handle then
  1229. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1230. LASTPART = Part
  1231. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1232. else
  1233. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1234. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1235. LASTPART = Part
  1236. end
  1237. end
  1238.  
  1239. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1240. MakeForm(Barrel,"Cyl")
  1241. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1242. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1243. MakeForm(Part,"Cyl")
  1244. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1245. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1246. MakeForm(Part,"Wedge")
  1247. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1248. local Hole2 = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1249. MakeForm(Hole2,"Cyl")
  1250. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole2, CF(0, 0.98, 0), CF(0, 0, 0))
  1251. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1252. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1253. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1254. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1255. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1256. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1257. coroutine.resume(coroutine.create(function()
  1258. while wait() do
  1259. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1260. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1261. end
  1262. end))
  1263.  
  1264. 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)})
  1265. --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)})
  1266.  
  1267. for _, c in pairs(Weapon:GetDescendants()) do
  1268. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1269. c.Material = "ForceField"
  1270. c.Color = C3(108,129,183)
  1271. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1272. c.Color = C3(108,129,183)
  1273. c.Material = "ForceField"
  1274. end
  1275. end
  1276.  
  1277. Weapon.Parent = Character
  1278. for _, c in pairs(Weapon:GetChildren()) do
  1279. if c.ClassName == "Part" then
  1280. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1281. end
  1282. end
  1283.  
  1284. function ParticleEmitter(Table)
  1285. local PRTCL = Particle:Clone()
  1286. local Speed = Table.Speed or 5
  1287. local Drag = Table.Drag or 0
  1288. local Size1 = Table.Size1 or 1
  1289. local Size2 = Table.Size2 or 5
  1290. local Lifetime1 = Table.Lifetime1 or 1
  1291. local Lifetime2 = Table.Lifetime2 or 1.5
  1292. local Parent = Table.Parent or Torso
  1293. local Emit = Table.Emit or 100
  1294. local Offset = Table.Offset or 360
  1295. local Acel = Table.Acel or VT(0,0,0)
  1296. local Enabled = Table.Enabled or false
  1297. PRTCL.Parent = Parent
  1298. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1299. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1300. PRTCL.Speed = NumberRange.new(Speed)
  1301. PRTCL.VelocitySpread = Offset
  1302. PRTCL.Drag = Drag
  1303. PRTCL.Acceleration = Acel
  1304. if Enabled == false then
  1305. PRTCL:Emit(Emit)
  1306. Debris:AddItem(PRTCL,Lifetime2)
  1307. else
  1308. PRTCL.Enabled = true
  1309. end
  1310. return PRTCL
  1311. end
  1312.  
  1313. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1314. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, LeftArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1315. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1316. MakeForm(Part,"Wedge")
  1317. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1318. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1319. MakeForm(Part,"Wedge")
  1320. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1321. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1322. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1323. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1324. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1325. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1326. MakeForm(Part,"Cyl")
  1327. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1328. for i = 1, 8 do
  1329. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1330. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1331. end
  1332. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1333. MakeForm(Part,"Cyl")
  1334. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1335. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1336. MakeForm(Part,"Ball")
  1337. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1338. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1339. MakeForm(Part,"Wedge")
  1340. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1341. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1342. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1343. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1344. MakeForm(Part,"Cyl")
  1345. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1346. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1347. MakeForm(Part,"Cyl")
  1348. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1349. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1350. MakeForm(Part,"Cyl")
  1351. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1352. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1353. MakeForm(Part,"Wedge")
  1354. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1355. local LASTPART = Handle
  1356. for i = 1, 10 do
  1357. if LASTPART == Handle then
  1358. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1359. LASTPART = Part
  1360. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1361. else
  1362. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1363. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1364. LASTPART = Part
  1365. end
  1366. end
  1367.  
  1368. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1369. MakeForm(Barrel,"Cyl")
  1370. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1371. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1372. MakeForm(Part,"Cyl")
  1373. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1374. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1375. MakeForm(Part,"Wedge")
  1376. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1377. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1378. MakeForm(Hole,"Cyl")
  1379. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1380. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1381. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1382. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1383. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1384. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1385. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1386. coroutine.resume(coroutine.create(function()
  1387. while wait() do
  1388. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1389. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1390. end
  1391. end))
  1392.  
  1393. 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)})
  1394. --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)})
  1395.  
  1396. for _, c in pairs(Weapon:GetDescendants()) do
  1397. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1398. c.Material = "ForceField"
  1399. c.Color = C3(108,129,183)
  1400. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1401. c.Color = C3(108,129,183)
  1402. c.Material = "ForceField"
  1403. end
  1404. end
  1405.  
  1406. Weapon.Parent = Character
  1407. for _, c in pairs(Weapon:GetChildren()) do
  1408. if c.ClassName == "Part" then
  1409. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1410. end
  1411. end
  1412.  
  1413. local SKILLTEXTCOLOR = C3(108,129,183)
  1414. local SKILLFONT = "Antique"
  1415. local SKILLTEXTSIZE = 7
  1416.  
  1417. Humanoid.Died:connect(function()
  1418. ATTACK = true
  1419. end)
  1420.  
  1421.  
  1422. 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")
  1423. 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")
  1424. 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")
  1425. 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")
  1426. 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")
  1427.  
  1428. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1429. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1430. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1431. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1432. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1433.  
  1434. function printbye(Name)
  1435. 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, "}
  1436. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1437. end
  1438.  
  1439. workspace.ChildAdded:connect(function(instance)
  1440. for BANISH = 1, #TOBANISH do
  1441. if TOBANISH[BANISH] ~= nil then
  1442. if instance.Name == TOBANISH[BANISH] then
  1443. coroutine.resume(coroutine.create(function()
  1444. printbye(instance.Name)
  1445. instance:ClearAllChildren()
  1446. Debris:AddItem(instance,0.0005)
  1447. end))
  1448. end
  1449. end
  1450. end
  1451. end)
  1452.  
  1453. --//=================================\\
  1454. --|| DAMAGING
  1455. --\\=================================//
  1456.  
  1457. function CreateWave(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1458. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1459. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1460. wave.CFrame = CFRAME
  1461. coroutine.resume(coroutine.create(function(PART)
  1462. for i = 1, WAIT do
  1463. Swait()
  1464. mesh.Scale = mesh.Scale + GROW
  1465. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1466. if DOESROT == true then
  1467. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1468. end
  1469. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1470. if wave.Transparency > 0.99 then
  1471. wave:remove()
  1472. end
  1473. end
  1474. end))
  1475. end
  1476.  
  1477. function CreateRing(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  1478. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1479. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "559831844", "", SIZE, VT(0,0,0))
  1480. wave.CFrame = CFRAME
  1481. coroutine.resume(coroutine.create(function(PART)
  1482. for i = 1, WAIT do
  1483. Swait()
  1484. mesh.Scale = mesh.Scale + GROW
  1485. if DOESROT == true then
  1486. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1487. end
  1488. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1489. if wave.Transparency > 0.99 then
  1490. wave:remove()
  1491. end
  1492. end
  1493. end))
  1494. end
  1495.  
  1496. function MagicSphere(SIZE,WAIT,CFRAME,COLOR,GROW)
  1497. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  1498. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0,0,0))
  1499. wave.CFrame = CFRAME
  1500. coroutine.resume(coroutine.create(function(PART)
  1501. for i = 1, WAIT do
  1502. Swait()
  1503. mesh.Scale = mesh.Scale + GROW
  1504. wave.Transparency = wave.Transparency + (1/WAIT)
  1505. if wave.Transparency > 0.99 then
  1506. wave:remove()
  1507. end
  1508. end
  1509. end))
  1510. end
  1511.  
  1512. function Slice(KIND,SIZE,WAIT,CFRAME,COLOR,GROW)
  1513. local mesh = nil
  1514. if KIND == "Base" then
  1515. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0,SIZE/10,SIZE/10), VT(0,0,0))
  1516. elseif KIND == "Thin" then
  1517. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1518. elseif KIND == "Round" then
  1519. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE/10,0,SIZE/10), VT(0,0,0))
  1520. end
  1521. wave.CFrame = CFRAME
  1522. coroutine.resume(coroutine.create(function(PART)
  1523. for i = 1, WAIT do
  1524. Swait()
  1525. mesh.Scale = mesh.Scale + GROW/10
  1526. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1527. if wave.Transparency > 0.99 then
  1528. wave:remove()
  1529. end
  1530. end
  1531. end))
  1532. end
  1533.  
  1534. function Ragdoll(Character2, CharTorso, Headless, Velocity)
  1535. local svch = Character2
  1536. Character2:BreakJoints()
  1537. local hum = Character2:findFirstChild("Humanoid")
  1538. local q = Character2:GetChildren()
  1539. local CLONE = IT("Model", Effects)
  1540. for i = 1, #q do
  1541. if q[i].ClassName == "Accessory" and Headless == true then
  1542. q[i]:remove()
  1543. elseif q[i].ClassName ~= "Humanoid" and q[i].ClassName ~= "LocalScript" and q[i].ClassName ~= "Script" and q[i].ClassName ~= "Gear" then
  1544. q[i].Parent = CLONE
  1545. elseif q[i].ClassName ~= "Humanoid" then
  1546. q[i]:remove()
  1547. end
  1548. end
  1549. local chrclone = CLONE
  1550. local ch = chrclone:GetChildren()
  1551. local i
  1552. for i = 1, #ch do
  1553. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" or ch[i].ClassName == "Script" then
  1554. ch[i]:remove()
  1555. end
  1556. end
  1557. local function Scan(ch)
  1558. local e
  1559. for e = 1, #ch do
  1560. Scan(ch[e]:GetChildren())
  1561. if ch[e].ClassName == "Weld" or ch[e].ClassName == "Motor6D" then
  1562. ch[e]:remove()
  1563. end
  1564. end
  1565. end
  1566. Character2:remove()
  1567. local NEWHUM = IT("Humanoid")
  1568. NEWHUM.Name = "Corpse"
  1569. NEWHUM.Health = 0
  1570. NEWHUM.MaxHealth = 0
  1571. NEWHUM.PlatformStand = true
  1572. NEWHUM.Parent = CLONE
  1573. NEWHUM.DisplayDistanceType = "None"
  1574. Scan(chrclone:GetChildren())
  1575. local ch = Character2:GetChildren()
  1576. local i
  1577. for i = 1, #ch do
  1578. if ch[i].Name == "THandle1" or ch[i].Name == "THandle2" then
  1579. ch[i]:remove()
  1580. end
  1581. end
  1582.  
  1583. Character2 = chrclone
  1584. local Torso2 = Character2.Torso
  1585. local movevector = Vector3.new()
  1586. if Torso2 then
  1587. movevector = CFrame.new(CharTorso.Position, Torso2.Position).lookVector
  1588. local Head = Character2:FindFirstChild("Head")
  1589. if Head then
  1590. local Neck = Instance.new("Weld")
  1591. Neck.Name = "Neck"
  1592. Neck.Part0 = Torso2
  1593. Neck.Part1 = Head
  1594. Neck.C0 = CFrame.new(0, 1.5, 0)
  1595. Neck.C1 = CFrame.new()
  1596. Neck.Parent = Torso2
  1597. if Headless == true then
  1598. Head.Transparency = 1
  1599. Head:ClearAllChildren()
  1600. end
  1601. end
  1602. local Limb = Character2:FindFirstChild("Right Arm")
  1603. if Limb then
  1604. Limb.CFrame = Torso2.CFrame * CFrame.new(1.5, 0, 0)
  1605. local Joint = Instance.new("Glue")
  1606. Joint.Name = "RightShoulder"
  1607. Joint.Part0 = Torso2
  1608. Joint.Part1 = Limb
  1609. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1610. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1611. Joint.Parent = Torso2
  1612. local B = Instance.new("Part")
  1613. B.TopSurface = 0
  1614. B.BottomSurface = 0
  1615. B.formFactor = "Symmetric"
  1616. B.Size = Vector3.new(1, 1, 1)
  1617. B.Transparency = 1
  1618. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1619. B.Parent = Character2
  1620. local W = Instance.new("Weld")
  1621. W.Part0 = Limb
  1622. W.Part1 = B
  1623. W.C0 = CFrame.new(0, -0.5, 0)
  1624. W.Parent = Limb
  1625. end
  1626. local Limb = Character2:FindFirstChild("Left Arm")
  1627. if Limb then
  1628. Limb.CFrame = Torso2.CFrame * CFrame.new(-1.5, 0, 0)
  1629. local Joint = Instance.new("Glue")
  1630. Joint.Name = "LeftShoulder"
  1631. Joint.Part0 = Torso2
  1632. Joint.Part1 = Limb
  1633. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1634. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1635. Joint.Parent = Torso2
  1636. local B = Instance.new("Part")
  1637. B.TopSurface = 0
  1638. B.BottomSurface = 0
  1639. B.formFactor = "Symmetric"
  1640. B.Size = Vector3.new(1, 1, 1)
  1641. B.Transparency = 1
  1642. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1643. B.Parent = Character2
  1644. local W = Instance.new("Weld")
  1645. W.Part0 = Limb
  1646. W.Part1 = B
  1647. W.C0 = CFrame.new(0, -0.5, 0)
  1648. W.Parent = Limb
  1649. end
  1650. local Limb = Character2:FindFirstChild("Right Leg")
  1651. if Limb then
  1652. Limb.CFrame = Torso2.CFrame * CFrame.new(0.5, -2, 0)
  1653. local Joint = Instance.new("Glue")
  1654. Joint.Name = "RightHip"
  1655. Joint.Part0 = Torso2
  1656. Joint.Part1 = Limb
  1657. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1658. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  1659. Joint.Parent = Torso2
  1660. local B = Instance.new("Part")
  1661. B.TopSurface = 0
  1662. B.BottomSurface = 0
  1663. B.formFactor = "Symmetric"
  1664. B.Size = Vector3.new(1, 1, 1)
  1665. B.Transparency = 1
  1666. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1667. B.Parent = Character2
  1668. local W = Instance.new("Weld")
  1669. W.Part0 = Limb
  1670. W.Part1 = B
  1671. W.C0 = CFrame.new(0, -0.5, 0)
  1672. W.Parent = Limb
  1673. end
  1674. local Limb = Character2:FindFirstChild("Left Leg")
  1675. if Limb then
  1676. Limb.CFrame = Torso2.CFrame * CFrame.new(-0.5, -2, 0)
  1677. local Joint = Instance.new("Glue")
  1678. Joint.Name = "LeftHip"
  1679. Joint.Part0 = Torso2
  1680. Joint.Part1 = Limb
  1681. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1682. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  1683. Joint.Parent = Torso2
  1684. local B = Instance.new("Part")
  1685. B.TopSurface = 0
  1686. B.BottomSurface = 0
  1687. B.formFactor = "Symmetric"
  1688. B.Size = Vector3.new(1, 1, 1)
  1689. B.Transparency = 1
  1690. B.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  1691. B.Parent = Character2
  1692. local W = Instance.new("Weld")
  1693. W.Part0 = Limb
  1694. W.Part1 = B
  1695. W.C0 = CFrame.new(0, -0.5, 0)
  1696. W.Parent = Limb
  1697. end
  1698. local Bar = Instance.new("Part")
  1699. Bar.TopSurface = 0
  1700. Bar.BottomSurface = 0
  1701. Bar.formFactor = "Symmetric"
  1702. Bar.Size = Vector3.new(1, 1, 1)
  1703. Bar.Transparency = 1
  1704. Bar.CFrame = Torso2.CFrame * CFrame.new(0, 0.5, 0)
  1705. Bar.Parent = Character2
  1706. local Weld = Instance.new("Weld")
  1707. Weld.Part0 = Torso2
  1708. Weld.Part1 = Bar
  1709. Weld.C0 = CFrame.new(0, 0.5, 0)
  1710. Weld.Parent = Torso2
  1711. end
  1712. Character2.Parent = Weapon
  1713. if movevector ~= Vector3.new() then
  1714. for i = 1, 10 do
  1715. Torso2.Velocity = movevector * Velocity
  1716. end
  1717. end
  1718. Character2.Name = "Corpse"
  1719. return Character2, Torso2
  1720. end
  1721.  
  1722. function Banish(Foe)
  1723. if Foe then
  1724. coroutine.resume(coroutine.create(function()
  1725. --if game.Players:FindFirstChild(Foe.Name) then
  1726. table.insert(TOBANISH,Foe.Name)
  1727. printbye(Foe.Name)
  1728. --end
  1729. Foe.Archivable = true
  1730. local CLONE = Foe:Clone()
  1731. Foe:Destroy()
  1732. CLONE.Parent = Effects
  1733. CLONE:BreakJoints()
  1734. local MATERIALS = {"Glass","Neon"}
  1735. for _, c in pairs(CLONE:GetDescendants()) do
  1736. if c:IsA("BasePart") then
  1737. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1738. CreateSound(340722848, c, 10, 1, false)
  1739. end
  1740. c.Anchored = true
  1741. c.Transparency = c.Transparency + 0.2
  1742. c.Material = MATERIALS[MRANDOM(1,2)]
  1743. c.Color = C3(108,129,183)
  1744. if c.ClassName == "MeshPart" then
  1745. c.TextureID = ""
  1746. end
  1747. if c:FindFirstChildOfClass("SpecialMesh") then
  1748. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1749. end
  1750. if c:FindFirstChildOfClass("Decal") then
  1751. c:FindFirstChildOfClass("Decal"):remove()
  1752. end
  1753. c.Name = "Banished"
  1754. c.CanCollide = false
  1755. else
  1756. c:remove()
  1757. end
  1758. end
  1759. local A = false
  1760. for i = 1, 35 do
  1761. if A == false then
  1762. A = true
  1763. elseif A == true then
  1764. A = false
  1765. end
  1766. for _, c in pairs(CLONE:GetDescendants()) do
  1767. if c:IsA("BasePart") then
  1768. c.Anchored = true
  1769. c.Material = MATERIALS[MRANDOM(1,2)]
  1770. c.Transparency = c.Transparency + 0.8/35
  1771. if A == false then
  1772. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1773. elseif A == true then
  1774. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1775. end
  1776. end
  1777. end
  1778. Swait()
  1779. end
  1780. CLONE:remove()
  1781. end))
  1782. end
  1783. end
  1784.  
  1785. function PuddleOfBlood(Position, MaxDrop, Model, MaxSize)
  1786. local HITFLOOR, HITPOS, NORMAL = Raycast(Position, CF(Position, Position + VT(0, -1, 0)).lookVector, MaxDrop, Model)
  1787. if HITFLOOR ~= nil and HITFLOOR.Parent ~= Weapon and HITFLOOR.Parent ~= Character then
  1788. if HITFLOOR.Name == "BloodPuddle" then
  1789. local DIST = (Position - HITFLOOR.Position).Magnitude
  1790. 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
  1791. HITFLOOR.Size = HITFLOOR.Size + VT(0.1, 0, 0.1)
  1792. end
  1793. elseif HITFLOOR.Anchored == true then
  1794. do
  1795. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Really red", "BloodPuddle", VT(2, 0, 2))
  1796. BLOOD.CFrame = CF(HITPOS, HITPOS + NORMAL) * ANGLES(RAD(90), RAD(0), RAD(0))
  1797. MakeForm(BLOOD, "Cyl")
  1798. coroutine.resume(coroutine.create(function()
  1799. Swait(75)
  1800. while true do
  1801. Swait()
  1802. BLOOD.Size = BLOOD.Size - VT(1, 0, 1)
  1803. if BLOOD.Size.Z < 0.051 then
  1804. BLOOD:remove()
  1805. break
  1806. end
  1807. end
  1808. end))
  1809. end
  1810. end
  1811. end
  1812. end
  1813.  
  1814. function SprayBlood(POSITION, DIRECTION, BloodSize)
  1815. local BLOOD = CreatePart(3, Effects, "Glass", 0, 0, "Tr. Blue", "BloodPuddle", VT(1, 1, 1), false)
  1816. BLOOD.CFrame = CF(POSITION)
  1817. MakeForm(BLOOD, "Ball")
  1818. local bv = Instance.new("BodyVelocity", BLOOD)
  1819. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  1820. bv.velocity = CF(POSITION, DIRECTION + VT(MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30, MRANDOM(-3, 3) / 30)).lookVector * 25
  1821. bv.Name = "MOVE"
  1822. Debris:AddItem(bv, 0.05)
  1823. coroutine.resume(coroutine.create(function()
  1824. local HASTOUCHEDGROUND = false
  1825. local HIT = BLOOD.Touched:Connect(function(hit)
  1826. if hit.Anchored == true then
  1827. HASTOUCHEDGROUND = true
  1828. PuddleOfBlood(BLOOD.Position + VT(0, 1, 0), 2, BLOOD, BloodSize)
  1829. end
  1830. end)
  1831. wait(5)
  1832. if HASTOUCHEDGROUND == false then
  1833. BLOOD:remove()
  1834. end
  1835. end))
  1836. end
  1837. function ApplyDamage(Humanoid, Damage, TorsoPart)
  1838. local defence = Instance.new("BoolValue", Humanoid.Parent)
  1839. defence.Name = "HitBy" .. Player.Name
  1840. game:GetService("Debris"):AddItem(defence, 0.001)
  1841. Damage = Damage * DAMAGEMULTIPLIER
  1842. if Humanoid.Health ~= 0 then
  1843. local CritChance = MRANDOM(1, 100)
  1844. if Damage > Humanoid.Health then
  1845. Damage = math.ceil(Humanoid.Health)
  1846. if Damage == 0 then
  1847. Damage = 0.1
  1848. end
  1849. end
  1850. Humanoid.Health = Humanoid.Health - Damage
  1851. StatLabel(TorsoPart.CFrame * CF(0, 0 + (TorsoPart.Size.z - 1), 0), Damage, C3(0, 0, 0))
  1852. end
  1853. end
  1854.  
  1855. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1856. local CHILDREN = workspace:GetDescendants()
  1857. for index, CHILD in pairs(CHILDREN) do
  1858. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1859. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1860. if HUM then
  1861. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1862. if TORSO then
  1863. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1864. if ISBANISH == true then
  1865. Banish(CHILD)
  1866. else
  1867. if ISBANISH == "Gravity" then
  1868. HUM.PlatformStand = true
  1869. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1870. local grav = Instance.new("BodyPosition",TORSO)
  1871. grav.D = 15
  1872. grav.P = 20000
  1873. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1874. grav.position = TORSO.Position
  1875. grav.Name = "V3BanishForce"..Player.Name
  1876. else
  1877. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1878. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1879. end
  1880. else
  1881. HUM.PlatformStand = false
  1882. end
  1883. end
  1884. elseif ISBANISH == "Gravity" then
  1885. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1886. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1887. HUM.PlatformStand = false
  1888. end
  1889. end
  1890. end
  1891. end
  1892. end
  1893. end
  1894. end
  1895.  
  1896. function AoEDamage(position,radius,min,max,maxstrength,critrate,critmultiplier,CanBeDodgedByJumping)
  1897. local dmg = math.random(min,max)
  1898. for i,v in ipairs(workspace:GetChildren()) do
  1899. if v:FindFirstChild("HitBy"..Player.Name) == nil then
  1900. local body = v:GetChildren()
  1901. for part = 1, #body do
  1902. if(v:FindFirstChild("HitBy"..Player.Name) == nil and (body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  1903. if(body[part].Position - position).Magnitude < radius then
  1904. if v.ClassName == "Model" then
  1905. if v:FindFirstChildOfClass("Humanoid") then
  1906. if CanBeDodgedByJumping == true then
  1907. if body[part].Position.Y < position.Y+5 then
  1908. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1909. end
  1910. else
  1911. ApplyDamage(v:FindFirstChildOfClass("Humanoid"),dmg,critrate,critmultiplier)
  1912. end
  1913. local bv = Instance.new("BodyVelocity")
  1914. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1915. bv.velocity = RootPart.CFrame.lookVector*maxstrength
  1916. bv.Parent = body[part]
  1917. Debris:AddItem(bv,0.2)
  1918. end
  1919. end
  1920. end
  1921. end
  1922. end
  1923. end
  1924. if v:FindFirstChild("HitBy"..Player.Name) then
  1925. v:FindFirstChild("HitBy"..Player.Name):remove()
  1926. end
  1927. end
  1928. end
  1929.  
  1930.  
  1931.  
  1932.  
  1933.  
  1934.  
  1935.  
  1936.  
  1937.  
  1938.  
  1939.  
  1940.  
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946.  
  1947.  
  1948.  
  1949.  
  1950.  
  1951. function CreateSwirl(SIZE,WAIT,CFRAME,DOESROT,ROT,COLOR,GROW)
  1952. local wave = CreatePart(3, Effects, "ForceField", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  1953. local mesh = IT("SpecialMesh",wave)
  1954. mesh.MeshType = "FileMesh"
  1955. mesh.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1956. mesh.Scale = SIZE
  1957. wave.CFrame = CFRAME
  1958. coroutine.resume(coroutine.create(function(PART)
  1959. for i = 1, WAIT do
  1960. Swait()
  1961. mesh.Scale = mesh.Scale + GROW
  1962. mesh.Offset = VT(0,0,-(mesh.Scale.X/8))
  1963. if DOESROT == true then
  1964. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  1965. end
  1966. wave.Transparency = wave.Transparency + (0.5/WAIT)
  1967. if wave.Transparency > 0.99 then
  1968. wave:remove()
  1969. end
  1970. end
  1971. end))
  1972. end
  1973.  
  1974.  
  1975.  
  1976.  
  1977.  
  1978.  
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984. function KickThatNigga(CHARACTER)
  1985. g = game.Players:GetPlayers()
  1986. local kickfolder = IT("Folder",Effects)
  1987. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  1988. naeeym2.AlwaysOnTop = false
  1989. naeeym2.Size = UDim2.new(5,35,2,35)
  1990. naeeym2.StudsOffset = Vector3.new(0,1,0)
  1991. naeeym2.Name = "Mark"
  1992. local tecks2 = Instance.new("TextLabel",naeeym2)
  1993. tecks2.BackgroundTransparency = 1
  1994. tecks2.TextScaled = true
  1995. tecks2.BorderSizePixel = 0
  1996. tecks2.Text = "BEANED"
  1997. tecks2.Font = "SciFi"
  1998. tecks2.TextSize = 30
  1999. tecks2.TextStrokeTransparency = 1
  2000. tecks2.TextColor3 = Color3.new(1,0,0)
  2001. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  2002. tecks2.Size = UDim2.new(1,0,0.5,0)
  2003. tecks2.Parent = naeeym2
  2004. CreateSound("527749592", CHARACTER, 600, 1, false)
  2005. for i,v in ipairs(CHARACTER:GetChildren()) do
  2006. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2007. if v.Name ~= "HumanoidRootPart" then
  2008. local BOD = v:Clone()
  2009. BOD.CanCollide = false
  2010. BOD.Anchored = true
  2011. BOD.CFrame = v.CFrame
  2012. BOD.Parent = kickfolder
  2013. BOD.Material = "Granite"
  2014. BOD.Color = C3(.3,0,0)
  2015. if BOD:FindFirstChildOfClass("Decal") then
  2016. BOD:FindFirstChildOfClass("Decal"):remove()
  2017. end
  2018. if BOD.Name == "Head" then
  2019. naeeym2.Adornee = BOD
  2020. end
  2021. if BOD.ClassName == "MeshPart" then
  2022. BOD.TextureID = ""
  2023. end
  2024. end
  2025. end
  2026. end
  2027. for i,v in pairs(g) do
  2028. v:remove()
  2029. end
  2030. if CHARACTER ~= Character then
  2031. CHARACTER:remove()
  2032. end
  2033. if CHARACTER.Name == "Helkern" then
  2034. Character:BreakJoints()
  2035. end
  2036. coroutine.resume(coroutine.create(function()
  2037. for i = 1, 50 do
  2038. Swait()
  2039. for i,v in ipairs(kickfolder:GetChildren()) do
  2040. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2041. v.Transparency = 1
  2042. end
  2043. naeeym2.Enabled = false
  2044. end
  2045. Swait()
  2046. for i,v in ipairs(kickfolder:GetChildren()) do
  2047. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2048. v.Transparency = 0
  2049. end
  2050. naeeym2.Enabled = true
  2051. end
  2052. end
  2053. kickfolder:remove()
  2054. end))
  2055. end
  2056.  
  2057. function ApplyAoE(POSITION,RANGE,ISKICKED)
  2058. local CHILDREN = workspace:GetDescendants()
  2059. for index, CHILD in pairs(CHILDREN) do
  2060. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2061. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2062. if HUM then
  2063. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2064. if TORSO then
  2065. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2066. if ISKICKED == true then
  2067. KickThatNigga(CHILD)
  2068. else
  2069. if ISKICKED == "Gravity" then
  2070. HUM.PlatformStand = true
  2071. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2072. local grav = Instance.new("BodyPosition",TORSO)
  2073. grav.D = 15
  2074. grav.P = 20000
  2075. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2076. grav.position = TORSO.Position
  2077. grav.Name = "V3BanishForce"..Player.Name
  2078. else
  2079. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2080. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2081. end
  2082. else
  2083. HUM.PlatformStand = false
  2084. end
  2085. end
  2086. elseif ISKICKED == "Gravity" then
  2087. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2088. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2089. HUM.PlatformStand = false
  2090. end
  2091. end
  2092. end
  2093. end
  2094. end
  2095. end
  2096. end
  2097.  
  2098. local BEANED = {}
  2099.  
  2100. function Ban(bitch)
  2101. if bitch then
  2102. g = game.Players:GetPlayers()
  2103. local kickfolder = IT("Folder",Effects)
  2104. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  2105. naeeym2.AlwaysOnTop = false
  2106. naeeym2.Size = UDim2.new(5,35,2,35)
  2107. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2108. naeeym2.Name = "Mark"
  2109. local tecks2 = Instance.new("TextLabel",naeeym2)
  2110. tecks2.BackgroundTransparency = 1
  2111. tecks2.TextScaled = true
  2112. tecks2.BorderSizePixel = 0
  2113. tecks2.Text = "BANNED"
  2114. tecks2.Font = "SciFi"
  2115. tecks2.TextSize = 30
  2116. tecks2.TextStrokeTransparency = 0
  2117. tecks2.TextColor3 = Color3.new(1,0,0)
  2118. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  2119. tecks2.Size = UDim2.new(1,0,0.5,0)
  2120. tecks2.Parent = naeeym2
  2121. -- CreateSound("2570187601", bitch, 600, 1, false)
  2122. local Players = game:GetService("Players")
  2123. local fag = Players:FindFirstChild(bitch.Name)
  2124. --faggut:Kick()
  2125. if Players:FindFirstChild(bitch.Name) then
  2126. fag:Kick(reason)
  2127. end
  2128. if Players:FindFirstChild(bitch.Name) then
  2129. fag:Kick(reason)
  2130. end
  2131. if Players:FindFirstChild(bitch.Name) then
  2132. fag:Kick(reason)
  2133. end
  2134. if Players:FindFirstChild(bitch.Name) then
  2135. fag:Kick(reason)
  2136. end
  2137. if Players:FindFirstChild(bitch.Name) then
  2138. fag:Kick(reason)
  2139. end
  2140. if Players:FindFirstChild(bitch.Name) then
  2141. fag:Kick(reason)
  2142. end
  2143. if Players:FindFirstChild("Helkern") then
  2144. end
  2145. table.insert(BEANED,bitch.name)
  2146. --]]
  2147. --CreateSound("527749592", game.Workspace, 700, 1, false)
  2148. --CHARACTER:Remove()
  2149. --[[
  2150. for i,v in pairs(g) do
  2151. --v:remove()
  2152. end ]]--
  2153. --[[
  2154. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  2155. for i,v in pairs(g) do
  2156. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  2157. v:remove()
  2158. end
  2159. end
  2160. end]]--
  2161. --[[
  2162. for _, p in pairs(game.Players:GetChildren()) do
  2163. if p:FindFirstChild("CHARACTER") then
  2164.  
  2165. end
  2166. end]]--
  2167. coroutine.resume(coroutine.create(function()
  2168. for i = 1, 50 do
  2169. Swait()
  2170. for i,v in ipairs(kickfolder:GetChildren()) do
  2171. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2172. v.Transparency = 1
  2173. end
  2174. naeeym2.Enabled = false
  2175. end
  2176. Swait()
  2177. for i,v in ipairs(kickfolder:GetChildren()) do
  2178. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2179. v.Transparency = 0
  2180. end
  2181. naeeym2.Enabled = true
  2182. end
  2183. end
  2184. kickfolder:remove()
  2185. end))
  2186. --wait(6)
  2187. --bitch:Remove()
  2188. end
  2189. end
  2190.  
  2191. local function CheckForBan(player)
  2192. for i = 1, #BEANED do
  2193. if player.Name == BEANED[i] then
  2194. player:Kick("you are kid") --Ban Reason Change between the '' to change the reason!
  2195. end
  2196. end
  2197. end
  2198.  
  2199.  
  2200. game.Players.PlayerAdded:connect(function()
  2201. for i,v in pairs(game.Players:GetPlayers())do
  2202. CheckForBan(v)
  2203. end
  2204. end)
  2205.  
  2206.  
  2207. function Kick(bitch)
  2208. g = game.Players:GetPlayers()
  2209. local kickfolder = IT("Folder",Effects)
  2210. local naeeym2 = Instance.new("BillboardGui",kickfolder)
  2211. naeeym2.AlwaysOnTop = false
  2212. naeeym2.Size = UDim2.new(5,35,2,35)
  2213. naeeym2.StudsOffset = Vector3.new(0,1,0)
  2214. naeeym2.Name = "Mark"
  2215. local tecks2 = Instance.new("TextLabel",naeeym2)
  2216. tecks2.BackgroundTransparency = 1
  2217. tecks2.TextScaled = true
  2218. tecks2.BorderSizePixel = 0
  2219. tecks2.Text = "BANNED"
  2220. tecks2.Font = "SciFi"
  2221. tecks2.TextSize = 30
  2222. tecks2.TextStrokeTransparency = 0
  2223. tecks2.TextColor3 = Color3.new(1,0,0)
  2224. tecks2.TextStrokeColor3 = Color3.new(1,0,0)
  2225. tecks2.Size = UDim2.new(1,0,0.5,0)
  2226. tecks2.Parent = naeeym2
  2227. -- CreateSound("2570187601", bitch, 600, 1, false)
  2228. local Players = game:GetService("Players")
  2229. local fag = Players:FindFirstChild(bitch.Name)
  2230. --faggut:Kick()
  2231. if Players:FindFirstChild(bitch.Name) then
  2232. fag:Kick(reason)
  2233. end
  2234. if Players:FindFirstChild(bitch.Name) then
  2235. fag:Kick(reason)
  2236. end
  2237. if Players:FindFirstChild(bitch.Name) then
  2238. fag:Kick(reason)
  2239. end
  2240. if Players:FindFirstChild(bitch.Name) then
  2241. fag:Kick(reason)
  2242. end
  2243. if Players:FindFirstChild(bitch.Name) then
  2244. fag:Kick(reason)
  2245. end
  2246. if Players:FindFirstChild(bitch.Name) then
  2247. fag:Kick(reason)
  2248. end
  2249. --[[
  2250. for i,v in pairs(fag.Name) do
  2251. if (v:lower() == newPlayer.Name:lower()) then
  2252. newPlayer:Remove()
  2253. end
  2254. end]]--
  2255. --CreateSound("527749592", game.Workspace, 700, 1, false)
  2256. --CHARACTER:Remove()
  2257. --[[
  2258. for i,v in pairs(g) do
  2259. --v:remove()
  2260. end ]]--
  2261. --[[
  2262. if CHARACTER.Name ~= "Default Dummy" or CHARACTER.Name ~= "NPC" then
  2263. for i,v in pairs(g) do
  2264. if string.find(string.upper(v.Name),CHARACTER) == 1 then
  2265. v:remove()
  2266. end
  2267. end
  2268. end]]--
  2269. --[[
  2270. for _, p in pairs(game.Players:GetChildren()) do
  2271. if p:FindFirstChild("CHARACTER") then
  2272.  
  2273. end
  2274. end]]--
  2275. coroutine.resume(coroutine.create(function()
  2276. for i = 1, 50 do
  2277. Swait()
  2278. for i,v in ipairs(kickfolder:GetChildren()) do
  2279. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2280. v.Transparency = 1
  2281. end
  2282. naeeym2.Enabled = false
  2283. end
  2284. Swait()
  2285. for i,v in ipairs(kickfolder:GetChildren()) do
  2286. if v.ClassName == "Part" or v.ClassName == "MeshPart" then
  2287. v.Transparency = 0
  2288. end
  2289. naeeym2.Enabled = true
  2290. end
  2291. end
  2292. kickfolder:remove()
  2293. end))
  2294. --wait(6)
  2295. --bitch:Remove()
  2296. end
  2297.  
  2298.  
  2299.  
  2300. function KickAoE(POSITION,RANGE,BRUTAL)
  2301. local CHILDREN = workspace:GetDescendants()
  2302. for index, CHILD in pairs(CHILDREN) do
  2303. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2304. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2305. if HUM then
  2306. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2307. if TORSO then
  2308. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2309. if BRUTAL == true then
  2310. if Type == "Banish" then
  2311. KickThatNigger(CHILD)
  2312. elseif Type == "Ban" then
  2313. Ban(CHILD)
  2314. elseif Type == "Kick" then
  2315. Kick(CHILD)
  2316. --elseif Type == "Tangle" then
  2317. --Entangle(CHILD)
  2318. end
  2319. else
  2320. CHILD:BreakJoints()
  2321. end
  2322. end
  2323. end
  2324. end
  2325. end
  2326. end
  2327. end
  2328.  
  2329. function ApplyAoE2(POSITION,RANGE,ISKICKED)
  2330. local CHILDREN = workspace:GetDescendants()
  2331. for index, CHILD in pairs(CHILDREN) do
  2332. if CHILD.ClassName == "Model" and CHILD ~= Character then
  2333. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2334. if HUM then
  2335. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2336. if TORSO then
  2337. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2338. if ISKICKED == true then
  2339. KickThatNigger(CHILD)
  2340. else
  2341. if ISKICKED == "Gravity" then
  2342. HUM.PlatformStand = true
  2343. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2344. local grav = Instance.new("BodyPosition",TORSO)
  2345. grav.D = 15
  2346. grav.P = 20000
  2347. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2348. grav.position = TORSO.Position
  2349. grav.Name = "V3BanishForce"..Player.Name
  2350. else
  2351. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  2352. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  2353. end
  2354. else
  2355. HUM.PlatformStand = false
  2356. end
  2357. end
  2358. elseif ISKICKED == "Gravity" then
  2359. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  2360. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  2361. HUM.PlatformStand = false
  2362. end
  2363. end
  2364. end
  2365. end
  2366. end
  2367. end
  2368. end
  2369.  
  2370. --//=================================\\
  2371. --|| ATTACK FUNCTIONS AND STUFF
  2372. --\\=================================//
  2373.  
  2374.  
  2375. function Neck_Snap()
  2376. ATTACK = true
  2377. Rooted = false
  2378. local TARGET, HUM, WLD
  2379. local HIT = RightArm.Touched:Connect(function(hit)
  2380. if hit.Parent ~= nil and hit.Parent:FindFirstChildOfClass("Humanoid") then
  2381. local H = hit.Parent:FindFirstChildOfClass("Humanoid")
  2382. if H.Health > 0 then
  2383. local TORSO = hit.Parent:FindFirstChild("Torso") or hit.Parent:FindFirstChild("UpperTorso")
  2384. if TORSO then
  2385. HUM = H
  2386. TARGET = TORSO
  2387. H.PlatformStand = true
  2388. CreateSound("260411131", TORSO, 10, 1)
  2389. WLD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, TORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2390. end
  2391. end
  2392. end
  2393. end)
  2394. for i = 0, 1, 0.1 / Animation_Speed do
  2395. Swait()
  2396. if TARGET ~= nil then
  2397. break
  2398. end
  2399. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(25)), 0.5 / Animation_Speed)
  2400. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 0.5 / Animation_Speed)
  2401. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.45, -0.3) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2402. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2403. if ANIM == "Idle" then
  2404. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2405. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2406. elseif ANIM == "Walk" then
  2407. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2408. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2409. elseif ANIM == "Jump" or ANIM == "Fall" then
  2410. 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)
  2411. 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)
  2412. end
  2413. end
  2414. HIT:disconnect()
  2415. if TARGET ~= nil then
  2416. if TARGET.Name == "Torso" then
  2417. for i = 0, 2, 0.1 / Animation_Speed do
  2418. Swait()
  2419. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2420. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2421. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(65), RAD(25), RAD(-45)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2422. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(120), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2423. if ANIM == "Idle" then
  2424. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2425. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2426. elseif ANIM == "Walk" then
  2427. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2428. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2429. elseif ANIM == "Jump" or ANIM == "Fall" then
  2430. 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)
  2431. 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)
  2432. end
  2433. end
  2434. WLD:remove()
  2435. local HEAD = TARGET.Parent:FindFirstChild("Head")
  2436. if HEAD then
  2437. UNANCHOR = false
  2438. RootPart.Anchored = true
  2439. local HD = HEAD:Clone()
  2440. HD.Name = "FakeHead"
  2441. for i = 1, 7 do
  2442. SprayBlood(TARGET.CFrame * CF(0, TARGET.Size.Y / 2, 0).p, TARGET.CFrame * CF(MRANDOM(25, 55), MRANDOM(-25, 25), MRANDOM(25, 55)).p, 15)
  2443. end
  2444. local RAGDOLL, RAGTORSO = Ragdoll(TARGET.Parent, Torso, true, 0)
  2445. local RAGWELD = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, RAGTORSO, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2446. HD.Parent = RAGDOLL
  2447. CreateSound("264486467", RAGTORSO, 10, 1)
  2448. local HEADWELD = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, HD, CF(0, -1, -0.25) * ANGLES(RAD(-90), RAD(0), RAD(0)), CF(0, 0, 0))
  2449. for i = 0, 2, 0.1 / Animation_Speed do
  2450. Swait()
  2451. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2452. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2453. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(15)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2454. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(150), RAD(0), RAD(-15)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2455. if ANIM == "Idle" then
  2456. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2457. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2458. elseif ANIM == "Walk" then
  2459. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2460. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2461. elseif ANIM == "Jump" or ANIM == "Fall" then
  2462. 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)
  2463. 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)
  2464. end
  2465. end
  2466. HEADWELD:remove()
  2467. for i = 0, 0.5, 0.1 / Animation_Speed do
  2468. Swait()
  2469. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2470. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2471. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2472. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2473. if ANIM == "Idle" then
  2474. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2475. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2476. elseif ANIM == "Walk" then
  2477. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2478. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2479. elseif ANIM == "Jump" or ANIM == "Fall" then
  2480. 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)
  2481. 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)
  2482. end
  2483. end
  2484. CreateSound("907333406", Torso, 10, 1)
  2485. for i = 0, 0.25, 0.1 / Animation_Speed do
  2486. Swait()
  2487. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2488. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2489. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2490. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2491. if ANIM == "Idle" then
  2492. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2493. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2494. elseif ANIM == "Walk" then
  2495. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2496. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2497. elseif ANIM == "Jump" or ANIM == "Fall" then
  2498. 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)
  2499. 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)
  2500. end
  2501. end
  2502. RAGWELD:remove()
  2503. local bv = Instance.new("BodyVelocity")
  2504. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2505. bv.velocity = CF(Torso.Position, RAGTORSO.Position).lookVector * 75
  2506. bv.Parent = RAGTORSO
  2507. Debris:AddItem(bv, 0.05)
  2508. Debris:AddItem(RAGDOLL, 5)
  2509. for i = 0, 0.15, 0.1 / Animation_Speed do
  2510. Swait()
  2511. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2512. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2513. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2514. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2515. if ANIM == "Idle" then
  2516. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2517. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2518. elseif ANIM == "Walk" then
  2519. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2520. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2521. elseif ANIM == "Jump" or ANIM == "Fall" then
  2522. 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)
  2523. 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)
  2524. end
  2525. end
  2526. UNANCHOR = true
  2527. RootPart.Anchored = false
  2528. end
  2529. else
  2530. UNANCHOR = false
  2531. RootPart.Anchored = true
  2532. for i = 0, 0.5, 0.1 / Animation_Speed do
  2533. Swait()
  2534. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2535. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2536. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(-65)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2537. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2538. if ANIM == "Idle" then
  2539. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2540. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2541. elseif ANIM == "Walk" then
  2542. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2543. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2544. elseif ANIM == "Jump" or ANIM == "Fall" then
  2545. 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)
  2546. 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)
  2547. end
  2548. end
  2549. for i = 0, 0.25, 0.1 / Animation_Speed do
  2550. Swait()
  2551. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2552. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2553. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2554. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2555. if ANIM == "Idle" then
  2556. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2557. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2558. elseif ANIM == "Walk" then
  2559. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2560. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2561. elseif ANIM == "Jump" or ANIM == "Fall" then
  2562. 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)
  2563. 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)
  2564. end
  2565. end
  2566. WLD:remove()
  2567. TARGET.Parent:BreakJoints()
  2568. for _, c in pairs(TARGET.Parent:GetChildren()) do
  2569. if c:IsA("BasePart") then
  2570. local bv = Instance.new("BodyVelocity")
  2571. bv.maxForce = Vector3.new(1000000000, 1000000000, 1000000000)
  2572. bv.velocity = CF(Torso.Position, c.Position).lookVector * 75
  2573. bv.Parent = c
  2574. Debris:AddItem(bv, 0.05)
  2575. end
  2576. end
  2577. for i = 0, 0.15, 0.1 / Animation_Speed do
  2578. Swait()
  2579. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2580. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2581. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2582. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2583. if ANIM == "Idle" then
  2584. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2585. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.5 / Animation_Speed)
  2586. elseif ANIM == "Walk" then
  2587. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25 - 2.5 * SIN(SINE / 22)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2588. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 22)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 22)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2589. elseif ANIM == "Jump" or ANIM == "Fall" then
  2590. 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)
  2591. 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)
  2592. end
  2593. end
  2594. UNANCHOR = true
  2595. RootPart.Anchored = false
  2596. end
  2597. end
  2598. ATTACK = false
  2599. Rooted = false
  2600. end
  2601.  
  2602. function Shot()
  2603. ATTACK = true
  2604. Rooted = false
  2605. for i=0, 0.05, 0.1 / Animation_Speed do
  2606. Swait()
  2607. turnto(Mouse.Hit.p)
  2608. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2609. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2610. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2611. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2612. 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)
  2613. 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)
  2614. end
  2615. repeat
  2616. for i=0, 0.05, 0.1 / Animation_Speed do
  2617. Swait()
  2618. turnto(Mouse.Hit.p)
  2619. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2620. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2621. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2622. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2623. 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)
  2624. 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)
  2625. end
  2626. local HIT,POS = CastProperRay(Hole2.Position, Mouse.Hit.p, 1000, Character)
  2627. SpawnTrail(Hole2.Position,POS)
  2628. if HIT ~= nil then
  2629. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2630. Banish(HIT.Parent)
  2631. end
  2632. end
  2633. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(0,1,10), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2634. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole2.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(0,1,10), SoundID = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2635. 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(0,1,10), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2636. 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(0,1,10), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2637. for i=0, 0.05, 0.1 / Animation_Speed do
  2638. Swait()
  2639. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2640. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2641. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2642. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2643. 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)
  2644. 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)
  2645. end
  2646. until KEYHOLD == false
  2647. ATTACK = false
  2648. Rooted = false
  2649. end
  2650.  
  2651. function AttackTemplate()
  2652. ATTACK = true
  2653. Rooted = false
  2654. for i=0, 1, 0.1 / Animation_Speed do
  2655. Swait()
  2656. 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)
  2657. 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)
  2658. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(100), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  2659. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2660. 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)
  2661. 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)
  2662. end
  2663. ATTACK = false
  2664. Rooted = false
  2665. end
  2666.  
  2667. function BulletRoller()
  2668. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2669. if HITFLOOR then
  2670. ATTACK = true
  2671. Rooted = true
  2672. local bv = Instance.new("BodyVelocity")
  2673. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2674. bv.velocity = CF(RootPart.Position,RootPart.CFrame*CF(0,1,-4).p).lookVector*175
  2675. bv.Parent = RootPart
  2676. local GYRO = IT("BodyGyro",RootPart)
  2677. GYRO.D = 2
  2678. GYRO.P = 20000
  2679. GYRO.MaxTorque = VT(0,4000000,0)
  2680. GYRO.CFrame = CF(RootPart.Position,RootPart.CFrame*CF(0,0,-5).p)
  2681. CreateSound(145486992,Torso,10,0.85,false)
  2682. for i=0, 0.05, 0.1 / Animation_Speed do
  2683. Swait()
  2684. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(65), RAD(0), RAD(-10)), 1 / Animation_Speed)
  2685. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-35), RAD(0), RAD(10)), 1 / Animation_Speed)
  2686. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(50), RAD(-20), RAD(25)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2687. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(15), RAD(20), RAD(-25)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2688. if ANIM == "Fall" or ANIM == "Jump" then
  2689. 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)
  2690. 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)
  2691. else
  2692. 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)
  2693. 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)
  2694. end
  2695. end
  2696. bv:Remove()
  2697. local E = 360/15
  2698. for i = 1, 15 do
  2699. Swait()
  2700. 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(159,195,233), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2701. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(i*E), RAD(0), RAD(0)), 2 / Animation_Speed)
  2702. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25), RAD(0), RAD(0)), 1 / Animation_Speed)
  2703. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(5), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2704. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(-5), RAD(-90)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2705. 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)
  2706. 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)
  2707. end
  2708. Cooldown1 = true
  2709. local LANDED = nil
  2710. local POS = nil
  2711. coroutine.resume(coroutine.create(function()
  2712. repeat
  2713. Swait()
  2714. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(20), RAD(0), RAD(0)), 1 / Animation_Speed)
  2715. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  2716. 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)
  2717. 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)
  2718. 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)
  2719. 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)
  2720. until LANDED ~= nil
  2721. end))
  2722. repeat
  2723. Swait()
  2724. local HITFLOOR,HITPOS = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4.2, Character)
  2725. if HITFLOOR then
  2726. LANDED = HITFLOOR
  2727. POS = HITPOS
  2728. end
  2729. until LANDED ~= nil
  2730. GYRO:remove()
  2731. Swait(4)
  2732. ManualAoE(RootPart.Position,10,20,50,0,false)
  2733. CreateSound(765590102, Torso, 2, (MRANDOM(8,12)/10)+0.3, false)
  2734. 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(159,195,233), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2735. for i = 0, 4 do
  2736. 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(159,195,233), SoundID = nil, SoundPitch = nil, SoundVolume = nil, UseBoomerangMath = false, Boomerang = 0, SizeBoomerang = 0})
  2737. end
  2738. for i=0, 0.5, 0.1 / Animation_Speed do
  2739. Swait()
  2740. 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)
  2741. 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)
  2742. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2743. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2744. 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)
  2745. 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)
  2746. end
  2747. local AMMO = 0
  2748. repeat
  2749. AMMO = AMMO + 1
  2750. for i=0, 0.1, 0.05 / Animation_Speed do
  2751. Swait()
  2752. turnto(Mouse.Hit.p)
  2753. 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)
  2754. 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)
  2755. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(179), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2756. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(179), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2757. 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)
  2758. 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)
  2759. end
  2760. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2761. SpawnTrail(Hole.Position,POS)
  2762. if HIT ~= nil then
  2763. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2764. Banish(HIT.Parent)
  2765. end
  2766. end
  2767. 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(159,195,233), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2768. 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(159,195,233), SoundID = 136523485, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2769. 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(159,195,233), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2770. 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(159,195,233), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2771. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5,MRANDOM(-5,5)/2.5)/30
  2772. for i=0, 0.075, 0.05 / Animation_Speed do
  2773. Swait()
  2774. 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)
  2775. 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)
  2776. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(190), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2777. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.4, 0.8, 0) * ANGLES(RAD(190), RAD(0), RAD(70)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2778. 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)
  2779. 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)
  2780. end
  2781. until AMMO == 5
  2782. ATTACK = false
  2783. Rooted = false
  2784. wait(0.3)
  2785. Cooldown1 = false
  2786. end
  2787. end
  2788.  
  2789. local Cooldown2 = false
  2790.  
  2791. function ManualAoE(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  2792. local CHILDREN = workspace:GetDescendants()
  2793. for index, CHILD in pairs(CHILDREN) do
  2794. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  2795. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  2796. if HUM then
  2797. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  2798. if TORSO then
  2799. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  2800. if INSTAKILL == true then
  2801. CHILD:BreakJoints()
  2802. else
  2803. local DMG = MRANDOM(MINDMG,MAXDMG)
  2804. ManualDamage(HUM,DMG,TORSO)
  2805. end
  2806. if FLING > 0 then
  2807. for _, c in pairs(CHILD:GetChildren()) do
  2808. if c:IsA("BasePart") then
  2809. local bv = Instance.new("BodyVelocity")
  2810. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2811. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  2812. bv.Parent = c
  2813. Debris:AddItem(bv,0.05)
  2814. end
  2815. end
  2816. end
  2817. end
  2818. end
  2819. end
  2820. end
  2821. end
  2822. end
  2823.  
  2824. function Extreme_Offset()
  2825. 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)
  2826. if HITFLOOR then
  2827. local ORIGINPOS = VT(RootPart.Position.X, HITPOS.Y + 8, RootPart.Position.Z)
  2828. CreateSound("1295446488", Torso, 5, 1)
  2829. for i = 1, 5 do
  2830. WACKYEFFECT({
  2831. Time = MRANDOM(15, 35),
  2832. EffectType = "Round Slash",
  2833. Size = VT(0, 0, 0),
  2834. Size2 = VT(0.3, 0, 0.3),
  2835. Transparency = 0.5,
  2836. Transparency2 = 1,
  2837. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  2838. MoveToPos = nil,
  2839. RotationX = MRANDOM(-50, 50) / 10,
  2840. RotationY = MRANDOM(-50, 50) / 10,
  2841. RotationZ = MRANDOM(-50, 50) / 10,
  2842. Material = "Neon",
  2843. Color = C3(159,195,233),
  2844. SoundID = nil,
  2845. SoundPitch = nil,
  2846. SoundVolume = nil
  2847. })
  2848. end
  2849. ATTACK = true
  2850. Rooted = true
  2851. UNANCHOR = false
  2852. RootPart.Anchored = true
  2853. RootPart.CFrame = CF(HITPOS + VT(0, 8, 0), ORIGINPOS) * ANGLES(RAD(0), RAD(180), RAD(0))
  2854. for i = 1, 5 do
  2855. WACKYEFFECT({
  2856. Time = MRANDOM(15, 35),
  2857. EffectType = "Round Slash",
  2858. Size = VT(0, 0, 0),
  2859. Size2 = VT(0.3, 0, 0.3),
  2860. Transparency = 0.5,
  2861. Transparency2 = 1,
  2862. CFrame = CF(Torso.Position) * ANGLES(RAD(MRANDOM(-25, 25)), RAD(MRANDOM(0, 360)), RAD(MRANDOM(-25, 25))),
  2863. MoveToPos = nil,
  2864. RotationX = MRANDOM(-50, 50) / 10,
  2865. RotationY = MRANDOM(-50, 50) / 10,
  2866. RotationZ = MRANDOM(-50, 50) / 10,
  2867. Material = "Neon",
  2868. Color = C3(159,195,233),
  2869. SoundID = nil,
  2870. SoundPitch = nil,
  2871. SoundVolume = nil
  2872. })
  2873. end
  2874. for i = 0, 0.2, 0.1 / Animation_Speed do
  2875. Swait()
  2876. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(150)), 2 / Animation_Speed)
  2877. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 2 / Animation_Speed)
  2878. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  2879. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  2880. 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)
  2881. 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)
  2882. end
  2883. for i = 0, 1, 0.1 / Animation_Speed do
  2884. Swait()
  2885. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 0.02 / Animation_Speed)
  2886. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 0.02 / Animation_Speed)
  2887. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 0.02 / Animation_Speed)
  2888. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.02 / Animation_Speed)
  2889. 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)
  2890. 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)
  2891. end
  2892. for i = 1, 10 do
  2893. Swait()
  2894. RootPart.CFrame = RootPart.CFrame * CF(0, -0.4, 0)
  2895. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(300)), 1.7 / Animation_Speed)
  2896. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), 1.7 / Animation_Speed)
  2897. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(-12)) * RIGHTSHOULDERC0, 1.7 / Animation_Speed)
  2898. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.7 / Animation_Speed)
  2899. 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)
  2900. 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)
  2901. end
  2902. for i = 0, 0.2, 0.1 / Animation_Speed do
  2903. Swait()
  2904. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  2905. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  2906. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  2907. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  2908. 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)
  2909. 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)
  2910. end
  2911. local HITFLOOR, HITPOS = Raycast(RightArm.Position, CF(RightArm.Position, RightArm.Position + VT(0, -1, 0)).lookVector, 8, Character)
  2912. if HITFLOOR then
  2913. if HITFLOOR.Parent:FindFirstChildOfClass("Humanoid") then
  2914. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  2915. for index, CHILD in pairs(CHILDREN) do
  2916. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  2917. for i = 1, 5 do
  2918. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  2919. CHILD:remove()
  2920. end
  2921. end
  2922. end
  2923. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2924. SOUNDPART.CFrame = CF(HITPOS)
  2925. Debris:AddItem(SOUNDPART, 5)
  2926. CreateSound("130972023", SOUNDPART, 6, 3)
  2927. CreateSound("182765513", SOUNDPART, 6, 1)
  2928. WACKYEFFECT({
  2929. EffectType = "Ring",
  2930. Size = VT(0, 0, 0),
  2931. Size2 = VT(1, 1, 0),
  2932. Transparency = 0.7,
  2933. Transparency2 = 1,
  2934. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  2935. MoveToPos = nil,
  2936. RotationX = 0,
  2937. RotationY = 0,
  2938. RotationZ = 0,
  2939. Material = "Neon",
  2940. Color = C3(159,195,233),
  2941. SoundID = nil,
  2942. SoundPitch = nil,
  2943. SoundVolume = nil
  2944. })
  2945. elseif HITFLOOR.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  2946. local CHILDREN = HITFLOOR.Parent.Parent:GetDescendants()
  2947. for index, CHILD in pairs(CHILDREN) do
  2948. if CHILD:IsA("BasePart") and CHILD.Parent:FindFirstChildOfClass("Humanoid") then
  2949. for i = 1, 5 do
  2950. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 2, 5, MRANDOM(15, 25))
  2951. CHILD:remove()
  2952. end
  2953. end
  2954. end
  2955. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2956. SOUNDPART.CFrame = CF(HITPOS)
  2957. Debris:AddItem(SOUNDPART, 5)
  2958. CreateSound("130972023", SOUNDPART, 6, 3)
  2959. CreateSound("182765513", SOUNDPART, 6, 1)
  2960. WACKYEFFECT({
  2961. EffectType = "Ring",
  2962. Size = VT(0, 0, 0),
  2963. Size2 = VT(1, 1, 0),
  2964. Transparency = 0.7,
  2965. Transparency2 = 1,
  2966. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  2967. MoveToPos = nil,
  2968. RotationX = 0,
  2969. RotationY = 0,
  2970. RotationZ = 0,
  2971. Material = "Neon",
  2972. Color = C3(159,195,233),
  2973. SoundID = nil,
  2974. SoundPitch = nil,
  2975. SoundVolume = nil
  2976. })
  2977. elseif HITFLOOR.Anchored == false then
  2978. if HITFLOOR.Parent ~= workspace then
  2979. local CHILDREN = HITFLOOR.Parent:GetDescendants()
  2980. for index, CHILD in pairs(CHILDREN) do
  2981. if CHILD:IsA("BasePart") and CHILD.Position.Y < HITPOS.Y then
  2982. for i = 1, 5 do
  2983. CreateFlyingDebree(CHILD, CF(CHILD.Position), 1, CHILD.Size / 3, 5, MRANDOM(15, 25))
  2984. end
  2985. CHILD:remove()
  2986. end
  2987. end
  2988. else
  2989. for i = 1, 5 do
  2990. CreateFlyingDebree(HITFLOOR, CF(HITFLOOR.Position), 1, HITFLOOR.Size / 3, 5, MRANDOM(15, 25))
  2991. end
  2992. HITFLOOR:remove()
  2993. end
  2994. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  2995. SOUNDPART.CFrame = CF(HITPOS)
  2996. Debris:AddItem(SOUNDPART, 5)
  2997. CreateSound("130972023", SOUNDPART, 10, 3)
  2998. CreateSound("178452217", SOUNDPART, 6, 1)
  2999. WACKYEFFECT({
  3000. EffectType = "Ring",
  3001. Size = VT(0, 0, 0),
  3002. Size2 = VT(1, 1, 0),
  3003. Transparency = 0.7,
  3004. Transparency2 = 1,
  3005. CFrame = CF(HITPOS) * ANGLES(RAD(90), RAD(0), RAD(0)),
  3006. MoveToPos = nil,
  3007. RotationX = 0,
  3008. RotationY = 0,
  3009. RotationZ = 0,
  3010. Material = "Neon",
  3011. Color = C3(159,195,233),
  3012. SoundID = nil,
  3013. SoundPitch = nil,
  3014. SoundVolume = nil
  3015. })
  3016. else
  3017. local SOUNDPART = CreatePart(3, Effects, "Grass", 0, 1, "Really black", "Sound", VT(0, 0, 0))
  3018. SOUNDPART.CFrame = CF(HITPOS)
  3019. Debris:AddItem(SOUNDPART, 5)
  3020. CreateSound("130972023", SOUNDPART, 10, 1)
  3021. CreateSound("130972023", SOUNDPART, 6, 0.7)
  3022. CreateDebreeRing(HITFLOOR, HITPOS, 5, VT(5, 5, 5), 5)
  3023. CreateDebreeRing(HITFLOOR, HITPOS, 8, VT(8, 8, 8), 5)
  3024. ApplyAoE(HITPOS, 15, 45, 75, 75, false)
  3025. ApplyAoE(HITPOS, 25, 25, 35, 35, false)
  3026. for i = 1, 5 do
  3027. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10, MRANDOM(10, 30) / 10), 5, MRANDOM(75, 150))
  3028. end
  3029. for i = 1, 5 do
  3030. CreateFlyingDebree(HITFLOOR, CF(HITPOS), 1, VT(MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2, MRANDOM(10, 30) / 2), 5, MRANDOM(75, 150))
  3031. end
  3032. end
  3033. end
  3034. for i = 0, 1.2, 0.1 / Animation_Speed do
  3035. Swait()
  3036. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(90)), 1.5 / Animation_Speed)
  3037. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 1.5 / Animation_Speed)
  3038. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(40)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  3039. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1.5 / Animation_Speed)
  3040. 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)
  3041. 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)
  3042. end
  3043. ATTACK = false
  3044. Rooted = false
  3045. UNANCHOR = true
  3046. RootPart.Anchored = false
  3047. end
  3048. end
  3049.  
  3050. function CreateDebreeRing(FLOOR, POSITION, SIZE, BLOCKSIZE, SWAIT)
  3051. if FLOOR ~= nil then
  3052. coroutine.resume(coroutine.create(function()
  3053. local PART = CreatePart(3, Effects, "Plastic", 0, 1, "Pearl", "DebreeCenter", VT(0, 0, 0))
  3054. PART.CFrame = CF(POSITION)
  3055. for i = 1, 45 do
  3056. local RingPiece = CreatePart(3, Effects, "Plastic", 0, 0, "Pearl", "DebreePart", BLOCKSIZE)
  3057. RingPiece.Material = FLOOR.Material
  3058. RingPiece.Color = FLOOR.Color
  3059. 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)))
  3060. Debris:AddItem(RingPiece, SWAIT)
  3061. end
  3062. PART:remove()
  3063. end))
  3064. end
  3065. end
  3066. function CreateFlyingDebree(FLOOR, POSITION, AMOUNT, BLOCKSIZE, SWAIT, STRENGTH)
  3067. if FLOOR ~= nil then
  3068. for i = 1, AMOUNT do
  3069. do
  3070. local DEBREE = CreatePart(3, Effects, "Neon", FLOOR.Reflectance, FLOOR.Transparency, "Peal", "Debree", BLOCKSIZE, false)
  3071. DEBREE.Material = FLOOR.Material
  3072. DEBREE.Color = FLOOR.Color
  3073. DEBREE.CFrame = POSITION * ANGLES(RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)), RAD(MRANDOM(-360, 360)))
  3074. DEBREE.Velocity = VT(MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH), MRANDOM(-STRENGTH, STRENGTH))
  3075. coroutine.resume(coroutine.create(function()
  3076. Swait(15)
  3077. DEBREE.Parent = workspace
  3078. DEBREE.CanCollide = true
  3079. Debris:AddItem(DEBREE, SWAIT)
  3080. end))
  3081. end
  3082. end
  3083. end
  3084. end
  3085.  
  3086. function RiftForm()
  3087. ATTACK = true
  3088. Rooted = false
  3089. UNANCHOR = false
  3090. RootPart.Anchored = true
  3091. for i=0, 5, 0.1 / Animation_Speed do
  3092. Swait()
  3093. RootPart.CFrame = RootPart.CFrame * CF(0,0.2,0)
  3094. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3095. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3096. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3097. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3098. 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)
  3099. 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)
  3100. end
  3101. CreateSound("1368598393", Effects, 10, 1)
  3102. for i=0, 2, 0.1 / Animation_Speed do
  3103. Swait()
  3104. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  3105. MagicSphere3(VT(0,0,0),15,CFRAME,"Tr. Blue",VT(0.1,0.1,5))
  3106. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Tr. Blue",VT(0.1,0.1,5))
  3107. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3111. 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)
  3112. 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)
  3113. end
  3114. CreateSound("1368583274", Effects, 10, 1)
  3115. for i=0, 6, 0.1 / Animation_Speed do
  3116. Swait()
  3117. 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))
  3118. 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)
  3119. local CFRAME = CF(Torso.Position)*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)))
  3120. MagicSphere3(VT(0,0,0),15,CFRAME,"Tr. Blue",VT(0.1,0.1,55))
  3121. MagicSphere3(VT(0,0,0),15,CFRAME,"Tr. Blue",VT(2,2,2))
  3122. MagicSphere3(VT(0.1,0.1,0.1),15,CFRAME,"Tr. Blue",VT(0.1,0.1,55))
  3123. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(-75)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.15, 0.5, -1) * ANGLES(RAD(90), RAD(0), RAD(75)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3127. 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)
  3128. 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)
  3129. end
  3130. CreateSound("907329532", Effects, 10, 0.9)
  3131. Swait(175)
  3132. CreateRing2(VT(0,0,0),false,0,45,RootPart.CFrame*ANGLES(RAD(90),RAD(0),RAD(0)),"Tr. Blue",VT(7,7,0))
  3133. CreateSound("1368605755", Effects, 10, 1)
  3134. CreateSound("1368637781", Effects, 10, 1)
  3135. MagicSphere3(VT(0,0,0),45,Torso.CFrame,"Tr. Blue",VT(5,5,5))
  3136. for i=0, 1, 0.1 / Animation_Speed do
  3137. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Tr. Blue",VT(4,4,0))
  3138. CreateRing2(VT(0,0,0),false,0,45,Torso.CFrame*ANGLES(RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180)),RAD(MRANDOM(-180,180))),"Tr. Blue",VT(5,5,0))
  3139. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(-25), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3140. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 2 / Animation_Speed)
  3141. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 2 / Animation_Speed)
  3142. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-60), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 2 / Animation_Speed)
  3143. 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)
  3144. 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)
  3145. end
  3146. UNANCHOR = true
  3147. RootPart.Anchored = false
  3148. ATTACK = false
  3149. Rooted = false
  3150. end
  3151.  
  3152. function CreateRing2(SIZE,DOESROT,ROT,WAIT,CFRAME,COLOR,GROW)
  3153. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0,0,0))
  3154. local mesh = IT("SpecialMesh",wave)
  3155. mesh.MeshType = "FileMesh"
  3156. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3157. mesh.Scale = SIZE
  3158. mesh.Offset = VT(0,0,0)
  3159. wave.CFrame = CFRAME
  3160. coroutine.resume(coroutine.create(function(PART)
  3161. for i = 1, WAIT do
  3162. Swait()
  3163. mesh.Scale = mesh.Scale + GROW
  3164. if DOESROT == true then
  3165. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0,ROT,0)
  3166. end
  3167. wave.Transparency = wave.Transparency + (0.5/WAIT)
  3168. if wave.Transparency > 0.99 then
  3169. wave:remove()
  3170. end
  3171. end
  3172. end))
  3173. end
  3174.  
  3175. function MagicSphere3(SIZE,WAIT,CFRAME,COLOR,GROW)
  3176. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1,1,1), true)
  3177. local mesh = IT("SpecialMesh",wave)
  3178. mesh.MeshType = "Sphere"
  3179. mesh.Scale = SIZE
  3180. mesh.Offset = VT(0,0,0)
  3181. wave.CFrame = CFRAME
  3182. coroutine.resume(coroutine.create(function(PART)
  3183. for i = 1, WAIT do
  3184. Swait()
  3185. mesh.Scale = mesh.Scale + GROW
  3186. wave.Transparency = wave.Transparency + (1/WAIT)
  3187. if wave.Transparency > 0.99 then
  3188. wave:remove()
  3189. end
  3190. end
  3191. end))
  3192. end
  3193.  
  3194. local lightning = Instance.new("ParticleEmitter",Torso)
  3195. lightning.Texture = "http://www.roblox.com/asset/?id=348321827"
  3196. lightning.LightEmission = 0
  3197. lightning.Color = ColorSequence.new(Color3.new(159,195,233),Color3.new(159,195,233))
  3198. lightning.LockedToPart = true
  3199. lightning.Rate = 20
  3200. lightning.Lifetime = NumberRange.new(0.1,0.10)
  3201. lightning.Rotation = NumberRange.new(0,360)
  3202. lightning.Size = NumberSequence.new(3,3,3)
  3203. lightning.Transparency = NumberSequence.new(0,0)
  3204. lightning.Speed = NumberRange.new(0,0)
  3205. lightning.RotSpeed = NumberRange.new(0,0)
  3206. lightning.ZOffset = 5
  3207. lightning.Parent = Character.Torso
  3208. lightning.Enabled = false
  3209.  
  3210. Player=game:GetService('Players').LocalPlayer
  3211. Character=Player.Character
  3212. m=Instance.new('Model',Character)
  3213. local function weldBetween(a, b)
  3214. local weldd = Instance.new("ManualWeld")
  3215. weldd.Part0 = a
  3216. weldd.Part1 = b
  3217. weldd.C0 = CFrame.new()
  3218. weldd.C1 = b.CFrame:inverse() * a.CFrame
  3219. weldd.Parent = a
  3220. return weldd
  3221. end
  3222.  
  3223. it=Instance.new
  3224.  
  3225. function nooutline(part)
  3226. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  3227. end
  3228.  
  3229. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  3230. local fp=it("Part")
  3231. fp.formFactor=formfactor
  3232. fp.Parent=parent
  3233. fp.Reflectance=reflectance
  3234. fp.Transparency=transparency
  3235. fp.CanCollide=false
  3236. fp.Locked=true
  3237. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  3238. fp.Name=name
  3239. fp.Size=size
  3240. fp.Position=Character.Torso.Position
  3241. nooutline(fp)
  3242. fp.Material=material
  3243. fp:BreakJoints()
  3244. return fp
  3245. end
  3246.  
  3247. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  3248. local mesh=it(Mesh)
  3249. mesh.Parent=part
  3250. if Mesh=="SpecialMesh" then
  3251. mesh.MeshType=meshtype
  3252. mesh.MeshId=meshid
  3253. end
  3254. mesh.Offset=offset
  3255. mesh.Scale=scale
  3256. return mesh
  3257. end
  3258.  
  3259. function weld(parent,part0,part1,c0,c1)
  3260. local weld=it("Weld")
  3261. weld.Parent=parent
  3262. weld.Part0=part0
  3263. weld.Part1=part1
  3264. weld.C0=c0
  3265. weld.C1=c1
  3266. return weld
  3267. end
  3268.  
  3269. local eeeffecto = Instance.new("ParticleEmitter",Torso)
  3270. eeeffecto.Texture = "http://www.roblox.com/asset/?id=305943367"
  3271. eeeffecto.LightEmission = 0
  3272. eeeffecto.Color = ColorSequence.new(Color3.new(159,195,233),Color3.new(159,195,233))
  3273. eeeffecto.LockedToPart = true
  3274. eeeffecto.Rate = 10
  3275. eeeffecto.Lifetime = NumberRange.new(0.1,0.1)
  3276. eeeffecto.Rotation = NumberRange.new(0,0)
  3277. eeeffecto.Size = NumberSequence.new(9,9,9)
  3278. eeeffecto.Transparency = NumberSequence.new(0,0)
  3279. eeeffecto.Speed = NumberRange.new(0,0)
  3280. eeeffecto.RotSpeed = NumberRange.new(0,0)
  3281. eeeffecto.Parent = Character.Torso
  3282. eeeffecto.Enabled = false
  3283.  
  3284.  
  3285.  
  3286.  
  3287.  
  3288. function UltraPunch()
  3289. ATTACK = true
  3290. Rooted = false
  3291. local SPEED = Speed
  3292. Speed = 8
  3293. CreateSound("214876666", RightArm, 7.5, 0.8)
  3294. for i=0, 0, 0.1 / Animation_Speed do
  3295. Swait()
  3296. turnto(Mouse.Hit.p)
  3297. MagicSphere(VT(1,1,1),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Tr. Blue",VT(-1/15,-1/15,-1/15))
  3298. MagicSphere(VT(2,2,2),15,RightArm.CFrame * CF(MRANDOM(-3,3),MRANDOM(-3,3),MRANDOM(-3,3)),"Tr. Blue",VT(-2/15,-2/15,-2/15))
  3299. 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)
  3300. 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)
  3301. 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)
  3302. 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)
  3303. 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)
  3304. 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)
  3305. end
  3306. for i=0, 0, 0.1 / Animation_Speed do
  3307. Swait()
  3308. turnto(Mouse.Hit.p)
  3309. 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)
  3310. 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)
  3311. 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)
  3312. 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)
  3313. 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)
  3314. 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)
  3315. end
  3316. local PART = CreatePart(3, Effects, "Neon", 0, 0.8, "Really red", "Punch", VT(50,50,50),false)
  3317. PART.CFrame = RootPart.CFrame * CF(0,0,-25)
  3318. PART.Shape = "Ball"
  3319. local bv = Instance.new("BodyVelocity")
  3320. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3321. bv.velocity = RootPart.CFrame.lookVector*600
  3322. bv.Parent = PART
  3323. bv.Name = "PROJECTILEVELOCITY"
  3324. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(5,5,5))
  3325. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(10,10,10))
  3326. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(15,15,15))
  3327. CreateSwirl(VT(3,5,3),75,RootPart.CFrame * CF(0,0,-15)*ANGLES(RAD(-90),RAD(0),RAD(0)),true,1,"Really red",VT(20,20,20))
  3328. CreateSound("414517163", Effects, 3.5, MRANDOM(7, 12) / 10)
  3329. coroutine.resume(coroutine.create(function()
  3330. for i = 1, 11 do
  3331. Swait()
  3332. PART.Transparency = PART.Transparency + 0.2/10
  3333. PART.Size = PART.Size + VT(100,100,100)
  3334. KickAoE(PART.Position,PART.Size.Y/10+15,100,RootPart.CFrame)
  3335. end
  3336. end))
  3337. for i=0, 0, 0.1 / Animation_Speed do
  3338. Swait()
  3339. 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)
  3340. 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)
  3341. 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)
  3342. 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)
  3343. 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)
  3344. 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)
  3345. end
  3346. Speed = SPEED
  3347. ATTACK = false
  3348. Rooted = false
  3349. end
  3350.  
  3351.  
  3352. --//=================================\\
  3353. --|| ASSIGN THINGS TO KEYS
  3354. --\\=================================//
  3355.  
  3356. function MouseDown(Mouse)
  3357. if ATTACK == false then
  3358. end
  3359. end
  3360.  
  3361. function MouseUp(Mouse)
  3362. HOLD = false
  3363. end
  3364.  
  3365. function KeyDown(Key)
  3366. KEYHOLD = true
  3367. if Key == "]" and ATTACK == false then
  3368. RiftForm()
  3369. lightning.Enabled = true
  3370. eeeffecto.Enabled = true
  3371. SKILL4TEXT:remove()
  3372. SKILL3TEXT:remove()
  3373. SKILL2TEXT:remove()
  3374. SKILL1TEXT:remove()
  3375.  
  3376. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 1")
  3377. local SKILL2TEXT = CreateLabel(SKILL2FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 2")
  3378. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 3")
  3379. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 4")
  3380. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 5")
  3381. local SKILL6TEXT = CreateLabel(SKILL6FRAME, "", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.5, "Text 6")
  3382. RiftWorld()
  3383. s:stop()
  3384. local s = Instance.new("Sound",char)
  3385. s.Name = "BGMusic"
  3386. s.SoundId = "rbxassetid://511164015 "
  3387. s.Pitch = 1
  3388. s.Volume = 100
  3389. s.Looped = true
  3390. s.archivable = false
  3391. s.Parent = char.Head
  3392. wait(0.1)
  3393. s:play()
  3394. end
  3395.  
  3396. if Key == "z" and ATTACK == false then
  3397. Shot()
  3398. end
  3399.  
  3400. if Key == "x" and ATTACK == false then
  3401. Neck_Snap()
  3402. end
  3403.  
  3404. if Key == "c" and ATTACK == false then
  3405. UltraPunch()
  3406. end
  3407.  
  3408. if Key == "v" and ATTACK == false then
  3409. BulletRoller()
  3410. end
  3411.  
  3412. if Key == "b" and ATTACK == false then
  3413. Extreme_Offset()
  3414. end
  3415. end
  3416.  
  3417. function KeyUp(Key)
  3418. KEYHOLD = false
  3419. end
  3420.  
  3421. Mouse.Button1Down:connect(function(NEWKEY)
  3422. MouseDown(NEWKEY)
  3423. end)
  3424. Mouse.Button1Up:connect(function(NEWKEY)
  3425. MouseUp(NEWKEY)
  3426. end)
  3427. Mouse.KeyDown:connect(function(NEWKEY)
  3428. KeyDown(NEWKEY)
  3429. end)
  3430. Mouse.KeyUp:connect(function(NEWKEY)
  3431. KeyUp(NEWKEY)
  3432. end)
  3433.  
  3434. --//=================================\\
  3435. --\\=================================//
  3436.  
  3437.  
  3438. function unanchor()
  3439. if UNANCHOR == true then
  3440. g = Character:GetChildren()
  3441. for i = 1, #g do
  3442. if g[i].ClassName == "Part" then
  3443. g[i].Anchored = false
  3444. end
  3445. end
  3446. end
  3447. end
  3448.  
  3449.  
  3450. --//=================================\\
  3451. --|| WRAP THE WHOLE SCRIPT UP
  3452. --\\=================================//
  3453.  
  3454. Humanoid.Changed:connect(function(Jump)
  3455. if Jump == "Jump" and (Disable_Jump == true) then
  3456. Humanoid.Jump = false
  3457. end
  3458. end)
  3459.  
  3460.  
  3461.  
  3462. local CONNECT = nil
  3463.  
  3464. while true do
  3465. Swait()
  3466. ANIMATE.Parent = nil
  3467. if Character:FindFirstChildOfClass("Humanoid") == nil then
  3468. Humanoid = IT("Humanoid",Character)
  3469. end
  3470. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  3471. v:Stop();
  3472. end
  3473. SINE = SINE + CHANGE
  3474. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  3475. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  3476. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  3477. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  3478. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then 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)
  3479. 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)
  3480. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 0.875 - 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3481. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 0.875 + 0.125 * SIN(SINE / WALKSPEEDVALUE) - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0.125 * COS(SINE / WALKSPEEDVALUE) +0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(76 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  3482. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  3483. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3484. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3485. RightHip.C1 = Clerp(RightHip.C1, CF(0.5, 1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3486. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5, 1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3487. end
  3488. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  3489. ANIM = "Jump"
  3490. if ATTACK == false then
  3491. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3493. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3494. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3495. 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)
  3496. 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) end
  3497. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  3498. ANIM = "Fall"
  3499. if ATTACK == false then
  3500. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3501. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  3502. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  3503. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  3504. 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)
  3505. 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)
  3506. end
  3507. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  3508. ANIM = "Idle"
  3509. if ATTACK == false then
  3510. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(41), RAD(0)), 0.25 / Animation_Speed)
  3511. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-45 - 4 * SIN(SINE / 12))), 1 / Animation_Speed)
  3512. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(0.75, 0.5 + 0.05 * SIN(SINE / 12), -0.7) * ANGLES(RAD(0), RAD(0), RAD(-95)) * ANGLES(RAD(5), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3513. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-0.75, 0.35 + 0.05 * SIN(SINE / 12), -0.6) * ANGLES(RAD(0), RAD(0), RAD(92)) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3514. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3515. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(7.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3516. elseif MODE == "Ds" then
  3517. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(35), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  3518. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.25) - 1)) * ANGLES(RAD(35), RAD(0), RAD(0)), 1 / Animation_Speed)
  3519. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(200)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3520. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.3, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-200)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3521. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.5 - 0.05 * COS(SINE / 12), -0.5) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  3522. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.8 - 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)
  3523. end
  3524. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  3525. ANIM = "Walk"
  3526. if ATTACK == false then
  3527. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 1 + 0.5 * COS(SINE / 12)) * ANGLES(RAD(15), RAD(0), RAD(0)), 1 / Animation_Speed)
  3528. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-Speed/3 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  3529. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(15 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  3530. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-25), RAD(0 + 2.5 * SIN(SINE / 12)), RAD(-15 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  3531. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-25-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 5.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3532. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  3533. end
  3534. end
  3535. unanchor()
  3536. Humanoid.MaxHealth = "inf"
  3537. Humanoid.Health = "inf"
  3538. if Rooted == false then
  3539. Disable_Jump = false
  3540. Humanoid.WalkSpeed = Speed
  3541. elseif Rooted == true then
  3542. Disable_Jump = true
  3543. Humanoid.WalkSpeed = 0
  3544. end
  3545. sick.Parent = Torso
  3546. sick:resume()
  3547. sick.Volume = 100
  3548. sick.Pitch = 1
  3549. sick.SoundId = "rbxassetid://1071438257"
  3550. sick.Name = "BanishV3Music"
  3551. end
  3552.  
  3553.  
  3554.  
  3555. --//=================================\\
  3556. --\\=================================//
  3557.  
  3558.  
  3559.  
  3560.  
  3561.  
  3562. --//====================================================\\--
  3563. --|| END OF SCRIPT
  3564. --\\====================================================//--
  3565.  
  3566. -------------------------------------------------
Add Comment
Please, Sign In to add comment