Xector666X

Untitled

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