Advertisement
DoggoClan

Dice

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