Advertisement
Christoffer07700Extr

qweqw

Jul 21st, 2019
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 84.98 KB | None | 0 0
  1. script.Name = "Gay Banisher"
  2. --//====================================================\\--
  3. --|| EDITED BY CHRISTOFFER077002 CREATED BY SHACKLUSTER
  4. --\\====================================================//--
  5. --//====================================================\\-----------------------
  6. --|| ORINGEL EDIT BY INFINITEONEWITHDANK PLEASE DONT KILL ME INFINITEONEWITHDANK
  7. --\\====================================================//-----------------------
  8. script:ClearAllChildren()
  9. wait(0.2)
  10.  
  11. Player = game:GetService("Players").LocalPlayer
  12. PlayerGui = Player.PlayerGui
  13. Cam = workspace.CurrentCamera
  14. Backpack = Player.Backpack
  15. Character = Player.Character
  16. Humanoid = Character.Humanoid
  17. Mouse = Player:GetMouse()
  18. RootPart = Character["HumanoidRootPart"]
  19. Torso = Character["Torso"]
  20. Head = Character["Head"]
  21. RightArm = Character["Right Arm"]
  22. LeftArm = Character["Left Arm"]
  23. RightLeg = Character["Right Leg"]
  24. LeftLeg = Character["Left Leg"]
  25. RootJoint = RootPart["RootJoint"]
  26. Neck = Torso["Neck"]
  27. RightShoulder = Torso["Right Shoulder"]
  28. LeftShoulder = Torso["Left Shoulder"]
  29. RightHip = Torso["Right Hip"]
  30. LeftHip = Torso["Left Hip"]
  31. local TIME = 0
  32. local sick = Instance.new("Sound",Torso)
  33.  
  34. IT = Instance.new
  35. CF = CFrame.new
  36. VT = Vector3.new
  37. RAD = math.rad
  38. C3 = Color3.new
  39. UD2 = UDim2.new
  40. BRICKC = BrickColor.new
  41. ANGLES = CFrame.Angles
  42. EULER = CFrame.fromEulerAnglesXYZ
  43. COS = math.cos
  44. ACOS = math.acos
  45. SIN = math.sin
  46. ASIN = math.asin
  47. ABS = math.abs
  48. MRANDOM = math.random
  49. FLOOR = math.floor
  50. local RWINGS = {}
  51. local LWINGS = {}
  52. local GunPoint
  53. Player_Size = 1
  54.  
  55. -- Thingy To Make Song Work
  56.  
  57. p = game.Players.LocalPlayer
  58. char = p.Character
  59.  
  60. ---------------------------[[[ LOOPED SONG ]]]--------------------------
  61. local s = Instance.new("Sound",char)
  62. s.Name = "BGMusic"
  63. s.SoundId = "rbxassetid://1416617454"
  64. s.Pitch = 1
  65. s.Volume = 40
  66. s.Looped = true
  67. s.archivable = false
  68. s.Parent = char.Head
  69. wait(0.1)
  70. s:play()
  71.  
  72. -- Rest of Script
  73. -- Want To Use This For Scripts With No Songs? Go Ahead Copy This InfiniteOneWithdank created the looped song thing that is in here anyways.
  74.  
  75. --//=================================\\
  76. --|| PARTICLES N STUFF
  77. --\\=================================//
  78.  
  79.  
  80.  
  81. --//=================================\\
  82. --|| USEFUL VALUES
  83. --\\=================================//
  84.  
  85. Animation_Speed = 1.5
  86. local FORCERESET = false
  87. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  88. local Speed = 16
  89. local SIZE = 1.4
  90. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  91. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  92. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  93. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  94. local DAMAGEMULTIPLIER = 1
  95. local ANIM = "Idle"
  96. local ATTACK = false
  97. local EQUIPPED = false
  98. local HOLD = false
  99. local COMBO = 1
  100. local Rooted = false
  101. local SINE = 0
  102. local KEYHOLD = false
  103. local CHANGE = 2 / Animation_Speed
  104. local WALKINGANIM = false
  105. local VALUE1 = false
  106. local VALUE2 = false
  107. local ROBLOXIDLEANIMATION = IT("Animation")
  108. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  109. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  110. --ROBLOXIDLEANIMATION.Parent = Humanoid
  111. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  112. WEAPONGUI.Name = "BanishV3Gui"
  113. local Weapon = IT("Model")
  114. Weapon.Name = "Adds"
  115. local Effects = IT("Folder", Weapon)
  116. Effects.Name = "Effects"
  117. local ANIMATOR = Humanoid.Animator
  118. local ANIMATE = Character:FindFirstChild("Animate")
  119. local UNANCHOR = true
  120. local TOBANISH = {}
  121. script.Parent = PlayerGui
  122.  
  123. function StatLabel(CFRAME, TEXT, COLOR)
  124. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  125. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  126. local BODYGYRO = IT("BodyGyro", STATPART)
  127. game:GetService("Debris"):AddItem(STATPART ,5)
  128. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  129. BILLBOARDGUI.Adornee = STATPART
  130. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  131. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  132. BILLBOARDGUI.AlwaysOnTop = false
  133. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  134. TEXTLABEL.BackgroundTransparency = 1
  135. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  136. TEXTLABEL.Text = TEXT
  137. TEXTLABEL.Font = SKILLFONT
  138. TEXTLABEL.FontSize="Size42"
  139. TEXTLABEL.TextColor3 = COLOR
  140. TEXTLABEL.TextStrokeTransparency = 0
  141. TEXTLABEL.TextScaled = true
  142. TEXTLABEL.TextWrapped = true
  143. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  144. for i = 1, 50 do
  145. Swait()
  146. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  147. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  148. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  149. end
  150. THEPART.Parent = nil
  151. end),STATPART, TEXTLABEL)
  152. end
  153.  
  154. --//=================================\\
  155. --\\=================================//
  156.  
  157.  
  158. --//=================================\\
  159. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  160. --\\=================================//
  161.  
  162. ArtificialHB = Instance.new("BindableEvent", script)
  163. ArtificialHB.Name = "ArtificialHB"
  164.  
  165. script:WaitForChild("ArtificialHB")
  166.  
  167. frame = Frame_Speed
  168. tf = 0
  169. allowframeloss = false
  170. tossremainder = false
  171. lastframe = tick()
  172. script.ArtificialHB:Fire()
  173.  
  174. game:GetService("RunService").Heartbeat:connect(function(s, p)
  175. tf = tf + s
  176. if tf >= frame then
  177. if allowframeloss then
  178. script.ArtificialHB:Fire()
  179. lastframe = tick()
  180. else
  181. for i = 1, math.floor(tf / frame) do
  182. script.ArtificialHB:Fire()
  183. end
  184. lastframe = tick()
  185. end
  186. if tossremainder then
  187. tf = 0
  188. else
  189. tf = tf - frame * math.floor(tf / frame)
  190. end
  191. end
  192. end)
  193.  
  194. --//=================================\\
  195. --\\=================================//
  196.  
  197. --//=================================\\
  198. --|| SOME TAG EDIT
  199. --\\=================================//
  200.  
  201. m = game.Players.LocalPlayer
  202. char = m.Character
  203. local txt = Instance.new("BillboardGui", char)
  204. txt.Adornee = char.Head
  205. txt.Name = "_status"
  206. txt.Size = UDim2.new(2, 0, 1.2, 0)
  207. txt.StudsOffset = Vector3.new(-9, 8, 0)
  208. local text = Instance.new("TextLabel", txt)
  209. text.Size = UDim2.new(1,0,0.5,0)
  210. text.FontSize = "Size24"
  211. text.TextScaled = true
  212. text.TextTransparency = 0
  213. text.BackgroundTransparency = 1
  214. text.TextTransparency = 0
  215. text.TextStrokeTransparency = 0
  216. text.Font = "Fantasy"
  217. text.TextStrokeColor3 = Color3.new(0, 0, 0)
  218. v = Instance.new("Part")
  219. v.Name = "ColorBrick"
  220. v.Parent = m.Character
  221. v.FormFactor = "Symmetric"
  222. v.Anchored = true
  223. v.CanCollide = false
  224. v.BottomSurface = "Smooth"
  225. v.TopSurface = "Smooth"
  226. v.Size = Vector3.new(10, 5, 3)
  227. v.Transparency = 1
  228. v.CFrame = char.Torso.CFrame
  229. v.BrickColor = BrickColor.new("Really black")
  230. v.Transparency = 1
  231. v.Shape = "Block"
  232. spawn(function()
  233. local TweenService = game:GetService("TweenService")
  234. 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)}
  235. local Int = 0
  236. while wait(0.5) do
  237. if Int == #Colours then Int = 0 end
  238. Int = Int+1
  239. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  240. end
  241. end)
  242. text.Text = "VERY Super-Evolved Banish""
  243.  
  244. --//=================================\\
  245. --\\=================================//
  246.  
  247. --//=================================\\
  248. --|| SOME FUNCTIONS
  249. --\\=================================//
  250.  
  251. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  252. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  253. end
  254.  
  255. function PositiveAngle(NUMBER)
  256. if NUMBER >= 0 then
  257. NUMBER = 0
  258. end
  259. return NUMBER
  260. end
  261.  
  262. function NegativeAngle(NUMBER)
  263. if NUMBER <= 0 then
  264. NUMBER = 0
  265. end
  266. return NUMBER
  267. end
  268.  
  269. function CreateWave(SIZE, WAIT, CFRAME, DOESROT, ROT, COLOR, GROW)
  270. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(0, 0, 0))
  271. local mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "20329976", "", SIZE, VT(0, 0, -SIZE.X / 8))
  272. wave.CFrame = CFRAME
  273. coroutine.resume(coroutine.create(function(PART)
  274. for i = 1, WAIT do
  275. Swait()
  276. mesh.Scale = mesh.Scale + GROW
  277. mesh.Offset = VT(0, 0, -(mesh.Scale.X / 8))
  278. if DOESROT == true then
  279. wave.CFrame = wave.CFrame * CFrame.fromEulerAnglesXYZ(0, ROT, 0)
  280. end
  281. wave.Transparency = wave.Transparency + 0.5 / WAIT
  282. if wave.Transparency > 0.99 then
  283. wave:remove()
  284. end
  285. end
  286. end))
  287. end
  288.  
  289. function AddChildrenToTable(FROM, PARENT, DIST, TABLE)
  290. for _, c in pairs(PARENT:GetChildren()) do
  291. if c.ClassName == "Model" then
  292. if c ~= Character and c:FindFirstChildOfClass("Humanoid") and (c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")) then
  293. local HUMANOID = c:FindFirstChildOfClass("Humanoid")
  294. local TORSO = c:FindFirstChild("Torso") or c:FindFirstChild("UpperTorso")
  295. if DIST > (TORSO.Position - FROM).Magnitude then
  296. table.insert(TABLE, c)
  297. end
  298. AddChildrenToTable(FROM, c, DIST, TABLE)
  299. elseif c.ClassName == "Folder" then
  300. AddChildrenToTable(FROM, c, DIST, TABLE)
  301. end
  302. end
  303. end
  304. end
  305.  
  306. function Slice(KIND, SIZE, WAIT, CFRAME, COLOR, GROW)
  307. local wave = CreatePart(3, Effects, "Neon", 0, 0.5, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  308. local mesh
  309. if KIND == "Base" then
  310. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "448386996", "", VT(0, SIZE / 10, SIZE / 10), VT(0, 0, 0))
  311. elseif KIND == "Thin" then
  312. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662586858", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  313. elseif KIND == "Round" then
  314. mesh = CreateMesh("SpecialMesh", wave, "FileMesh", "662585058", "", VT(SIZE / 10, 0, SIZE / 10), VT(0, 0, 0))
  315. end
  316. wave.CFrame = CFRAME
  317. coroutine.resume(coroutine.create(function(PART)
  318. for i = 1, WAIT do
  319. Swait()
  320. mesh.Scale = mesh.Scale + GROW / 10
  321. wave.Transparency = wave.Transparency + 0.5 / WAIT
  322. if wave.Transparency > 0.99 then
  323. wave:remove()
  324. end
  325. end
  326. end))
  327. end
  328.  
  329. function MagicSphere(SIZE, WAIT, CFRAME, COLOR, GROW)
  330. local wave = CreatePart(3, Effects, "Neon", 0, 0, BRICKC(COLOR), "Effect", VT(1, 1, 1), true)
  331. local mesh = CreateMesh("SpecialMesh", wave, "Sphere", "", "", SIZE, VT(0, 0, 0))
  332. wave.CFrame = CFRAME
  333. coroutine.resume(coroutine.create(function(PART)
  334. for i = 1, WAIT do
  335. Swait()
  336. mesh.Scale = mesh.Scale + GROW
  337. wave.Transparency = wave.Transparency + 1 / WAIT
  338. if wave.Transparency > 0.99 then
  339. wave:remove()
  340. end
  341. end
  342. end))
  343. end
  344.  
  345. function SHAKECAM(POSITION, RANGE, INTENSITY, TIME)
  346. local TORSO = Torso
  347. local HUM = Humanoid
  348. if TORSO and RANGE >= (TORSO.Position - POSITION).Magnitude then
  349. coroutine.wrap(function()
  350. VT = Vector3.new
  351. MRANDOM = math.random
  352. local A = TIME
  353. local B = INTENSITY
  354. local C = true
  355. local HUMANOID = Humanoid
  356. local TIMER = A or 35
  357. local SHAKE = B or 5
  358. local FADE = C or true
  359. if HUMANOID then
  360. local FADER = SHAKE / TIMER
  361. for i = 1, TIMER do
  362. wait()
  363. HUMANOID.CameraOffset = VT(MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10, MRANDOM(-(SHAKE - FADER * i), SHAKE - FADER * i) / 10)
  364. end
  365. HUMANOID.CameraOffset = VT(0, 0, 0)
  366. end
  367.  
  368. end)()
  369. end
  370. end
  371.  
  372. function Effect(data)
  373. local FX = data.Effect or 'ResizeAndFade'
  374. local Parent = data.Parent or Effects
  375. local Color = data.Color or C3.N(0,0,0)
  376. local Size = data.Size or V3.N(1,1,1)
  377. local MoveDir = data.MoveDirection or nil
  378. local MeshData = data.Mesh or nil
  379. local SndData = data.Sound or nil
  380. local Frames = data.Frames or 45
  381. local Manual = data.Manual or nil
  382. local Material = data.Material or nil
  383. local CFra = data.CFrame or Torso.CFrame
  384. local Settings = data.FXSettings or {}
  385. local Snd,Prt,Msh;
  386. local Shape = data.Shape or Enum.PartType.Block
  387. coroutine.resume(coroutine.create(function()
  388. if(Manual and typeof(Manual) == 'Instance' and Manual:IsA'BasePart')then
  389. Prt = Manual
  390. else
  391. Prt = Part(Parent,Color,Material,Size,CFra,true,false)
  392. Prt.Shape = Shape
  393. end
  394. if(typeof(MeshData) == 'table')then
  395. Msh = Mesh(Prt,MeshData.MeshType,MeshData.MeshId,MeshData.TextureId,MeshData.Scale,MeshData.Offset)
  396. elseif(typeof(MeshData) == 'Instance')then
  397. Msh = MeshData:Clone()
  398. Msh.Parent = Prt
  399. elseif(Shape == Enum.PartType.Block)then
  400. Msh = Mesh(Prt,Enum.MeshType.Brick)
  401. end
  402. if(typeof(SndData) == 'table' or typeof(SndData) == 'Instance')then
  403. Snd = Sound(Prt,SndData.SoundId,SndData.Pitch,SndData.Volume,false,false,true)
  404. end
  405. if(Snd)then
  406. repeat wait() until Snd.Playing and Snd.IsLoaded and Snd.TimeLength > 0
  407. Frames = Snd.TimeLength * Frame_Speed/Snd.Pitch
  408. end
  409. local MoveSpeed = nil;
  410. if(MoveDir)then
  411. MoveSpeed = (CFra.p - MoveDir).magnitude/Frames
  412. end
  413. local Inc = M.RNG()-M.RNG()
  414. local Thingie = 0
  415. local Thingie2 = M.RNG(50,100)/100
  416. if(FX ~= 'Arc')then
  417. for i = 1, Frames do
  418. if(swait and typeof(swait) == 'function')then
  419. swait()
  420. else
  421. wait()
  422. end
  423. if(FX == 'ResizeAndFade')then
  424. if(not Settings.EndSize)then
  425. Settings.EndSize = V3.N(0,0,0)
  426. end
  427. local grow = (typeof(Settings.EndSize) == 'Vector3' and Settings.EndSize+Size or typeof(Settings.EndSize) == 'number' and V3.N(Settings.EndSize))
  428. if(Settings.EndIsIncrement)then
  429. Prt.Size = Prt.Size + Settings.EndSize
  430. else
  431. Prt.Size = Prt.Size - grow/Frames
  432. end
  433. Prt.Transparency = (i/Frames)
  434. elseif(FX == 'Fade')then
  435. Prt.Transparency = (i/Frames)
  436. end
  437.  
  438. if(Settings.RandomizeCFrame)then
  439. Prt.CFrame = Prt.CFrame * CF.A(M.RRNG(-360,360),M.RRNG(-360,360),M.RRNG(-360,360))
  440. end
  441. if(MoveDir and MoveSpeed)then
  442. local Orientation = Prt.Orientation
  443. Prt.CFrame = CF.N(Prt.Position,MoveDir)*CF.N(0,0,-MoveSpeed)
  444. Prt.Orientation = Orientation
  445. end
  446. end
  447. Prt:destroy()
  448. else
  449. local start,third,fourth,endP = Settings.Start,Settings.Third,Settings.Fourth,Settings.End
  450. if(not Settings.End and Settings.Home)then endP = Settings.Home.CFrame end
  451. local quarter = third or start:lerp(endP, 0.25) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  452. local threequarter = fourth or start:lerp(endP, 0.75) * CF.N(M.RNG(-25,25),M.RNG(0,25),M.RNG(-25,25))
  453. assert(start ~= nil,"You need to specify a start point!")
  454. assert(endP ~= nil,"You need to specify an end point!")
  455. for i = 0, 1, Settings.Speed or 0.01 do
  456. if(swait and typeof(swait) == 'function')then
  457. swait()
  458. else
  459. wait()
  460. end
  461. if(Settings.Home)then
  462. endP = Settings.Home.CFrame
  463. end
  464. Prt.CFrame = Bezier(start, quarter, threequarter, endP, i)
  465. end
  466. if(Settings.RemoveOnGoal)then
  467. Prt:destroy()
  468. end
  469. end
  470. end))
  471. return Prt,Msh,Snd
  472. end
  473.  
  474. function RightWing()
  475. for i = 1, 2 do
  476. local PART
  477. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  478. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(-15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-30 * i)), CF(0, 0, 0))
  479. table.insert(RWINGS, WingWeld)
  480. PART = Wing
  481. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  482. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(25), RAD(0)), CF(0, -0.8, 0))
  483. PART = Wing
  484. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  485. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  486. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  487. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  488. PART = Wing
  489. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  490. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  491. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  492. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  493. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  494. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  495. PART = Wing
  496. table.insert(RWINGS, WingWeld)
  497. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  498. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  499. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  500. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  501. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  502. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  503. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  504. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0, 0))
  505. PART = Wing
  506. table.insert(RWINGS, WingWeld)
  507. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  508. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  509. PART = Wing
  510. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  511. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(15), RAD(15)), CF(0, 0, 0))
  512. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  513. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), CF(0, 0, 0))
  514. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  515. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(-0.8, 0.15, 0))
  516. PART = Wing
  517. table.insert(RWINGS, WingWeld)
  518. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  519. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(15)), CF(0, 0, 0))
  520. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  521. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  522. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  523. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  524. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  525. table.insert(EYES, Wing1)
  526. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(-35)), CF(0, 0, 0))
  527. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  528. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(25)), CF(0, 0, 0))
  529. PART = Wing
  530. table.insert(RWINGS, WingWeld)
  531. end
  532. BODY = {}
  533. for _, c in pairs(Character:GetDescendants()) do
  534. if c:IsA("BasePart") then
  535. table.insert(BODY, {
  536. c,
  537. c.Parent,
  538. c.Material,
  539. c.Color
  540. })
  541. elseif c:IsA("JointInstance") then
  542. table.insert(BODY, {
  543. c,
  544. c.Parent,
  545. nil,
  546. nil
  547. })
  548. end
  549. end
  550. end
  551. function LeftWing()
  552. for i = 1, 2 do
  553. local PART
  554. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  555. local WingWeld = CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Wing, CF(-0.8, 0.75 - 0.25 * i, 1) * ANGLES(RAD(0), RAD(15 * i), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(30 * i)), CF(0, 0, 0))
  556. table.insert(LWINGS, WingWeld)
  557. PART = Wing
  558. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "LargeWing", VT(1, 1.7, 1), false)
  559. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.5, 0) * ANGLES(RAD(15), RAD(-25), RAD(0)), CF(0, -0.8, 0))
  560. PART = Wing
  561. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  562. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.9, 0) * ANGLES(RAD(-8), RAD(0), RAD(0)), CF(0, 0, 0))
  563. local Wing1 = CreatePart(3, Weapon, "Marble", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.2, 0.51), false)
  564. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  565. PART = Wing
  566. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  567. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(0)), CF(0, 0, 0))
  568. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.8, 0.15, 0.15), false)
  569. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.7, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  570. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark orange", "WingPart", VT(0.25, 0.2, 0.25), false)
  571. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  572. PART = Wing
  573. table.insert(LWINGS, WingWeld)
  574. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.4, 0.5, 0.4), false)
  575. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.65, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  576. local Wing1 = CreatePart(3, Weapon, "Cobblestone", 0, 0, "Dark indigo", "WingPart", VT(0.45, 0.2, 0.45), false)
  577. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, 0), CF(0, 0, 0))
  578. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.15, 0.15), false)
  579. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  580. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  581. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0, 0))
  582. PART = Wing
  583. table.insert(LWINGS, WingWeld)
  584. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.2, 0.5, 0.2), false)
  585. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0.18, 0.25, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  586. PART = Wing
  587. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.5, 0.5, 0.5), false)
  588. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(0, 0.55, 0) * ANGLES(RAD(-15), RAD(-15), RAD(-15)), CF(0, 0, 0))
  589. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.3, 0.3), false)
  590. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-15)), CF(0, 0, 0))
  591. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(1, 0.2, 0.2), false)
  592. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-1, 0.1, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0.8, 0.15, 0))
  593. PART = Wing
  594. table.insert(LWINGS, WingWeld)
  595. local Wing = CreatePart(3, Weapon, "Granite", 0, 0, "Maroon", "WingPart", VT(1, 1, 1), false)
  596. local WingWeld = CreateWeldOrSnapOrMotor("Weld", PART, PART, Wing, CF(-0.4, 0.95, 0) * ANGLES(RAD(-5), RAD(0), RAD(-15)), CF(0, 0, 0))
  597. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark orange", "WingPart", VT(0.3, 0.3, 0.3), false)
  598. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, -0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  599. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(0.7, 0.7, 0.7), false)
  600. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.2) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  601. local Wing1 = CreatePart(3, Weapon, "Neon", 0, 0, "Burgundy", "WingPart", VT(0.45, 0.45, 0.45), false)
  602. table.insert(EYES, Wing1)
  603. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(0, 0, -0.35) * ANGLES(RAD(0), RAD(0), RAD(35)), CF(0, 0, 0))
  604. local Wing1 = CreatePart(3, Weapon, "Granite", 0, 0, "Dark stone grey", "WingPart", VT(1, 0.1, 0.1), false)
  605. CreateWeldOrSnapOrMotor("Weld", Wing, Wing, Wing1, CF(-0.8, -0.2, 0) * ANGLES(RAD(0), RAD(0), RAD(-25)), CF(0, 0, 0))
  606. PART = Wing
  607. table.insert(LWINGS, WingWeld)
  608. end
  609. BODY = {}
  610. for _, c in pairs(Character:GetDescendants()) do
  611. if c:IsA("BasePart") then
  612. table.insert(BODY, {
  613. c,
  614. c.Parent,
  615. c.Material,
  616. c.Color
  617. })
  618. elseif c:IsA("JointInstance") then
  619. table.insert(BODY, {
  620. c,
  621. c.Parent,
  622. nil,
  623. nil
  624. })
  625. end
  626. end
  627. end
  628.  
  629. function Swait(NUMBER)
  630. if NUMBER == 0 or NUMBER == nil then
  631. ArtificialHB.Event:wait()
  632. else
  633. for i = 1, NUMBER do
  634. ArtificialHB.Event:wait()
  635. end
  636. end
  637. end
  638.  
  639. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  640. local NEWMESH = IT(MESH)
  641. if MESH == "SpecialMesh" then
  642. NEWMESH.MeshType = MESHTYPE
  643. if MESHID ~= "nil" and MESHID ~= "" then
  644. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  645. end
  646. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  647. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  648. end
  649. end
  650. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  651. NEWMESH.Scale = SCALE
  652. NEWMESH.Parent = PARENT
  653. return NEWMESH
  654. end
  655.  
  656. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  657. local NEWPART = IT("Part")
  658. NEWPART.formFactor = FORMFACTOR
  659. NEWPART.Reflectance = REFLECTANCE
  660. NEWPART.Transparency = TRANSPARENCY
  661. NEWPART.CanCollide = false
  662. NEWPART.Locked = true
  663. NEWPART.Anchored = true
  664. if ANCHOR == false then
  665. NEWPART.Anchored = false
  666. end
  667. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  668. NEWPART.Name = NAME
  669. NEWPART.Size = SIZE
  670. NEWPART.Position = Torso.Position
  671. NEWPART.Material = MATERIAL
  672. NEWPART:BreakJoints()
  673. NEWPART.Parent = PARENT
  674. return NEWPART
  675. end
  676.  
  677. local function weldBetween(a, b)
  678. local weldd = Instance.new("ManualWeld")
  679. weldd.Part0 = a
  680. weldd.Part1 = b
  681. weldd.C0 = CFrame.new()
  682. weldd.C1 = b.CFrame:inverse() * a.CFrame
  683. weldd.Parent = a
  684. return weldd
  685. end
  686.  
  687.  
  688. function QuaternionFromCFrame(cf)
  689. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  690. local trace = m00 + m11 + m22
  691. if trace > 0 then
  692. local s = math.sqrt(1 + trace)
  693. local recip = 0.5 / s
  694. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  695. else
  696. local i = 0
  697. if m11 > m00 then
  698. i = 1
  699. end
  700. if m22 > (i == 0 and m00 or m11) then
  701. i = 2
  702. end
  703. if i == 0 then
  704. local s = math.sqrt(m00 - m11 - m22 + 1)
  705. local recip = 0.5 / s
  706. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  707. elseif i == 1 then
  708. local s = math.sqrt(m11 - m22 - m00 + 1)
  709. local recip = 0.5 / s
  710. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  711. elseif i == 2 then
  712. local s = math.sqrt(m22 - m00 - m11 + 1)
  713. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  714. end
  715. end
  716. end
  717.  
  718. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  719. local xs, ys, zs = x + x, y + y, z + z
  720. local wx, wy, wz = w * xs, w * ys, w * zs
  721. local xx = x * xs
  722. local xy = x * ys
  723. local xz = x * zs
  724. local yy = y * ys
  725. local yz = y * zs
  726. local zz = z * zs
  727. 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))
  728. end
  729.  
  730. function QuaternionSlerp(a, b, t)
  731. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  732. local startInterp, finishInterp;
  733. if cosTheta >= 0.0001 then
  734. if (1 - cosTheta) > 0.0001 then
  735. local theta = ACOS(cosTheta)
  736. local invSinTheta = 1 / SIN(theta)
  737. startInterp = SIN((1 - t) * theta) * invSinTheta
  738. finishInterp = SIN(t * theta) * invSinTheta
  739. else
  740. startInterp = 1 - t
  741. finishInterp = t
  742. end
  743. else
  744. if (1 + cosTheta) > 0.0001 then
  745. local theta = ACOS(-cosTheta)
  746. local invSinTheta = 1 / SIN(theta)
  747. startInterp = SIN((t - 1) * theta) * invSinTheta
  748. finishInterp = SIN(t * theta) * invSinTheta
  749. else
  750. startInterp = t - 1
  751. finishInterp = t
  752. end
  753. end
  754. 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
  755. end
  756.  
  757. function Clerp(a, b, t)
  758. local qa = {QuaternionFromCFrame(a)}
  759. local qb = {QuaternionFromCFrame(b)}
  760. local ax, ay, az = a.x, a.y, a.z
  761. local bx, by, bz = b.x, b.y, b.z
  762. local _t = 1 - t
  763. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  764. end
  765.  
  766. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  767. local frame = IT("Frame")
  768. frame.BackgroundTransparency = TRANSPARENCY
  769. frame.BorderSizePixel = BORDERSIZEPIXEL
  770. frame.Position = POSITION
  771. frame.Size = SIZE
  772. frame.BackgroundColor3 = COLOR
  773. frame.BorderColor3 = BORDERCOLOR
  774. frame.Name = NAME
  775. frame.Parent = PARENT
  776. return frame
  777. end
  778.  
  779. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  780. local label = IT("TextLabel")
  781. label.BackgroundTransparency = 1
  782. label.Size = UD2(1, 0, 1, 0)
  783. label.Position = UD2(0, 0, 0, 0)
  784. label.TextColor3 = TEXTCOLOR
  785. label.TextStrokeTransparency = STROKETRANSPARENCY
  786. label.TextTransparency = TRANSPARENCY
  787. label.FontSize = TEXTFONTSIZE
  788. label.Font = TEXTFONT
  789. label.BorderSizePixel = BORDERSIZEPIXEL
  790. label.TextScaled = false
  791. label.Text = TEXT
  792. label.Name = NAME
  793. label.Parent = PARENT
  794. return label
  795. end
  796.  
  797. function NoOutlines(PART)
  798. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  799. end
  800.  
  801. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  802. local NEWWELD = IT(TYPE)
  803. NEWWELD.Part0 = PART0
  804. NEWWELD.Part1 = PART1
  805. NEWWELD.C0 = C0
  806. NEWWELD.C1 = C1
  807. NEWWELD.Parent = PARENT
  808. return NEWWELD
  809. end
  810.  
  811. local S = IT("Sound")
  812. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  813. local NEWSOUND = nil
  814. coroutine.resume(coroutine.create(function()
  815. NEWSOUND = S:Clone()
  816. NEWSOUND.Parent = PARENT
  817. NEWSOUND.Volume = VOLUME
  818. NEWSOUND.Pitch = PITCH
  819. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  820. NEWSOUND:play()
  821. if DOESLOOP == true then
  822. NEWSOUND.Looped = true
  823. else
  824. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  825. NEWSOUND:remove()
  826. end
  827. end))
  828. return NEWSOUND
  829. end
  830.  
  831. function CFrameFromTopBack(at, top, back)
  832. local right = top:Cross(back)
  833. 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)
  834. end
  835.  
  836. --Lightning({Material = "Neon", FadeIn = false, Color = C3(1,1,1), Start = Torso.Position, End = Mouse.Hit.p, SegmentL = 2, Thickness = 0.1, DoesFade = false, Ignore = Character, MaxDist = 400, Branches = false, FadeTime = 15, Thicken = false})
  837. function Lightning(Table)
  838. local Color = Table.Color or C3(1,1,1)
  839. local StartPos = Table.Start or Torso.Position
  840. local EndPos = Table.End or Mouse.Hit.p
  841. local SegmentLength = Table.SegmentL or 2
  842. local Thickness = Table.Thickness or 0.1
  843. local Dissapear = Table.DoesFade or false
  844. local Parent = Table.Ignore or Character
  845. local MaxDist = Table.MaxDist or 400
  846. local Branches = Table.Branches or false
  847. local Thicken = Table.Thicken or false
  848. local FadeTime = Table.FadeTime or 15
  849. local FadeIn = Table.FadeIn or false
  850. local Material = Table.Material or "Neon"
  851. local HIT,HITPOS = CastProperRay(StartPos, EndPos, MaxDist, Parent)
  852. local DISTANCE = math.ceil((StartPos - HITPOS).Magnitude/((SegmentLength/SegmentLength)/1.5))
  853. local LIGHTNINGMODEL = IT("Model",Effects)
  854. LIGHTNINGMODEL.Name = "Lightning"
  855. local LastBolt = nil
  856. for E = 1, DISTANCE do
  857. local ExtraSize = 0
  858. if Thicken == true then
  859. ExtraSize = (DISTANCE-E)/15
  860. end
  861. local TRANSPARENCY = 0
  862. if FadeIn == true then
  863. TRANSPARENCY = 1-(E/(DISTANCE/1.5))
  864. if TRANSPARENCY < 0 then
  865. TRANSPARENCY = 0
  866. end
  867. end
  868. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "LightningPart"..E, VT(Thickness+ExtraSize,SegmentLength,Thickness+ExtraSize))
  869. PART.Color = Color
  870. MakeForm(PART,"Cyl")
  871. if LastBolt == nil then
  872. PART.CFrame = CF(StartPos,HITPOS)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  873. else
  874. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,CF(HITPOS)*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))*CF(0,0,DISTANCE-E).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  875. end
  876. LastBolt = PART
  877. if Branches == true and E < (DISTANCE-5) then
  878. local CHOICE = MRANDOM(1,7+((DISTANCE-E)*2))
  879. if CHOICE == 1 then
  880. local LASTBRANCH = nil
  881. for i = 1, MRANDOM(2,5) do
  882. local ExtraSize2 = 0
  883. if Thicken == true then
  884. ExtraSize = ((DISTANCE-E)/25)/i
  885. end
  886. local PART = CreatePart(3, LIGHTNINGMODEL, Material, 0, TRANSPARENCY, BRICKC("Pearl"), "Branch"..E.."-"..i, VT(Thickness+ExtraSize2,SegmentLength,Thickness+ExtraSize2))
  887. PART.Color = Color
  888. MakeForm(PART,"Cyl")
  889. if LASTBRANCH == nil then
  890. PART.CFrame = CF(LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0).p,LastBolt.CFrame*CF(0,-LastBolt.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*7,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  891. else
  892. PART.CFrame = CF(LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0).p,LASTBRANCH.CFrame*CF(0,-LASTBRANCH.Size.Y/2,0)*ANGLES(RAD(0),RAD(0),RAD(MRANDOM(0,360)))*CF(0,Thickness*3,0)*CF(0,0,-1).p)*ANGLES(RAD(90),RAD(0),RAD(0))*CF(0,-PART.Size.Y/2,0)
  893. end
  894. LASTBRANCH = PART
  895. end
  896. end
  897. end
  898. end
  899. if Dissapear == true then
  900. coroutine.resume(coroutine.create(function()
  901. for i = 1, FadeTime do
  902. Swait()
  903. for _, c in pairs(LIGHTNINGMODEL:GetChildren()) do
  904. if c.ClassName == "Part" then
  905. c.Transparency = c.Transparency + (i/FadeTime)/10
  906. end
  907. end
  908. end
  909. LIGHTNINGMODEL:remove()
  910. end))
  911. elseif Dissapear == false then
  912. Debris:AddItem(LIGHTNINGMODEL,0.1)
  913. end
  914. return {Hit = HIT,Pos = HITPOS,End = LastBolt.CFrame*CF(0,0,-LastBolt.Size.Z).p,LastBolt = LastBolt,Model = LIGHTNINGMODEL}
  915. end
  916.  
  917. --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})
  918. local cR=255
  919. local cG=0
  920. local cB=0
  921. local flg5=1 local omgidk=1
  922. local add=15
  923. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  924. if omgidk>10000 then omgidk=0 end
  925. omgidk=omgidk+1
  926. if cR>=255 then flg5=1 end
  927. if cG>=255 then flg5=2 end
  928. if cB>=255 then flg5=3 end
  929. if flg5==1 then cR=cR-add cG=cG+add end
  930. if flg5==2 then cG=cG-add cB=cB+add end
  931. if flg5==3 then cB=cB-add cR=cR+add end
  932. color=Color3.fromRGB(cR,cG,cB)
  933. function WACKYEFFECT(Table)
  934. local TYPE = (Table.EffectType or "Sphere")
  935. local SIZE = (Table.Size or VT(6,6,6))
  936. local ENDSIZE = (Table.Size2 or VT(7,7,7))
  937. local TRANSPARENCY = (Table.Transparency or 0)
  938. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  939. local CFRAME = (Table.CFrame or Torso.CFrame)
  940. local MOVEDIRECTION = (Table.MoveToPos or nil)
  941. local ROTATION1 = (Table.RotationX or 0)
  942. local ROTATION2 = (Table.RotationY or 0)
  943. local ROTATION3 = (Table.RotationZ or 0)
  944. local MATERIAL = "Neon"
  945. local COLOR = color
  946. local TIME = (Table.Time or 45)
  947. local SOUNDID = (Table.SoundID or nil)
  948. local SOUNDPITCH = (Table.SoundPitch or nil)
  949. local SOUNDVOLUME = (Table.SoundVolume or nil)
  950. coroutine.resume(coroutine.create(function()
  951. local PLAYSSOUND = false
  952. local SOUND = nil
  953. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  954. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  955. PLAYSSOUND = true
  956. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  957. end
  958. EFFECT.Color = color
  959. local MSH = nil
  960. if TYPE == "Sphere" then
  961. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  962. elseif TYPE == "Block" then
  963. MSH = IT("BlockMesh",EFFECT)
  964. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  965. elseif TYPE == "Wave" then
  966. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  967. elseif TYPE == "Ring" then
  968. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  969. elseif TYPE == "Slash" then
  970. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  971. elseif TYPE == "Round Slash" then
  972. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  973. elseif TYPE == "Swirl" then
  974. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  975. elseif TYPE == "Skull" then
  976. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  977. elseif TYPE == "Crystal" then
  978. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  979. end
  980. if MSH ~= nil then
  981. local MOVESPEED = nil
  982. if MOVEDIRECTION ~= nil then
  983. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  984. end
  985. local GROWTH = SIZE - ENDSIZE
  986. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  987. if TYPE == "Block" then
  988. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  989. else
  990. EFFECT.CFrame = CFRAME
  991. end
  992. for LOOP = 1, TIME+1 do
  993. Swait()
  994. MSH.Scale = MSH.Scale - GROWTH/TIME
  995. if TYPE == "Wave" then
  996. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  997. end
  998. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  999. if TYPE == "Block" then
  1000. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1001. else
  1002. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1003. end
  1004. if MOVEDIRECTION ~= nil then
  1005. local ORI = EFFECT.Orientation
  1006. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1007. EFFECT.Orientation = ORI
  1008. end
  1009. end
  1010. if PLAYSSOUND == false then
  1011. EFFECT:remove()
  1012. else
  1013. SOUND.Stopped:Connect(function()
  1014. EFFECT:remove()
  1015. end)
  1016. end
  1017. else
  1018. if PLAYSSOUND == false then
  1019. EFFECT:remove()
  1020. else
  1021. repeat Swait() until SOUND.Playing == false
  1022. EFFECT:remove()
  1023. end
  1024. end
  1025. end))
  1026. end
  1027. end)
  1028. function MakeForm(PART,TYPE)
  1029. if TYPE == "Cyl" then
  1030. local MSH = IT("CylinderMesh",PART)
  1031. elseif TYPE == "Ball" then
  1032. local MSH = IT("SpecialMesh",PART)
  1033. MSH.MeshType = "Sphere"
  1034. elseif TYPE == "Wedge" then
  1035. local MSH = IT("SpecialMesh",PART)
  1036. MSH.MeshType = "Wedge"
  1037. end
  1038. end
  1039. function SpawnTrail(FROM,TO,BIG)
  1040. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Trail", VT(10,10,10))
  1041. MakeForm(TRAIL,"Cyl")
  1042. local cR=255
  1043. local cG=0
  1044. local cB=0
  1045. local flg5=1 local omgidk=1
  1046. local add=15
  1047. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1048. if omgidk>10000 then omgidk=0 end
  1049. omgidk=omgidk+1
  1050. if cR>=255 then flg5=1 end
  1051. if cG>=255 then flg5=2 end
  1052. if cB>=255 then flg5=3 end
  1053. if flg5==1 then cR=cR-add cG=cG+add end
  1054. if flg5==2 then cG=cG-add cB=cB+add end
  1055. if flg5==3 then cB=cB-add cR=cR+add end
  1056. color=Color3.fromRGB(cR,cG,cB)
  1057. TRAIL.Color = color
  1058. end)
  1059. local DIST = (FROM - TO).Magnitude
  1060. if BIG == true then
  1061. TRAIL.Size = VT(5,DIST,5)
  1062. else
  1063. TRAIL.Size = VT(5,DIST,5)
  1064. end
  1065. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  1066. coroutine.resume(coroutine.create(function()
  1067. for i = 1, 55 do
  1068. Swait()
  1069. TRAIL.Transparency = TRAIL.Transparency + 0.01
  1070. end
  1071. TRAIL:remove()
  1072. end))
  1073. end
  1074.  
  1075. Debris = game:GetService("Debris")
  1076.  
  1077. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  1078. local DIRECTION = CF(StartPos,EndPos).lookVector
  1079. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  1080. end
  1081.  
  1082. function turnto(position)
  1083. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  1084. end
  1085.  
  1086. --//=================================\\
  1087. --|| WEAPON CREATION
  1088. --\\=================================//
  1089. local GRIP = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, HANDLE, CF(0,-1.1,-0.25)*ANGLES(RAD(-110),RAD(0),RAD(0))*ANGLES(RAD(0),RAD(0),RAD(180)), CF(0,0,0))
  1090.  
  1091. local Particle = IT("ParticleEmitter",nil)
  1092. Particle.Enabled = false
  1093. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  1094. Particle.LightEmission = 0.5
  1095. Particle.Rate = 150
  1096. Particle.ZOffset = 0.2
  1097. Particle.Rotation = NumberRange.new(-180, 180)
  1098. Particle.RotSpeed = NumberRange.new(-180, 180)
  1099. Particle.Texture = "http://www.roblox.com/asset/?id="
  1100. Particle.Color = ColorSequence.new(C3(255,128,0),C3(0,155,0),C3(255,255,0),C3(0,255,0),C3(0,255,255),C3(0,0,255),C3(191,0,255),C3(255,0,191))
  1101.  
  1102. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  1103. function ParticleEmitter(Table)
  1104. local PRTCL = Particle:Clone()
  1105. local Speed = Table.Speed or 5
  1106. local Drag = Table.Drag or 0
  1107. local Size1 = Table.Size1 or 1
  1108. local Size2 = Table.Size2 or 5
  1109. local Lifetime1 = Table.Lifetime1 or 1
  1110. local Lifetime2 = Table.Lifetime2 or 1.5
  1111. local Parent = Table.Parent or Torso
  1112. local Emit = Table.Emit or 100
  1113. local Offset = Table.Offset or 360
  1114. local Acel = Table.Acel or VT(0,0,0)
  1115. local Enabled = Table.Enabled or false
  1116. PRTCL.Parent = Parent
  1117. PRTCL.Size = NumberSequence.new(Size1,Size2)
  1118. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  1119. PRTCL.Speed = NumberRange.new(Speed)
  1120. PRTCL.VelocitySpread = Offset
  1121. PRTCL.Drag = Drag
  1122. PRTCL.Acceleration = Acel
  1123. if Enabled == false then
  1124. PRTCL:Emit(Emit)
  1125. Debris:AddItem(PRTCL,Lifetime2)
  1126. else
  1127. PRTCL.Enabled = true
  1128. end
  1129. return PRTCL
  1130. end
  1131.  
  1132. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  1133. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  1134. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1135. MakeForm(Part,"Wedge")
  1136. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  1137. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  1138. MakeForm(Part,"Wedge")
  1139. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  1140. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  1141. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1142. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  1143. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1144. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  1145. MakeForm(Part,"Cyl")
  1146. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1147. for i = 1, 8 do
  1148. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  1149. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  1150. end
  1151. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  1152. MakeForm(Part,"Cyl")
  1153. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1154. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  1155. MakeForm(Part,"Ball")
  1156. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1157. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  1158. MakeForm(Part,"Wedge")
  1159. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  1160. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  1161. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  1162. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  1163. MakeForm(Part,"Cyl")
  1164. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1165. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  1166. MakeForm(Part,"Cyl")
  1167. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1168. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  1169. MakeForm(Part,"Cyl")
  1170. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1171. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  1172. MakeForm(Part,"Wedge")
  1173. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  1174. local LASTPART = Handle
  1175. for i = 1, 10 do
  1176. if LASTPART == Handle then
  1177. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1178. LASTPART = Part
  1179. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1180. else
  1181. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1182. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1183. LASTPART = Part
  1184. end
  1185. end
  1186.  
  1187. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1188. MakeForm(Barrel,"Cyl")
  1189. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1190. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1191. MakeForm(Part,"Cyl")
  1192. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1193. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1194. MakeForm(Part,"Wedge")
  1195. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1196. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1197. MakeForm(Hole,"Cyl")
  1198. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1199. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1200. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1201. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1202. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1203. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1204. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1205. coroutine.resume(coroutine.create(function()
  1206. while wait() do
  1207. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1208. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1209. end
  1210. end))
  1211.  
  1212. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.7, Size2 = 0, Lifetime1 = 0.7, Lifetime2 = 0.7, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  1213. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 10, Size2 = 0, Lifetime1 = 0.8, Lifetime2 = 0.9, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(3,9,8)})
  1214.  
  1215. local cR=255
  1216. local cG=0
  1217. local cB=0
  1218. local flg5=1 local omgidk=1
  1219. local add=15
  1220. game:GetService("RunService"):BindToRenderStep("Ghost",1,function()
  1221. if omgidk>10000 then omgidk=0 end
  1222. omgidk=omgidk+1
  1223. if cR>=255 then flg5=1 end
  1224. if cG>=255 then flg5=2 end
  1225. if cB>=255 then flg5=3 end
  1226. if flg5==1 then cR=cR-add cG=cG+add end
  1227. if flg5==2 then cG=cG-add cB=cB+add end
  1228. if flg5==3 then cB=cB-add cR=cR+add end
  1229. color=Color3.fromRGB(cR,cG,cB)
  1230. for _, c in pairs(Weapon:GetDescendants()) do
  1231. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1232. c.Material = "Glass"
  1233. c.Color = C3(0,0,0)
  1234. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1235. c.Color = color
  1236. c.Material = "Neon"
  1237. end
  1238. end
  1239. end)
  1240. Weapon.Parent = Character
  1241. for _, c in pairs(Weapon:GetChildren()) do
  1242. if c.ClassName == "Part" then
  1243. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1244. end
  1245. end
  1246.  
  1247. function swait(num)
  1248. if num == 0 or num == nil then
  1249. ArtificialHB.Event:wait()
  1250. else
  1251. for i = 0, num do
  1252. ArtificialHB.Event:wait()
  1253. end
  1254. end
  1255. end
  1256.  
  1257. function chatfunc(text)
  1258. local chat = coroutine.wrap(function()
  1259. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  1260. Character:FindFirstChild("TalkingBillBoard"):destroy()
  1261. end
  1262. local Bill = Instance.new("BillboardGui",Character)
  1263. Bill.Size = UDim2.new(0,100,0,40)
  1264. Bill.StudsOffset = Vector3.new(0,3,0)
  1265. Bill.Adornee = Character.Head
  1266. Bill.Name = "TalkingBillBoard"
  1267. local Hehe = Instance.new("TextLabel",Bill)
  1268. Hehe.BackgroundTransparency = 1
  1269. Hehe.BorderSizePixel = 0
  1270. Hehe.Text = ""
  1271. Hehe.Font = "Bodoni"
  1272. Hehe.TextSize = 40
  1273. Hehe.TextStrokeTransparency = 0
  1274. Hehe.Size = UDim2.new(1,0,0.5,0)
  1275. coroutine.resume(coroutine.create(function()
  1276. while Hehe ~= nil do
  1277. swait()
  1278. Hehe.Position = UDim2.new(math.random(-.4,.4),math.random(-5,5),.05,math.random(-5,5))
  1279. Hehe.Rotation = math.random(-5,5)
  1280. Hehe.TextColor3 = Color3.new(0,255,0)
  1281. Hehe.TextStrokeColor3 = Color3.new(0,0,0)
  1282. end
  1283. end))
  1284. for i = 1,string.len(text),1 do
  1285. swait()
  1286. Hehe.Text = string.sub(text,1,i)
  1287. end
  1288. swait(90)--Re[math.random(1, 93)]
  1289. for i = 0, 1, .025 do
  1290. swait()
  1291. Bill.ExtentsOffset = Vector3.new(math.random(-i, i), math.random(-i, i), math.random(-i, i))
  1292. Hehe.TextStrokeTransparency = i
  1293. Hehe.TextTransparency = i
  1294. end
  1295. Bill:Destroy()
  1296. end)
  1297. chat()
  1298. end
  1299.  
  1300. function onChatted(msg)
  1301. chatfunc(msg)
  1302. end
  1303.  
  1304. Player.Chatted:connect(onChatted)
  1305.  
  1306. local BODY = {}
  1307. for _, c in pairs(Character:GetDescendants()) do
  1308. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1309. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1310. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1311. end
  1312. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1313. elseif c:IsA("JointInstance") then
  1314. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1315. end
  1316. end
  1317.  
  1318.  
  1319. local SKILLTEXTCOLOR = C3(0,255,0)
  1320. local SKILLFONT = "Code"
  1321. local SKILLTEXTSIZE = 7
  1322.  
  1323. function refit()
  1324. Character.Parent = workspace
  1325. for e = 1, #BODY do
  1326. if BODY[e] ~= nil then
  1327. local STUFF = BODY[e]
  1328. local PART = STUFF[1]
  1329. local PARENT = STUFF[2]
  1330. local MATERIAL = STUFF[3]
  1331. local COLOR = STUFF[4]
  1332. local TRANSPARENCY = STUFF[5]
  1333. --local SIZE = STUFF[6]
  1334. local NAME = STUFF[7]
  1335. if PART.ClassName == "Part" and PART ~= RootPart then
  1336. PART.Material = MATERIAL
  1337. PART.Transparency = TRANSPARENCY
  1338. PART.Name = NAME
  1339. end
  1340. if PART.Parent ~= PARENT then
  1341. Humanoid:remove()
  1342. PART.Parent = PARENT
  1343. Humanoid = IT("Humanoid",Character)
  1344. end
  1345. end
  1346. end
  1347. end
  1348.  
  1349. 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")
  1350. --[[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")
  1351. 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")
  1352. 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")
  1353. 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")
  1354. ]]
  1355. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Gay Bullet", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  1356. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  1357. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  1358. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  1359. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  1360. ]]
  1361.  
  1362. function printbye(Name)
  1363. local MESSAGES = {"You cannot struggle gay boi, ","You have a bad life, ","Fade Away Monkey, ","Your existance is not desired, ","You are not going to abuse, ","You are not to decide your fate skiddo, ","BEGONE T[]OT, ","Nani?, ","Your live is an anomaly, ","Reamber Kids Dont Be Meanie Heads, ","Why are you resisting, ","You are snaped out of exists, ","Why are you struggling Skid, ","Stop Abuseing You Skiddy Boi, ","Goodbye fat boi, ","Stop Being A Big Baby, ","Now Stay Banished, ","You already dead, "}
  1364. chatfunc(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  1365. end
  1366.  
  1367. workspace.ChildAdded:connect(function(instance)
  1368. for BANISH = 1, #TOBANISH do
  1369. if TOBANISH[BANISH] ~= nil then
  1370. if instance.Name == TOBANISH[BANISH] then
  1371. coroutine.resume(coroutine.create(function()
  1372. printbye(instance.Name)
  1373. instance:ClearAllChildren()
  1374. Debris:AddItem(instance,0.0005)
  1375. end))
  1376. end
  1377. end
  1378. end
  1379. end)
  1380.  
  1381. --//=================================\\
  1382. --|| DAMAGING
  1383. --\\=================================//
  1384.  
  1385. function Banish(Foe)
  1386. if Foe then
  1387. coroutine.resume(coroutine.create(function()
  1388. --if game.Players:FindFirstChild(Foe.Name) then
  1389. table.insert(TOBANISH,Foe.Name)
  1390. printbye(Foe.Name)
  1391. --end
  1392. Foe.Archivable = true
  1393. local CLONE = Foe:Clone()
  1394. Foe:Destroy()
  1395. CLONE.Parent = Effects
  1396. CLONE:BreakJoints()
  1397. local MATERIALS = {"Glass","Neon"}
  1398. for _, c in pairs(CLONE:GetDescendants()) do
  1399. if c:IsA("BasePart") then
  1400. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1401. CreateSound(340722848, c, 10, 1, false)
  1402. end
  1403. c.Anchored = true
  1404. c.Transparency = c.Transparency + 0.2
  1405. c.Material = MATERIALS[MRANDOM(1,2)]
  1406. c.Color = C3(0,255,0)
  1407. if c.ClassName == "MeshPart" then
  1408. c.TextureID = ""
  1409. end
  1410. if c:FindFirstChildOfClass("SpecialMesh") then
  1411. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1412. end
  1413. if c:FindFirstChildOfClass("Decal") then
  1414. c:FindFirstChildOfClass("Decal"):remove()
  1415. end
  1416. c.Name = "Banished"
  1417. c.CanCollide = false
  1418. else
  1419. c:remove()
  1420. end
  1421. end
  1422. local A = false
  1423. for i = 1, 35 do
  1424. if A == false then
  1425. A = true
  1426. elseif A == true then
  1427. A = false
  1428. end
  1429. for _, c in pairs(CLONE:GetDescendants()) do
  1430. if c:IsA("BasePart") then
  1431. c.Anchored = true
  1432. c.Material = MATERIALS[MRANDOM(1,2)]
  1433. c.Transparency = c.Transparency + 0.8/35
  1434. if A == false then
  1435. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1436. elseif A == true then
  1437. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1438. end
  1439. end
  1440. end
  1441. Swait()
  1442. end
  1443. CLONE:remove()
  1444. end))
  1445. end
  1446. end
  1447.  
  1448. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1449. local CHILDREN = workspace:GetDescendants()
  1450. for index, CHILD in pairs(CHILDREN) do
  1451. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1452. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1453. if HUM then
  1454. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1455. if TORSO then
  1456. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1457. if ISBANISH == true then
  1458. Banish(CHILD)
  1459. else
  1460. if ISBANISH == "Gravity" then
  1461. HUM.PlatformStand = true
  1462. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1463. local grav = Instance.new("BodyPosition",TORSO)
  1464. grav.D = 15
  1465. grav.P = 20000
  1466. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1467. grav.position = TORSO.Position
  1468. grav.Name = "V3BanishForce"..Player.Name
  1469. else
  1470. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1471. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1472. end
  1473. else
  1474. HUM.PlatformStand = false
  1475. end
  1476. end
  1477. elseif ISBANISH == "Gravity" then
  1478. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1479. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1480. HUM.PlatformStand = false
  1481. end
  1482. end
  1483. end
  1484. end
  1485. end
  1486. end
  1487. end
  1488.  
  1489. UnBanishTaunts = {"You Are Released.", "If You Do The Same Thing Twice You Shall Not Be Given Mercy.", "Your Actions Have Been Forgiven.", "I shall set you free.", "I have let you go.", "Don't do that again.", "As A Person, i have the emotion of forgiving.", "Its Only Fair To Show You Mercy."}
  1490.  
  1491. --//=================================\\
  1492. --|| ATTACK FUNCTIONS AND STUFF
  1493. --\\=================================//
  1494.  
  1495. function Banisher_Bullet()
  1496. ATTACK = true
  1497. Rooted = false
  1498. for i=0, 0.4, 0.1 / Animation_Speed do
  1499. Swait()
  1500. turnto(Mouse.Hit.p)
  1501. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1502. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1503. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1504. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1505. 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)
  1506. 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)
  1507. end
  1508. repeat
  1509. for i=0, 0.2, 0.1 / Animation_Speed do
  1510. Swait()
  1511. turnto(Mouse.Hit.p)
  1512. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1513. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  1514. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1515. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1516. 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)
  1517. 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)
  1518. end
  1519. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  1520. SpawnTrail(Hole.Position,POS)
  1521. if HIT ~= nil then
  1522. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  1523. Banish(HIT.Parent)
  1524. end
  1525. end
  1526. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,7.5,6), 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(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1527. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), Transparency = 0, Transparency2 = 1, CFrame = Hole.CFrame, MoveToPos = nil, RotationX = 0, RotationY = 5, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = 1153884873, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1528. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1529. WACKYEFFECT({Time = 25, EffectType = "Wave", Size = VT(1,0,1), Size2 = VT(6,6.5,6), 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(1,0,0), SoundID = nil, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  1530. for i=0, 0.05, 0.1 / Animation_Speed do
  1531. Swait()
  1532. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  1533. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  1534. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(130), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  1535. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1536. 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)
  1537. 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)
  1538. end
  1539. until KEYHOLD == false
  1540. ATTACK = false
  1541. Rooted = false
  1542. end
  1543.  
  1544. function TimeStop ()
  1545. local HITFLOOR,HITPOS = Raycast(RootPart.CFrame*CF(0,0,-6.5).p, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4*SIZE, Character)
  1546. CHOICE = 6
  1547. CreateSound(1193182658, Character, 5, 1, false)
  1548. chatfunc ("Za warudo...")
  1549. back = CreateSound(1841228386, Character, 9999, 1, false)
  1550. local killsky = Instance.new('Sky', game:GetService'Lighting')
  1551. killsky.SkyboxBk = "rbxassetid://1013852"
  1552. killsky.SkyboxDn = "rbxassetid://1013853"
  1553. killsky.SkyboxFt = "rbxassetid://1013850"
  1554. killsky.SkyboxLf = "rbxassetid://1013851"
  1555. killsky.SkyboxRt = "rbxassetid://1013849"
  1556. killsky.SkyboxUp = "rbxassetid://1013854"
  1557. killsky.StarCount = 0
  1558. killsky.SunAngularSize = 0
  1559. killsky.MoonAngularSize = 0
  1560. killsky.MoonTextureId = ""
  1561. killsky.CelestialBodiesShown = false
  1562. game.Lighting.FogColor = Color3.new(1,1,0)
  1563. game.Lighting.FogEnd = 1400
  1564. if HITFLOOR ~= nil then
  1565. ATTACK = false
  1566. Rooted = false
  1567. local RINGSPIN = true
  1568. local CONSTRUCTING = true
  1569. local RING = CreatePart(3, Effects, "Neon", 0, 1, "New Yeller", "Ring", VT(0,0,0))
  1570. RING.Color = C3(0,0,0)
  1571. MakeForm(RING,"Cyl")
  1572. RING.CFrame = CF(HITPOS)
  1573. coroutine.resume(coroutine.create(function()
  1574. repeat
  1575. Swait()
  1576. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1577. until CONSTRUCTING == false
  1578. repeat
  1579. Swait()
  1580. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1581. until RINGSPIN == false
  1582. for i = 1, 25 do
  1583. Swait()
  1584. RING.CFrame = RING.CFrame * ANGLES(RAD(0), RAD(5), RAD(0))
  1585. RING.Size = RING.Size - VT(0.15,0,0.15)
  1586. --DECAL.Transparency = DECAL.Transparency + 1/25
  1587. RING.Transparency = RING.Transparency + 1/25
  1588. end
  1589. RING:remove()
  1590. end))
  1591. for i = 1, 15 do
  1592. Swait()
  1593. RING.Size = RING.Size + VT(0,0,0)
  1594. RING.Transparency = RING.Transparency - 1/15
  1595. end
  1596. end
  1597. local RANDOMEFFECT = MRANDOM(1)
  1598. local BASE = CreatePart(3, Character, "Neon", 0, 0, "New Yeller", "Black", VT(2,1.8,2))
  1599. BASE.Color = C3(0,0,0)
  1600. BASE.Transparency = 1
  1601. BASE.CFrame = CF(HITPOS+VT(0,-8,0),VT(RootPart.Position.X,HITPOS.Y-8,RootPart.Position.Z))
  1602. if RANDOMEFFECT == 1 then
  1603. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  1604. FIELD.CFrame = BASE.CFrame
  1605. MakeForm(FIELD,"Ball")
  1606. for i = 1, 50 do
  1607. Swait()
  1608. FIELD.Size = VT(0,0,0)
  1609. FIELD.CFrame = FIELD.CFrame * CF(0,0.75-(i/45),0)
  1610. end
  1611. end
  1612. wait(0.2)
  1613. local FIELD = CreatePart(3, Effects, "Neon", 0, 0, "New Yeller", "Field", VT(0.3,0.3,0.3))
  1614. FIELD.CFrame = BASE.CFrame
  1615. local LOOP = CreateSound(1393698948, Character, 0, 1, true)
  1616. coroutine.resume(coroutine.create(function()
  1617. for i = 1, 75 do
  1618. Swait()
  1619. LOOP.Volume = LOOP.Volume + 10/75
  1620. LOOP.Parent = FIELD
  1621. local CHILDREN = workspace:GetDescendants()
  1622. for index, CHILD in pairs(CHILDREN) do
  1623. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1624. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1625. if HUM then
  1626. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1627. if TORSO then
  1628. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1629. HUM.Health = HUM.Health - 0
  1630. TORSO.Velocity = VT(0,5,0)
  1631. HUM.PlatformStand = true
  1632. if TORSO.RotVelocity.Magnitude < 15 then
  1633. TORSO.Anchored = true
  1634. end
  1635. end
  1636. end
  1637. end
  1638. end
  1639. end
  1640. FIELD.Size = FIELD.Size + VT(90,90,90)
  1641. FIELD.Transparency = FIELD.Transparency + 0.8/75
  1642. end
  1643. for i = 1, 500 do
  1644. Swait()
  1645. LOOP.Parent = FIELD
  1646. local CHILDREN = workspace:GetDescendants()
  1647. for index, CHILD in pairs(CHILDREN) do
  1648. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1649. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1650. if HUM then
  1651. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1652. if TORSO then
  1653. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/2 then
  1654. TORSO.Velocity = VT(0,5,0)
  1655. HUM.Health = HUM.Health - 0
  1656. HUM.PlatformStand = true
  1657. if TORSO.RotVelocity.Magnitude < 15 then
  1658. TORSO.Anchored = true
  1659. end
  1660. end
  1661. end
  1662. end
  1663. end
  1664. end
  1665. end
  1666. wait (20)
  1667. back:Remove()
  1668. CreateSound(1538466750, Character, 99999, 1, false)
  1669. chatfunc ("the time rusume")
  1670. killsky:Remove()
  1671. game.Lighting.FogEnd = 90000000
  1672. wait (5)
  1673. CHOICE = MRANDOM (1,5)
  1674. for i = 1, 25 do
  1675. Swait()
  1676. LOOP.Volume = LOOP.Volume + 10/25
  1677. LOOP.Parent = FIELD
  1678. local CHILDREN = workspace:GetDescendants()
  1679. for index, CHILD in pairs(CHILDREN) do
  1680. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1681. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1682. if HUM then
  1683. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1684. if TORSO then
  1685. if (TORSO.Position - FIELD.Position).Magnitude <= FIELD.Size.X/1.8 then
  1686. TORSO.Velocity = VT(0,5,0)
  1687. HUM.Health = HUM.Health - 0
  1688. HUM.PlatformStand = false
  1689. if TORSO.RotVelocity.Magnitude < 15 then
  1690. TORSO.Anchored = false
  1691. end
  1692. end
  1693. end
  1694. end
  1695. end
  1696. FIELD.Size = FIELD.Size - VT(3,3,3)
  1697. FIELD.Transparency = FIELD.Transparency + 0.2/25
  1698. end
  1699. end
  1700. end))
  1701. FIELD:Remove()
  1702. ATTACK = false
  1703. Rooted = false
  1704. end
  1705.  
  1706. function EMOTE()
  1707. ATTACK = true
  1708. Rooted = false
  1709. local LOOP = 0
  1710. local TAUNT = CreateSound(3165111851, Torso, 7, 1, false)
  1711. for i=0, 0.1, 0.1 / Animation_Speed do
  1712. Swait()
  1713. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(15 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1714. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-15 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1715. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1716. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1717. end
  1718. for i=0, 3, 0.1 / Animation_Speed do
  1719. Swait()
  1720. LOOP = LOOP + 1
  1721. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(5 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1722. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-5 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1723. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1724. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.8, 0.4) * ANGLES(RAD(170), RAD(0), RAD(-25 - 25 * SIN(LOOP / 5))) * ANGLES(RAD(0), RAD(-45), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1725. end
  1726. for i=0, 0.1, 0.1 / Animation_Speed do
  1727. Swait()
  1728. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(4 + 2.5 * SIN(SINE / 12)), RAD(0), RAD(25 + 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1729. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25 - 2.5 * SIN(SINE / 12))), 1 / Animation_Speed)
  1730. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.35, 0.15 + 0.25 * COS(SINE / 12), -0.3) * ANGLES(RAD(140), RAD(0 - 2.5 * SIN(SINE / 12)), RAD(5 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1731. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.4) * ANGLES(RAD(5-3 * COS(SINE / 6)), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1732. end
  1733. ATTACK = false
  1734. Rooted = false
  1735. end
  1736.  
  1737. function AttackTemplate()
  1738. ATTACK = true
  1739. Rooted = false
  1740. for i=0, 1, 0.1 / Animation_Speed do
  1741. Swait()
  1742. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1743. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1744. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1745. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-12)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  1746. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1747. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1748. end
  1749. ATTACK = false
  1750. Rooted = false
  1751. end
  1752.  
  1753. --//=================================\\
  1754. --|| ASSIGN THINGS TO KEYS
  1755. --\\=================================//
  1756.  
  1757. function MouseDown(Mouse)
  1758. if ATTACK == false then
  1759. end
  1760. end
  1761.  
  1762. function MouseUp(Mouse)
  1763. HOLD = false
  1764. end
  1765.  
  1766.  
  1767. function KeyUp(Key)
  1768. KEYHOLD = false
  1769. end
  1770.  
  1771. Mouse.Button1Down:connect(function(NEWKEY)
  1772. MouseDown(NEWKEY)
  1773. end)
  1774. Mouse.Button1Up:connect(function(NEWKEY)
  1775. MouseUp(NEWKEY)
  1776. end)
  1777. Mouse.KeyDown:connect(function(NEWKEY)
  1778. KeyDown(NEWKEY)
  1779. end)
  1780. Mouse.KeyUp:connect(function(NEWKEY)
  1781. KeyUp(NEWKEY)
  1782. end)
  1783.  
  1784. --//=================================\\
  1785. --\\=================================//
  1786.  
  1787.  
  1788. function unanchor()
  1789. if UNANCHOR == true then
  1790. g = Character:GetChildren()
  1791. for i = 1, #g do
  1792. if g[i].ClassName == "Part" then
  1793. g[i].Anchored = false
  1794. end
  1795. end
  1796. end
  1797. end
  1798.  
  1799.  
  1800. --//=================================\\
  1801. --|| WRAP THE WHOLE SCRIPT UP
  1802. --\\=================================//
  1803.  
  1804. Humanoid.Changed:connect(function(Jump)
  1805. if Jump == "Jump" and (Disable_Jump == true) then
  1806. Humanoid.Jump = false
  1807. end
  1808. end)
  1809.  
  1810. local CONNECT = nil
  1811. function KeyDown(Key)
  1812.  
  1813. KEYHOLD = true
  1814. if Key == "z" and ATTACK == false then
  1815. Banisher_Bullet()
  1816. end
  1817.  
  1818. if Key == "l" and ATTACK == false then
  1819. TimeStop()
  1820. end
  1821.  
  1822. if Key == "t" and ATTACK == false then
  1823. EMOTE()
  1824. end
  1825.  
  1826. if Key == "v" and ATTACK == false then
  1827. end
  1828.  
  1829. if Key == "x" and ATTACK == false then
  1830. end
  1831. end
  1832. Humanoid.Changed:connect(function(Jump)
  1833. if Jump == "Jump" and (Disable_Jump == true) then
  1834. Humanoid.Jump = false
  1835. end
  1836. end)
  1837.  
  1838. local FF = IT("ForceField",Character)
  1839. FF.Visible = false
  1840.  
  1841. INSTANT = false
  1842. Speed = 20
  1843.  
  1844. while true do
  1845. Swait()
  1846. SINE = SINE + CHANGE
  1847. ANIMATE.Parent = nil
  1848. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  1849. IDLEANIMATION:Play()
  1850. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1851. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1852. local LV = Torso.CFrame:pointToObjectSpace(Torso.Velocity - Torso.Position)
  1853. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4 * Player_Size, Character)
  1854. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1855. if ATTACK == false and VALUE2 == false then
  1856. end
  1857. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1858. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2)) * Player_Size) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1859. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * 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)
  1860. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 0.875 * Player_Size - 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, -0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  1861. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 0.875 * Player_Size + 0.125 * SIN(SINE / WALKSPEEDVALUE) * Player_Size, 0.125 * COS(SINE / WALKSPEEDVALUE) * Player_Size) * 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)
  1862. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1863. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1864. Neck.C1 = Clerp(Neck.C1, CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1865. RightHip.C1 = Clerp(RightHip.C1, CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1866. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1867. end
  1868. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1869. ANIM = "Jump"
  1870. if ATTACK == false then
  1871. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1872. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 * Player_Size, 0 + ((1) - 1)) * ANGLES(RAD(-20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1873. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(20)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1874. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1875. 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)
  1876. 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)
  1877. end
  1878. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1879. ANIM = "Fall"
  1880. if ATTACK == false then
  1881. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 ) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1882. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0 , 0 + ((1) - 1)) * ANGLES(RAD(20), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1883. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(60)) * RIGHTSHOULDERC0, 0.2 / Animation_Speed)
  1884. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1885. 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)
  1886. 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)
  1887. end
  1888. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1889. ANIM = "Idle"
  1890. if ATTACK == false then
  1891. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1892. if MRANDOM(1,7) == 1 then
  1893. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1894. end
  1895. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1896. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(180), RAD(0), RAD(0)) * ANGLES(RAD(0), RAD(45), RAD(0)) * RIGHTSHOULDERC0, 0.25 / Animation_Speed)
  1897. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.25 / Animation_Speed)
  1898. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1899. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-8), RAD(0), RAD(0)), 0.25 / Animation_Speed)
  1900. end
  1901. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1902. ANIM = "Walk"
  1903. if ATTACK == false then
  1904. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.1) * ANGLES(RAD(5), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1905. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(25 + MRANDOM(-5,5) - 4 * COS(SINE / 12)), RAD(MRANDOM(-5,5)), RAD(15)), 1 / Animation_Speed)
  1906. if MRANDOM(1,7) == 1 then
  1907. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + MRANDOM(-25,25) - 4 * COS(SINE / 12)), RAD(MRANDOM(-25,25)), RAD(0)), 1.5 / Animation_Speed)
  1908. end
  1909. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.35, 0) * ANGLES(RAD(0), RAD(180), RAD(180)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1910. 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)
  1911. RightHip.C0 = Clerp(RightHip.C0, CF(1 , -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 2 / Animation_Speed)
  1912. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.15 * COS(SINE / WALKSPEEDVALUE*2), -0.2+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(15)), 2 / Animation_Speed)
  1913. end
  1914. end
  1915. end
  1916. --end
  1917. Humanoid.DisplayDistanceType = "None"
  1918. SHAKECAM(999999, 25, 25)
  1919. Humanoid.CameraOffset = VT(MRANDOM(-5,5)/4.5,MRANDOM(-5,5)/4.5,MRANDOM(-5,5)/4.5)/60
  1920. unanchor()
  1921. Humanoid.MaxHealth = "inf"
  1922. Humanoid.Health = "inf"
  1923. if Rooted == false then
  1924. Disable_Jump = false
  1925. Humanoid.WalkSpeed = Speed
  1926. elseif Rooted == true then
  1927. Disable_Jump = true
  1928. Humanoid.WalkSpeed = 0
  1929. end
  1930. refit()
  1931. sick.Parent = Torso
  1932. sick:resume()
  1933. sick.Volume = 5
  1934. sick.Pitch = 1
  1935. sick.SoundId = "rbxassetid://999246212"
  1936. sick.Name = "BanishV3Music"
  1937. end
  1938.  
  1939. --//=================================\\
  1940. --\\=================================//
  1941.  
  1942.  
  1943.  
  1944.  
  1945.  
  1946. --//====================================================\\--
  1947. --|| END OF SCRIPT
  1948. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement