Advertisement
Christoffer07700Extr

dasdsada

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