Advertisement
5sdfsadgaq5465

Micheal...

Apr 16th, 2019
529
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.07 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83. m = owner
  84. char = m.Character
  85. local txt = Instance.new("BillboardGui", char)
  86. txt.Adornee = char.Head
  87. txt.Name = "_status"
  88. txt.Size = UDim2.new(2, 0, 1.2, 0)
  89. txt.StudsOffset = Vector3.new(-9, 8, 0)
  90. local text = Instance.new("TextLabel", txt)
  91. text.Size = UDim2.new(10, 0, 7, 0)
  92. text.FontSize = "Size24"
  93. text.TextScaled = true
  94. text.TextTransparency = 0
  95. text.BackgroundTransparency = 1
  96. text.TextTransparency = 0
  97. text.TextStrokeTransparency = 0
  98. text.Font = "Bodoni"
  99. text.TextStrokeColor3 = Color3.new(1, 0, 0)
  100. v = Instance.new("Part")
  101. v.Name = "ColorBrick"
  102. v.Parent = m.Character
  103. v.FormFactor = "Symmetric"
  104. v.Anchored = true
  105. v.CanCollide = false
  106. v.BottomSurface = "Smooth"
  107. v.TopSurface = "Smooth"
  108. v.Size = Vector3.new(10, 5, 3)
  109. v.Transparency = 1
  110. v.CFrame = char.Torso.CFrame
  111. v.BrickColor = BrickColor.new("Really red")
  112. v.Transparency = 1
  113. v.Shape = "Block"
  114. spawn(function()
  115. local TweenService = game:GetService("TweenService")
  116. local Colours = {Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(1,0,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,1,0),Color3.fromRGB(0,0,0),Color3.fromRGB(0,0,0)}
  117. local Int = 0
  118. while wait(0.5) do
  119. if Int == #Colours then Int = 0 end
  120. Int = Int+1
  121. TweenService:Create(text,TweenInfo.new(1),{TextColor3 = Colours[Int]}):Play()
  122. end
  123. end)
  124. text.Text = "MICHEAL THE PSYcho"
  125.  
  126. script.Name = "Banisher Gun V3 / 1"
  127. --//====================================================\\--
  128. --|| CREATED BY SHACKLUSTER
  129. --\\====================================================//--
  130.  
  131. script:ClearAllChildren()
  132. wait(0.2)
  133.  
  134. Player = owner
  135. PlayerGui = Player.PlayerGui
  136. Cam = workspace.CurrentCamera
  137. Backpack = Player.Backpack
  138. Character = Player.Character
  139. Humanoid = Character.Humanoid
  140. RootPart = Character["HumanoidRootPart"]
  141. Torso = Character["Torso"]
  142. Head = Character["Head"]
  143. RightArm = Character["Right Arm"]
  144. LeftArm = Character["Left Arm"]
  145. RightLeg = Character["Right Leg"]
  146. LeftLeg = Character["Left Leg"]
  147. RootJoint = RootPart["RootJoint"]
  148. Neck = Torso["Neck"]
  149. RightShoulder = Torso["Right Shoulder"]
  150. LeftShoulder = Torso["Left Shoulder"]
  151. RightHip = Torso["Right Hip"]
  152. LeftHip = Torso["Left Hip"]
  153. local TIME = 0
  154. local sick = Instance.new("Sound",Torso)
  155. local SIZE = 1
  156. local SONG = 534861083
  157.  
  158. IT = Instance.new
  159. CF = CFrame.new
  160. VT = Vector3.new
  161. RAD = math.rad
  162. C3 = Color3.new
  163. UD2 = UDim2.new
  164. BRICKC = BrickColor.new
  165. ANGLES = CFrame.Angles
  166. EULER = CFrame.fromEulerAnglesXYZ
  167. COS = math.cos
  168. ACOS = math.acos
  169. SIN = math.sin
  170. ASIN = math.asin
  171. ABS = math.abs
  172. MRANDOM = math.random
  173. FLOOR = math.floor
  174. local BODY = {}
  175.  
  176. --//=================================\\
  177. --|| USEFUL VALUES
  178. --\\=================================//
  179.  
  180. Animation_Speed = 3
  181. local FORCERESET = false
  182. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  183. local Speed = 16
  184. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  185. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  186. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  187. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  188. local DAMAGEMULTIPLIER = 1
  189. local ANIM = "Idle"
  190. local ATTACK = false
  191. local EQUIPPED = false
  192. local HOLD = false
  193. local COMBO = 1
  194. local Rooted = false
  195. local SINE = 0
  196. local KEYHOLD = false
  197. local CHANGE = 2 / Animation_Speed
  198. local WALKINGANIM = false
  199. local VALUE1 = false
  200. local VALUE2 = false
  201. local ROBLOXIDLEANIMATION = IT("Animation")
  202. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  203. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  204. --ROBLOXIDLEANIMATION.Parent = Humanoid
  205. local WEAPONGUI = IT("ScreenGui", PlayerGui)
  206. WEAPONGUI.Name = "BanishV3Gui"
  207. local Weapon = IT("Model")
  208. Weapon.Name = "Adds"
  209. local Effects = IT("Folder", Weapon)
  210. Effects.Name = "Effects"
  211. local ANIMATOR = Humanoid.Animator
  212. local ANIMATE = Character:FindFirstChild("Animate")
  213. local UNANCHOR = true
  214. local TOBANISH = {}
  215. script.Parent = PlayerGui
  216. local top = Instance.new("Shirt")
  217. top.ShirtTemplate = "rbxassetid://12786196"
  218. top.Parent = Character
  219. top.Name = "Cloth"
  220. local bottom = Instance.new("Pants")
  221. bottom.PantsTemplate = "rbxassetid://326190288"
  222. bottom.Parent = Character
  223. bottom.Name = "Cloth"
  224.  
  225. --//=================================\\
  226. --\\=================================//
  227.  
  228.  
  229. --//=================================\\
  230. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  231. --\\=================================//
  232.  
  233. ArtificialHB = Instance.new("BindableEvent", script)
  234. ArtificialHB.Name = "ArtificialHB"
  235.  
  236. script:WaitForChild("ArtificialHB")
  237.  
  238. frame = Frame_Speed
  239. tf = 0
  240. allowframeloss = false
  241. tossremainder = false
  242. lastframe = tick()
  243. script.ArtificialHB:Fire()
  244.  
  245. game:GetService("RunService").Heartbeat:connect(function(s, p)
  246. tf = tf + s
  247. if tf >= frame then
  248. if allowframeloss then
  249. script.ArtificialHB:Fire()
  250. lastframe = tick()
  251. else
  252. for i = 1, math.floor(tf / frame) do
  253. script.ArtificialHB:Fire()
  254. end
  255. lastframe = tick()
  256. end
  257. if tossremainder then
  258. tf = 0
  259. else
  260. tf = tf - frame * math.floor(tf / frame)
  261. end
  262. end
  263. end)
  264.  
  265. --//=================================\\
  266. --\\=================================//
  267.  
  268. --//=================================\\
  269. --|| SOME FUNCTIONS
  270. --\\=================================//
  271.  
  272. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  273. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  274. end
  275.  
  276. function PositiveAngle(NUMBER)
  277. if NUMBER >= 0 then
  278. NUMBER = 0
  279. end
  280. return NUMBER
  281. end
  282.  
  283. function NegativeAngle(NUMBER)
  284. if NUMBER <= 0 then
  285. NUMBER = 0
  286. end
  287. return NUMBER
  288. end
  289.  
  290. function Swait(NUMBER)
  291. if NUMBER == 0 or NUMBER == nil then
  292. ArtificialHB.Event:wait()
  293. else
  294. for i = 1, NUMBER do
  295. ArtificialHB.Event:wait()
  296. end
  297. end
  298. end
  299.  
  300. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  301. local NEWMESH = IT(MESH)
  302. if MESH == "SpecialMesh" then
  303. NEWMESH.MeshType = MESHTYPE
  304. if MESHID ~= "nil" and MESHID ~= "" then
  305. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  306. end
  307. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  308. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  309. end
  310. end
  311. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  312. NEWMESH.Scale = SCALE
  313. NEWMESH.Parent = PARENT
  314. return NEWMESH
  315. end
  316.  
  317. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  318. local NEWPART = IT("Part")
  319. NEWPART.formFactor = FORMFACTOR
  320. NEWPART.Reflectance = REFLECTANCE
  321. NEWPART.Transparency = TRANSPARENCY
  322. NEWPART.CanCollide = false
  323. NEWPART.Locked = true
  324. NEWPART.Anchored = true
  325. if ANCHOR == false then
  326. NEWPART.Anchored = false
  327. end
  328. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  329. NEWPART.Name = NAME
  330. NEWPART.Size = SIZE
  331. NEWPART.Position = Torso.Position
  332. NEWPART.Material = MATERIAL
  333. NEWPART:BreakJoints()
  334. NEWPART.Parent = PARENT
  335. return NEWPART
  336. end
  337.  
  338. local function weldBetween(a, b)
  339. local weldd = Instance.new("ManualWeld")
  340. weldd.Part0 = a
  341. weldd.Part1 = b
  342. weldd.C0 = CFrame.new()
  343. weldd.C1 = b.CFrame:inverse() * a.CFrame
  344. weldd.Parent = a
  345. return weldd
  346. end
  347.  
  348.  
  349. function QuaternionFromCFrame(cf)
  350. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  351. local trace = m00 + m11 + m22
  352. if trace > 0 then
  353. local s = math.sqrt(1 + trace)
  354. local recip = 0.5 / s
  355. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  356. else
  357. local i = 0
  358. if m11 > m00 then
  359. i = 1
  360. end
  361. if m22 > (i == 0 and m00 or m11) then
  362. i = 2
  363. end
  364. if i == 0 then
  365. local s = math.sqrt(m00 - m11 - m22 + 1)
  366. local recip = 0.5 / s
  367. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  368. elseif i == 1 then
  369. local s = math.sqrt(m11 - m22 - m00 + 1)
  370. local recip = 0.5 / s
  371. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  372. elseif i == 2 then
  373. local s = math.sqrt(m22 - m00 - m11 + 1)
  374. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  375. end
  376. end
  377. end
  378.  
  379. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  380. local xs, ys, zs = x + x, y + y, z + z
  381. local wx, wy, wz = w * xs, w * ys, w * zs
  382. local xx = x * xs
  383. local xy = x * ys
  384. local xz = x * zs
  385. local yy = y * ys
  386. local yz = y * zs
  387. local zz = z * zs
  388. 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))
  389. end
  390.  
  391. function QuaternionSlerp(a, b, t)
  392. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  393. local startInterp, finishInterp;
  394. if cosTheta >= 0.0001 then
  395. if (1 - cosTheta) > 0.0001 then
  396. local theta = ACOS(cosTheta)
  397. local invSinTheta = 1 / SIN(theta)
  398. startInterp = SIN((1 - t) * theta) * invSinTheta
  399. finishInterp = SIN(t * theta) * invSinTheta
  400. else
  401. startInterp = 1 - t
  402. finishInterp = t
  403. end
  404. else
  405. if (1 + cosTheta) > 0.0001 then
  406. local theta = ACOS(-cosTheta)
  407. local invSinTheta = 1 / SIN(theta)
  408. startInterp = SIN((t - 1) * theta) * invSinTheta
  409. finishInterp = SIN(t * theta) * invSinTheta
  410. else
  411. startInterp = t - 1
  412. finishInterp = t
  413. end
  414. end
  415. 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
  416. end
  417.  
  418. function Clerp(a, b, t)
  419. local qa = {QuaternionFromCFrame(a)}
  420. local qb = {QuaternionFromCFrame(b)}
  421. local ax, ay, az = a.x, a.y, a.z
  422. local bx, by, bz = b.x, b.y, b.z
  423. local _t = 1 - t
  424. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  425. end
  426.  
  427. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  428. local frame = IT("Frame")
  429. frame.BackgroundTransparency = TRANSPARENCY
  430. frame.BorderSizePixel = BORDERSIZEPIXEL
  431. frame.Position = POSITION
  432. frame.Size = SIZE
  433. frame.BackgroundColor3 = COLOR
  434. frame.BorderColor3 = BORDERCOLOR
  435. frame.Name = NAME
  436. frame.Parent = PARENT
  437. return frame
  438. end
  439.  
  440. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  441. local label = IT("TextLabel")
  442. label.BackgroundTransparency = 1
  443. label.Size = UD2(1, 0, 1, 0)
  444. label.Position = UD2(0, 0, 0, 0)
  445. label.TextColor3 = TEXTCOLOR
  446. label.TextStrokeTransparency = STROKETRANSPARENCY
  447. label.TextTransparency = TRANSPARENCY
  448. label.FontSize = TEXTFONTSIZE
  449. label.Font = TEXTFONT
  450. label.BorderSizePixel = BORDERSIZEPIXEL
  451. label.TextScaled = false
  452. label.Text = TEXT
  453. label.Name = NAME
  454. label.Parent = PARENT
  455. return label
  456. end
  457.  
  458. function NoOutlines(PART)
  459. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  460. end
  461.  
  462. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  463. local NEWWELD = IT(TYPE)
  464. NEWWELD.Part0 = PART0
  465. NEWWELD.Part1 = PART1
  466. NEWWELD.C0 = C0
  467. NEWWELD.C1 = C1
  468. NEWWELD.Parent = PARENT
  469. return NEWWELD
  470. end
  471.  
  472. local S = IT("Sound")
  473. function CreateSound(ID, PARENT, VOLUME, PITCH, DOESLOOP)
  474. local NEWSOUND = nil
  475. coroutine.resume(coroutine.create(function()
  476. NEWSOUND = S:Clone()
  477. NEWSOUND.Parent = PARENT
  478. NEWSOUND.Volume = VOLUME
  479. NEWSOUND.Pitch = PITCH
  480. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  481. NEWSOUND:play()
  482. if DOESLOOP == true then
  483. NEWSOUND.Looped = true
  484. else
  485. repeat wait(1) until NEWSOUND.Playing == false or NEWSOUND.Parent ~= PARENT
  486. NEWSOUND:remove()
  487. end
  488. end))
  489. return NEWSOUND
  490. end
  491.  
  492. function CFrameFromTopBack(at, top, back)
  493. local right = top:Cross(back)
  494. 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)
  495. end
  496.  
  497. --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})
  498. function WACKYEFFECT(Table)
  499. local TYPE = (Table.EffectType or "Sphere")
  500. local SIZE = (Table.Size or VT(1,1,1))
  501. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  502. local TRANSPARENCY = (Table.Transparency or 0)
  503. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  504. local CFRAME = (Table.CFrame or Torso.CFrame)
  505. local MOVEDIRECTION = (Table.MoveToPos or nil)
  506. local ROTATION1 = (Table.RotationX or 0)
  507. local ROTATION2 = (Table.RotationY or 0)
  508. local ROTATION3 = (Table.RotationZ or 0)
  509. local MATERIAL = (Table.Material or "Neon")
  510. local COLOR = (Table.Color or C3(1,1,1))
  511. local TIME = (Table.Time or 45)
  512. local SOUNDID = (Table.SoundID or nil)
  513. local SOUNDPITCH = (Table.SoundPitch or nil)
  514. local SOUNDVOLUME = (Table.SoundVolume or nil)
  515. coroutine.resume(coroutine.create(function()
  516. local PLAYSSOUND = false
  517. local SOUND = nil
  518. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  519. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  520. PLAYSSOUND = true
  521. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  522. end
  523. EFFECT.Color = COLOR
  524. local MSH = nil
  525. if TYPE == "Sphere" then
  526. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  527. elseif TYPE == "Block" then
  528. MSH = IT("BlockMesh",EFFECT)
  529. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  530. elseif TYPE == "Wave" then
  531. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  532. elseif TYPE == "Ring" then
  533. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  534. elseif TYPE == "Slash" then
  535. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  536. elseif TYPE == "Round Slash" then
  537. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  538. elseif TYPE == "Swirl" then
  539. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  540. elseif TYPE == "Skull" then
  541. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  542. elseif TYPE == "Crystal" then
  543. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  544. end
  545. if MSH ~= nil then
  546. local MOVESPEED = nil
  547. if MOVEDIRECTION ~= nil then
  548. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  549. end
  550. local GROWTH = SIZE - ENDSIZE
  551. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  552. if TYPE == "Block" then
  553. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  554. else
  555. EFFECT.CFrame = CFRAME
  556. end
  557. for LOOP = 1, TIME+1 do
  558. Swait()
  559. MSH.Scale = MSH.Scale - GROWTH/TIME
  560. if TYPE == "Wave" then
  561. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  562. end
  563. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  564. if TYPE == "Block" then
  565. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  566. else
  567. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  568. end
  569. if MOVEDIRECTION ~= nil then
  570. local ORI = EFFECT.Orientation
  571. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  572. EFFECT.Orientation = ORI
  573. end
  574. end
  575. if PLAYSSOUND == false then
  576. EFFECT:remove()
  577. else
  578. SOUND.Stopped:Connect(function()
  579. EFFECT:remove()
  580. end)
  581. end
  582. else
  583. if PLAYSSOUND == false then
  584. EFFECT:remove()
  585. else
  586. repeat Swait() until SOUND.Playing == false
  587. EFFECT:remove()
  588. end
  589. end
  590. end))
  591. end
  592.  
  593. function MakeForm(PART,TYPE)
  594. if TYPE == "Cyl" then
  595. local MSH = IT("CylinderMesh",PART)
  596. elseif TYPE == "Ball" then
  597. local MSH = IT("SpecialMesh",PART)
  598. MSH.MeshType = "Sphere"
  599. elseif TYPE == "Wedge" then
  600. local MSH = IT("SpecialMesh",PART)
  601. MSH.MeshType = "Wedge"
  602. end
  603. end
  604.  
  605. function SpawnTrail(FROM,TO,BIG)
  606. local TRAIL = CreatePart(3, Effects, "Neon", 0, 0.5, "Really red", "Trail", VT(0,0,0))
  607. MakeForm(TRAIL,"Cyl")
  608. local DIST = (FROM - TO).Magnitude
  609. if BIG == true then
  610. TRAIL.Size = VT(0.5,DIST,0.5)
  611. else
  612. TRAIL.Size = VT(0.25,DIST,0.25)
  613. end
  614. TRAIL.CFrame = CF(FROM, TO) * CF(0, 0, -DIST/2) * ANGLES(RAD(90),RAD(0),RAD(0))
  615. coroutine.resume(coroutine.create(function()
  616. for i = 1, 5 do
  617. Swait()
  618. TRAIL.Transparency = TRAIL.Transparency + 0.1
  619. end
  620. TRAIL:remove()
  621. end))
  622. end
  623.  
  624. Debris = game:GetService("Debris")
  625.  
  626. function CastProperRay(StartPos, EndPos, Distance, Ignore)
  627. local DIRECTION = CF(StartPos,EndPos).lookVector
  628. return Raycast(StartPos, DIRECTION, Distance, Ignore)
  629. end
  630.  
  631. function turnto(position)
  632. RootPart.CFrame=CFrame.new(RootPart.CFrame.p,VT(position.X,RootPart.Position.Y,position.Z)) * CFrame.new(0, 0, 0)
  633. end
  634. local asd = Instance.new("ParticleEmitter")
  635. asd.Color = ColorSequence.new(Color3.new(0.5, 0, 0), Color3.new(.3, 0, 0))
  636. asd.LightEmission = .1
  637. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  638. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.6),NumberSequenceKeypoint.new(1, 2)})
  639. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  640. asd.Transparency = bbb
  641. asd.Size = aaa
  642. asd.ZOffset = .9
  643. asd.Acceleration = Vector3.new(0, -15, 0)
  644. asd.LockedToPart = false
  645. asd.EmissionDirection = "Back"
  646. asd.Lifetime = NumberRange.new(1, 2)
  647. asd.Rotation = NumberRange.new(-100, 100)
  648. asd.RotSpeed = NumberRange.new(-100, 100)
  649. asd.Speed = NumberRange.new(10)
  650. asd.Enabled = false
  651. asd.VelocitySpread = 999
  652.  
  653. function getbloody(victim,amount)
  654. local PART = CreatePart(3, Effects, "Metal", 0, 1, "Mid gray", "Blood", victim.Size)
  655. PART.CFrame = victim.CFrame
  656. local HITPLAYERSOUNDS = {"356551938","264486467"}
  657. Debris:AddItem(PART,5)
  658. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  659. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  660. CreateSound(HITPLAYERSOUNDS[MRANDOM(1, #HITPLAYERSOUNDS)], PART, 1, (math.random(8,12)/10))
  661. local prtcl = asd:Clone()
  662. prtcl.Parent = PART
  663. prtcl:Emit(amount*10)
  664. end
  665.  
  666. local Particle = IT("ParticleEmitter",nil)
  667. Particle.Enabled = false
  668. Particle.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1),NumberSequenceKeypoint.new(0.3,0.95),NumberSequenceKeypoint.new(1,1)})
  669. Particle.LightEmission = 0.5
  670. Particle.Rate = 150
  671. Particle.ZOffset = 1
  672. Particle.Rotation = NumberRange.new(-180, 180)
  673. Particle.RotSpeed = NumberRange.new(-180, 180)
  674. Particle.Texture = "http://www.roblox.com/asset/?id=304437537"
  675. Particle.Color = ColorSequence.new(C3(1,0,0),C3(0.4,0,0))
  676.  
  677. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  678. function ParticleEmitter(Table)
  679. local PRTCL = Particle:Clone()
  680. local Speed = Table.Speed or 5
  681. local Drag = Table.Drag or 0
  682. local Size1 = Table.Size1 or 1
  683. local Size2 = Table.Size2 or 5
  684. local Lifetime1 = Table.Lifetime1 or 1
  685. local Lifetime2 = Table.Lifetime2 or 1.5
  686. local Parent = Table.Parent or Torso
  687. local Emit = Table.Emit or 100
  688. local Offset = Table.Offset or 360
  689. local Acel = Table.Acel or VT(0,0,0)
  690. local Enabled = Table.Enabled or false
  691. PRTCL.Parent = Parent
  692. PRTCL.Size = NumberSequence.new(Size1,Size2)
  693. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  694. PRTCL.Speed = NumberRange.new(Speed)
  695. PRTCL.VelocitySpread = Offset
  696. PRTCL.Drag = Drag
  697. PRTCL.Acceleration = Acel
  698. if Enabled == false then
  699. PRTCL:Emit(Emit)
  700. Debris:AddItem(PRTCL,Lifetime2)
  701. else
  702. PRTCL.Enabled = true
  703. end
  704. return PRTCL
  705. end
  706.  
  707. --//=================================\\
  708. --|| WEAPON CREATION
  709. --\\=================================//
  710.  
  711. local A = IT("Attachment",LeftArm)
  712. A.Position = VT(1,1.3,0)
  713. A.Orientation = VT(-0.098, -89.999, 0.227)
  714. local B = IT("Attachment",LeftArm)
  715. B.Position = VT(-1.3,-0.6,0)
  716. B.Orientation = VT(-88.911, -68.808, 158.782)
  717. local ChainLink = IT("Beam",LeftArm)
  718. ChainLink.Texture = "rbxassetid://73042633"
  719. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  720. ChainLink.TextureSpeed = 1
  721. ChainLink.FaceCamera = true
  722. ChainLink.Width0 = 1
  723. ChainLink.Width1 = 1
  724. ChainLink.TextureLength = 3
  725. ChainLink.Attachment0 = A
  726. ChainLink.Attachment1 = B
  727. ChainLink.CurveSize0 = 1.6
  728. ChainLink.CurveSize1 = 1.6
  729. ChainLink.FaceCamera = true
  730. ChainLink.Transparency = NumberSequence.new(0)
  731. local ChainLink = IT("Beam",LeftArm)
  732. ChainLink.Texture = "rbxassetid://73042633"
  733. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  734. ChainLink.TextureSpeed = 1
  735. ChainLink.FaceCamera = true
  736. ChainLink.Width0 = 1
  737. ChainLink.Width1 = 1
  738. ChainLink.TextureLength = 3
  739. ChainLink.Attachment0 = B
  740. ChainLink.Attachment1 = A
  741. ChainLink.CurveSize0 = 1.6
  742. ChainLink.CurveSize1 = 1.6
  743. ChainLink.FaceCamera = true
  744. ChainLink.Transparency = NumberSequence.new(0)
  745. local A = IT("Attachment",RightArm)
  746. A.Position = VT(1.3,-0.85,0)
  747. A.Orientation = VT(-0.098, -89.999, 0.227)
  748. local B = IT("Attachment",RightArm)
  749. B.Position = VT(-1,2,0)
  750. B.Orientation = VT(-88.911, -68.808, 158.782)
  751. local ChainLink = IT("Beam",RightArm)
  752. ChainLink.Texture = "rbxassetid://73042633"
  753. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  754. ChainLink.TextureSpeed = 1
  755. ChainLink.FaceCamera = true
  756. ChainLink.Width0 = 1
  757. ChainLink.Width1 = 1
  758. ChainLink.TextureLength = 3
  759. ChainLink.Attachment0 = A
  760. ChainLink.Attachment1 = B
  761. ChainLink.CurveSize0 = 1.3
  762. ChainLink.CurveSize1 = 1.3
  763. ChainLink.FaceCamera = true
  764. ChainLink.Transparency = NumberSequence.new(0)
  765. local ChainLink = IT("Beam",RightArm)
  766. ChainLink.Texture = "rbxassetid://73042633"
  767. ChainLink.Color = ColorSequence.new(C3(1,0,0))
  768. ChainLink.TextureSpeed = 1
  769. ChainLink.FaceCamera = true
  770. ChainLink.Width0 = 1
  771. ChainLink.Width1 = 1
  772. ChainLink.TextureLength = 3
  773. ChainLink.Attachment0 = B
  774. ChainLink.Attachment1 = A
  775. ChainLink.CurveSize0 = 1.3
  776. ChainLink.CurveSize1 = 1.3
  777. ChainLink.FaceCamera = true
  778. ChainLink.Transparency = NumberSequence.new(0)
  779.  
  780.  
  781. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1.1,1,0.525),false)
  782. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(-0.75, 0.51, 0) * ANGLES(RAD(180), RAD(-90), RAD(0)), CF(0, 0, 0))
  783. MakeForm(Part,"Wedge")
  784.  
  785. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(1,1,1.2),false)
  786. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  787. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  788. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(45)), CF(0, 0, 0))
  789. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Stone grey", "Metal", VT(0.3,1.7,1.15),false)
  790. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(-45)), CF(0, 0, 0))
  791. local Part = CreatePart(3, Weapon, "DiamondPlate", 0, 0, "Dark stone grey", "Metal", VT(0.8,0.8,1.225),false)
  792. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Part, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  793. local Eon = CreatePart(3, Weapon, "Neon", 0, 0, "Really red", "Eon", VT(0.5,0.5,1.25),false)
  794. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, Eon, CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), CF(0, 0, 0))
  795.  
  796. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  797. local Gun = CreatePart(3, Character, "SmoothPlastic", 0, 0, "Really black", "Gun", VT(0, 0, 0),false)
  798. local HandleMesh = CreateMesh("SpecialMesh", Gun, "FileMesh", "468351345", "468351348", VT(0.06,0.06,0.06), VT(0,0, 0))
  799. local Weld = CreateWeldOrSnapOrMotor("Weld", Gun, RightArm, Gun, CF(0, -1.8, -0.2) * ANGLES(RAD(0), RAD(90), RAD(-90)), CF(0, 0, 0))
  800.  
  801. --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})
  802. function WACKYEFFECT(Table)
  803. local TYPE = (Table.EffectType or "Sphere")
  804. local SIZE = (Table.Size or VT(1,1,1))
  805. local ENDSIZE = (Table.Size2 or VT(0,0,0))
  806. local TRANSPARENCY = (Table.Transparency or 0)
  807. local ENDTRANSPARENCY = (Table.Transparency2 or 1)
  808. local CFRAME = (Table.CFrame or Torso.CFrame)
  809. local MOVEDIRECTION = (Table.MoveToPos or nil)
  810. local ROTATION1 = (Table.RotationX or 0)
  811. local ROTATION2 = (Table.RotationY or 0)
  812. local ROTATION3 = (Table.RotationZ or 0)
  813. local MATERIAL = (Table.Material or "Neon")
  814. local COLOR = (Table.Color or C3(1,1,1))
  815. local TIME = (Table.Time or 45)
  816. local SOUNDID = (Table.SoundID or nil)
  817. local SOUNDPITCH = (Table.SoundPitch or nil)
  818. local SOUNDVOLUME = (Table.SoundVolume or nil)
  819. coroutine.resume(coroutine.create(function()
  820. local PLAYSSOUND = false
  821. local SOUND = nil
  822. local EFFECT = CreatePart(3, Effects, MATERIAL, 0, TRANSPARENCY, BRICKC("Pearl"), "Effect", VT(1,1,1), true)
  823. if SOUNDID ~= nil and SOUNDPITCH ~= nil and SOUNDVOLUME ~= nil then
  824. PLAYSSOUND = true
  825. SOUND = CreateSound(SOUNDID, EFFECT, SOUNDVOLUME, SOUNDPITCH, false)
  826. end
  827. EFFECT.Color = COLOR
  828. local MSH = nil
  829. if TYPE == "Sphere" then
  830. MSH = CreateMesh("SpecialMesh", EFFECT, "Sphere", "", "", SIZE, VT(0,0,0))
  831. elseif TYPE == "Block" then
  832. MSH = IT("BlockMesh",EFFECT)
  833. MSH.Scale = VT(SIZE.X,SIZE.X,SIZE.X)
  834. elseif TYPE == "Wave" then
  835. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "20329976", "", SIZE, VT(0,0,-SIZE.X/8))
  836. elseif TYPE == "Ring" then
  837. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "559831844", "", VT(SIZE.X,SIZE.X,0.1), VT(0,0,0))
  838. elseif TYPE == "Slash" then
  839. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662586858", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  840. elseif TYPE == "Round Slash" then
  841. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "662585058", "", VT(SIZE.X/10,0,SIZE.X/10), VT(0,0,0))
  842. elseif TYPE == "Swirl" then
  843. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "1051557", "", SIZE, VT(0,0,0))
  844. elseif TYPE == "Skull" then
  845. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "4770583", "", SIZE, VT(0,0,0))
  846. elseif TYPE == "Crystal" then
  847. MSH = CreateMesh("SpecialMesh", EFFECT, "FileMesh", "9756362", "", SIZE, VT(0,0,0))
  848. end
  849. if MSH ~= nil then
  850. local MOVESPEED = nil
  851. if MOVEDIRECTION ~= nil then
  852. MOVESPEED = (CFRAME.p - MOVEDIRECTION).Magnitude/TIME
  853. end
  854. local GROWTH = SIZE - ENDSIZE
  855. local TRANS = TRANSPARENCY - ENDTRANSPARENCY
  856. if TYPE == "Block" then
  857. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  858. else
  859. EFFECT.CFrame = CFRAME
  860. end
  861. for LOOP = 1, TIME+1 do
  862. Swait()
  863. MSH.Scale = MSH.Scale - GROWTH/TIME
  864. if TYPE == "Wave" then
  865. MSH.Offset = VT(0,0,-MSH.Scale.X/8)
  866. end
  867. EFFECT.Transparency = EFFECT.Transparency - TRANS/TIME
  868. if TYPE == "Block" then
  869. EFFECT.CFrame = CFRAME*ANGLES(RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)),RAD(MRANDOM(0,360)))
  870. else
  871. EFFECT.CFrame = EFFECT.CFrame*ANGLES(RAD(ROTATION1),RAD(ROTATION2),RAD(ROTATION3))
  872. end
  873. if MOVEDIRECTION ~= nil then
  874. local ORI = EFFECT.Orientation
  875. EFFECT.CFrame = CF(EFFECT.Position,MOVEDIRECTION)*CF(0,0,-MOVESPEED)
  876. EFFECT.Orientation = ORI
  877. end
  878. end
  879. if PLAYSSOUND == false then
  880. EFFECT:remove()
  881. else
  882. SOUND.Stopped:Connect(function()
  883. EFFECT:remove()
  884. end)
  885. end
  886. else
  887. if PLAYSSOUND == false then
  888. EFFECT:remove()
  889. else
  890. repeat Swait() until SOUND.Playing == false
  891. EFFECT:remove()
  892. end
  893. end
  894. end))
  895. end
  896.  
  897. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  898. PRT.Color = C3(0,0,0)
  899. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  900. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  901. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  902. PRT.Color = C3(0,0,0)
  903. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  904. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  905. for i = 1, 16 do
  906. local FACE = CreatePart(3, Character, "Fabric", 0, 0+(i-1)/16.2, "Dark stone grey", "FaceGradient", VT(1.01,0.65,1.01),false)
  907. FACE.Color = C3(0,0,0)
  908. Head:FindFirstChildOfClass("SpecialMesh"):Clone().Parent = FACE
  909. CreateWeldOrSnapOrMotor("Weld", Head, Head, FACE, CF(0,0.45-(i-1)/25,0), CF(0, 0, 0))
  910. end
  911. local EYE = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15,0.15,0.15),false)
  912. MakeForm(EYE,"Ball")
  913. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE, CF(0.15,0.26,-0.55), CF(0, 0, 0))
  914. local EYE2 = CreatePart(3, Character, "Neon", 0, 0, "Maroon", "Eyeball", VT(0.15,0.15,0.15),false)
  915. MakeForm(EYE2,"Ball")
  916. CreateWeldOrSnapOrMotor("Weld", Head, Head, EYE2, CF(-0.15,0.26,-0.55), CF(0, 0, 0))
  917.  
  918. --ParticleEmitter({Speed = 5, Drag = 0, Size1 = 1, Size2 = 5, Lifetime1 = 1, Lifetime2 = 1.5, Parent = Torso, Emit = 100, Offset = 360, Enabled = false})
  919. function ParticleEmitter(Table)
  920. local PRTCL = Particle:Clone()
  921. local Speed = Table.Speed or 5
  922. local Drag = Table.Drag or 0
  923. local Size1 = Table.Size1 or 1
  924. local Size2 = Table.Size2 or 5
  925. local Lifetime1 = Table.Lifetime1 or 1
  926. local Lifetime2 = Table.Lifetime2 or 1.5
  927. local Parent = Table.Parent or Torso
  928. local Emit = Table.Emit or 100
  929. local Offset = Table.Offset or 360
  930. local Acel = Table.Acel or VT(0,0,0)
  931. local Enabled = Table.Enabled or false
  932. PRTCL.Parent = Parent
  933. PRTCL.Size = NumberSequence.new(Size1,Size2)
  934. PRTCL.Lifetime = NumberRange.new(Lifetime1,Lifetime2)
  935. PRTCL.Speed = NumberRange.new(Speed)
  936. PRTCL.VelocitySpread = Offset
  937. PRTCL.Drag = Drag
  938. PRTCL.Acceleration = Acel
  939. if Enabled == false then
  940. PRTCL:Emit(Emit)
  941. Debris:AddItem(PRTCL,Lifetime2)
  942. else
  943. PRTCL.Enabled = true
  944. end
  945. return PRTCL
  946. end
  947.  
  948. 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)})
  949. --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)})
  950.  
  951. for _, c in pairs(Weapon:GetDescendants()) do
  952. if c.ClassName == "Part" and c.Name ~= "Eye" and c.Parent ~= Effects and c.Parent.Parent ~= Effects then
  953. c.Material = "Glass"
  954. c.Color = C3(0,0,0)
  955. elseif c.ClassName == "Part" and c.Name == "Eye" then
  956. c.Color = C3(1,0,0)
  957. c.Material = "Neon"
  958. end
  959. end
  960.  
  961. Weapon.Parent = Character
  962. for _, c in pairs(Weapon:GetChildren()) do
  963. if c.ClassName == "Part" then
  964. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  965. end
  966. end
  967.  
  968. local SKILLTEXTCOLOR = C3(1,0,0)
  969. local SKILLFONT = "Antique"
  970. local SKILLTEXTSIZE = 7
  971.  
  972. Humanoid.Died:connect(function()
  973. ATTACK = true
  974. end)
  975.  
  976. 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")
  977. --[[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")
  978. 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")
  979. local SKILL4FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.525, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 4 Frame")
  980. local SKILL5FRAME = CreateFrame(WEAPONGUI, 1, 2, UD2(0.365, 0, 0.90, 0), UD2(0.26, 0, 0.07, 0), C3(0,0,0), C3(0, 0, 0), "Skill 5 Frame")
  981. ]]
  982. local SKILL1TEXT = CreateLabel(SKILL1FRAME, "[Z] ", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 1")
  983. --[[local SKILL2TEXT = CreateLabel(SKILL2FRAME, "[B] Ability 2", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 2")
  984. local SKILL3TEXT = CreateLabel(SKILL3FRAME, "[C] Ability 3", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 3")
  985. local SKILL4TEXT = CreateLabel(SKILL4FRAME, "[V] Ability 4", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 4")
  986. local SKILL5TEXT = CreateLabel(SKILL5FRAME, "[X] Mercy", SKILLTEXTCOLOR, SKILLTEXTSIZE, SKILLFONT, 0, 2, 0.7, "Text 5")
  987. ]]
  988. function printbye(Name)
  989. 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, "}
  990. warn(MESSAGES[MRANDOM(1,#MESSAGES)]..Name..".")
  991. end
  992.  
  993. workspace.ChildAdded:connect(function(instance)
  994. for BANISH = 1, #TOBANISH do
  995. if TOBANISH[BANISH] ~= nil then
  996. if instance.Name == TOBANISH[BANISH] then
  997. coroutine.resume(coroutine.create(function()
  998. printbye(instance.Name)
  999. instance:ClearAllChildren()
  1000. Debris:AddItem(instance,0.0005)
  1001. end))
  1002. end
  1003. end
  1004. end
  1005. end)
  1006.  
  1007. --//=================================\\
  1008. --|| DAMAGING
  1009. --\\=================================//
  1010.  
  1011.  
  1012. function BulletDetection(FROM,TO,BRUTAL)
  1013. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1014. coroutine.resume(coroutine.create(function()
  1015. if AIMHIT ~= nil then
  1016. if AIMHIT.Parent ~= Character then
  1017. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1018. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1019. if BRUTAL == true then
  1020. Kill(AIMHIT.Parent)
  1021. else
  1022. getbloody(AIMHIT,15)
  1023. AIMHIT.Parent:BreakJoints()
  1024. if AIMHIT.Name == "Head" then
  1025. AIMHIT.Name = "HEADSHOT"
  1026. AIMHIT:remove()
  1027. end
  1028. end
  1029. else
  1030. if BRUTAL == true then
  1031. Kill(AIMHIT.Parent.Parent)
  1032. else
  1033. AIMHIT.Parent.Parent:BreakJoints()
  1034. end
  1035. end
  1036. end
  1037. end
  1038. end
  1039. end))
  1040. SpawnTrail(FROM,AIMPOS)
  1041. return AIMHIT,AIMPOS,NORMAL
  1042. end
  1043.  
  1044. function Banish(Foe)
  1045. if Foe then
  1046. coroutine.resume(coroutine.create(function()
  1047. --if game.Players:FindFirstChild(Foe.Name) then
  1048. table.insert(TOBANISH,Foe.Name)
  1049. printbye(Foe.Name)
  1050. --end
  1051. Foe.Archivable = true
  1052. local CLONE = Foe:Clone()
  1053. Foe:Destroy()
  1054. CLONE.Parent = Effects
  1055. CLONE:BreakJoints()
  1056. local MATERIALS = {"Glass","Neon"}
  1057. for _, c in pairs(CLONE:GetDescendants()) do
  1058. if c:IsA("BasePart") then
  1059. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1060. CreateSound(340722848, c, 10, 1, false)
  1061. end
  1062. c.Anchored = true
  1063. c.Transparency = c.Transparency + 0.2
  1064. c.Material = MATERIALS[MRANDOM(1,2)]
  1065. c.Color = C3(0,1,0)
  1066. if c.ClassName == "MeshPart" then
  1067. c.TextureID = ""
  1068. end
  1069. if c:FindFirstChildOfClass("SpecialMesh") then
  1070. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1071. end
  1072. if c:FindFirstChildOfClass("Decal") then
  1073. c:FindFirstChildOfClass("Decal"):remove()
  1074. end
  1075. c.Name = "Banished"
  1076. c.CanCollide = false
  1077. else
  1078. c:remove()
  1079. end
  1080. end
  1081. local A = false
  1082. for i = 1, 35 do
  1083. if A == false then
  1084. A = true
  1085. elseif A == true then
  1086. A = false
  1087. end
  1088. for _, c in pairs(CLONE:GetDescendants()) do
  1089. if c:IsA("BasePart") then
  1090. c.Anchored = true
  1091. c.Material = MATERIALS[MRANDOM(1,2)]
  1092. c.Transparency = c.Transparency + 0.8/35
  1093. if A == false then
  1094. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1095. elseif A == true then
  1096. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1097. end
  1098. end
  1099. end
  1100. Swait()
  1101. end
  1102. CLONE:remove()
  1103. end))
  1104. end
  1105. end
  1106.  
  1107. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1108. local CHILDREN = workspace:GetDescendants()
  1109. for index, CHILD in pairs(CHILDREN) do
  1110. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1111. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1112. if HUM then
  1113. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1114. if TORSO then
  1115. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1116. if ISBANISH == true then
  1117. Banish(CHILD)
  1118. else
  1119. if ISBANISH == "Gravity" then
  1120. HUM.PlatformStand = true
  1121. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1122. local grav = Instance.new("BodyPosition",TORSO)
  1123. grav.D = 15
  1124. grav.P = 20000
  1125. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1126. grav.position = TORSO.Position
  1127. grav.Name = "V3BanishForce"..Player.Name
  1128. else
  1129. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1130. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1131. end
  1132. else
  1133. HUM.PlatformStand = false
  1134. end
  1135. end
  1136. elseif ISBANISH == "Gravity" then
  1137. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1138. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1139. HUM.PlatformStand = false
  1140. end
  1141. end
  1142. end
  1143. end
  1144. end
  1145. end
  1146. end
  1147.  
  1148. function Kill(Char)
  1149. local NewCharacter = IT("Model",Effects)
  1150. NewCharacter.Name = "Ow im ded ;-;"
  1151. for _, c in pairs(Char:GetDescendants()) do
  1152. if c:IsA("BasePart") and c.Transparency == 0 then
  1153. if c.Parent == Char then
  1154. getbloody(c,5)
  1155. end
  1156. c:BreakJoints()
  1157. c.Material = "Glass"
  1158. c.Color = C3(0.5,0,0)
  1159. c.CanCollide = true
  1160. c.Transparency = 0.3
  1161. if c:FindFirstChildOfClass("SpecialMesh") then
  1162. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1163. end
  1164. if c.Name == "Head" then
  1165. c:ClearAllChildren()
  1166. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1167. end
  1168. if c.ClassName == "MeshPart" then
  1169. c.TextureID = ""
  1170. end
  1171. if c:FindFirstChildOfClass("BodyPosition") then
  1172. c:FindFirstChildOfClass("BodyPosition"):remove()
  1173. end
  1174. if c:FindFirstChildOfClass("ParticleEmitter") then
  1175. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1176. end
  1177. c.Parent = NewCharacter
  1178. c.Name = "DeadPart"
  1179. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1180. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1181. end
  1182. end
  1183. Char:remove()
  1184. Debris:AddItem(NewCharacter,5)
  1185. end
  1186.  
  1187. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1188. local CHILDREN = workspace:GetDescendants()
  1189. for index, CHILD in pairs(CHILDREN) do
  1190. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1191. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1192. if HUM then
  1193. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1194. if TORSO then
  1195. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1196. if BRUTAL == true then
  1197. Kill(CHILD)
  1198. else
  1199. CHILD:BreakJoints()
  1200. end
  1201. end
  1202. end
  1203. end
  1204. end
  1205. end
  1206. end
  1207.  
  1208. function BulletDetection(FROM,TO,BRUTAL)
  1209. local AIMHIT,AIMPOS,NORMAL = CastProperRay(FROM,TO,2000,Character)
  1210. coroutine.resume(coroutine.create(function()
  1211. if AIMHIT ~= nil then
  1212. if AIMHIT.Parent ~= Character then
  1213. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") or AIMHIT.Parent.Parent:FindFirstChildOfClass("Humanoid") then
  1214. if AIMHIT.Parent:FindFirstChildOfClass("Humanoid") then
  1215. if BRUTAL == true then
  1216. Kill(AIMHIT.Parent)
  1217. else
  1218. getbloody(AIMHIT,15)
  1219. AIMHIT.Parent:BreakJoints()
  1220. if AIMHIT.Name == "Head" then
  1221. AIMHIT.Name = "HEADSHOT"
  1222. AIMHIT:remove()
  1223. end
  1224. end
  1225. else
  1226. if BRUTAL == true then
  1227. Kill(AIMHIT.Parent.Parent)
  1228. else
  1229. AIMHIT.Parent.Parent:BreakJoints()
  1230. end
  1231. end
  1232. end
  1233. end
  1234. end
  1235. end))
  1236. SpawnTrail(FROM,AIMPOS)
  1237. return AIMHIT,AIMPOS,NORMAL
  1238. end
  1239.  
  1240. function Banish(Foe)
  1241. if Foe then
  1242. coroutine.resume(coroutine.create(function()
  1243. --if game.Players:FindFirstChild(Foe.Name) then
  1244. table.insert(TOBANISH,Foe.Name)
  1245. printbye(Foe.Name)
  1246. --end
  1247. Foe.Archivable = true
  1248. local CLONE = Foe:Clone()
  1249. Foe:Destroy()
  1250. CLONE.Parent = Effects
  1251. CLONE:BreakJoints()
  1252. local MATERIALS = {"Glass","Neon"}
  1253. for _, c in pairs(CLONE:GetDescendants()) do
  1254. if c:IsA("BasePart") then
  1255. if c.Name == "Torso" or c.Name == "UpperTorso" or c == CLONE.PrimaryPart then
  1256. CreateSound(340722848, c, 10, 1, false)
  1257. end
  1258. c.Anchored = true
  1259. c.Transparency = c.Transparency + 0.2
  1260. c.Material = MATERIALS[MRANDOM(1,2)]
  1261. c.Color = C3(1,0,0)
  1262. if c.ClassName == "MeshPart" then
  1263. c.TextureID = ""
  1264. end
  1265. if c:FindFirstChildOfClass("SpecialMesh") then
  1266. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1267. end
  1268. if c:FindFirstChildOfClass("Decal") then
  1269. c:FindFirstChildOfClass("Decal"):remove()
  1270. end
  1271. c.Name = "Banished"
  1272. c.CanCollide = false
  1273. else
  1274. c:remove()
  1275. end
  1276. end
  1277. local A = false
  1278. for i = 1, 35 do
  1279. if A == false then
  1280. A = true
  1281. elseif A == true then
  1282. A = false
  1283. end
  1284. for _, c in pairs(CLONE:GetDescendants()) do
  1285. if c:IsA("BasePart") then
  1286. c.Anchored = true
  1287. c.Material = MATERIALS[MRANDOM(1,2)]
  1288. c.Transparency = c.Transparency + 0.8/35
  1289. if A == false then
  1290. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1291. elseif A == true then
  1292. c.CFrame = c.CFrame*CF(MRANDOM(-45,45)/45,MRANDOM(-45,45)/45,MRANDOM(-45,45)/45)
  1293. end
  1294. end
  1295. end
  1296. Swait()
  1297. end
  1298. CLONE:remove()
  1299. end))
  1300. end
  1301. end
  1302.  
  1303. function ApplyAoE(POSITION,RANGE,ISBANISH)
  1304. local CHILDREN = workspace:GetDescendants()
  1305. for index, CHILD in pairs(CHILDREN) do
  1306. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1307. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1308. if HUM then
  1309. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1310. if TORSO then
  1311. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1312. if ISBANISH == true then
  1313. Banish(CHILD)
  1314. else
  1315. if ISBANISH == "Gravity" then
  1316. HUM.PlatformStand = true
  1317. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1318. local grav = Instance.new("BodyPosition",TORSO)
  1319. grav.D = 15
  1320. grav.P = 20000
  1321. grav.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1322. grav.position = TORSO.Position
  1323. grav.Name = "V3BanishForce"..Player.Name
  1324. else
  1325. TORSO:FindFirstChild("V3BanishForce"..Player.Name).position = TORSO.Position+VT(0,0.3,0)
  1326. TORSO.RotVelocity = VT(MRANDOM(-25,25),MRANDOM(-25,25),MRANDOM(-25,25))
  1327. end
  1328. else
  1329. HUM.PlatformStand = false
  1330. end
  1331. end
  1332. elseif ISBANISH == "Gravity" then
  1333. if TORSO:FindFirstChild("V3BanishForce"..Player.Name) then
  1334. TORSO:FindFirstChild("V3BanishForce"..Player.Name):remove()
  1335. HUM.PlatformStand = false
  1336. end
  1337. end
  1338. end
  1339. end
  1340. end
  1341. end
  1342. end
  1343.  
  1344. function ApplyAoE(POSITION,RANGE,BRUTAL)
  1345. local CHILDREN = workspace:GetDescendants()
  1346. for index, CHILD in pairs(CHILDREN) do
  1347. if CHILD.ClassName == "Model" and CHILD ~= Character then
  1348. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1349. if HUM then
  1350. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1351. if TORSO then
  1352. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1353. if BRUTAL == true then
  1354. Kill(CHILD)
  1355. else
  1356. CHILD:BreakJoints()
  1357. end
  1358. end
  1359. end
  1360. end
  1361. end
  1362. end
  1363. end
  1364.  
  1365. function Kill(Char)
  1366. local NewCharacter = IT("Model",Effects)
  1367. NewCharacter.Name = "Ow im ded ;-;"
  1368. for _, c in pairs(Char:GetDescendants()) do
  1369. if c:IsA("BasePart") and c.Transparency == 0 then
  1370. if c.Parent == Char then
  1371. getbloody(c,5)
  1372. end
  1373. c:BreakJoints()
  1374. c.Material = "Glass"
  1375. c.Color = C3(1,0,0)
  1376. c.CanCollide = true
  1377. c.Transparency = 0.3
  1378. if c:FindFirstChildOfClass("SpecialMesh") then
  1379. c:FindFirstChildOfClass("SpecialMesh").TextureId = ""
  1380. end
  1381. if c.Name == "Head" then
  1382. c:ClearAllChildren()
  1383. c.Size = VT(c.Size.Y,c.Size.Y,c.Size.Y)
  1384. end
  1385. if c.ClassName == "MeshPart" then
  1386. c.TextureID = ""
  1387. end
  1388. if c:FindFirstChildOfClass("BodyPosition") then
  1389. c:FindFirstChildOfClass("BodyPosition"):remove()
  1390. end
  1391. if c:FindFirstChildOfClass("ParticleEmitter") then
  1392. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1393. end
  1394. c.Parent = NewCharacter
  1395. c.Name = "DeadPart"
  1396. c.Velocity = VT(MRANDOM(-45,45),MRANDOM(-45,45),MRANDOM(-45,45))/15
  1397. c.RotVelocity = VT(MRANDOM(-45,45),MRANDOM(-15,85),MRANDOM(-45,45))
  1398. end
  1399. end
  1400. Char:remove()
  1401. Debris:AddItem(NewCharacter,5)
  1402. end
  1403.  
  1404. function ApplyClock(POSITION,RANGE,MINDMG,MAXDMG,FLING,INSTAKILL)
  1405. local CHILDREN = workspace:GetDescendants()
  1406. for index, CHILD in pairs(CHILDREN) do
  1407. if CHILD.ClassName == "Model" and CHILD ~= Character and CHILD.Parent ~= Effects then
  1408. local HUM = CHILD:FindFirstChildOfClass("Humanoid")
  1409. if HUM then
  1410. local TORSO = CHILD:FindFirstChild("Torso") or CHILD:FindFirstChild("UpperTorso")
  1411. if TORSO then
  1412. if (TORSO.Position - POSITION).Magnitude <= RANGE then
  1413. if INSTAKILL == true then
  1414. CHILD:BreakJoints()
  1415. else
  1416. local DMG = MRANDOM(MINDMG,MAXDMG)
  1417. ApplyDamage(HUM,DMG,TORSO)
  1418. end
  1419. if FLING > 0 then
  1420. for _, c in pairs(CHILD:GetChildren()) do
  1421. if c:IsA("BasePart") then
  1422. local bv = Instance.new("BodyVelocity")
  1423. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  1424. bv.velocity = CF(POSITION,TORSO.Position).lookVector*FLING
  1425. bv.Parent = c
  1426. Debris:AddItem(bv,0.05)
  1427. end
  1428. end
  1429. end
  1430. end
  1431. end
  1432. end
  1433. end
  1434. end
  1435. end
  1436.  
  1437. --//=================================\\
  1438. --|| ATTACK FUNCTIONS AND STUFF
  1439. --\\=================================//
  1440.  
  1441. function TakeOnMe()
  1442. Speed = 16
  1443. local MEME = CreateSound(1171341451, Effects, 2, 1, false)
  1444. ATTACK = true
  1445. Rooted = false
  1446. local DANCE = true
  1447. local KEY = Mouse.KeyDown:connect(function(NEWKEY)
  1448. if NEWKEY == "p" then
  1449. DANCE = false
  1450. end
  1451. end)
  1452. PLAYSONG = false
  1453. while true do
  1454. for i = 1, 15 do
  1455. Swait()
  1456. MEME.Parent = Effects
  1457. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1458. 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)
  1459. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, -0.5) * ANGLES(RAD(0), RAD(0), RAD(-85)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1460. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.15, -0.5) * ANGLES(RAD(-15), RAD(0), RAD(85)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1461. RightHip.C0 = Clerp(RightHip.C0, CF(1, -0.6, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1462. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, 0, -1) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1463. end
  1464. if DANCE == false then
  1465. break
  1466. end
  1467. for i = 1, 15 do
  1468. Swait()
  1469. MEME.Parent = Effects
  1470. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, -0.4+((15-i)/45)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1471. 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)
  1472. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(125), RAD(-45), RAD(15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1473. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(125), RAD(45), RAD(-15)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1474. RightHip.C0 = Clerp(RightHip.C0, CF(1, 0, -1) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1475. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -0.6, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1476. end
  1477. end
  1478. PLAYSONG = true
  1479. KEY:Disconnect()
  1480. MEME:remove()
  1481. Speed = 25
  1482. ATTACK = false
  1483. Rooted = false
  1484. end
  1485.  
  1486. function Morning_Star()
  1487. ATTACK = true
  1488. Rooted = true
  1489. for i=0, 1, 0.1 / Animation_Speed do
  1490. Swait()
  1491. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1492. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1493. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(80), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1494. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1495. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1496. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1497. end
  1498. coroutine.resume(coroutine.create(function()
  1499. local POS = Mouse.Hit.p
  1500. local RAY = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,2000,0))
  1501. MakeForm(RAY,"Cyl")
  1502. local SPHERE = CreatePart(3, Effects, "Neon", 0, 0, "Maroon", "Strike", VT(0,0,0))
  1503. MakeForm(SPHERE,"Ball")
  1504. local SHIELD = CreatePart(3, Effects, "Neon", 0, 0.5, "Maroon", "Strike", VT(0,0,0))
  1505. MakeForm(SHIELD,"Ball")
  1506. SHIELD.CFrame = CF(POS)
  1507. RAY.CFrame = CF(POS)
  1508. SPHERE.CFrame = CF(POS)
  1509. CreateSound(440145570, SPHERE, 10, 0.8, false)
  1510. CreateSound(415700134, SPHERE, 10, 0.8, false)
  1511. for i = 1, 200 do
  1512. Swait()
  1513. 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})
  1514. RAY.Size = RAY.Size + VT(0.05,0,0.05)
  1515. SPHERE.Size = SPHERE.Size + VT(2,2,2)
  1516. SHIELD.Size = SPHERE.Size + VT(3,3,3)
  1517. ApplyAoE(SPHERE.Position,SPHERE.Size.X/2,true)
  1518. end
  1519. for i = 1, 45 do
  1520. Swait()
  1521. RAY.Transparency = RAY.Transparency + 1/45
  1522. SPHERE.Transparency = RAY.Transparency
  1523. SHIELD.Transparency = SPHERE.Transparency + 1/45
  1524. end
  1525. RAY:remove()
  1526. SHIELD:remove()
  1527. SPHERE:remove()
  1528. end))
  1529. for i=0, 1, 0.1 / Animation_Speed do
  1530. Swait()
  1531. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(15)), 1 / Animation_Speed)
  1532. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(-15)), 1 / Animation_Speed)
  1533. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(90)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1534. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1535. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1536. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1537. end
  1538. ATTACK = false
  1539. Rooted = false
  1540. end
  1541.  
  1542. function Taunt()
  1543. ATTACK = true
  1544. local LAUGH = nil
  1545. coroutine.resume(coroutine.create(function()
  1546. repeat
  1547. Swait()
  1548. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1549. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1550. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(12)) * RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1551. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1552. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1553. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1554. until LAUGH ~= nil
  1555. repeat
  1556. Swait()
  1557. LAUGH.Parent = Head
  1558. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0 + 0.35 * COS(SINE / 2)) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1559. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0) * ANGLES(RAD(-35 - 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1560. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5 + 0.05 * SIN(SINE / 12), -0.5) * ANGLES(RAD(180), RAD(10), RAD(-15)) * ANGLES(RAD(20), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1561. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(6), RAD(0), RAD(0)) * LEFTSHOULDERC0, 0.5 / Animation_Speed)
  1562. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1563. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1564. until LAUGH.Playing == false
  1565. ATTACK = false
  1566. end))
  1567. wait(0.1)
  1568. LAUGH = CreateSound(300208779, Head, 10, 1, false)
  1569. sick:Resume()
  1570. end
  1571.  
  1572. function Shell()
  1573. ATTACK = true
  1574. Rooted = false
  1575. local GYRO = IT("BodyGyro",RootPart)
  1576. GYRO.D = 750
  1577. GYRO.P = 20000
  1578. GYRO.MaxTorque = VT(0,40000000,0)
  1579. for i=0, 1, 0.1 / Animation_Speed do
  1580. Swait()
  1581. GYRO.cframe = CF(RootPart.Position,Mouse.Hit.p)
  1582. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1583. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1584. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(90), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1585. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1586. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1587. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1588. end
  1589. GYRO:remove()
  1590. CreateSound(696483710, Gun, 5, 1, false)
  1591. local AIMHIT,AIMPOS,NORMAL = BulletDetection(Gun.Position,Mouse.Hit.p)
  1592. SpawnTrail(Gun.CFrame*CF(1.5,0.5,0).p,AIMPOS)
  1593. WACKYEFFECT({Time = 3, EffectType = "Sphere", Size = VT(1,0.3,0.3), Size2 = VT(1,0,0), Transparency = 0, Transparency2 = 1, CFrame = Gun.CFrame*CF(1.5,0.5,0), MoveToPos = nil, RotationX = 0, RotationY = 0, RotationZ = 0, Material = "Neon", Color = C3(1,1,1), SoundID = nil, SoundPitch = nil, SoundVolume = nil})
  1594. for i=0, 0.3, 0.1 / Animation_Speed do
  1595. Swait()
  1596. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1597. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1598. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(110), RAD(0), RAD(-15)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1599. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1, 0 + 0.025 * COS(SINE / 22), -1) * ANGLES(RAD(0), RAD(0 + 7.5 * SIN(SINE / 12)), RAD(90 - 7.5 * SIN(SINE / 12))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1600. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1601. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1 - 0.05 * COS(SINE / 12), -0.01) * ANGLES(RAD(0), RAD(-80), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1602. end
  1603. ATTACK = false
  1604. Rooted = false
  1605. end
  1606.  
  1607. function Teleport()
  1608. ATTACK = true
  1609. Rooted = false
  1610. for i=0, 0.5, 0.1 / Animation_Speed do
  1611. Swait()
  1612. 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)
  1613. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-25), RAD(12)) * ANGLES(RAD(125 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 1.5 / Animation_Speed)
  1614. end
  1615. for e = 1, #BODY do
  1616. if BODY[e] ~= nil then
  1617. local STUFF = BODY[e]
  1618. local PART = STUFF[1]
  1619. if PART:IsA("BasePart") and PART ~= RootPart and PART.Name ~= "FaceGradient" and PART.Name ~= "Hair" and PART.Transparency ~= 1 then
  1620. local PRT = PART:Clone()
  1621. PRT.Anchored = true
  1622. PRT.CanCollide = false
  1623. PRT.Material = "Neon"
  1624. PRT.Color = C3(1,1,1)
  1625. PRT.Name = "WarpEffect"
  1626. PRT.Parent = Effects
  1627. PRT.CFrame = PART.CFrame
  1628. PRT:BreakJoints()
  1629. if PRT:FindFirstChildOfClass("Sound") then
  1630. PRT:FindFirstChildOfClass("Sound"):remove()
  1631. end
  1632. if PRT:FindFirstChildOfClass("Decal") then
  1633. PRT:FindFirstChildOfClass("Decal"):remove()
  1634. end
  1635. coroutine.resume(coroutine.create(function()
  1636. for i = 1, 100 do
  1637. Swait()
  1638. PRT.Transparency = PRT.Transparency + 1/100
  1639. end
  1640. PRT:remove()
  1641. end))
  1642. end
  1643. end
  1644. end
  1645. CreateSound(217767125, Torso, 10, 1)
  1646. local POS = RootPart.Orientation
  1647. RootPart.CFrame = CF(Mouse.Hit.p+VT(0,6,0))
  1648. RootPart.Orientation = POS
  1649. RootJoint.Parent = RootPart
  1650. for i=0, 0.5, 0.1 / Animation_Speed do
  1651. Swait()
  1652. 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)
  1653. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.6, 0.75, -0.5) * ANGLES(RAD(0), RAD(-15), RAD(12)) * ANGLES(RAD(175 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 2.5 / Animation_Speed)
  1654. end
  1655. for i=0, 0.1, 0.1 / Animation_Speed do
  1656. Swait()
  1657. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1, 0.5, 0.5) * ANGLES(RAD(0), RAD(-45), RAD(12)) * ANGLES(RAD(45 - 2.5 * COS(SINE / 12) + 2.5 * SIN(SINE / 12)), RAD(0), RAD(0)) * RIGHTSHOULDERC0, 0.75 / Animation_Speed)
  1658. end
  1659. ATTACK = false
  1660. Rooted = false
  1661. end
  1662.  
  1663. --//=================================\\
  1664. --|| ASSIGN THINGS TO KEYS
  1665. --\\=================================//
  1666.  
  1667. function MouseDown(Mouse)
  1668. if ATTACK == false then
  1669. end
  1670. end
  1671.  
  1672. function MouseUp(Mouse)
  1673. HOLD = false
  1674. end
  1675.  
  1676. function KeyDown(Key)
  1677. KEYHOLD = true
  1678. if Key == "z" and ATTACK == false then
  1679. Morning_Star()
  1680. end
  1681.  
  1682. if Key == "t" and ATTACK == false then
  1683. Taunt()
  1684. end
  1685.  
  1686. if Key == "c" and ATTACK == false then
  1687. Shell()
  1688. end
  1689.  
  1690. if Key == "q" and ATTACK == false then
  1691. Teleport()
  1692. end
  1693.  
  1694. if Key == "p" and ATTACK == false then
  1695. TakeOnMe()
  1696. end
  1697. end
  1698.  
  1699. function KeyUp(Key)
  1700. KEYHOLD = false
  1701. end
  1702.  
  1703. Mouse.Button1Down:connect(function(NEWKEY)
  1704. MouseDown(NEWKEY)
  1705. end)
  1706. Mouse.Button1Up:connect(function(NEWKEY)
  1707. MouseUp(NEWKEY)
  1708. end)
  1709. Mouse.KeyDown:connect(function(NEWKEY)
  1710. KeyDown(NEWKEY)
  1711. end)
  1712. Mouse.KeyUp:connect(function(NEWKEY)
  1713. KeyUp(NEWKEY)
  1714. end)
  1715.  
  1716. --//=================================\\
  1717. --\\=================================//
  1718.  
  1719.  
  1720. function unanchor()
  1721. if UNANCHOR == true then
  1722. g = Character:GetChildren()
  1723. for i = 1, #g do
  1724. if g[i].ClassName == "Part" then
  1725. g[i].Anchored = false
  1726. end
  1727. end
  1728. end
  1729. end
  1730.  
  1731.  
  1732. --//=================================\\
  1733. --|| WRAP THE WHOLE SCRIPT UP
  1734. --\\=================================//
  1735.  
  1736. Humanoid.Changed:connect(function(Jump)
  1737. if Jump == "Jump" and (Disable_Jump == true) then
  1738. Humanoid.Jump = false
  1739. end
  1740. end)
  1741.  
  1742. local CONNECT = nil
  1743.  
  1744. while true do
  1745. Swait()
  1746. ANIMATE.Parent = nil
  1747. if Character:FindFirstChildOfClass("Humanoid") == nil then
  1748. Humanoid = IT("Humanoid",Character)
  1749. end
  1750. for _,v in next, Humanoid:GetPlayingAnimationTracks() do
  1751. v:Stop();
  1752. end
  1753. SINE = SINE + CHANGE
  1754. local TORSOVELOCITY = (RootPart.Velocity * VT(1, 0, 1)).magnitude
  1755. local TORSOVERTICALVELOCITY = RootPart.Velocity.y
  1756. local HITFLOOR = Raycast(RootPart.Position, (CF(RootPart.Position, RootPart.Position + VT(0, -1, 0))).lookVector, 4, Character)
  1757. local WALKSPEEDVALUE = 6 / (Humanoid.WalkSpeed / 16)
  1758. if ANIM == "Walk" and TORSOVELOCITY > 1 then
  1759. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, -0.15 * COS(SINE / (WALKSPEEDVALUE / 2))) * ANGLES(RAD(0), RAD(0) - RootPart.RotVelocity.Y / 75, RAD(0)), 2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1760. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(2.5 * SIN(SINE / (WALKSPEEDVALUE / 2))), RAD(0), RAD(0) - Head.RotVelocity.Y / 30), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1761. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 0.875*SIZE - 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ 0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(5) - RightLeg.RotVelocity.Y / 75, RAD(0), RAD(25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1762. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 0.875*SIZE + 0.125 * SIN(SINE / WALKSPEEDVALUE)*SIZE - 0.15 * COS(SINE / WALKSPEEDVALUE*2), 0 +0.5+ -0.2 * COS(SINE / WALKSPEEDVALUE)) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(5) + LeftLeg.RotVelocity.Y / 75, RAD(0), RAD(-25+80 * COS(SINE / WALKSPEEDVALUE))), 0.2 * (Humanoid.WalkSpeed / 16) / Animation_Speed)
  1763. elseif (ANIM ~= "Walk") or (TORSOVELOCITY < 1) then
  1764. RootJoint.C1 = Clerp(RootJoint.C1, ROOTC0 * CF(0, 0, 0) * ANGLES(RAD(0), RAD(0), RAD(0)), 0.2 / Animation_Speed)
  1765. Neck.C1 = Clerp(Neck.C1, CF(0, -0.5, 0) * ANGLES(RAD(-90), RAD(0), RAD(180)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1766. RightHip.C1 = Clerp(RightHip.C1, CF(0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1767. LeftHip.C1 = Clerp(LeftHip.C1, CF(-0.5*SIZE, 1*SIZE, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0)), 1 / Animation_Speed)
  1768. end
  1769. if TORSOVERTICALVELOCITY > 1 and HITFLOOR == nil then
  1770. ANIM = "Jump"
  1771. if ATTACK == false then
  1772. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1773. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1774. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1775. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(-40), RAD(0), RAD(-20)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1776. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, -0.3) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(-20)), 0.2 / Animation_Speed)
  1777. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, -0.3) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(-5), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1778. end
  1779. elseif TORSOVERTICALVELOCITY < -1 and HITFLOOR == nil then
  1780. ANIM = "Fall"
  1781. if ATTACK == false then
  1782. Torso.Neck.C0=Clerp(Torso.Neck.C0,NECKC0*ANGLES(0,math.rad(-25),0)*ANGLES(math.rad(0 - 25 * math.cos(SINE / 0.1164)),math.rad(0 - 30 * math.cos(SINE / 0.25)),math.rad(0 - 30 * math.cos(SINE / 0.465))),.1)
  1783. RootJoint.C0 = Clerp(RootJoint.C0, ROOTC0 * CF(0, 0 - 0.05 * COS(SINE / 12), 0 + 0.05 * COS(SINE / 12)) * ANGLES(RAD(-2 + 2 * COS(SINE / 12)), RAD(0), RAD(0)), 0.15 / Animation_Speed)
  1784. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5, 0.5, 0) * ANGLES(RAD(45), RAD(0), RAD(25))* RIGHTSHOULDERC0, 0.15 / Animation_Speed)
  1785. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5, 0.5, 0) * ANGLES(RAD(0), RAD(0), RAD(-60)) * LEFTSHOULDERC0, 0.2 / Animation_Speed)
  1786. RightHip.C0 = Clerp(RightHip.C0, CF(1, -1, 0) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(20)), 0.2 / Animation_Speed)
  1787. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1, -1, 0) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(10)), 0.2 / Animation_Speed)
  1788. end
  1789. elseif TORSOVELOCITY < 1 and HITFLOOR ~= nil then
  1790. ANIM = "Idle"
  1791. if ATTACK == false then
  1792. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, 0 + 0.05*SIZE * COS(SINE / 12)) * ANGLES(RAD(0), RAD(0), RAD(15)) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1))), 1 / Animation_Speed)
  1793. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(0 - 2.5 * SIN(SINE / 12)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 1 / Animation_Speed)
  1794. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(45 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(52 - 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(-70), RAD(0)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1795. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.65*SIZE, 0*SIZE) * ANGLES(RAD(35 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-42 + 11 * COS(SINE / 1))) * ANGLES(RAD(0), RAD(70), RAD(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1796. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE, -1.02*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(20 + 11 * COS(SINE / 1)), RAD(55 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1797. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE - 0.05*SIZE * COS(SINE / 12), -0.01*SIZE) * ANGLES(RAD(10 + 11 * COS(SINE / 1)), RAD(-74 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * ANGLES(RAD(-3), RAD(0), RAD(0)), 1 / Animation_Speed)
  1798. end
  1799. elseif TORSOVELOCITY > 1 and HITFLOOR ~= nil then
  1800. ANIM = "Walk"
  1801. if ATTACK == false then
  1802. RootJoint.C0 = Clerp(RootJoint.C0,ROOTC0 * CF(0*SIZE, 0*SIZE, -0.1*SIZE) * ANGLES(RAD(15 + 3 * COS(SINE / 1)), RAD(0 + 3 * COS(SINE / 1)), RAD(-8*SIN(SINE/WALKSPEEDVALUE))), 1 / Animation_Speed)
  1803. Neck.C0 = Clerp(Neck.C0, NECKC0 * CF(0, 0, 0 + ((1*SIZE) - 1)) * ANGLES(RAD(5), RAD(-2*SIN(SINE/WALKSPEEDVALUE)), RAD(8*SIN(SINE/WALKSPEEDVALUE))), 1/ Animation_Speed)
  1804. RightShoulder.C0 = Clerp(RightShoulder.C0, CF(1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE-0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(22 + 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(-70 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1))) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  1805. LeftShoulder.C0 = Clerp(LeftShoulder.C0, CF(-1.5*SIZE, 0.5*SIZE + 0.15 * COS(SINE/WALKSPEEDVALUE*2), 0.1*SIZE+0.3*SIN(SINE/WALKSPEEDVALUE)) * ANGLES(RAD(35), RAD(0), RAD(-22 - 3* SIN(SINE/WALKSPEEDVALUE))) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(70 + 11 * COS(SINE / 1)), RAD(0 - 11 * COS(SINE / 1))) * LEFTSHOULDERC0, 1 / Animation_Speed)
  1806. RightHip.C0 = Clerp(RightHip.C0, CF(1*SIZE , -1*SIZE, 0*SIZE) * ANGLES(RAD(25), RAD(75), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(-15 + 11 * COS(SINE / 1))), 2 / Animation_Speed)
  1807. LeftHip.C0 = Clerp(LeftHip.C0, CF(-1*SIZE, -1*SIZE, 0*SIZE) * ANGLES(RAD(25), RAD(-75), RAD(0)) * ANGLES(RAD(0 + 11 * COS(SINE / 1)), RAD(0 + 11 * COS(SINE / 1)), RAD(15 - 11 * COS(SINE / 1))), 2 / Animation_Speed)
  1808. end
  1809. end
  1810. unanchor()
  1811. Humanoid.MaxHealth = "inf"
  1812. Humanoid.Health = "inf"
  1813. if Rooted == false then
  1814. Disable_Jump = false
  1815. Humanoid.WalkSpeed = Speed
  1816. elseif Rooted == true then
  1817. Disable_Jump = true
  1818. Humanoid.WalkSpeed = 0
  1819. end
  1820. if Head:FindFirstChild("face") then
  1821. Head.face.Texture = "rbxassetid://403870689"
  1822. end
  1823. for _, c in pairs(Character:GetChildren()) do
  1824. if c.ClassName == "Part" and c.Name ~= "Detail" then
  1825. c.Material = "Fabric"
  1826. if c:FindFirstChildOfClass("ParticleEmitter") then
  1827. c:FindFirstChildOfClass("ParticleEmitter"):remove()
  1828. end
  1829. elseif c.ClassName == "CharacterMesh" or c.ClassName == "Accessory" or c.Name == "Body Colors" then
  1830. c:remove()
  1831. elseif (c.ClassName == "Shirt" or c.ClassName == "Pants") and c.Name ~= "Cloth" then
  1832. c:remove()
  1833. end
  1834. end
  1835. sick.Parent = Torso
  1836. sick:resume()
  1837. sick.Volume = 5
  1838. sick.Pitch = 1
  1839. sick.SoundId = "rbxassetid://"..SONG
  1840. --sick.Name = "BanishV3Music"
  1841. end
  1842.  
  1843. --//=================================\\
  1844. --\\=================================//
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850. --//====================================================\\--
  1851. --|| END OF SCRIPT
  1852. --\\====================================================//--
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement