Advertisement
Christoffer07700Extr

FE Chain Banisher

Jul 21st, 2019
1,217
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 92.88 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. wait(0.2)
  169. Player = game:GetService("Players").LocalPlayer
  170. PlayerGui = Player.PlayerGui
  171. Cam = workspace.CurrentCamera
  172. Backpack = Player.Backpack
  173. Character = Player.Character
  174. Humanoid = Character.Humanoid
  175. Mouse = Player:GetMouse()
  176. RootPart = Character["HumanoidRootPart"]
  177. Torso = Character["Torso"]
  178. Head = Character["Head"]
  179. RightArm = Character["Right Arm"]
  180. LeftArm = Character["Left Arm"]
  181. RightLeg = Character["Right Leg"]
  182. LeftLeg = Character["Left Leg"]
  183. RootJoint = RootPart["RootJoint"]
  184. Neck = Torso["Neck"]
  185. RightShoulder = Torso["Right Shoulder"]
  186. LeftShoulder = Torso["Left Shoulder"]
  187. RightHip = Torso["Right Hip"]
  188. LeftHip = Torso["Left Hip"]
  189. local TIME = 0
  190. local sick = Instance.new("Sound",Torso)
  191.  
  192. IT = Instance.new
  193. CF = CFrame.new
  194. VT = Vector3.new
  195. RAD = math.rad
  196. C3 = Color3.new
  197. UD2 = UDim2.new
  198. BRICKC = BrickColor.new
  199. ANGLES = CFrame.Angles
  200. EULER = CFrame.fromEulerAnglesXYZ
  201. COS = math.cos
  202. ACOS = math.acos
  203. SIN = math.sin
  204. ASIN = math.asin
  205. ABS = math.abs
  206. MRANDOM = math.random
  207. FLOOR = math.floor
  208. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  209. WEAPONGUI.Name = "BanishV3Gui"
  210. local Weapon = IT("Model")
  211. Weapon.Name = "Adds"
  212. local Effects = IT("Folder", Weapon)
  213. Effects.Name = "Effects"
  214. Player = game:GetService("Players").LocalPlayer
  215. PlayerGui = Player.PlayerGui
  216. Cam = workspace.CurrentCamera
  217. Backpack = Player.Backpack
  218. Character = Player.Character
  219. Humanoid = Character.Humanoid
  220. RootPart = Character["HumanoidRootPart"]
  221. Torso = Character["Torso"]
  222. Head = Character["Head"]
  223. RightArm = Character["Right Arm"]
  224. LeftArm = Character["Left Arm"]
  225. RightLeg = Character["Right Leg"]
  226. LeftLeg = Character["Left Leg"]
  227. RootJoint = RootPart["RootJoint"]
  228. Neck = Torso["Neck"]
  229. RightShoulder = Torso["Right Shoulder"]
  230. LeftShoulder = Torso["Left Shoulder"]
  231. RightHip = Torso["Right Hip"]
  232. LeftHip = Torso["Left Hip"]
  233. local sick = Instance.new("Sound",Torso)
  234. sick.SoundId = "rbxassetid://250923014"
  235. sick.Looped = true
  236. sick.Pitch = 1
  237. sick.Volume = 3
  238. sick:Play()
  239.  
  240. IT = Instance.new
  241. CF = CFrame.new
  242. VT = Vector3.new
  243. RAD = math.rad
  244. C3 = Color3.new
  245. UD2 = UDim2.new
  246. BRICKC = BrickColor.new
  247. ANGLES = CFrame.Angles
  248. EULER = CFrame.fromEulerAnglesXYZ
  249. COS = math.cos
  250. ACOS = math.acos
  251. SIN = math.sin
  252. ASIN = math.asin
  253. ABS = math.abs
  254. MRANDOM = math.random
  255. FLOOR = math.floor
  256.  
  257. --//=================================\\
  258. --|| USEFUL VALUES
  259. --\\=================================//
  260.  
  261. Animation_Speed = 3
  262. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  263. local Speed = 35
  264. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  265. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  266. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  267. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  268. local DAMAGEMULTIPLIER = 1
  269. local ANIM = "Idle"
  270. local ATTACK = false
  271. local EQUIPPED = false
  272. local HOLD = false
  273. local COMBO = 1
  274. local Rooted = false
  275. local SINE = 0
  276. local KEYHOLD = false
  277. local CHANGE = 2 / Animation_Speed
  278. local WALKINGANIM = false
  279. local VALUE1 = false
  280. local VALUE2 = false
  281. local ROBLOXIDLEANIMATION = IT("Animation")
  282. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  283. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  284. --ROBLOXIDLEANIMATION.Parent = Humanoid
  285. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  286. WEAPONGUI.Name = "Weapon GUI"
  287. local Effects = IT("Folder", Character)
  288. Effects.Name = "Effects"
  289. local ANIMATOR = Humanoid.Animator
  290. local ANIMATE = Character.Animate
  291. local UNANCHOR = true
  292. local LAUGHS = {834001699,834001752,834001797,834001828, 1825909533}
  293. local SONGS = {156879167,156879167,156879167,156879167}
  294. local CHOICE = MRANDOM(1,4)
  295. local TOBANISH = {}
  296. --//=================================\\
  297. --\\=================================//
  298.  
  299.  
  300. --//=================================\\
  301. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  302. --\\=================================//
  303.  
  304. ArtificialHB = Instance.new("BindableEvent", script)
  305. ArtificialHB.Name = "ArtificialHB"
  306.  
  307. script:WaitForChild("ArtificialHB")
  308.  
  309. frame = Frame_Speed
  310. tf = 0
  311. allowframeloss = false
  312. tossremainder = false
  313. lastframe = tick()
  314. script.ArtificialHB:Fire()
  315.  
  316. game:GetService("RunService").Heartbeat:connect(function(s, p)
  317. tf = tf + s
  318. if tf >= frame then
  319. if allowframeloss then
  320. script.ArtificialHB:Fire()
  321. lastframe = tick()
  322. else
  323. for i = 1, math.floor(tf / frame) do
  324. script.ArtificialHB:Fire()
  325. end
  326. lastframe = tick()
  327. end
  328. if tossremainder then
  329. tf = 0
  330. else
  331. tf = tf - frame * math.floor(tf / frame)
  332. end
  333. end
  334. end)
  335.  
  336. --//=================================\\
  337. --\\=================================//
  338.  
  339. --//=================================\\
  340. --|| SOME FUNCTIONS
  341. --\\=================================//
  342.  
  343. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  344. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  345. end
  346.  
  347. function PositiveAngle(NUMBER)
  348. if NUMBER >= 0 then
  349. NUMBER = 0
  350. end
  351. return NUMBER
  352. end
  353.  
  354. function NegativeAngle(NUMBER)
  355. if NUMBER <= 0 then
  356. NUMBER = 0
  357. end
  358. return NUMBER
  359. end
  360.  
  361. function Swait(NUMBER)
  362. if NUMBER == 0 or NUMBER == nil then
  363. ArtificialHB.Event:wait()
  364. else
  365. for i = 1, NUMBER do
  366. ArtificialHB.Event:wait()
  367. end
  368. end
  369. end
  370.  
  371. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  372. local NEWMESH = IT(MESH)
  373. if MESH == "SpecialMesh" then
  374. NEWMESH.MeshType = MESHTYPE
  375. if MESHID ~= "nil" and MESHID ~= "" then
  376. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  377. end
  378. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  379. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  380. end
  381. end
  382. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  383. NEWMESH.Scale = SCALE
  384. NEWMESH.Parent = PARENT
  385. return NEWMESH
  386. end
  387.  
  388. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  389. local NEWPART = IT("Part")
  390. NEWPART.formFactor = FORMFACTOR
  391. NEWPART.Reflectance = REFLECTANCE
  392. NEWPART.Transparency = TRANSPARENCY
  393. NEWPART.CanCollide = false
  394. NEWPART.Locked = true
  395. NEWPART.Anchored = true
  396. if ANCHOR == false then
  397. NEWPART.Anchored = false
  398. end
  399. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  400. NEWPART.Name = NAME
  401. NEWPART.Size = SIZE
  402. NEWPART.Position = Torso.Position
  403. NEWPART.Material = MATERIAL
  404. NEWPART:BreakJoints()
  405. NEWPART.Parent = PARENT
  406. return NEWPART
  407. end
  408.  
  409. local function weldBetween(a, b)
  410. local weldd = IT("Weld")
  411. weldd.Part0 = a
  412. weldd.Part1 = b
  413. weldd.C0 = CF()
  414. weldd.C1 = b.CFrame:inverse() * a.CFrame
  415. weldd.Parent = a
  416. return weldd
  417. end
  418.  
  419.  
  420. function QuaternionFromCFrame(cf)
  421. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  422. local trace = m00 + m11 + m22
  423. if trace > 0 then
  424. local s = math.sqrt(1 + trace)
  425. local recip = 0.5 / s
  426. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  427. else
  428. local i = 0
  429. if m11 > m00 then
  430. i = 1
  431. end
  432. if m22 > (i == 0 and m00 or m11) then
  433. i = 2
  434. end
  435. if i == 0 then
  436. local s = math.sqrt(m00 - m11 - m22 + 1)
  437. local recip = 0.5 / s
  438. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  439. elseif i == 1 then
  440. local s = math.sqrt(m11 - m22 - m00 + 1)
  441. local recip = 0.5 / s
  442. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  443. elseif i == 2 then
  444. local s = math.sqrt(m22 - m00 - m11 + 1)
  445. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  446. end
  447. end
  448. end
  449.  
  450. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  451. local xs, ys, zs = x + x, y + y, z + z
  452. local wx, wy, wz = w * xs, w * ys, w * zs
  453. local xx = x * xs
  454. local xy = x * ys
  455. local xz = x * zs
  456. local yy = y * ys
  457. local yz = y * zs
  458. local zz = z * zs
  459. 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))
  460. end
  461.  
  462. function QuaternionSlerp(a, b, t)
  463. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  464. local startInterp, finishInterp;
  465. if cosTheta >= 0.0001 then
  466. if (1 - cosTheta) > 0.0001 then
  467. local theta = ACOS(cosTheta)
  468. local invSinTheta = 1 / SIN(theta)
  469. startInterp = SIN((1 - t) * theta) * invSinTheta
  470. finishInterp = SIN(t * theta) * invSinTheta
  471. else
  472. startInterp = 1 - t
  473. finishInterp = t
  474. end
  475. else
  476. if (1 + cosTheta) > 0.0001 then
  477. local theta = ACOS(-cosTheta)
  478. local invSinTheta = 1 / SIN(theta)
  479. startInterp = SIN((t - 1) * theta) * invSinTheta
  480. finishInterp = SIN(t * theta) * invSinTheta
  481. else
  482. startInterp = t - 1
  483. finishInterp = t
  484. end
  485. end
  486. 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
  487. end
  488.  
  489. function Clerp(a, b, t)
  490. local qa = {QuaternionFromCFrame(a)}
  491. local qb = {QuaternionFromCFrame(b)}
  492. local ax, ay, az = a.x, a.y, a.z
  493. local bx, by, bz = b.x, b.y, b.z
  494. local _t = 1 - t
  495. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  496. end
  497.  
  498. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  499. local frame = IT("Frame")
  500. frame.BackgroundTransparency = TRANSPARENCY
  501. frame.BorderSizePixel = BORDERSIZEPIXEL
  502. frame.Position = POSITION
  503. frame.Size = SIZE
  504. frame.BackgroundColor3 = COLOR
  505. frame.BorderColor3 = BORDERCOLOR
  506. frame.Name = NAME
  507. frame.Parent = PARENT
  508. return frame
  509. end
  510.  
  511. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  512. local label = IT("TextLabel")
  513. label.BackgroundTransparency = 1
  514. label.Size = UD2(1, 0, 1, 0)
  515. label.Position = UD2(0, 0, 0, 0)
  516. label.TextColor3 = TEXTCOLOR
  517. label.TextStrokeTransparency = STROKETRANSPARENCY
  518. label.TextTransparency = TRANSPARENCY
  519. label.FontSize = TEXTFONTSIZE
  520. label.Font = TEXTFONT
  521. label.BorderSizePixel = BORDERSIZEPIXEL
  522. label.TextScaled = false
  523. label.Text = TEXT
  524. label.Name = NAME
  525. label.Parent = PARENT
  526. return label
  527. end
  528.  
  529. function NoOutlines(PART)
  530. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  531. end
  532.  
  533. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  534. local NEWWELD = IT(TYPE)
  535. NEWWELD.Part0 = PART0
  536. NEWWELD.Part1 = PART1
  537. NEWWELD.C0 = C0
  538. NEWWELD.C1 = C1
  539. NEWWELD.Parent = PARENT
  540. return NEWWELD
  541. end
  542.  
  543. local S = IT("Sound")
  544. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  545. local NEWSOUND = nil
  546. coroutine.resume(coroutine.create(function()
  547. NEWSOUND = S:Clone()
  548. NEWSOUND.Parent = PARENT
  549. NEWSOUND.Volume = VOLUME
  550. NEWSOUND.Pitch = PITCH
  551. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  552. NEWSOUND:play()
  553. if DOESLOOP == true then
  554. NEWSOUND.Looped = true
  555. else
  556. repeat wait(1) until NEWSOUND.Playing == false
  557. NEWSOUND:remove()
  558. end
  559. end))
  560. return NEWSOUND
  561. end
  562.  
  563. function CFrameFromTopBack(at, top, back)
  564. local right = top:Cross(back)
  565. 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)
  566. end
  567.  
  568. function turnto(position)
  569. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  570. end
  571.  
  572.  
  573. --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})
  574. function WACKYEFFECT(Table)
  575. local TYPE = (Table.EffectType or "Sphere")
  576. local SIZE = (Table.Size or VT(1,1,1))
  577. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  578. local TRANSPARENCY = (Table.Transparency or 0)
  579. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  580. local CFRAME = (Table.CFrame or Torso.CFrame)
  581. local MOVEDIRECTION = (Table.MoveToPos or nil)
  582. local ROTATION1 = (Table.RotationX or 0)
  583. local ROTATION2 = (Table.RotationY or 0)
  584. local ROTATION3 = (Table.RotationZ or 0)
  585. local MATERIAL = (Table.Material or "Neon")
  586. local COLOR = (Table.Color or C3(1,1,1))
  587. local TIME = (Table.Time or 45)
  588. local SOUNDID = (Table.SoundID or nil)
  589. local SOUNDPITCH = (Table.SoundPitch or nil)
  590. local SOUNDVOLUME = (Table.SoundVolume or nil)
  591. coroutine.resume(coroutine.create(function()
  592. local PLAYSSOUND = false
  593. local SOUND = nil
  594. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  595. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  596. PLAYSSOUND = true
  597. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  598. end
  599. EFFECT.Color = COLOR
  600. local MSH = nil
  601. if TYPE == "Sphere" then
  602. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  603. elseif TYPE == "Block" then
  604. MSH = IT("BlockMesh",EFFECT)
  605. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  606. elseif TYPE == "Wave" then
  607. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  608. elseif TYPE == "Ring" then
  609. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  610. elseif TYPE == "Slash" then
  611. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  612. elseif TYPE == "Round Slash" then
  613. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  614. elseif TYPE == "Swirl" then
  615. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  616. elseif TYPE == "Skull" then
  617. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  618. elseif TYPE == "Crystal" then
  619. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  620. end
  621. if MSH ~= nil then
  622. local MOVESPEED = nil
  623. if MOVEDIRECTION ~= nil then
  624. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  625. end
  626. local GROWTH = SIZE - ENDSIZE
  627. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  628. if TYPE == "Block" then
  629. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  630. else
  631. EFFECT.CFrame = CFRAME
  632. end
  633. for LOOP = 1, TIME+1 do
  634. Swait()
  635. MSH.Scale = MSH.Scale - GROWTH/TIME
  636. if TYPE == "Wave" then
  637. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  638. end
  639. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  640. if TYPE == "Block" then
  641. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  642. else
  643. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  644. end
  645. if MOVEDIRECTION ~= nil then
  646. local ORI = EFFECT.Orientation
  647. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  648. EFFECT.Orientation = ORI
  649. end
  650. end
  651. if PLAYSSOUND == false then
  652. EFFECT:remove()
  653. else
  654. SOUND.Stopped:Connect(function()
  655. EFFECT:remove()
  656. end)
  657. end
  658. else
  659. if PLAYSSOUND == false then
  660. EFFECT:remove()
  661. else
  662. repeat Swait() until SOUND.Playing == false
  663. EFFECT:remove()
  664. end
  665. end
  666. end))
  667. end
  668.  
  669. function MakeForm(PART,TYPE)
  670. if TYPE == "Cyl" then
  671. local MSH = IT("CylinderMesh",PART)
  672. elseif TYPE == "Ball" then
  673. local MSH = IT("SpecialMesh",PART)
  674. MSH.MeshType = "Sphere"
  675. elseif TYPE == "Wedge" then
  676. local MSH = IT("SpecialMesh",PART)
  677. MSH.MeshType = "Wedge"
  678. end
  679. end
  680.  
  681. Debris = game:GetService("Debris")
  682.  
  683. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  684. local DIRECTION = CF(StartPos,EndPos).lookVector
  685. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  686. end
  687.  
  688. function turnto(position)
  689. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  690. end
  691.  
  692. Player = game:GetService("Players").LocalPlayer
  693. PlayerGui = Player.PlayerGui
  694. Cam = workspace.CurrentCamera
  695. Backpack = Player.Backpack
  696. Character = Player.Character
  697. Humanoid = Character.Humanoid
  698. RootPart = Character["HumanoidRootPart"]
  699. Torso = Character["Torso"]
  700. Head = Character["Head"]
  701. RightArm = Character["Right Arm"]
  702. LeftArm = Character["Left Arm"]
  703. RightLeg = Character["Right Leg"]
  704. LeftLeg = Character["Left Leg"]
  705. RootJoint = RootPart["RootJoint"]
  706. Neck = Torso["Neck"]
  707. RightShoulder = Torso["Right Shoulder"]
  708. LeftShoulder = Torso["Left Shoulder"]
  709. RightHip = Torso["Right Hip"]
  710. LeftHip = Torso["Left Hip"]
  711.  
  712. IT = Instance.new
  713. CF = CFrame.new
  714. VT = Vector3.new
  715. RAD = math.rad
  716. C3 = Color3.new
  717. UD2 = UDim2.new
  718. BRICKC = BrickColor.new
  719. ANGLES = CFrame.Angles
  720. EULER = CFrame.fromEulerAnglesXYZ
  721. COS = math.cos
  722. ACOS = math.acos
  723. SIN = math.sin
  724. ASIN = math.asin
  725. ABS = math.abs
  726. MRANDOM = math.random
  727. FLOOR = math.floor
  728.  
  729. function SpawnTrail(FROM,TO,BIG)
  730. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  731. MakeForm(TRAIL,"Cyl")
  732. local DIST = (FROM - TO).Magnitude
  733. if BIG == true then
  734. TRAIL.Size = VT(0.5,DIST,0.5)
  735. else
  736. TRAIL.Size = VT(0.25,DIST,0.25)
  737. end
  738. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  739. coroutine.resume(coroutine.create(function()
  740. for i = 1, 5 do
  741. Swait()
  742. TRAIL.Transparency = TRAIL.Transparency + 0.1
  743. end
  744. TRAIL:remove()
  745. end))
  746. end
  747.  
  748. workspace.ChildAdded:connect(function(instance)
  749. for BANISH = 1, #TOBANISH do
  750. if TOBANISH[BANISH] ~= nil then
  751. if instance.Name == TOBANISH[BANISH] then
  752. coroutine.resume(coroutine.create(function()
  753. printbye(instance.Name)
  754. instance:ClearAllChildren()
  755. Debris:AddItem(instance,0.0005)
  756. end))
  757. end
  758. end
  759. end
  760. end)
  761.  
  762. local asd = Instance.new("ParticleEmitter")
  763. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  764. asd.LightEmission = .1
  765. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  766. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  767. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  768. asd.Transparency = bbb
  769. asd.Size = aaa
  770. asd.ZOffset = .9
  771. asd.Acceleration = Vector3.new(0, -15, 0)
  772. asd.LockedToPart = false
  773. asd.EmissionDirection = "Back"
  774. asd.Lifetime = NumberRange.new(1, 2)
  775. asd.Rotation = NumberRange.new(-100, 100)
  776. asd.RotSpeed = NumberRange.new(-100, 100)
  777. asd.Speed = NumberRange.new(10)
  778. asd.Enabled = false
  779. asd.VelocitySpread = 999
  780.  
  781. function getbloody(victim,amount)
  782. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  783. PART.CFrame = victim.CFrame
  784. local HITPLAYERSOUNDS = {"356551938","264486467"}
  785. Debris:AddItem(PART,5)
  786. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  787. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  788. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  789. local prtcl = asd:Clone()
  790. prtcl.Parent = PART
  791. prtcl:Emit(amount*10)
  792. end
  793.  
  794. local Particle = IT("ParticleEmitter",nil)
  795. Particle.Enabled = false
  796. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  797. Particle.LightEmission = 0.5
  798. Particle.Rate = 150
  799. Particle.ZOffset = 1
  800. Particle.Rotation = NumberRange.new(-180, 180)
  801. Particle.RotSpeed = NumberRange.new(-180, 180)
  802. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  803. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  804.  
  805. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  806. function ParticleEmitter(Table)
  807. local PRTCL = Particle:Clone()
  808. local Speed = Table.Speed or 5
  809. local Drag = Table.Drag or 0
  810. local Size1 = Table.Size1 or 1
  811. local Size2 = Table.Size2 or 5
  812. local Lifetime1 = Table.Lifetime1 or 1
  813. local Lifetime2 = Table.Lifetime2 or 1.5
  814. local Parent = Table.Parent or Torso
  815. local Emit = Table.Emit or 100
  816. local Offset = Table.Offset or 360
  817. local Acel = Table.Acel or VT(0,0,0)
  818. local Enabled = Table.Enabled or false
  819. PRTCL.Parent = Parent
  820. PRTCL.Size = NumberSequence.new(Size1,Size2)
  821. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  822. PRTCL.Speed = NumberRange.new(Speed)
  823. PRTCL.VelocitySpread = Offset
  824. PRTCL.Drag = Drag
  825. PRTCL.Acceleration = Acel
  826. if Enabled == false then
  827. PRTCL:Emit(Emit)
  828. Debris:AddItem(PRTCL,Lifetime2)
  829. else
  830. PRTCL.Enabled = true
  831. end
  832. return PRTCL
  833. end
  834.  
  835. --//=================================\\
  836. --|| WEAPON CREATION
  837. --\\=================================//
  838. local plr = game:service'Players'.LocalPlayer
  839. local char = plr.Character
  840. local hum = char.Humanoid
  841. local hed = char.Head
  842. Character = char
  843. Torso = Character["Torso"]
  844. Head = Character["Head"]
  845. RightArm = Character["Right Arm"]
  846. LeftArm = Character["Left Arm"]
  847. RightLeg = Character["Right Leg"]
  848. LeftLeg = Character["Left Leg"]
  849. local BC = Character["Body Colors"]
  850. BC.HeadColor = BrickColor.new("Really black")
  851. BC.LeftArmColor = BrickColor.new("Really black")
  852. BC.LeftLegColor = BrickColor.new("Really black")
  853. BC.RightArmColor = BrickColor.new("Really black")
  854. BC.RightLegColor = BrickColor.new("Really black")
  855. BC.TorsoColor = BrickColor.new("Really black")
  856.  
  857. for i,v in pairs(Character:children()) do
  858. if v:IsA("Shirt") then
  859. v:Destroy()
  860. end
  861. end
  862. for i,v in pairs(Character:children()) do
  863. if v:IsA("Pants") then
  864. v:Destroy()
  865. end
  866. end
  867. for i,v in pairs(Character:children()) do
  868. if v:IsA("Accessory") then
  869. v:Destroy()
  870. end
  871. end
  872.  
  873.  
  874. hed.face.Texture = "http://www.roblox.com/asset/?id=0"
  875.  
  876. for i = 1, 35 do
  877. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/35.2, "Dark stone grey", "FaceGradient", VT(1.01,0.5,1.01),false)
  878. FACE.Color = C3(0,0,0)
  879. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  880. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.35-(i-1)/75,0), CF(0, 0, 0))
  881. end
  882. local BODY = {}
  883.  
  884. for _, c in pairs(Character:GetDescendants()) do
  885. if c:IsA("BasePart") and c.Name ~= "Handle" then
  886. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  887. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  888. end
  889. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
  890. elseif c:IsA("JointInstance") then
  891. table.insert(BODY,{c,c.Parent,nil,nil,nil})
  892. end
  893. end
  894. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  895. MakeForm(Eye,"Ball")
  896. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(-18), RAD(15)), CF(0, 0, 0.4))
  897. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.6,0.1,1)/2,false)
  898. MakeForm(Eye,"Ball")
  899. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.2,0) * ANGLES(RAD(0), RAD(18), RAD(-15)), CF(0, 0, 0.4))
  900. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  901. MakeForm(Eye,"Ball")
  902. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(-18), RAD(0)), CF(0, 0, 0.4))
  903. local Eye = CreatePart(3, Character, "Neon", 0, 0, "Really red", "Eye", VT(0.1,1,1)/2,false)
  904. MakeForm(Eye,"Ball")
  905. CreateWeldOrSnapOrMotor("Weld", Eye, Head, Eye, CF(0,0.15,0) * ANGLES(RAD(0), RAD(18), RAD(0)), CF(0, 0, 0.4))
  906.  
  907.  
  908. function printbye(Name)
  909. local MESSAGES = {"You cannot struggle, ","Your existance is an insult, ","Fade, ","Your existance is not desired, ","You are not permitted here, ","You are not to decide your fate, ","Be gone, ","You are already dead, ","Your live is an anomaly, ","Don't dare to return, ","Why are you resisting, ","You cannot exist here, ","Why are you struggling, ","Your fate was already decided, ","Goodbye, ","You cannot ignore my command, ","You cannot resist my command, ","You already died, "}
  910. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  911. end
  912.  
  913. local Particle = IT("ParticleEmitter",nil)
  914. Particle.Enabled = false
  915. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.3),NumberSequenceKeypoint.new(0.3,0),NumberSequenceKeypoint.new(1,1)})
  916. Particle.LightEmission = 0.5
  917. Particle.Rate = 150
  918. Particle.ZOffset = 0.2
  919. Particle.Rotation = NumberRange.new(-180, 180)
  920. Particle.RotSpeed = NumberRange.new(-180, 180)
  921. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  922. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  923.  
  924. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  925. function ParticleEmitter(Table)
  926. local PRTCL = Particle:Clone()
  927. local Speed = Table.Speed or 5
  928. local Drag = Table.Drag or 0
  929. local Size1 = Table.Size1 or 1
  930. local Size2 = Table.Size2 or 5
  931. local Lifetime1 = Table.Lifetime1 or 1
  932. local Lifetime2 = Table.Lifetime2 or 1.5
  933. local Parent = Table.Parent or Torso
  934. local Emit = Table.Emit or 100
  935. local Offset = Table.Offset or 360
  936. local Acel = Table.Acel or VT(0,0,0)
  937. local Enabled = Table.Enabled or false
  938. PRTCL.Parent = Parent
  939. PRTCL.Size = NumberSequence.new(Size1,Size2)
  940. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  941. PRTCL.Speed = NumberRange.new(Speed)
  942. PRTCL.VelocitySpread = Offset
  943. PRTCL.Drag = Drag
  944. PRTCL.Acceleration = Acel
  945. if Enabled == false then
  946. PRTCL:Emit(Emit)
  947. Debris:AddItem(PRTCL,Lifetime2)
  948. else
  949. PRTCL.Enabled = true
  950. end
  951. return PRTCL
  952. end
  953.  
  954. local Handle = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.6,0.2),false)
  955. local RightArmGrasp = CreateWeldOrSnapOrMotor("Weld", Handle, RightArm, Handle, CF(0,-1, 0) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0.21, 0))
  956. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  957. MakeForm(Part,"Wedge")
  958. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.3, 0.2) * ANGLES(RAD(0), RAD(180), RAD(0)), CF(0, 0, 0))
  959. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.3,0.2),false)
  960. MakeForm(Part,"Wedge")
  961. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.4, 0) * ANGLES(RAD(0), RAD(0), RAD(180)), CF(0, 0, 0))
  962. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.3,0.3),false)
  963. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.5, 0.2) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  964. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.5,0.5),false)
  965. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  966. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.4,0.4,0.4),false)
  967. MakeForm(Part,"Cyl")
  968. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  969. for i = 1, 8 do
  970. local Piece = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0,0.35,0.41),false)
  971. CreateWeldOrSnapOrMotor("Weld", Handle, Part, Piece, CF(0, 0, 0) * ANGLES(RAD(0), RAD((360/8)*i), RAD(0)), CF(0, 0, 0))
  972. end
  973. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.38,0.41,0.38),false)
  974. MakeForm(Part,"Cyl")
  975. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.5) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  976. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.37,0.5,0.37),false)
  977. MakeForm(Part,"Ball")
  978. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.3) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  979. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.7,0.4),false)
  980. MakeForm(Part,"Wedge")
  981. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.7, 0.5) * ANGLES(RAD(90), RAD(180), RAD(180)), CF(0, 0, 0))
  982. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.3,0.4,0.2),false)
  983. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  984. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.35,0.35,0.35),false)
  985. MakeForm(Part,"Cyl")
  986. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  987. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.5),false)
  988. MakeForm(Part,"Cyl")
  989. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  990. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.5,0.1,0.45),false)
  991. MakeForm(Part,"Cyl")
  992. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 1.1) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  993. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.2,0.5,0.2),false)
  994. MakeForm(Part,"Wedge")
  995. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.55, 0.2) * ANGLES(RAD(-135), RAD(0), RAD(0)), CF(0, -0.3, 0))
  996. local LASTPART = Handle
  997. for i = 1, 10 do
  998. if LASTPART == Handle then
  999. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.2,0),false)
  1000. LASTPART = Part
  1001. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.1, 0.2) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1002. else
  1003. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.1,0.05,0),false)
  1004. CreateWeldOrSnapOrMotor("Weld", Handle, LASTPART, Part, CF(0, 0.025, 0) * ANGLES(RAD(8), RAD(0), RAD(0)), CF(0, -0.025, 0))
  1005. LASTPART = Part
  1006. end
  1007. end
  1008.  
  1009. local Barrel = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.15,2,0.15),false)
  1010. MakeForm(Barrel,"Cyl")
  1011. CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Barrel, CF(0, -0.6, 1.8) * ANGLES(RAD(90), RAD(0), RAD(0)), CF(0, 0, 0))
  1012. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0.25,1,0.25),false)
  1013. MakeForm(Part,"Cyl")
  1014. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, -0.6, 0), CF(0, 0, 0))
  1015. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0.1,0.2),false)
  1016. MakeForm(Part,"Wedge")
  1017. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0.945, 0.1) * ANGLES(RAD(180), RAD(0), RAD(0)), CF(0, 0, 0))
  1018. local Hole = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Eye", VT(0.125,0,0.125),false)
  1019. MakeForm(Hole,"Cyl")
  1020. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Hole, CF(0, 0.98, 0), CF(0, 0, 0))
  1021. local Part = CreatePart(3, Weapon, "Metal", 0, 0, "Mid gray", "Part", VT(0,0,0),false)
  1022. local GEARWELD = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1023. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.8,0.8,1.5), VT(0,0,0.2))
  1024. local Part = CreatePart(3, Weapon, "Metal", 0, 0.5, "Mid gray", "Eye", VT(0,0,0),false)
  1025. local GEARWELD2 = CreateWeldOrSnapOrMotor("Weld", Handle, Handle, Part, CF(0, -0.6, 0.7), CF(0, 0, 0))
  1026. CreateMesh("SpecialMesh", Part, "FileMesh", 156292343, "", VT(0.9,0.9,0.3), VT(0,0,0.2))
  1027. coroutine.resume(coroutine.create(function()
  1028. while wait() do
  1029. GEARWELD.C0 = GEARWELD.C0 * ANGLES(RAD(0), RAD(0), RAD(5))
  1030. GEARWELD2.C0 = GEARWELD2.C0 * ANGLES(RAD(0), RAD(0), RAD(-5))
  1031. end
  1032. end))
  1033.  
  1034. ParticleEmitter({Speed = 0.2, Drag = 0, Size1 = 0.1, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.5, Parent = Hole, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1035. --ParticleEmitter({Speed = 0.5, Drag = 0, Size1 = 0.2, Size2 = 0, Lifetime1 = 0.3, Lifetime2 = 0.7, Parent = Dangle, Emit = 100, Offset = 360, Enabled = true, Acel = VT(0,5,0)})
  1036.  
  1037. for _, c in pairs(Weapon:GetDescendants()) do
  1038. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  1039. c.Material = "Glass"
  1040. c.Color = C3(0,0,0)
  1041. elseif c.ClassName == "Part" and c.Name == "Eye" then
  1042. c.Color = C3(1,0,0)
  1043. c.Material = "Neon"
  1044. end
  1045. end
  1046.  
  1047. Weapon.Parent = Character
  1048. for _, c in pairs(Weapon:GetChildren()) do
  1049. if c.ClassName == "Part" then
  1050. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1051. end
  1052. end
  1053.  
  1054.  
  1055. function swait(num)
  1056. if num == 0 or num == nil then
  1057. ArtificialHB.Event:wait()
  1058. else
  1059. for i = 0, num do
  1060. ArtificialHB.Event:wait()
  1061. end
  1062. end return true
  1063. end
  1064.  
  1065. spawn(function()
  1066. local bb=Instance.new("BillboardGui", Head )bb.AlwaysOnTop=true bb.Size=UDim2.new(1,0,1,0)bb.StudsOffset=Vector3.new(0,4.5,0)
  1067. local t=Instance.new("TextLabel",bb)t.Size=UDim2.new(1,0,1,0)t.Text="Chain Banisher"t.TextColor3=Color3.new(1,0,0)t.TextStrokeTransparency=.5
  1068. t.BackgroundTransparency=1 t.TextSize=40 t.Font="Garamond"
  1069. while swait()do
  1070. bb.StudsOffset=Vector3.new(math.random(-50,50)/50,4.5+ math.random(-80,80)/50,math.random(-130,130)/50)
  1071. end
  1072. end)
  1073.  
  1074.  
  1075.  
  1076.  
  1077.  
  1078.  
  1079.  
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093. local A1 = IT("Attachment",Torso)
  1094. A1.Position = VT(5,2.5,0.7)
  1095. A1.Orientation = VT(-0.098, -89.999, 0.227)
  1096. local B1 = IT("Attachment",Torso)
  1097. B1.Position = VT(0,0.4,0.7)
  1098. B1.Orientation = VT(-88.911, -68.808, 158.782)
  1099. local ChainLink = IT("Beam",Torso)
  1100. ChainLink.Texture = "rbxassetid://73042633"
  1101. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1102. ChainLink.TextureSpeed = 6
  1103. ChainLink.FaceCamera = true
  1104. ChainLink.Width0 = 1.5
  1105. ChainLink.Width1 = 1.5
  1106. ChainLink.TextureLength = 2
  1107. ChainLink.Attachment0 = A1
  1108. ChainLink.Attachment1 = B1
  1109. ChainLink.CurveSize0 = 1
  1110. ChainLink.CurveSize1 = 1
  1111. ChainLink.FaceCamera = true
  1112. ChainLink.Transparency = NumberSequence.new(0)
  1113.  
  1114.  
  1115. local A2 = IT("Attachment",Torso)
  1116. A2.Position = VT(0,0.4,0.7)
  1117. A2.Orientation = VT(-0.098, -89.999, 0.227)
  1118. local B2 = IT("Attachment",Torso)
  1119. B2.Position = VT(-5,2.5,0.7)
  1120. B2.Orientation = VT(-88.911, -68.808, 158.782)
  1121. local ChainLink = IT("Beam",Torso)
  1122. ChainLink.Texture = "rbxassetid://73042633"
  1123. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1124. ChainLink.TextureSpeed = 6
  1125. ChainLink.FaceCamera = true
  1126. ChainLink.Width0 = 1.5
  1127. ChainLink.Width1 = 1.5
  1128. ChainLink.TextureLength = 2
  1129. ChainLink.Attachment0 = A2
  1130. ChainLink.Attachment1 = B2
  1131. ChainLink.CurveSize0 = 1
  1132. ChainLink.CurveSize1 = 1
  1133. ChainLink.FaceCamera = true
  1134. ChainLink.Transparency = NumberSequence.new(0)
  1135.  
  1136.  
  1137. local A3 = IT("Attachment",Torso)
  1138. A3.Position = VT(0,0.1,0.7)
  1139. A3.Orientation = VT(-0.098, -89.999, 0.227)
  1140. local B3 = IT("Attachment",Torso)
  1141. B3.Position = VT(-4.5,2,0.7)
  1142. B3.Orientation = VT(-88.911, -68.808, 158.782)
  1143. local ChainLink = IT("Beam",Torso)
  1144. ChainLink.Texture = "rbxassetid://73042633"
  1145. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1146. ChainLink.TextureSpeed = 6
  1147. ChainLink.FaceCamera = true
  1148. ChainLink.Width0 = 1.5
  1149. ChainLink.Width1 = 1.5
  1150. ChainLink.TextureLength = 2
  1151. ChainLink.Attachment0 = A3
  1152. ChainLink.Attachment1 = B3
  1153. ChainLink.CurveSize0 = 0.7
  1154. ChainLink.CurveSize1 = 0.7
  1155. ChainLink.FaceCamera = true
  1156. ChainLink.Transparency = NumberSequence.new(0)
  1157.  
  1158.  
  1159. local A4 = IT("Attachment",Torso)
  1160. A4.Position = VT(4.5,2,0.7)
  1161. A4.Orientation = VT(-0.098, -89.999, 0.227)
  1162. local B4 = IT("Attachment",Torso)
  1163. B4.Position = VT(0,0.1,0.7)
  1164. B4.Orientation = VT(-88.911, -68.808, 158.782)
  1165. local ChainLink = IT("Beam",Torso)
  1166. ChainLink.Texture = "rbxassetid://73042633"
  1167. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1168. ChainLink.TextureSpeed = 6
  1169. ChainLink.FaceCamera = true
  1170. ChainLink.Width0 = 1.5
  1171. ChainLink.Width1 = 1.5
  1172. ChainLink.TextureLength = 2
  1173. ChainLink.Attachment0 = A4
  1174. ChainLink.Attachment1 = B4
  1175. ChainLink.CurveSize0 = 0.7
  1176. ChainLink.CurveSize1 = 0.7
  1177. ChainLink.FaceCamera = true
  1178. ChainLink.Transparency = NumberSequence.new(0)
  1179.  
  1180.  
  1181. local A5 = IT("Attachment",Torso)
  1182. A5.Position = VT(4,1.5,0.7)
  1183. A5.Orientation = VT(-0.098, -89.999, 0.227)
  1184. local B5 = IT("Attachment",Torso)
  1185. B5.Position = VT(0,-0.2,0.7)
  1186. B5.Orientation = VT(-88.911, -68.808, 158.782)
  1187. local ChainLink = IT("Beam",Torso)
  1188. ChainLink.Texture = "rbxassetid://73042633"
  1189. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1190. ChainLink.TextureSpeed = 6
  1191. ChainLink.FaceCamera = true
  1192. ChainLink.Width0 = 1.5
  1193. ChainLink.Width1 = 1.5
  1194. ChainLink.TextureLength = 2
  1195. ChainLink.Attachment0 = A5
  1196. ChainLink.Attachment1 = B5
  1197. ChainLink.CurveSize0 = 0.7
  1198. ChainLink.CurveSize1 = 0.7
  1199. ChainLink.FaceCamera = true
  1200. ChainLink.Transparency = NumberSequence.new(0)
  1201.  
  1202.  
  1203. local A6 = IT("Attachment",Torso)
  1204. A6.Position = VT(0,-0.2,0.7)
  1205. A6.Orientation = VT(-0.098, -89.999, 0.227)
  1206. local B6 = IT("Attachment",Torso)
  1207. B6.Position = VT(-4,1.5,0.7)
  1208. B6.Orientation = VT(-88.911, -68.808, 158.782)
  1209. local ChainLink = IT("Beam",Torso)
  1210. ChainLink.Texture = "rbxassetid://73042633"
  1211. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1212. ChainLink.TextureSpeed = 6
  1213. ChainLink.FaceCamera = true
  1214. ChainLink.Width0 = 1.5
  1215. ChainLink.Width1 = 1.5
  1216. ChainLink.TextureLength = 2
  1217. ChainLink.Attachment0 = A6
  1218. ChainLink.Attachment1 = B6
  1219. ChainLink.CurveSize0 = 0.7
  1220. ChainLink.CurveSize1 = 0.7
  1221. ChainLink.FaceCamera = true
  1222. ChainLink.Transparency = NumberSequence.new(0)
  1223.  
  1224.  
  1225. local A7 = IT("Attachment",Torso)
  1226. A7.Position = VT(3.5,1,0.7)
  1227. A7.Orientation = VT(-0.098, -89.999, 0.227)
  1228. local B7 = IT("Attachment",Torso)
  1229. B7.Position = VT(0,-0.5,0.7)
  1230. B7.Orientation = VT(-88.911, -68.808, 158.782)
  1231. local ChainLink = IT("Beam",Torso)
  1232. ChainLink.Texture = "rbxassetid://73042633"
  1233. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1234. ChainLink.TextureSpeed = 6
  1235. ChainLink.FaceCamera = true
  1236. ChainLink.Width0 = 1.5
  1237. ChainLink.Width1 = 1.5
  1238. ChainLink.TextureLength = 2
  1239. ChainLink.Attachment0 = A7
  1240. ChainLink.Attachment1 = B7
  1241. ChainLink.CurveSize0 = 0.7
  1242. ChainLink.CurveSize1 = 0.7
  1243. ChainLink.FaceCamera = true
  1244. ChainLink.Transparency = NumberSequence.new(0)
  1245.  
  1246.  
  1247. local A8 = IT("Attachment",Torso)
  1248. A8.Position = VT(0,-0.5,0.7)
  1249. A8.Orientation = VT(-0.098, -89.999, 0.227)
  1250. local B8 = IT("Attachment",Torso)
  1251. B8.Position = VT(-3.5,1,0.7)
  1252. B8.Orientation = VT(-88.911, -68.808, 158.782)
  1253. local ChainLink = IT("Beam",Torso)
  1254. ChainLink.Texture = "rbxassetid://73042633"
  1255. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1256. ChainLink.TextureSpeed = 6
  1257. ChainLink.FaceCamera = true
  1258. ChainLink.Width0 = 1.5
  1259. ChainLink.Width1 = 1.5
  1260. ChainLink.TextureLength = 2
  1261. ChainLink.Attachment0 = A8
  1262. ChainLink.Attachment1 = B8
  1263. ChainLink.CurveSize0 = 0.7
  1264. ChainLink.CurveSize1 = 0.7
  1265. ChainLink.FaceCamera = true
  1266. ChainLink.Transparency = NumberSequence.new(0)
  1267.  
  1268.  
  1269. local A9 = IT("Attachment",Torso)
  1270. A9.Position = VT(0,-0.8,0.7)
  1271. A9.Orientation = VT(-0.098, -89.999, 0.227)
  1272. local B9 = IT("Attachment",Torso)
  1273. B9.Position = VT(-3,0.5,0.7)
  1274. B9.Orientation = VT(-88.911, -68.808, 158.782)
  1275. local ChainLink = IT("Beam",Torso)
  1276. ChainLink.Texture = "rbxassetid://73042633"
  1277. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1278. ChainLink.TextureSpeed = 6
  1279. ChainLink.FaceCamera = true
  1280. ChainLink.Width0 = 1.5
  1281. ChainLink.Width1 = 1.5
  1282. ChainLink.TextureLength = 2
  1283. ChainLink.Attachment0 = A9
  1284. ChainLink.Attachment1 = B9
  1285. ChainLink.CurveSize0 = 0.7
  1286. ChainLink.CurveSize1 = 0.7
  1287. ChainLink.FaceCamera = true
  1288. ChainLink.Transparency = NumberSequence.new(0)
  1289.  
  1290.  
  1291. local A10 = IT("Attachment",Torso)
  1292. A10.Position = VT(3,0.5,0.7)
  1293. A10.Orientation = VT(-0.098, -89.999, 0.227)
  1294. local B10 = IT("Attachment",Torso)
  1295. B10.Position = VT(0,-0.8,0.7)
  1296. B10.Orientation = VT(-88.911, -68.808, 158.782)
  1297. local ChainLink = IT("Beam",Torso)
  1298. ChainLink.Texture = "rbxassetid://73042633"
  1299. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1300. ChainLink.TextureSpeed = 6
  1301. ChainLink.FaceCamera = true
  1302. ChainLink.Width0 = 1.5
  1303. ChainLink.Width1 = 1.5
  1304. ChainLink.TextureLength = 2
  1305. ChainLink.Attachment0 = A10
  1306. ChainLink.Attachment1 = B10
  1307. ChainLink.CurveSize0 = 0.7
  1308. ChainLink.CurveSize1 = 0.7
  1309. ChainLink.FaceCamera = true
  1310. ChainLink.Transparency = NumberSequence.new(0)
  1311.  
  1312.  
  1313. local A11 = IT("Attachment",Torso)
  1314. A11.Position = VT(5,2.5,0.7)
  1315. A11.Orientation = VT(-0.098, -89.999, 0.227)
  1316. local B11 = IT("Attachment",Torso)
  1317. B11.Position = VT(3,0.5,0.7)
  1318. B11.Orientation = VT(-88.911, -68.808, 158.782)
  1319. local ChainLink = IT("Beam",Torso)
  1320. ChainLink.Texture = "rbxassetid://73042633"
  1321. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1322. ChainLink.TextureSpeed = 6
  1323. ChainLink.FaceCamera = true
  1324. ChainLink.Width0 = 1.5
  1325. ChainLink.Width1 = 1.5
  1326. ChainLink.TextureLength = 2
  1327. ChainLink.Attachment0 = A11
  1328. ChainLink.Attachment1 = B11
  1329. ChainLink.CurveSize0 = 0.2
  1330. ChainLink.CurveSize1 = 0.2
  1331. ChainLink.FaceCamera = true
  1332. ChainLink.Transparency = NumberSequence.new(0)
  1333.  
  1334.  
  1335. local A11 = IT("Attachment",Torso)
  1336. A11.Position = VT(-3,0.5,0.7)
  1337. A11.Orientation = VT(-0.098, -89.999, 0.227)
  1338. local B11 = IT("Attachment",Torso)
  1339. B11.Position = VT(-5,2.5,0.7)
  1340. B11.Orientation = VT(-88.911, -68.808, 158.782)
  1341. local ChainLink = IT("Beam",Torso)
  1342. ChainLink.Texture = "rbxassetid://73042633"
  1343. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1344. ChainLink.TextureSpeed = 6
  1345. ChainLink.FaceCamera = true
  1346. ChainLink.Width0 = 1.5
  1347. ChainLink.Width1 = 1.5
  1348. ChainLink.TextureLength = 2
  1349. ChainLink.Attachment0 = A11
  1350. ChainLink.Attachment1 = B11
  1351. ChainLink.CurveSize0 = 0.2
  1352. ChainLink.CurveSize1 = 0.2
  1353. ChainLink.FaceCamera = true
  1354. ChainLink.Transparency = NumberSequence.new(0)
  1355.  
  1356. function test()
  1357. while true do
  1358. wait(0.05)
  1359.  
  1360. end
  1361.  
  1362. end
  1363.  
  1364.  
  1365.  
  1366.  
  1367.  
  1368.  
  1369.  
  1370.  
  1371.  
  1372.  
  1373.  
  1374.  
  1375.  
  1376.  
  1377.  
  1378.  
  1379.  
  1380.  
  1381.  
  1382. local A = IT("Attachment",RightLeg)
  1383. A.Position = VT(0.8,-0.7,0)
  1384. A.Orientation = VT(-0.098, -89.999, 0.227)
  1385. local B = IT("Attachment",RightLeg)
  1386. B.Position = VT(-0.8,-0.7 + 1 * math.sin(SINE / 10),0)
  1387. B.Orientation = VT(-88.911, -68.808, 158.782)
  1388. local ChainLink = IT("Beam",RightLeg)
  1389. ChainLink.Texture = "rbxassetid://73042633"
  1390. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1391. ChainLink.TextureSpeed = 6
  1392. ChainLink.FaceCamera = true
  1393. ChainLink.Width0 = 1.5
  1394. ChainLink.Width1 = 1.5
  1395. ChainLink.TextureLength = 2
  1396. ChainLink.Attachment0 = A
  1397. ChainLink.Attachment1 = B
  1398. ChainLink.CurveSize0 = 1
  1399. ChainLink.CurveSize1 = 1
  1400. ChainLink.FaceCamera = true
  1401. ChainLink.Transparency = NumberSequence.new(0)
  1402.  
  1403. local ChainLink = IT("Beam",RightLeg)
  1404. ChainLink.Texture = "rbxassetid://73042633"
  1405. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1406. ChainLink.TextureSpeed = 6
  1407. ChainLink.FaceCamera = true
  1408. ChainLink.Width0 = 1.5
  1409. ChainLink.Width1 = 1.5
  1410. ChainLink.TextureLength = 3
  1411. ChainLink.Attachment0 = B
  1412. ChainLink.Attachment1 = A
  1413. ChainLink.CurveSize0 = 0.9
  1414. ChainLink.CurveSize1 = 0.9
  1415. ChainLink.FaceCamera = true
  1416. ChainLink.Transparency = NumberSequence.new(0)
  1417. local A = IT("Attachment",RightLeg)
  1418. A.Position = VT(1.3,-0.85,0)
  1419. A.Orientation = VT(-0.098, -89.999, 0.227)
  1420. local B = IT("Attachment",RightLeg)
  1421. B.Position = VT(-1,2,0)
  1422. B.Orientation = VT(-88.911, -68.808, 158.782)
  1423.  
  1424. local A = IT("Attachment",LeftLeg)
  1425. A.Position = VT(0.8,-0.7,0)
  1426. A.Orientation = VT(-0.098, -89.999, 0.227)
  1427. local B = IT("Attachment",LeftLeg)
  1428. B.Position = VT(-0.8,-0.7,0)
  1429. B.Orientation = VT(-88.911, -68.808, 158.782)
  1430. local ChainLink = IT("Beam",LeftLeg)
  1431. ChainLink.Texture = "rbxassetid://73042633"
  1432. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1433. ChainLink.TextureSpeed = 6
  1434. ChainLink.FaceCamera = true
  1435. ChainLink.Width0 = 1.5
  1436. ChainLink.Width1 = 1.5
  1437. ChainLink.TextureLength = 2
  1438. ChainLink.Attachment0 = A
  1439. ChainLink.Attachment1 = B
  1440. ChainLink.CurveSize0 = 1
  1441. ChainLink.CurveSize1 = 1
  1442. ChainLink.FaceCamera = true
  1443. ChainLink.Transparency = NumberSequence.new(0)
  1444.  
  1445. local ChainLink = IT("Beam",LeftLeg)
  1446. ChainLink.Texture = "rbxassetid://73042633"
  1447. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1448. ChainLink.TextureSpeed = 6
  1449. ChainLink.FaceCamera = true
  1450. ChainLink.Width0 = 1.5
  1451. ChainLink.Width1 = 1.5
  1452. ChainLink.TextureLength = 3
  1453. ChainLink.Attachment0 = B
  1454. ChainLink.Attachment1 = A
  1455. ChainLink.CurveSize0 = 0.9
  1456. ChainLink.CurveSize1 = 0.9
  1457. ChainLink.FaceCamera = true
  1458. ChainLink.Transparency = NumberSequence.new(0)
  1459. local A = IT("Attachment",LeftLeg)
  1460. A.Position = VT(1.3,-0.85,0)
  1461. A.Orientation = VT(-0.098, -89.999, 0.227)
  1462. local B = IT("Attachment",LeftLeg)
  1463. B.Position = VT(-1,2,0)
  1464. B.Orientation = VT(-88.911, -68.808, 158.782)
  1465.  
  1466. local A = IT("Attachment",LeftArm)
  1467. A.Position = VT(0.8,-0.7,0)
  1468. A.Orientation = VT(-0.098, -89.999, 0.227)
  1469. local B = IT("Attachment",LeftArm)
  1470. B.Position = VT(-0.8,-0.7,0)
  1471. B.Orientation = VT(-88.911, -68.808, 158.782)
  1472. local ChainLink = IT("Beam",LeftArm)
  1473. ChainLink.Texture = "rbxassetid://73042633"
  1474. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1475. ChainLink.TextureSpeed = 6
  1476. ChainLink.FaceCamera = true
  1477. ChainLink.Width0 = 1.5
  1478. ChainLink.Width1 = 1.5
  1479. ChainLink.TextureLength = 2
  1480. ChainLink.Attachment0 = A
  1481. ChainLink.Attachment1 = B
  1482. ChainLink.CurveSize0 = 1
  1483. ChainLink.CurveSize1 = 1
  1484. ChainLink.FaceCamera = true
  1485. ChainLink.Transparency = NumberSequence.new(0)
  1486.  
  1487. local ChainLink = IT("Beam",LeftArm)
  1488. ChainLink.Texture = "rbxassetid://73042633"
  1489. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1490. ChainLink.TextureSpeed = 6
  1491. ChainLink.FaceCamera = true
  1492. ChainLink.Width0 = 1.5
  1493. ChainLink.Width1 = 1.5
  1494. ChainLink.TextureLength = 3
  1495. ChainLink.Attachment0 = B
  1496. ChainLink.Attachment1 = A
  1497. ChainLink.CurveSize0 = 0.9
  1498. ChainLink.CurveSize1 = 0.9
  1499. ChainLink.FaceCamera = true
  1500. ChainLink.Transparency = NumberSequence.new(0)
  1501. local A = IT("Attachment",LeftArm)
  1502. A.Position = VT(1.3,-0.85,0)
  1503. A.Orientation = VT(-0.098, -89.999, 0.227)
  1504. local B = IT("Attachment",LeftArm)
  1505. B.Position = VT(-1,2,0)
  1506. B.Orientation = VT(-88.911, -68.808, 158.782)
  1507.  
  1508. local A = IT("Attachment",RightArm)
  1509. A.Position = VT(0.8,-0.7,0)
  1510. A.Orientation = VT(-0.098, -89.999, 0.227)
  1511. local B = IT("Attachment",RightArm)
  1512. B.Position = VT(-0.8,-0.7,0)
  1513. B.Orientation = VT(-88.911, -68.808, 158.782)
  1514. local ChainLink = IT("Beam",RightArm)
  1515. ChainLink.Texture = "rbxassetid://73042633"
  1516. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1517. ChainLink.TextureSpeed = 6
  1518. ChainLink.FaceCamera = true
  1519. ChainLink.Width0 = 1.5
  1520. ChainLink.Width1 = 1.5
  1521. ChainLink.TextureLength = 2
  1522. ChainLink.Attachment0 = A
  1523. ChainLink.Attachment1 = B
  1524. ChainLink.CurveSize0 = 1
  1525. ChainLink.CurveSize1 = 1
  1526. ChainLink.FaceCamera = true
  1527. ChainLink.Transparency = NumberSequence.new(0)
  1528.  
  1529. local ChainLink = IT("Beam",RightArm)
  1530. ChainLink.Texture = "rbxassetid://73042633"
  1531. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1532. ChainLink.TextureSpeed = 6
  1533. ChainLink.FaceCamera = true
  1534. ChainLink.Width0 = 1.5
  1535. ChainLink.Width1 = 1.5
  1536. ChainLink.TextureLength = 3
  1537. ChainLink.Attachment0 = B
  1538. ChainLink.Attachment1 = A
  1539. ChainLink.CurveSize0 = 0.9
  1540. ChainLink.CurveSize1 = 0.9
  1541. ChainLink.FaceCamera = true
  1542. ChainLink.Transparency = NumberSequence.new(0)
  1543. local A = IT("Attachment",RightArm)
  1544. A.Position = VT(1.3,-0.85,0)
  1545. A.Orientation = VT(-0.098, -89.999, 0.227)
  1546. local B = IT("Attachment",RightArm)
  1547. B.Position = VT(-1,2,0)
  1548. B.Orientation = VT(-88.911, -68.808, 158.782)
  1549.  
  1550. local A = IT("Attachment",Head)
  1551. A.Position = VT(0.8,1,0)
  1552. A.Orientation = VT(-0.098, -89.999, 0.227)
  1553. local B = IT("Attachment",Head)
  1554. B.Position = VT(-0.8,1,0)
  1555. B.Orientation = VT(-88.911, -68.808, 158.782)
  1556. local ChainLink = IT("Beam",Head)
  1557. ChainLink.Texture = "rbxassetid://73042633"
  1558. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1559. ChainLink.TextureSpeed = 3
  1560. ChainLink.FaceCamera = true
  1561. ChainLink.Width0 = 1
  1562. ChainLink.Width1 = 1
  1563. ChainLink.TextureLength = 2
  1564. ChainLink.Attachment0 = A
  1565. ChainLink.Attachment1 = B
  1566. ChainLink.CurveSize0 = 1
  1567. ChainLink.CurveSize1 = 1
  1568. ChainLink.FaceCamera = true
  1569. ChainLink.Transparency = NumberSequence.new(0)
  1570.  
  1571. local ChainLink = IT("Beam",Head)
  1572. ChainLink.Texture = "rbxassetid://73042633"
  1573. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1574. ChainLink.TextureSpeed = 3
  1575. ChainLink.FaceCamera = true
  1576. ChainLink.Width0 = 1
  1577. ChainLink.Width1 = 1
  1578. ChainLink.TextureLength = 3
  1579. ChainLink.Attachment0 = B
  1580. ChainLink.Attachment1 = A
  1581. ChainLink.CurveSize0 = 0.8
  1582. ChainLink.CurveSize1 = 0.8
  1583. ChainLink.FaceCamera = true
  1584. ChainLink.Transparency = NumberSequence.new(0)
  1585. local A = IT("Attachment",Head)
  1586. A.Position = VT(1.3,-0.85,0)
  1587. A.Orientation = VT(-0.098, -89.999, 0.227)
  1588. local B = IT("Attachment",Head)
  1589. B.Position = VT(-1,2,0)
  1590. B.Orientation = VT(-88.911, -68.808, 158.782)
  1591.  
  1592.  
  1593. local A = IT("Attachment",Torso)
  1594. A.Position = VT(1,1.3,0)
  1595. A.Orientation = VT(-0.098, -89.999, 0.227)
  1596. local B = IT("Attachment",Torso)
  1597. B.Position = VT(-1.3,-0.6,0)
  1598. B.Orientation = VT(-88.911, -68.808, 158.782)
  1599. local ChainLink = IT("Beam",Torso)
  1600. ChainLink.Texture = "rbxassetid://73042633"
  1601. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1602. ChainLink.TextureSpeed = 3
  1603. ChainLink.FaceCamera = true
  1604. ChainLink.Width0 = 1
  1605. ChainLink.Width1 = 1
  1606. ChainLink.TextureLength = 3
  1607. ChainLink.Attachment0 = A
  1608. ChainLink.Attachment1 = B
  1609. ChainLink.CurveSize0 = 1.6
  1610. ChainLink.CurveSize1 = 1.6
  1611. ChainLink.FaceCamera = true
  1612. ChainLink.Transparency = NumberSequence.new(0)
  1613.  
  1614.  
  1615. local ChainLink = IT("Beam",Torso)
  1616. ChainLink.Texture = "rbxassetid://73042633"
  1617. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  1618. ChainLink.TextureSpeed = 3
  1619. ChainLink.FaceCamera = true
  1620. ChainLink.Width0 = 1
  1621. ChainLink.Width1 = 1
  1622. ChainLink.TextureLength = 3
  1623. ChainLink.Attachment0 = B
  1624. ChainLink.Attachment1 = A
  1625. ChainLink.CurveSize0 = 1.6
  1626. ChainLink.CurveSize1 = 1.6
  1627. ChainLink.FaceCamera = true
  1628. ChainLink.Transparency = NumberSequence.new(0)
  1629. local A = IT("Attachment",Torso)
  1630. A.Position = VT(1.3,-0.85,0)
  1631. A.Orientation = VT(-0.098, -89.999, 0.227)
  1632. local B = IT("Attachment",Torso)
  1633. B.Position = VT(-1,2,0)
  1634. B.Orientation = VT(-88.911, -68.808, 158.782)
  1635.  
  1636. local A = IT("Attachment",RightBarrel)
  1637. A.Position = VT(0,-2.5,0)
  1638. local B = IT("Attachment",RightBarrel)
  1639. B.Position = VT(0,2.5,0)
  1640. local Trail = IT("Trail",RightBarrel)
  1641. Trail.Attachment0 = A
  1642. Trail.Attachment1 = B
  1643. Trail.Lifetime = 0.2
  1644. Trail.Color = ColorSequence.new(BRICKC"Really red".Color)
  1645. Trail.Transparency = NumberSequence.new(0, 1)
  1646. Trail.Enabled = false
  1647.  
  1648. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightLeg, Emit = 100, Offset = 360, Enabled = true})
  1649. PRT.LockedToPart = true
  1650. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftLeg, Emit = 100, Offset = 360, Enabled = true})
  1651. PRT.LockedToPart = true
  1652. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.3, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = true})
  1653. PRT.LockedToPart = true
  1654. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = RightArm, Emit = 100, Offset = 360, Enabled = true})
  1655. PRT.LockedToPart = true
  1656. local PRT = ParticleEmitter({Speed = 0.3, Drag = 3, Size1 = 0.1, Size2 = 0.3, Lifetime1 = 0.2, Lifetime2 = 1, Parent = LeftArm, Emit = 100, Offset = 360, Enabled = true})
  1657. PRT.LockedToPart = true
  1658. local BODY = {}
  1659. for _, c in pairs(Character:GetDescendants()) do
  1660. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1661. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1662. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1663. end
  1664. table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency,c.Size,c.Name})
  1665. elseif c:IsA("JointInstance") then
  1666. table.insert(BODY,{c,c.Parent,nil,nil,nil,nil,nil})
  1667. end
  1668. end
  1669. function refit()
  1670. Character.Parent = workspace
  1671. for e = 1, #BODY do
  1672. if BODY[e] ~= nil then
  1673. local STUFF = BODY[e]
  1674. local PART = STUFF[1]
  1675. local PARENT = STUFF[2]
  1676. local MATERIAL = STUFF[3]
  1677. local COLOR = STUFF[4]
  1678. local TRANSPARENCY = STUFF[5]
  1679. --local SIZE = STUFF[6]
  1680. local NAME = STUFF[7]
  1681. if PART.ClassName == "Part" and PART ~= RootPart then
  1682. PART.Material = MATERIAL
  1683. PART.Transparency = TRANSPARENCY
  1684. PART.Name = NAME
  1685. end
  1686. if PART.Parent ~= PARENT then
  1687. Humanoid:remove()
  1688. PART.Parent = PARENT
  1689. Humanoid = IT("Humanoid",Character)
  1690. end
  1691. end
  1692. end
  1693. end
  1694.  
  1695. local SKILLTEXTCOLOR = C3(1,0,0)
  1696. local SKILLFONT = "Fantasy"
  1697. local SKILLTEXTSIZE = 6
  1698.  
  1699. Humanoid.Died:connect(function()
  1700. refit()
  1701. end)
  1702.  
  1703. 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")
  1704. 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")
  1705. 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")
  1706.  
  1707. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] Fire", SKILLTEXTCOLOR, SKILLTEXTSIZE-1, SKILLFONT, 0, 2, 0, "Text 1")
  1708. local SKILL2TEXT = CreateLabel(SKILL5FRAME, "[X] Morning Star", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 2")
  1709. local SKILL3TEXT = CreateLabel(SKILL7FRAME, "[CLICK] Execute", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0, "Text 3")
  1710.  
  1711. --//=================================\\
  1712. --|| DAMAGE FUNCTIONS
  1713. --\\=================================//
  1714.  
  1715. function StatLabel(CFRAME, TEXT, COLOR)
  1716. local STATPART = CreatePart(3, Effects, "SmoothPlastic", 0, 1, "Really black", "Effect", VT())
  1717. STATPART.CFrame = CF(CFRAME.p,CFRAME.p+VT(MRANDOM(-5,5),MRANDOM(0,5),MRANDOM(-5,5)))
  1718. local BODYGYRO = IT("BodyGyro", STATPART)
  1719. game:GetService("Debris"):AddItem(STATPART ,5)
  1720. local BILLBOARDGUI = Instance.new("BillboardGui", STATPART)
  1721. BILLBOARDGUI.Adornee = STATPART
  1722. BILLBOARDGUI.Size = UD2(2.5, 0, 2.5 ,0)
  1723. BILLBOARDGUI.StudsOffset = VT(-2, 2, 0)
  1724. BILLBOARDGUI.AlwaysOnTop = false
  1725. local TEXTLABEL = Instance.new("TextLabel", BILLBOARDGUI)
  1726. TEXTLABEL.BackgroundTransparency = 1
  1727. TEXTLABEL.Size = UD2(2.5, 0, 2.5, 0)
  1728. TEXTLABEL.Text = TEXT
  1729. TEXTLABEL.Font = SKILLFONT
  1730. TEXTLABEL.FontSize="Size42"
  1731. TEXTLABEL.TextColor3 = COLOR
  1732. TEXTLABEL.TextStrokeTransparency = 0
  1733. TEXTLABEL.TextScaled = true
  1734. TEXTLABEL.TextWrapped = true
  1735. coroutine.resume(coroutine.create(function(THEPART, THEBODYPOSITION, THETEXTLABEL)
  1736. for i = 1, 50 do
  1737. Swait()
  1738. STATPART.CFrame = STATPART.CFrame * CF(0,0,-0.2)
  1739. TEXTLABEL.TextTransparency = TEXTLABEL.TextTransparency + (1/50)
  1740. TEXTLABEL.TextStrokeTransparency = TEXTLABEL.TextTransparency
  1741. end
  1742. THEPART.Parent = nil
  1743. end),STATPART, TEXTLABEL)
  1744. end
  1745.  
  1746. --//=================================\\
  1747. --|| DAMAGING
  1748. --\\=================================//
  1749.  
  1750. function Kill(Char)
  1751. local NewCharacter = IT("Model",Effects)
  1752. NewCharacter.Name = "Ow im ded ;-;"
  1753. for _, c in pairs(Char:GetDescendants()) do
  1754. if c:IsA("BasePart") and c.Transparency == 0 then
  1755. if c.Parent == Char then
  1756. getbloody(c,5)
  1757. end
  1758. c:BreakJoints()
  1759. c.Material = "Glass"
  1760. c.Color = C3(0.5,0,0)
  1761. c.CanCollide = true
  1762. c.Transparency = 0.3
  1763. if c:FindFirstChildOfClass("SpecialMesh") then
  1764. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1765. end
  1766. if c.Name == "Head" then
  1767. c:ClearAllChildren()
  1768. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1769. end
  1770. if c.ClassName == "MeshPart" then
  1771. c.TextureID = ""
  1772. end
  1773. if c:FindFirstChildOfClass("BodyPosition") then
  1774. c:FindFirstChildOfClass("BodyPosition"):remove()
  1775. end
  1776. if c:FindFirstChildOfClass("ParticleEmitter") then
  1777. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1778. end
  1779. c.Parent = NewCharacter
  1780. c.Name = "DeadPart"
  1781. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1782. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1783. end
  1784. end
  1785. Char:remove()
  1786. Debris:AddItem(NewCharacter,5)
  1787. end
  1788.  
  1789. function Banish(Foe)
  1790. if Foe then
  1791. coroutine.resume(coroutine.create(function()
  1792. --if game.Players:FindFirstChild(Foe.Name) then
  1793. table.insert(TOBANISH,Foe.Name)
  1794. printbye(Foe.Name)
  1795. --end
  1796. Foe.Archivable = true
  1797. local CLONE = Foe:Clone()
  1798. Foe:Destroy()
  1799. CLONE.Parent = Effects
  1800. CLONE:BreakJoints()
  1801. local MATERIALS = {"Glass","Neon"}
  1802. for _, c in pairs(CLONE:GetDescendants()) do
  1803. if c:IsA("BasePart") then
  1804. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1805. CreateSound(340722848, c, 10, 1, false)
  1806. end
  1807. c.Anchored = true
  1808. c.Transparency = c.Transparency + 0.2
  1809. c.Material = MATERIALS[MRANDOM(1,2)]
  1810. c.Color = C3(1,0,0)
  1811. if c.ClassName == "MeshPart" then
  1812. c.TextureID = ""
  1813. end
  1814. if c:FindFirstChildOfClass("SpecialMesh") then
  1815. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1816. end
  1817. if c:FindFirstChildOfClass("Decal") then
  1818. c:FindFirstChildOfClass("Decal"):remove()
  1819. end
  1820. c.Name = "Banished"
  1821. c.CanCollide = false
  1822. else
  1823. c:remove()
  1824. end
  1825. end
  1826. local A = false
  1827. for i = 1, 35 do
  1828. if A == false then
  1829. A = true
  1830. elseif A == true then
  1831. A = false
  1832. end
  1833. for _, c in pairs(CLONE:GetDescendants()) do
  1834. if c:IsA("BasePart") then
  1835. c.Anchored = true
  1836. c.Material = MATERIALS[MRANDOM(1,2)]
  1837. c.Transparency = c.Transparency + 0.8/35
  1838. if A == false then
  1839. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1840. elseif A == true then
  1841. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1842. end
  1843. end
  1844. end
  1845. Swait()
  1846. end
  1847. CLONE:remove()
  1848. end))
  1849. end
  1850. end
  1851.  
  1852. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1853. local CHILDREN = workspace:GetDescendants()
  1854. for index, CHILD in pairs(CHILDREN) do
  1855. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1856. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1857. if HUM then
  1858. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1859. if TORSO then
  1860. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1861. if ISBANISH == true then
  1862. Banish(CHILD)
  1863. else
  1864. if ISBANISH == "Gravity" then
  1865. HUM.PlatformStand = true
  1866. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1867. local grav = Instance.new("BodyPosition",TORSO)
  1868. grav.D = 15
  1869. grav.P = 20000
  1870. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1871. grav.position = TORSO.Position
  1872. grav.Name = "V3BanishForce"..Player.Name
  1873. else
  1874. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1875. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1876. end
  1877. else
  1878. HUM.PlatformStand = false
  1879. end
  1880. end
  1881. elseif ISBANISH == "Gravity" then
  1882. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1883. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1884. HUM.PlatformStand = false
  1885. end
  1886. end
  1887. end
  1888. end
  1889. end
  1890. end
  1891. end
  1892. --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})
  1893. function WACKYEFFECT(Table)
  1894. local TYPE = (Table.EffectType or "Sphere")
  1895. local SIZE = (Table.Size or VT(1,1,1))
  1896. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  1897. local TRANSPARENCY = (Table.Transparency or 0)
  1898. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  1899. local CFRAME = (Table.CFrame or Torso.CFrame)
  1900. local MOVEDIRECTION = (Table.MoveToPos or nil)
  1901. local ROTATION1 = (Table.RotationX or 0)
  1902. local ROTATION2 = (Table.RotationY or 0)
  1903. local ROTATION3 = (Table.RotationZ or 0)
  1904. local MATERIAL = (Table.Material or "Neon")
  1905. local COLOR = (Table.Color or C3(1,1,1))
  1906. local TIME = (Table.Time or 45)
  1907. local SOUNDID = (Table.SoundID or nil)
  1908. local SOUNDPITCH = (Table.SoundPitch or nil)
  1909. local SOUNDVOLUME = (Table.SoundVolume or nil)
  1910. coroutine.resume(coroutine.create(function()
  1911. local PLAYSSOUND = false
  1912. local SOUND = nil
  1913. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  1914. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  1915. PLAYSSOUND = true
  1916. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  1917. end
  1918. EFFECT.Color = COLOR
  1919. local MSH = nil
  1920. if TYPE == "Sphere" then
  1921. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  1922. elseif TYPE == "Block" then
  1923. MSH = IT("BlockMesh",EFFECT)
  1924. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  1925. elseif TYPE == "Wave" then
  1926. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  1927. elseif TYPE == "Ring" then
  1928. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  1929. elseif TYPE == "Slash" then
  1930. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1931. elseif TYPE == "Round Slash" then
  1932. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  1933. elseif TYPE == "Swirl" then
  1934. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  1935. elseif TYPE == "Skull" then
  1936. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  1937. elseif TYPE == "Crystal" then
  1938. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  1939. end
  1940. if MSH ~= nil then
  1941. local MOVESPEED = nil
  1942. if MOVEDIRECTION ~= nil then
  1943. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  1944. end
  1945. local GROWTH = SIZE - ENDSIZE
  1946. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  1947. if TYPE == "Block" then
  1948. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1949. else
  1950. EFFECT.CFrame = CFRAME
  1951. end
  1952. for LOOP = 1, TIME+1 do
  1953. Swait()
  1954. MSH.Scale = MSH.Scale - GROWTH/TIME
  1955. if TYPE == "Wave" then
  1956. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  1957. end
  1958. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  1959. if TYPE == "Block" then
  1960. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  1961. else
  1962. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  1963. end
  1964. if MOVEDIRECTION ~= nil then
  1965. local ORI = EFFECT.Orientation
  1966. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  1967. EFFECT.Orientation = ORI
  1968. end
  1969. end
  1970. if PLAYSSOUND == false then
  1971. EFFECT:remove()
  1972. else
  1973. SOUND.Stopped:Connect(function()
  1974. EFFECT:remove()
  1975. end)
  1976. end
  1977. else
  1978. if PLAYSSOUND == false then
  1979. EFFECT:remove()
  1980. else
  1981. repeat Swait() until SOUND.Playing == false
  1982. EFFECT:remove()
  1983. end
  1984. end
  1985. end))
  1986. end
  1987.  
  1988.  
  1989. --//=================================\\
  1990. --|| ATTACK FUNCTIONS AND STUFF
  1991. --\\=================================//
  1992.  
  1993. function Unload()
  1994. ATTACK = true
  1995. Rooted = false
  1996. for i=0, 0.4, 0.1 / Animation_Speed do
  1997. Swait()
  1998. turnto(Mouse.Hit.p)
  1999. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2000. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2001. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2002. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2003. 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)
  2004. 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)
  2005. end
  2006. repeat
  2007. for i=0, 0.2, 0.1 / Animation_Speed do
  2008. Swait()
  2009. turnto(Mouse.Hit.p)
  2010. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2011. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.5 / Animation_Speed)
  2012. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2013. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2014. 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)
  2015. 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)
  2016. end
  2017. local HIT,POS = CastProperRay(Hole.Position, Mouse.Hit.p, 1000, Character)
  2018. SpawnTrail(Hole.Position,POS)
  2019. if HIT ~= nil then
  2020. if HIT.Parent ~= workspace and HIT.Parent.ClassName ~= "Folder" then
  2021. Banish(HIT.Parent)
  2022. end
  2023. end
  2024. 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})
  2025. 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 = 904440937, SoundPitch = MRANDOM(8,11)/10, SoundVolume = 8})
  2026. 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})
  2027. 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})
  2028. for i=0, 0.3, 0.1 / Animation_Speed do
  2029. Swait()
  2030. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(90)), 0.5 / Animation_Speed)
  2031. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-90)), 0.25 / Animation_Speed)
  2032. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(15), RAD(90)) * RIGHTSHOULDERC0, 0.5 / Animation_Speed)
  2033. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.6, 0) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  2034. 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)
  2035. 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)
  2036. end
  2037. until KEYHOLD == false
  2038. ATTACK = false
  2039. Rooted = false
  2040. end
  2041. function Morning_Star()
  2042. ATTACK = true
  2043. Rooted = true
  2044. CreateSound(LAUGHS[MRANDOM(1,#LAUGHS)], Torso, 7, 1, false)
  2045. for i=0, 1, 0.1 / Animation_Speed do
  2046. Swait()
  2047. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  2048. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2049. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2050. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2051. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2052. 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)
  2053. end
  2054. coroutine.resume(coroutine.create(function()
  2055. local POS = Mouse.Hit.p
  2056. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,2000,0))
  2057. MakeForm(RAY,"Cyl")
  2058. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Really red", "Strike", VT(0,0,0))
  2059. MakeForm(SPHERE,"Ball")
  2060. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Really black", "Strike", VT(0,0,0))
  2061. MakeForm(SHIELD,"Ball")
  2062. SHIELD.CFrame = CF(POS)
  2063. RAY.CFrame = CF(POS)
  2064. SPHERE.CFrame = CF(POS)
  2065. CreateSound(440145570, SPHERE, 10, 0.8, false)
  2066. CreateSound(415700134, SPHERE, 10, 0.8, false)
  2067. for i = 1, 200 do
  2068. Swait()
  2069. WACKYEFFECT({Time = 15, EffectType = "Wave", Size = VT(0,0,0), Size2 = VT(SPHERE.Size.X*1.2,5+(i),SPHERE.Size.X*1.2), Transparency = 0, Transparency2 = 1, CFrame = SPHERE.CFrame*ANGLES(RAD(0), RAD(i), RAD(0)), MoveToPos = nil, RotationX = 0, RotationY = i, RotationZ = 0, Material = "Neon", Color = C3(1,0,0), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  2070. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  2071. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  2072. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  2073. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  2074. end
  2075. for i = 1, 45 do
  2076. Swait()
  2077. RAY.Transparency = RAY.Transparency + 1/45
  2078. SPHERE.Transparency = RAY.Transparency
  2079. SHIELD.Transparency = SPHERE.Transparency + 1/45
  2080. end
  2081. RAY:remove()
  2082. SHIELD:remove()
  2083. SPHERE:remove()
  2084. end))
  2085. for i=0, 1, 0.1 / Animation_Speed do
  2086. Swait()
  2087. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(-35), RAD(0), RAD(0)), 1 / Animation_Speed)
  2088. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2089. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(-45), RAD(85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2090. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, -0.15) * ANGLES(RAD(65), RAD(45), RAD(-85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2091. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2092. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2093. end
  2094. ATTACK = false
  2095. Rooted = false
  2096. end
  2097. function Execute()
  2098. ATTACK = true
  2099. Rooted = false
  2100. local Part = CreatePart(3, Character, "Neon", 0, 0, "Mid gray", "Part", VT(0,1,4),false)
  2101. Part.Color = C3(0,0,0)
  2102. MakeForm(Part,"Wedge")
  2103. Part.CanCollide = true
  2104. CreateWeldOrSnapOrMotor("Weld", Handle, Barrel, Part, CF(0, 0, 0) * ANGLES(RAD(90), RAD(0), RAD(135)) *CF(0, 0.5, 0), CF(0, 0, 0))
  2105. for i=0, 0.1, 0.1 / Animation_Speed do
  2106. Swait()
  2107. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(-50)), 1 / Animation_Speed)
  2108. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(50)), 1 / Animation_Speed)
  2109. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2110. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2111. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2112. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2113. end
  2114. Trail.Enabled = true
  2115. CreateSound(541909867, Barrel, 7, 1, false)
  2116. local TOCH = Part.Touched:Connect(function(hit)
  2117. if hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent ~= Character then
  2118. Kill(hit.Parent)
  2119. end
  2120. end)
  2121. for i=0, 0.35, 0.1 / Animation_Speed do
  2122. Swait()
  2123. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(50)), 1 / Animation_Speed)
  2124. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2125. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-35)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2126. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2127. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2128. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2129. end
  2130. TOCH:disconnect()
  2131. Trail.Enabled = false
  2132. for i=0, 0.35, 0.1 / Animation_Speed do
  2133. Swait()
  2134. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.2 + 0.25 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(60)), 1 / Animation_Speed)
  2135. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(-55)), 1 / Animation_Speed)
  2136. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.15, 0.25, -0.3) * ANGLES(RAD(50), RAD(0), RAD(-45)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2137. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2138. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2139. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.5, -0.5) * ANGLES(RAD(-35-2.5 * SIN(SINE / 12)), RAD(-90), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2140. end
  2141. Part:remove()
  2142. ATTACK = false
  2143. Rooted = false
  2144. end
  2145.  
  2146. function EMOTE()
  2147. ATTACK = true
  2148. Rooted = false
  2149. local LOOP = 0
  2150. for i=0, 0.1, 0.1 / Animation_Speed do
  2151. Swait()
  2152. 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)
  2153. 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)
  2154. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2155. 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)
  2156. end
  2157. for i=0, 3, 0.1 / Animation_Speed do
  2158. Swait()
  2159. LOOP = LOOP + 1
  2160. 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)
  2161. 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)
  2162. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2163. 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)
  2164. end
  2165. for i=0, 0.1, 0.1 / Animation_Speed do
  2166. Swait()
  2167. 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)
  2168. 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)
  2169. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2170. 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)
  2171. end
  2172. ATTACK = false
  2173. Rooted = false
  2174. end
  2175.  
  2176.  
  2177. Player = game:GetService("Players").LocalPlayer
  2178. PlayerGui = Player.PlayerGui
  2179. Cam = workspace.CurrentCamera
  2180. Backpack = Player.Backpack
  2181. Character = Player.Character
  2182. Humanoid = Character.Humanoid
  2183. RootPart = Character["HumanoidRootPart"]
  2184. Torso = Character["Torso"]
  2185. Head = Character["Head"]
  2186. RightArm = Character["Right Arm"]
  2187. LeftArm = Character["Left Arm"]
  2188. RightLeg = Character["Right Leg"]
  2189. LeftLeg = Character["Left Leg"]
  2190. RootJoint = RootPart["RootJoint"]
  2191. Neck = Torso["Neck"]
  2192. RightShoulder = Torso["Right Shoulder"]
  2193. LeftShoulder = Torso["Left Shoulder"]
  2194. RightHip = Torso["Right Hip"]
  2195. LeftHip = Torso["Left Hip"]
  2196. Character.Archivable = true
  2197.  
  2198. IT = Instance.new
  2199. CF = CFrame.new
  2200. VT = Vector3.new
  2201. RAD = math.rad
  2202. C3 = Color3.new
  2203. UD2 = UDim2.new
  2204. BRICKC = BrickColor.new
  2205. ANGLES = CFrame.Angles
  2206. EULER = CFrame.fromEulerAnglesXYZ
  2207. COS = math.cos
  2208. ACOS = math.acos
  2209. SIN = math.sin
  2210. ASIN = math.asin
  2211. ABS = math.abs
  2212. MRANDOM = math.random
  2213. FLOOR = math.floor
  2214. Character.Archivable = false
  2215.  
  2216. function Taunt()
  2217. ATTACK = true
  2218. local LAUGH = nil
  2219. coroutine.resume(coroutine.create(function()
  2220. repeat
  2221. Swait()
  2222. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24), 0 + 0.04 * SIN(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2223. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2224. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15, -0.5) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2225. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2226. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2227. 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)
  2228. until LAUGH ~= nil
  2229. repeat
  2230. Swait()
  2231. LAUGH.Parent = Head
  2232. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0 - 0.04 * SIN(SINE / 24), 0 + 0.04 * SIN(SINE / 12), 0+(0.1*LAUGH.PlaybackLoudness/75) + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 - 2.5 * SIN(SINE / 24)), RAD(0)), 1 / Animation_Speed)
  2233. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1.1+(0.1*LAUGH.PlaybackLoudness/75)) - 1)) * ANGLES(RAD(5), RAD(0), RAD(-45)), 1 / Animation_Speed)
  2234. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.15+(0.1*LAUGH.PlaybackLoudness/75), -0.5) * ANGLES(RAD(170), RAD(-25), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2235. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5+(0.1*LAUGH.PlaybackLoudness/75), 0.5) * ANGLES(RAD(-35), RAD(25 - 2.5 * SIN(SINE / 12)), RAD(55 - 2.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  2236. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2237. 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)
  2238. until LAUGH.Playing == false
  2239. ATTACK = false
  2240. end))
  2241. wait(0.1)
  2242. sick:Pause()
  2243. LAUGH = CreateSound(525166232, Head, 10, 1, false)
  2244. wait(1)
  2245. sick:Resume()
  2246. end
  2247.  
  2248. --//=================================\\
  2249. --|| ASSIGN THINGS TO KEYS
  2250. --\\=================================//
  2251.  
  2252. function MouseDown(Mouse)
  2253. if ATTACK == false then
  2254. Execute()
  2255. end
  2256. end
  2257.  
  2258. function MouseUp(Mouse)
  2259. HOLD = false
  2260. end
  2261.  
  2262. function KeyDown(Key)
  2263. KEYHOLD = true
  2264. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  2265. if Key == "y" and ATTACK == false then
  2266. EMOTE()
  2267. end
  2268.  
  2269. if Key == "t" and ATTACK == false then
  2270. test()
  2271. end
  2272.  
  2273. if Key == "z" and ATTACK == false then
  2274. Unload()
  2275.  
  2276. elseif Key == "x" and ATTACK == false then
  2277. Morning_Star()
  2278.  
  2279. elseif Key == "1" and ATTACK == false then
  2280. if CHOICE ~= 1 then
  2281. CHOICE = 1
  2282. sick:Play()
  2283. end
  2284. elseif Key == "2" and ATTACK == false then
  2285. if CHOICE ~= 2 then
  2286. CHOICE = 2
  2287. sick:Play()
  2288. end
  2289. elseif Key == "3" and ATTACK == false then
  2290. if CHOICE ~= 3 then
  2291. CHOICE = 3
  2292. sick:Play()
  2293. end
  2294. elseif Key == "4" and ATTACK == false then
  2295. if CHOICE ~= 4 then
  2296. CHOICE = 4
  2297. sick:Play()
  2298. end
  2299. end
  2300. end
  2301. end
  2302.  
  2303. function KeyUp(Key)
  2304. if Key ~= "w" and Key ~= "a" and Key ~= "s" and Key ~= "d" then
  2305. KEYHOLD = false
  2306. end
  2307. end
  2308.  
  2309. Mouse.Button1Down:connect(function(NEWKEY)
  2310. MouseDown(NEWKEY)
  2311. end)
  2312. Mouse.Button1Up:connect(function(NEWKEY)
  2313. MouseUp(NEWKEY)
  2314. end)
  2315. Mouse.KeyDown:connect(function(NEWKEY)
  2316. KeyDown(NEWKEY)
  2317. end)
  2318. Mouse.KeyUp:connect(function(NEWKEY)
  2319. KeyUp(NEWKEY)
  2320. end)
  2321.  
  2322. --//=================================\\
  2323. --\\=================================//
  2324.  
  2325.  
  2326. function unanchor()
  2327. if UNANCHOR == true then
  2328. g = Character:GetChildren()
  2329. for i = 1, #g do
  2330. if g[i].ClassName == "Part" then
  2331. g[i].Anchored = false
  2332. end
  2333. end
  2334. end
  2335. end
  2336.  
  2337.  
  2338. --//=================================\\
  2339. --|| WRAP THE WHOLE SCRIPT UP
  2340. --\\=================================//
  2341.  
  2342. Humanoid.Changed:connect(function(Jump)
  2343. if Jump == "Jump" and (Disable_Jump == true) then
  2344. Humanoid.Jump = false
  2345. end
  2346. end)
  2347.  
  2348. while true do
  2349. Swait()
  2350. Humanoid.HipHeight = 1.5
  2351. script.Parent = WEAPONGUI
  2352. ANIMATE.Parent = nil
  2353. if Humanoid then
  2354. local IDLEANIMATION = Humanoid:LoadAnimation(ROBLOXIDLEANIMATION)
  2355. IDLEANIMATION:Play()
  2356. end
  2357. SINE = SINE + CHANGE
  2358. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  2359. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  2360. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  2361. if ATTACK == false then
  2362. if TORSOVELOCITY < 1 then
  2363. 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)), 1 / Animation_Speed)
  2364. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2365. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2366. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(5), RAD(0), RAD(-15 + -10 * SIN(SINE / 12))) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2367. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.01) * ANGLES(RAD(-2.5 * SIN(SINE / 12)), RAD(75), RAD(0)) * ANGLES(RAD(-8 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 1 / Animation_Speed)
  2368. 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)
  2369. elseif TORSOVELOCITY > 1 then
  2370. 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(25)), 1 / Animation_Speed)
  2371. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(-25 + 4.5 * SIN(SINE / 12)), RAD(0), RAD(-25)), 1 / Animation_Speed)
  2372. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.25, 0.35 + 0.15 * COS(SINE / 12), 0) * ANGLES(RAD(110), RAD(-15 - 2.5 * SIN(SINE / 12)), RAD(35 + 7.5 * SIN(SINE / 12))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  2373. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.25, 0.5, 0.5) * ANGLES(RAD(-45), RAD(0), RAD(45)) * LEFTSHOULDERC0, 0.15 / Animation_Speed)
  2374. 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)
  2375. 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)
  2376. end
  2377. end
  2378. RightArmGrasp.C0 = Clerp(RightArmGrasp.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(-1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  2379. --LeftArmGrasp.C0 = Clerp(LeftArmGrasp.C0, CF(0, -0.815+0.05 * SIN(SINE / 12), 0) * ANGLES(RAD(90-4.5 * SIN(SINE / 12)), RAD(1.5 * SIN(SINE / 12)), RAD(0)), 1 / Animation_Speed)
  2380. unanchor()
  2381. Humanoid.MaxHealth = "inf"
  2382. Humanoid.Health = "inf"
  2383. if Rooted == false then
  2384. Disable_Jump = false
  2385. Humanoid.WalkSpeed = Speed
  2386. elseif Rooted == true then
  2387. Disable_Jump = true
  2388. Humanoid.WalkSpeed = 0
  2389. end
  2390. refit()
  2391. Humanoid.Name = "Deadeyes"
  2392. sick.Parent = Torso
  2393. sick:resume()
  2394. sick.Volume = 5
  2395. sick.Pitch = 1
  2396. sick.SoundId = "rbxassetid://"..SONGS[CHOICE]
  2397. if Head:FindFirstChildOfClass("Sound") then
  2398. Head:FindFirstChildOfClass("Sound"):remove()
  2399. end
  2400. end
  2401.  
  2402. --//=================================\\
  2403. --\\=================================//
  2404.  
  2405.  
  2406.  
  2407.  
  2408.  
  2409. --//====================================================\\--
  2410. --|| END OF SCRIPT
  2411. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement