Advertisement
masterofdesires1

Untitled

Sep 3rd, 2018
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 111.50 KB | None | 0 0
  1. ---------------
  2. --nightmare beta 2 v1.5--
  3. ----------------------------------------------------------------
  4. print([[
  5. --made by Makhail07
  6. --FE code by Mokiros
  7. --Edited by ozzak1003 --
  8. --YT: https://www.youtube.com/channel/UC38cAdtSgPWJVEHV8zgZi6A--
  9. --Discord: ozzak1003#3275
  10. --------------------------------
  11. hello good sir
  12. Don't leak pls
  13. Enjoy ;)
  14. --------------------------------
  15. ]])
  16. wait(1)
  17. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  18. local Player,game,owner = owner,game
  19. local RealPlayer = Player
  20. do
  21. print("FE Compatibility code by Mokiros")
  22. local rp = RealPlayer
  23. script.Parent = rp.Character
  24.  
  25. --RemoteEvent for communicating
  26. local Event = Instance.new("RemoteEvent")
  27. Event.Name = "UserInput_Event"
  28.  
  29. --Fake event to make stuff like Mouse.KeyDown work
  30. local function fakeEvent()
  31. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  32. t.connect = t.Connect
  33. return t
  34. end
  35.  
  36. --Creating fake input objects with fake variables
  37. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  38. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  39. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  40. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  41. end}
  42. --Merged 2 functions into one by checking amount of arguments
  43. CAS.UnbindAction = CAS.BindAction
  44.  
  45. --This function will trigger the events that have been :Connect()'ed
  46. local function te(self,ev,...)
  47. local t = m[ev]
  48. if t and t._fakeEvent then
  49. for _,f in pairs(t.Functions) do
  50. f(...)
  51. end
  52. end
  53. end
  54. m.TrigEvent = te
  55. UIS.TrigEvent = te
  56.  
  57. Event.OnServerEvent:Connect(function(plr,io)
  58. if plr~=rp then return end
  59. m.Target = io.Target
  60. m.Hit = io.Hit
  61. if not io.isMouse then
  62. local b = io.UserInputState == Enum.UserInputState.Begin
  63. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  64. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  65. end
  66. for _,t in pairs(CAS.Actions) do
  67. for _,k in pairs(t.Keys) do
  68. if k==io.KeyCode then
  69. t.Function(t.Name,io.UserInputState,io)
  70. end
  71. end
  72. end
  73. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  74. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  75. end
  76. end)
  77. Event.Parent = NLS([==[
  78. local Player = game:GetService("Players").LocalPlayer
  79. local Event = script:WaitForChild("UserInput_Event")
  80.  
  81. local Mouse = Player:GetMouse()
  82. local UIS = game:GetService("UserInputService")
  83. local input = function(io,a)
  84. if a then return end
  85. --Since InputObject is a client-side instance, we create and pass table instead
  86. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  87. end
  88. UIS.InputBegan:Connect(input)
  89. UIS.InputEnded:Connect(input)
  90.  
  91. local h,t
  92. --Give the server mouse data 30 times every second, but only if the values changed
  93. --If player is not moving their mouse, client won't fire events
  94. while wait(1/30) do
  95. if h~=Mouse.Hit or t~=Mouse.Target then
  96. h,t=Mouse.Hit,Mouse.Target
  97. Event:FireServer({isMouse=true,Target=t,Hit=h})
  98. end
  99. end]==],Player.Character)
  100.  
  101. ----Sandboxed game object that allows the usage of client-side methods and services
  102. --Real game object
  103. local _rg = game
  104.  
  105. --Metatable for fake service
  106. local fsmt = {
  107. __index = function(self,k)
  108. local s = rawget(self,"_RealService")
  109. if s then return s[k] end
  110. end,
  111. __newindex = function(self,k,v)
  112. local s = rawget(self,"_RealService")
  113. if s then s[k]=v end
  114. end,
  115. __call = function(self,...)
  116. local s = rawget(self,"_RealService")
  117. if s then return s(...) end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  122. return setmetatable(t,fsmt)
  123. end
  124.  
  125. --Fake game object
  126. local g = {
  127. GetService = function(self,s)
  128. return self[s]
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. }
  136. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  137. g.service = g.GetService
  138.  
  139. g.RunService = FakeService({
  140. RenderStepped = _rg:GetService("RunService").Heartbeat,
  141. BindToRenderStep = function(self,name,_,fun)
  142. self._btrs[name] = self.Heartbeat:Connect(fun)
  143. end,
  144. UnbindFromRenderStep = function(self,name)
  145. self._btrs[name]:Disconnect()
  146. end,
  147. },"RunService")
  148.  
  149. setmetatable(g,{
  150. __index=function(self,s)
  151. return _rg:GetService(s) or typeof(_rg[s])=="function"
  152. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  153. end,
  154. __newindex = fsmt.__newindex,
  155. __call = fsmt.__call
  156. })
  157. --Changing owner to fake player object to support owner:GetMouse()
  158. game,owner = g,g.Players.LocalPlayer
  159. end
  160.  
  161.  
  162. Player = owner
  163. PlayerGui = Player.PlayerGui
  164. Cam = workspace.CurrentCamera
  165. Backpack = Player.Backpack
  166. Character = Player.Character
  167. Humanoid = Character.Humanoid
  168. Mouse = Player:GetMouse()
  169. RootPart = Character["HumanoidRootPart"]
  170. Torso = Character["Torso"]
  171. Head = Character["Head"]
  172. RightArm = Character["Right Arm"]
  173. LeftArm = Character["Left Arm"]
  174. RightLeg = Character["Right Leg"]
  175. LeftLeg = Character["Left Leg"]
  176. RootJoint = RootPart["RootJoint"]
  177. Neck = Torso["Neck"]
  178. RightShoulder = Torso["Right Shoulder"]
  179. LeftShoulder = Torso["Left Shoulder"]
  180. RightHip = Torso["Right Hip"]
  181. LeftHip = Torso["Left Hip"]
  182. KEYHOLD = false
  183. IT = Instance.new
  184. CF = CFrame.new
  185. VT = Vector3.new
  186. RAD = math.rad
  187. C3 = Color3.new
  188. UD2 = UDim2.new
  189. BRICKC = BrickColor.new
  190. ANGLES = CFrame.Angles
  191. EULER = CFrame.fromEulerAnglesXYZ
  192. COS = math.cos
  193. ACOS = math.acos
  194. SIN = math.sin
  195. ASIN = math.asin
  196. ABS = math.abs
  197. MRANDOM = math.random
  198. FLOOR = math.floor
  199. local Torsos = {}
  200. Taunts = {907328147,907330619,907332856,907329044,907329893}
  201.  
  202.  
  203. q = Character:GetChildren()
  204. for u = 1, #q do
  205. if q[u].ClassName == "Accessory" or q[u].ClassName == "Hat" then
  206. q[u]:remove()
  207. elseif q[u].ClassName == "Part" and q[u].Name ~= "HumanoidRootPart" then
  208. q[u].Color = Color3.new(0/255, 0/255, 0/255)
  209. end
  210. end
  211.  
  212. for i,v in pairs(Character:GetChildren()) do
  213. if v.ClassName == "Shirt" then
  214. v:Remove()
  215. end
  216. if v.ClassName == "Pants" then
  217. v:Remove()
  218. end
  219. end
  220.  
  221.  
  222.  
  223.  
  224. function CreateMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  225. local NEWMESH = IT(MESH)
  226. if MESH == "SpecialMesh" then
  227. NEWMESH.MeshType = MESHTYPE
  228. if MESHID ~= "nil" and MESHID ~= "" then
  229. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  230. end
  231. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  232. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  233. end
  234. end
  235. NEWMESH.Offset = OFFSET or VT(0, 0, 0)
  236. NEWMESH.Scale = SCALE
  237. NEWMESH.Parent = PARENT
  238. return NEWMESH
  239. end
  240.  
  241. function CreatePart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE)
  242. local NEWPART = IT("Part")
  243. NEWPART.formFactor = FORMFACTOR
  244. NEWPART.Reflectance = REFLECTANCE
  245. NEWPART.Transparency = TRANSPARENCY
  246. NEWPART.CanCollide = false
  247. NEWPART.Locked = true
  248. NEWPART.BrickColor = BRICKC(tostring(BRICKCOLOR))
  249. NEWPART.Name = NAME
  250. NEWPART.Size = SIZE
  251. NEWPART.Position = Torso.Position
  252. NEWPART.Material = MATERIAL
  253. NEWPART:BreakJoints()
  254. NEWPART.Parent = PARENT
  255. return NEWPART
  256. end
  257.  
  258. function particles(art,enabled)
  259. local EyeSizes={
  260. NumberSequenceKeypoint.new(0,.8,0),
  261. NumberSequenceKeypoint.new(1,0,0)
  262. }
  263. local EyeTrans={
  264. NumberSequenceKeypoint.new(0,0,0),
  265. NumberSequenceKeypoint.new(1,1,0)
  266. }
  267. local PE=Instance.new("ParticleEmitter",art)
  268. PE.LightEmission=.4
  269. PE.Size=NumberSequence.new(EyeSizes)
  270. PE.Transparency=NumberSequence.new(EyeTrans)
  271. PE.Lifetime=NumberRange.new(0.5,0.5,0.5)
  272. PE.Rate=360
  273. PE.Speed = NumberRange.new(0,0,0)
  274. PE.Texture="rbxassetid://24419398"
  275. PE.ZOffset = 0
  276. PE.Name = "PE"
  277. PE.Enabled = enabled
  278. end
  279.  
  280. particles(RightArm,true)
  281. particles(LeftArm,true)
  282. particles(RightLeg,true)
  283. particles(LeftLeg,true)
  284. particles(Torso,true)
  285. particles(Head,true)
  286.  
  287.  
  288.  
  289.  
  290. --//=================================\\
  291. --|| CUSTOMIZATION
  292. --\\=================================//
  293.  
  294. Class_Name = "Rannoch"
  295. Weapon_Name = "Add-ons"
  296.  
  297.  
  298. Custom_Color_1 = BRICKC("Really black"); --1st color for the weapon.
  299. Custom_Color_2 = BRICKC("Institutional white"); --2nd color for the weapon.
  300.  
  301. Custom_Color_3 = BRICKC("Black"); --Color for the abilities.
  302. Custom_Color_4 = BRICKC("Institutional white"); --Color for the secondary bar.
  303. Custom_Color_5 = BRICKC("Institutional white"); --Color for the mana bar.
  304. Custom_Color_6 = BRICKC("Institutional white"); --Color for the health bar.
  305. Custom_Color_7 = BRICKC("Institutional white"); --Color for the stun bar.
  306.  
  307. Custom_Color_8 = BRICKC("Institutional white"); --Background for the mana bar.
  308. Custom_Color_9 = BRICKC("Institutional white"); --Background for the secondary mana bar.
  309. Custom_Color_10 = BRICKC("Institutional white"); --Background for the stun bar.
  310. Custom_Color_11 = BRICKC("Institutional white"); --Background for the health bar.
  311. Custom_Color_12 = BRICKC("Institutional white"); --Background for the abilities.
  312.  
  313.  
  314. Player_Size = 1 --Size of the player.
  315. Animation_Speed = 3
  316. Frame_Speed = 1 / 60 -- (1 / 30) OR (1 / 60)
  317.  
  318. local Speed = 16
  319. local Effects2 = {}
  320.  
  321. --//=================================\\
  322. --|| END OF CUSTOMIZATION
  323. --\\=================================//
  324.  
  325. local function weldBetween(a, b)
  326. local weldd = Instance.new("ManualWeld")
  327. weldd.Part0 = a
  328. weldd.Part1 = b
  329. weldd.C0 = CFrame.new()
  330. weldd.C1 = b.CFrame:inverse() * a.CFrame
  331. weldd.Parent = a
  332. return weldd
  333. end
  334.  
  335. function createaccessory(attachmentpart,mesh,texture,scale,offset,color)
  336. local acs = Instance.new("Part")
  337. acs.CanCollide = false
  338. acs.Anchored = false
  339. acs.Size = Vector3.new(0,0,0)
  340. acs.CFrame = attachmentpart.CFrame
  341. acs.Parent = Character
  342. acs.BrickColor = color
  343. local meshs = Instance.new("SpecialMesh")
  344. meshs.MeshId = mesh
  345. meshs.TextureId = texture
  346. meshs.Parent = acs
  347. meshs.Scale = scale
  348. meshs.Offset = offset
  349. weldBetween(attachmentpart,acs)
  350. end
  351.  
  352. function createbodypart(TYPE,COLOR,PART,OFFSET,SIZE)
  353. if TYPE == "Gem" then
  354. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  355. acs.Anchored = false
  356. acs.CanCollide = false
  357. acs.CFrame = PART.CFrame
  358. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "9756362", "", SIZE, OFFSET)
  359. weldBetween(PART,acs)
  360. elseif TYPE == "Skull" then
  361. local acs = CreatePart(3, Character, "Plastic", 0, 0, COLOR, "Part", VT(0,0,0))
  362. acs.Anchored = false
  363. acs.CanCollide = false
  364. acs.CFrame = PART.CFrame
  365. local acs2 = CreateMesh("SpecialMesh", acs, "FileMesh", "4770583", "", SIZE, OFFSET)
  366. weldBetween(PART,acs)
  367. elseif TYPE == "Eye" then
  368. local acs = CreatePart(3, Character, "Neon", 0, 0, COLOR, "Part", VT(0,0,0))
  369. acs.Anchored = false
  370. acs.CanCollide = false
  371. acs.CFrame = PART.CFrame
  372. local acs2 = CreateMesh("SpecialMesh", acs, "Sphere", "", "", SIZE, OFFSET)
  373. weldBetween(PART,acs)
  374. end
  375. end
  376.  
  377. --//=================================\\
  378. --|| USEFUL VALUES
  379. --\\=================================//
  380.  
  381. local ROOTC0 = CF(0, 0, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  382. local NECKC0 = CF(0, 1, 0) * ANGLES(RAD(-90), RAD(0), RAD(180))
  383. local RIGHTSHOULDERC0 = CF(-0.5, 0, 0) * ANGLES(RAD(0), RAD(90), RAD(0))
  384. local LEFTSHOULDERC0 = CF(0.5, 0, 0) * ANGLES(RAD(0), RAD(-90), RAD(0))
  385. local CO1 = 0
  386. local CO2 = 0
  387. local CO3 = 0
  388. local CO4 = 0
  389. local CHANGEDEFENSE = 0
  390. local CHANGEDAMAGE = 0
  391. local CHANGEMOVEMENT = 0
  392. local ANIM = "Idle"
  393. local ATTACK = false
  394. local EQUIPPED = false
  395. local HOLD = false
  396. local COMBO = 1
  397. local LASTPOINT = nil
  398. local BLCF = nil
  399. local SCFR = nil
  400. local STAGGERHITANIM = false
  401. local STAGGERANIM = false
  402. local STUNANIM = false
  403. local CRITCHANCENUMBER = 0
  404. local IDLENUMBER = 0
  405. local DONUMBER = 0
  406. local HANDIDLE = false
  407. local SINE = 0
  408. local CHANGE = 2 / Animation_Speed
  409. local WALKINGANIM = false
  410. local WALK = 0
  411. local DISABLEJUMPING = false
  412. local HASBEENBLOCKED = false
  413. local STUNDELAYNUMBER = 0
  414. local MANADELAYNUMBER = 0
  415. local SECONDARYMANADELAYNUMBER = 0
  416. local ROBLOXIDLEANIMATION = IT("Animation")
  417. ROBLOXIDLEANIMATION.Name = "Roblox Idle Animation"
  418. ROBLOXIDLEANIMATION.AnimationId = "http://www.roblox.com/asset/?id=180435571"
  419. --ROBLOXIDLEANIMATION.Parent = Humanoid
  420. local WEAPONGUI = IT("ScreenGui", nil)
  421. WEAPONGUI.Name = "Weapon GUI"
  422. local WEAPONTOOL = IT("HopperBin", nil)
  423. WEAPONTOOL.Name = Weapon_Name
  424. local Weapon = IT("Model")
  425. Weapon.Name = Weapon_Name
  426. local Effects = IT("Folder", Weapon)
  427. Effects.Name = "Effects"
  428. local ANIMATOR = Humanoid.Animator
  429. local ANIMATE = Character.Animate
  430. local HITPLAYERSOUNDS = {--[["199149137", "199149186", "199149221", "199149235", "199149269", "199149297"--]]"263032172", "263032182", "263032200", "263032221", "263032252", "263033191"}
  431. local HITARMORSOUNDS = {"199149321", "199149338", "199149367", "199149409", "199149452"}
  432. local HITWEAPONSOUNDS = {"199148971", "199149025", "199149072", "199149109", "199149119"}
  433. local HITBLOCKSOUNDS = {"199148933", "199148947"}
  434. local UNANCHOR = true
  435.  
  436. --//=================================\\
  437. --\\=================================//
  438.  
  439. --//=================================\\
  440. --|| STATS
  441. --\\=================================//
  442.  
  443. if Character:FindFirstChild("Stats") ~= nil then
  444. Character:FindFirstChild("Stats").Parent = nil
  445. end
  446.  
  447. local Stats = IT("Folder", nil)
  448. Stats.Name = "Stats"
  449. local ChangeStat = IT("Folder", Stats)
  450. ChangeStat.Name = "ChangeStat"
  451. local Defense = IT("NumberValue", Stats)
  452. Defense.Name = "Defense"
  453. Defense.Value = 1
  454. local Movement = IT("NumberValue", Stats)
  455. Movement.Name = "Movement"
  456. Movement.Value = 1
  457. local Damage = IT("NumberValue", Stats)
  458. Damage.Name = "Damage"
  459. Damage.Value = 1
  460. local Mana = IT("NumberValue", Stats)
  461. Mana.Name = "Mana"
  462. Mana.Value = 0
  463. local SecondaryMana = IT("NumberValue", Stats)
  464. SecondaryMana.Name = "SecondaryMana"
  465. SecondaryMana.Value = 0
  466. local CanCrit = IT("BoolValue", Stats)
  467. CanCrit.Name = "CanCrit"
  468. CanCrit.Value = false
  469. local CritChance = IT("NumberValue", Stats)
  470. CritChance.Name = "CritChance"
  471. CritChance.Value = 20
  472. local CanPenetrateArmor = IT("BoolValue", Stats)
  473. CanPenetrateArmor.Name = "CanPenetrateArmor"
  474. CanPenetrateArmor.Value = false
  475. local AntiTeamKill = IT("BoolValue", Stats)
  476. AntiTeamKill.Name = "AntiTeamKill"
  477. AntiTeamKill.Value = false
  478. local Rooted = IT("BoolValue", Stats)
  479. Rooted.Name = "Rooted"
  480. Rooted.Value = false
  481. local Block = IT("BoolValue", Stats)
  482. Block.Name = "Block"
  483. Block.Value = false
  484. local RecentEnemy = IT("ObjectValue", Stats)
  485. RecentEnemy.Name = "RecentEnemy"
  486. RecentEnemy.Value = nil
  487. local StaggerHit = IT("BoolValue", Stats)
  488. StaggerHit.Name = "StaggerHit"
  489. StaggerHit.Value = false
  490. local Stagger = IT("BoolValue", Stats)
  491. Stagger.Name = "Stagger"
  492. Stagger.Value = false
  493. local Stun = IT("BoolValue", Stats)
  494. Stun.Name = "Stun"
  495. Stun.Value = false
  496. local StunValue = IT("NumberValue", Stats)
  497. StunValue.Name = "StunValue"
  498. StunValue.Value = 0
  499.  
  500.  
  501. --//=================================\\
  502. --\\=================================//
  503.  
  504.  
  505.  
  506.  
  507.  
  508. --//=================================\\
  509. --|| DEBUFFS / BUFFS
  510. --\\=================================//
  511.  
  512. local DEFENSECHANGE1 = IT("NumberValue", ChangeStat)
  513. DEFENSECHANGE1.Name = "ChangeDefense"
  514. DEFENSECHANGE1.Value = 0
  515.  
  516. local MOVEMENTCHANGE1 = IT("NumberValue", nil)
  517. MOVEMENTCHANGE1.Name = "ChangeMovement"
  518. MOVEMENTCHANGE1.Value = 0
  519.  
  520. --//=================================\\
  521. --\\=================================//
  522.  
  523.  
  524.  
  525.  
  526.  
  527. --//=================================\\
  528. --|| SAZERENOS' ARTIFICIAL HEARTBEAT
  529. --\\=================================//
  530.  
  531. ArtificialHB = Instance.new("BindableEvent", script)
  532. ArtificialHB.Name = "ArtificialHB"
  533.  
  534. script:WaitForChild("ArtificialHB")
  535.  
  536. frame = Frame_Speed
  537. tf = 0
  538. allowframeloss = false
  539. tossremainder = false
  540. lastframe = tick()
  541. script.ArtificialHB:Fire()
  542.  
  543. game:GetService("RunService").Heartbeat:connect(function(s, p)
  544. tf = tf + s
  545. if tf >= frame then
  546. if allowframeloss then
  547. script.ArtificialHB:Fire()
  548. lastframe = tick()
  549. else
  550. for i = 1, math.floor(tf / frame) do
  551. script.ArtificialHB:Fire()
  552. end
  553. lastframe = tick()
  554. end
  555. if tossremainder then
  556. tf = 0
  557. else
  558. tf = tf - frame * math.floor(tf / frame)
  559. end
  560. end
  561. end)
  562.  
  563. --//=================================\\
  564. --\\=================================//
  565.  
  566.  
  567.  
  568.  
  569.  
  570. --//=================================\\
  571. --|| SOME FUNCTIONS
  572. --\\=================================//
  573.  
  574. function Raycast(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  575. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  576. end
  577.  
  578. function PositiveAngle(NUMBER)
  579. if NUMBER >= 0 then
  580. NUMBER = 0
  581. end
  582. return NUMBER
  583. end
  584.  
  585. function NegativeAngle(NUMBER)
  586. if NUMBER <= 0 then
  587. NUMBER = 0
  588. end
  589. return NUMBER
  590. end
  591.  
  592. function Swait(NUMBER)
  593. if NUMBER == 0 or NUMBER == nil then
  594. ArtificialHB.Event:wait()
  595. else
  596. for i = 1, NUMBER do
  597. ArtificialHB.Event:wait()
  598. end
  599. end
  600. end
  601.  
  602. function QuaternionFromCFrame(cf)
  603. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  604. local trace = m00 + m11 + m22
  605. if trace > 0 then
  606. local s = math.sqrt(1 + trace)
  607. local recip = 0.5 / s
  608. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  609. else
  610. local i = 0
  611. if m11 > m00 then
  612. i = 1
  613. end
  614. if m22 > (i == 0 and m00 or m11) then
  615. i = 2
  616. end
  617. if i == 0 then
  618. local s = math.sqrt(m00 - m11 - m22 + 1)
  619. local recip = 0.5 / s
  620. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  621. elseif i == 1 then
  622. local s = math.sqrt(m11 - m22 - m00 + 1)
  623. local recip = 0.5 / s
  624. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  625. elseif i == 2 then
  626. local s = math.sqrt(m22 - m00 - m11 + 1)
  627. local recip = 0.5 / s return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  628. end
  629. end
  630. end
  631.  
  632. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  633. local xs, ys, zs = x + x, y + y, z + z
  634. local wx, wy, wz = w * xs, w * ys, w * zs
  635. local xx = x * xs
  636. local xy = x * ys
  637. local xz = x * zs
  638. local yy = y * ys
  639. local yz = y * zs
  640. local zz = z * zs
  641. 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))
  642. end
  643.  
  644. function QuaternionSlerp(a, b, t)
  645. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  646. local startInterp, finishInterp;
  647. if cosTheta >= 0.0001 then
  648. if (1 - cosTheta) > 0.0001 then
  649. local theta = ACOS(cosTheta)
  650. local invSinTheta = 1 / SIN(theta)
  651. startInterp = SIN((1 - t) * theta) * invSinTheta
  652. finishInterp = SIN(t * theta) * invSinTheta
  653. else
  654. startInterp = 1 - t
  655. finishInterp = t
  656. end
  657. else
  658. if (1 + cosTheta) > 0.0001 then
  659. local theta = ACOS(-cosTheta)
  660. local invSinTheta = 1 / SIN(theta)
  661. startInterp = SIN((t - 1) * theta) * invSinTheta
  662. finishInterp = SIN(t * theta) * invSinTheta
  663. else
  664. startInterp = t - 1
  665. finishInterp = t
  666. end
  667. end
  668. 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
  669. end
  670.  
  671. function Clerp(a, b, t)
  672. local qa = {QuaternionFromCFrame(a)}
  673. local qb = {QuaternionFromCFrame(b)}
  674. local ax, ay, az = a.x, a.y, a.z
  675. local bx, by, bz = b.x, b.y, b.z
  676. local _t = 1 - t
  677. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  678. end
  679.  
  680. function CreateFrame(PARENT, TRANSPARENCY, BORDERSIZEPIXEL, POSITION, SIZE, COLOR, BORDERCOLOR, NAME)
  681. local frame = IT("Frame")
  682. frame.BackgroundTransparency = TRANSPARENCY
  683. frame.BorderSizePixel = BORDERSIZEPIXEL
  684. frame.Position = POSITION
  685. frame.Size = SIZE
  686. frame.BackgroundColor3 = COLOR
  687. frame.BorderColor3 = BORDERCOLOR
  688. frame.Name = NAME
  689. frame.Parent = PARENT
  690. return frame
  691. end
  692.  
  693. function CreateLabel(PARENT, TEXT, TEXTCOLOR, TEXTFONTSIZE, TEXTFONT, TRANSPARENCY, BORDERSIZEPIXEL, STROKETRANSPARENCY, NAME)
  694. local label = IT("TextLabel")
  695. label.BackgroundTransparency = 1
  696. label.Size = UD2(1, 0, 1, 0)
  697. label.Position = UD2(0, 0, 0, 0)
  698. label.TextColor3 = C3(255, 255, 255)
  699. label.TextStrokeTransparency = STROKETRANSPARENCY
  700. label.TextTransparency = TRANSPARENCY
  701. label.FontSize = TEXTFONTSIZE
  702. label.Font = TEXTFONT
  703. label.BorderSizePixel = BORDERSIZEPIXEL
  704. label.TextScaled = true
  705. label.Text = TEXT
  706. label.Name = NAME
  707. label.Parent = PARENT
  708. return label
  709. end
  710.  
  711. function NoOutlines(PART)
  712. PART.TopSurface, PART.BottomSurface, PART.LeftSurface, PART.RightSurface, PART.FrontSurface, PART.BackSurface = 10, 10, 10, 10, 10, 10
  713. end
  714.  
  715.  
  716. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  717. local NEWWELD = IT(TYPE)
  718. NEWWELD.Part0 = PART0
  719. NEWWELD.Part1 = PART1
  720. NEWWELD.C0 = C0
  721. NEWWELD.C1 = C1
  722. NEWWELD.Parent = PARENT
  723. return NEWWELD
  724. end
  725.  
  726. function CreateSound(ID, PARENT, VOLUME, PITCH)
  727. coroutine.resume(coroutine.create(function()
  728. local NEWSOUND = IT("Sound", PARENT)
  729. NEWSOUND.Volume = VOLUME
  730. NEWSOUND.Pitch = PITCH
  731. NEWSOUND.SoundId = "http://www.roblox.com/asset/?id="..ID
  732. Swait()
  733. NEWSOUND:play()
  734. game:GetService("Debris"):AddItem(NEWSOUND, 10)
  735. end))
  736. end
  737.  
  738. function MagicSphere(BRICKCOLOR, MATERIAL, CFRAME, ROTATION, OFFSET, X1, Y1, Z1, X2, Y2, Z2, delay)
  739. local EFFECTPART = CreatePart(3, Effects, MATERIAL, 0, 0, BRICKCOLOR, "Effect", VT())
  740. EFFECTPART.Anchored = true
  741. EFFECTPART.CFrame = CFRAME
  742. local EFFECTMESH = CreateMesh("SpecialMesh", EFFECTPART, "Sphere", "", "", VT(X1 * Player_Size, Y1 * Player_Size, Z1 * Player_Size), OFFSET * Player_Size)
  743. game:GetService("Debris"):AddItem(EFFECTPART, 10)
  744. coroutine.resume(coroutine.create(function(PART, MESH)
  745. for i = 0, 1, delay do
  746. Swait()
  747. PART.CFrame = PART.CFrame * ROTATION
  748. PART.Transparency = i
  749. MESH.Scale = MESH.Scale + VT(X2 * Player_Size, Y2 * Player_Size, Z2 * Player_Size)
  750. end
  751. PART.Parent = nil
  752. end), EFFECTPART, EFFECTMESH)
  753. end
  754.  
  755. function killnearest(position,range,maxstrength)
  756. for i,v in ipairs(workspace:GetChildren()) do
  757. local body = v:GetChildren()
  758. for part = 1, #body do
  759. if((body[part].ClassName == "Part" or body[part].ClassName == "MeshPart") and v ~= Character) then
  760. if(body[part].Position - position).Magnitude < range then
  761. if v.ClassName == "Model" then
  762. v:BreakJoints()
  763. end
  764. --table.insert(Effects2,{body[part],"Disappear",0.02,2,2,2,2})
  765. body[part].Velocity = CFrame.new(position,body[part].Position).lookVector*5*maxstrength
  766. end
  767. end
  768. end
  769. if v.ClassName == "Part" then
  770. if v.Anchored == false and (v.Position - position).Magnitude < range then
  771. --table.insert(Effects2,{v,"Disappear",0.02,2,2,2,2})
  772. v.Velocity = CFrame.new(position,v.Position).lookVector*5*maxstrength
  773. end
  774. end
  775. end
  776. end
  777.  
  778.  
  779. function FuriousExplosion(PART,POS,SCALE)
  780. if PART ~= nil then
  781. PART:remove()
  782. end
  783. local FIREBALLCOLORS = {Custom_Color_1,Custom_Color_2,Custom_Color_3}
  784. POZ = POS.Position
  785. POS = CFrame.new(POS.Position)
  786. MagicSphere(Custom_Color_2, "Neon", POS, ANGLES(0, 0, 0), VT(0, 0, 0), SCALE*40,SCALE*40,SCALE*40, -0.2,00.2,00.2, 0.01)
  787. MagicSphere(Custom_Color_3, "Neon", POS, ANGLES(0, 0, 0), VT(0, 0, 0), SCALE*40,SCALE*40,SCALE*40, -0.5,-0.5,-0.5, 0.01)
  788. local POS2 = Instance.new("Part")
  789. POS2.Size = Vector3.new(SCALE,SCALE,SCALE)
  790. POS2.CFrame = CFrame.new(POS.X,POS.Y,POS.Z)
  791. POS2.Anchored = true
  792. POS2.CanCollide = false
  793. POS2.Parent = Effects
  794. POS2.Transparency = 1
  795. killnearest(POZ,SCALE,50)
  796. local PITCH = 2-SCALE/15
  797. if PITCH < 0.5 then
  798. PITCH = 0.5
  799. end
  800. game:GetService("Debris"):AddItem(POS2, 5)
  801. for i = 1, 8 do
  802. MagicSphere(FIREBALLCOLORS[MRANDOM(1, 3)], "Neon", POS * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), SCALE*50,115,115,SCALE*0.85,0,0, 0.02)
  803. end
  804. for i = 1, 12 do
  805. MagicSphere(FIREBALLCOLORS[MRANDOM(1, 3)], "Neon", CF(POZ.X + math.random(-SCALE,SCALE),POZ.Y + math.random(-SCALE,SCALE),POZ.Z + math.random(-SCALE,SCALE)) * ANGLES(RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50)), RAD(MRANDOM(-50, 50))), ANGLES(0, 0, 0), VT(0, 0, 0), 0,0,0,SCALE/5,SCALE/5,SCALE/5, 0.04)
  806. end
  807. CreateSound("636458264", Effects, SCALE/15, PITCH)
  808. local FIREBALLHITSOUNDS = {"331888892", "331666100", "304448425"}
  809. CreateSound("186772924", Effects, SCALE/15, PITCH)
  810. Swait()
  811. for i = 1, 5 do
  812. Swait()
  813. --MagnitudeDamage("", "", "", "", 1, 1, 1, 1, POS2, SCALE*1.3, false, 25, 35, 0, "Normal", RootPart, 0, 0.3, MRANDOM(10, 15), nil, false, true, nil, 0, 0, false, "Damage")
  814. SIZE = MRANDOM(SCALE*32,SCALE*48)
  815. MagicSphere(FIREBALLCOLORS[MRANDOM(1, 3)], "Neon", POS, ANGLES(0, 0, 0), VT(0, 0, 0), SIZE,2,SIZE, 5,0,5, 0.02)
  816. end
  817. end
  818.  
  819. --//=================================\\
  820. --\\=================================//
  821.  
  822.  
  823.  
  824.  
  825. --//=================================\\
  826. --|| RESIZE PLAYER
  827. --\\=================================//
  828.  
  829. if Player_Size ~= 1 then
  830. RootPart.Size = RootPart.Size * Player_Size
  831. Torso.Size = Torso.Size * Player_Size
  832. Head.Size = Head.Size * Player_Size
  833. RightArm.Size = RightArm.Size * Player_Size
  834. LeftArm.Size = LeftArm.Size * Player_Size
  835. RightLeg.Size = RightLeg.Size * Player_Size
  836. LeftLeg.Size = LeftLeg.Size * Player_Size
  837. RootJoint.Parent = RootPart
  838. Neck.Parent = Torso
  839. RightShoulder.Parent = Torso
  840. LeftShoulder.Parent = Torso
  841. RightHip.Parent = Torso
  842. LeftHip.Parent = Torso
  843.  
  844. RootJoint.C0 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  845. RootJoint.C1 = ROOTC0 * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0))
  846. Neck.C0 = NECKC0 * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * ANGLES(RAD(0), RAD(0), RAD(0))
  847. Neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(-90), RAD(0), RAD(180))
  848. RightShoulder.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * RIGHTSHOULDERC0
  849. LeftShoulder.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(0), RAD(0)) * LEFTSHOULDERC0
  850. if Disable_Moving_Arms == false then
  851. RightShoulder.C1 = ANGLES(0, RAD(90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  852. LeftShoulder.C1 = ANGLES(0, RAD(-90), 0) * CF(0 * Player_Size, 0.5 * Player_Size, -0.5)
  853. else
  854. RightShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  855. LeftShoulder.C1 = CF(0 * Player_Size, 0.5 * Player_Size, 0 * Player_Size)
  856. end
  857. RightHip.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  858. LeftHip.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  859. RightHip.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  860. LeftHip.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * ANGLES(RAD(0), RAD(-90), RAD(0)) * ANGLES(RAD(0), RAD(0), RAD(0))
  861. --------------------
  862. end
  863.  
  864.  
  865. --//=================================\\
  866. --|| NEEDED ACCESSORIES
  867. --\\=================================//
  868. ---------
  869. plr = game.Players.LocalPlayer
  870. chara = plr.Character
  871. mouse = plr:GetMouse()
  872. Create = Instance.new
  873. Huge = math.huge
  874.  
  875.  
  876. Player = game:GetService("Players").LocalPlayer
  877. PlayerGui = Player.PlayerGui
  878. Cam = workspace.CurrentCamera
  879. Backpack = Player.Backpack
  880. Character = Player.Character
  881. char = Player.Character
  882. Humanoid = Character.Humanoid
  883. Mouse = Player:GetMouse()
  884. RootPart = Character["HumanoidRootPart"]
  885. Torso = Character["Torso"]
  886. Head = Character["Head"]
  887. RightArm = Character["Right Arm"]
  888. LeftArm = Character["Left Arm"]
  889. RightLeg = Character["Right Leg"]
  890. LeftLeg = Character["Left Leg"]
  891. RootJoint = RootPart["RootJoint"]
  892. Neck = Torso["Neck"]
  893. RightShoulder = Torso["Right Shoulder"]
  894. LeftShoulder = Torso["Left Shoulder"]
  895. RightHip = Torso["Right Hip"]
  896. LeftHip = Torso["Left Hip"]
  897.  
  898. local Orin = "http://www.roblox.com/asset/?id=7074786"
  899. Head.face.Texture = Orin
  900. function weld(a, b, acf)
  901. local w = Instance.new("Weld", a)
  902. w.Part0 = a
  903. w.Part1 = b
  904. w.C0 = acf
  905. end
  906.  
  907. local righteyebrickcolor = "Institutional white"
  908. local reye = Instance.new("Part", char)
  909. reye.CanCollide = false
  910. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  911. reye.Material = "Neon"
  912. reye.Size = Vector3.new(.25,.35,.25)
  913. weld(reye, char.Head, CFrame.new(-0.12,-0.2,0.55), CFrame.new(1,0,0))
  914. m1 = Instance.new("SpecialMesh", reye)
  915. m1.MeshType = "Sphere"
  916. m1.Scale = Vector3.new(0.9,0.9,0.9)
  917. reye.Locked = true
  918. reye.Name = "re"
  919.  
  920.  
  921. local righteyebrickcolor = "Institutional white"
  922. local reye = Instance.new("Part", char)
  923. reye.CanCollide = false
  924. reye.BrickColor = BrickColor.new(righteyebrickcolor)
  925. reye.Material = "Neon"
  926. reye.Size = Vector3.new(.25,.35,.15)
  927. weld(reye, char.Head, CFrame.new(0.15,-0.2,0.55), CFrame.new(1,0,0))
  928. m1 = Instance.new("SpecialMesh", reye)
  929. m1.MeshType = "Sphere"
  930. m1.Scale = Vector3.new(0.9,0.9,0.9)
  931. reye.Locked = true
  932. reye.Name = "re"
  933.  
  934. --//=================================\\
  935. --|| WEAPON CREATION
  936. --\\=================================//
  937.  
  938. if Player_Size ~= 1 then
  939. for _, v in pairs (Weapon:GetChildren()) do
  940. if v.ClassName == "Motor" or v.ClassName == "Weld" or v.ClassName == "Snap" then
  941. local p1 = v.Part1
  942. v.Part1 = nil
  943. local cf1, cf2, cf3, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12 = v.C1:components()
  944. v.C1 = CF(cf1 * Player_Size, cf2 * Player_Size, cf3 * Player_Size, cf4, cf5, cf6, cf7, cf8, cf9, cf10, cf11, cf12)
  945. v.Part1 = p1
  946. elseif v.ClassName == "Part" then
  947. for _, b in pairs (v:GetChildren()) do
  948. if b.ClassName == "SpecialMesh" or b.ClassName == "BlockMesh" then
  949. b.Scale = VT(b.Scale.x * Player_Size, b.Scale.y * Player_Size, b.Scale.z * Player_Size)
  950. end
  951. end
  952. end
  953. end
  954. end
  955.  
  956. for _, c in pairs(Weapon:GetChildren()) do
  957. if c.ClassName == "Part" then
  958. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  959. end
  960. end
  961.  
  962. Weapon.Parent = Character
  963.  
  964. print(Class_Name.." loaded.")
  965.  
  966. if Character:FindFirstChildOfClass("Accessory") then
  967. Character:FindFirstChildOfClass("Accessory"):remove()
  968. elseif Character:FindFirstChildOfClass("Hat") then
  969. Character:FindFirstChildOfClass("Hat"):remove()
  970. end
  971.  
  972. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Hood", VT(1,1,1),false)
  973. PRT.Color = C3(255,255,255)
  974. local HoodWeld = CreateWeldOrSnapOrMotor("Weld", Head, Head, PRT, CF(0,0.2,0), CF(0, 0, 0))
  975. CreateMesh("SpecialMesh", PRT, "FileMesh", "76062497", "", VT(1,1,1)*1.05, VT(0,0,0))
  976. local PRT = CreatePart(3, Character, "Fabric", 0, 0, "Really black", "Scarf", VT(1,1,1),false)
  977. PRT.Color = C3(255,255,255)
  978. CreateWeldOrSnapOrMotor("Weld", Torso, Torso, PRT, CF(0.05,0.4,-0.1) * ANGLES(RAD(-3), RAD(0), RAD(0)), CF(0, 0, 0))
  979. CreateMesh("SpecialMesh", PRT, "FileMesh", "99856331", "", VT(1.1,1,1.1), VT(0,0,0))
  980. --//=================================\\
  981. --\\=================================//
  982.  
  983. local FavIDs = {
  984. 340106355, --Nefl Crystals
  985. 927529620, --Dimension
  986. 876981900, --Fantasy
  987. 398987889, --Ordinary Days
  988. 1117396305, --Oh wait, it's you.
  989. 885996042, --Action Winter Journey
  990. 919231299, --Sprawling Idiot Effigy
  991. 743466274, --Good Day Sunshine
  992. 727411183, --Knife Fight
  993. 1402748531, --The Earth Is Counting On You!
  994. 595230126 --Robot Language
  995. }
  996.  
  997.  
  998.  
  999. --The reality of my life isn't real but a Universe -makhail07
  1000. wait(0.2)
  1001. local plr = game:service'Players'.LocalPlayer
  1002. print('Local User is '..plr.Name)
  1003. print('SCRIPTNAME Loaded')
  1004. print('SCRIPT DESCRIPTION')
  1005. local char = plr.Character
  1006. local hum = char.Humanoid
  1007. local hed = char.Head
  1008. local root = char.HumanoidRootPart
  1009. local rootj = root.RootJoint
  1010. local tors = char.Torso
  1011. local ra = char["Right Arm"]
  1012. local la = char["Left Arm"]
  1013. local rl = char["Right Leg"]
  1014. local ll = char["Left Leg"]
  1015. local neck = tors["Neck"]
  1016. local mouse = plr:GetMouse()
  1017. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  1018. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  1019. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  1020. local maincolor = BrickColor.new("Institutional white")
  1021.  
  1022. -------------------------------------------------------
  1023. --Start Good Stuff--
  1024. -------------------------------------------------------
  1025. cam = game.Workspace.CurrentCamera
  1026. CF = CFrame.new
  1027. angles = CFrame.Angles
  1028. attack = false
  1029. Euler = CFrame.fromEulerAnglesXYZ
  1030. Rad = math.rad
  1031. IT = Instance.new
  1032. BrickC = BrickColor.new
  1033. Cos = math.cos
  1034. Acos = math.acos
  1035. Sin = math.sin
  1036. Asin = math.asin
  1037. Abs = math.abs
  1038. Mrandom = math.random
  1039. Floor = math.floor
  1040. -------------------------------------------------------
  1041. --End Good Stuff--
  1042. -------------------------------------------------------
  1043. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1044. RSH, LSH = nil, nil
  1045. RW = Instance.new("Weld")
  1046. LW = Instance.new("Weld")
  1047. RH = tors["Right Hip"]
  1048. LH = tors["Left Hip"]
  1049. RSH = tors["Right Shoulder"]
  1050. LSH = tors["Left Shoulder"]
  1051. RSH.Parent = nil
  1052. LSH.Parent = nil
  1053. RW.Name = "RW"
  1054. RW.Part0 = tors
  1055. RW.C0 = CF(1.5, 0.5, 0)
  1056. RW.C1 = CF(0, 0.5, 0)
  1057. RW.Part1 = ra
  1058. RW.Parent = tors
  1059. LW.Name = "LW"
  1060. LW.Part0 = tors
  1061. LW.C0 = CF(-1.5, 0.5, 0)
  1062. LW.C1 = CF(0, 0.5, 0)
  1063. LW.Part1 = la
  1064. LW.Parent = tors
  1065. Effects = {}
  1066. -------------------------------------------------------
  1067. --Start HeartBeat--
  1068. -------------------------------------------------------
  1069. ArtificialHB = Instance.new("BindableEvent", script)
  1070. ArtificialHB.Name = "Heartbeat"
  1071. script:WaitForChild("Heartbeat")
  1072.  
  1073. frame = 1 / 60
  1074. tf = 0
  1075. allowframeloss = false
  1076. tossremainder = false
  1077.  
  1078.  
  1079. lastframe = tick()
  1080. script.Heartbeat:Fire()
  1081.  
  1082.  
  1083. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1084. tf = tf + s
  1085. if tf >= frame then
  1086. if allowframeloss then
  1087. script.Heartbeat:Fire()
  1088. lastframe = tick()
  1089. else
  1090. for i = 1, math.floor(tf / frame) do
  1091. script.Heartbeat:Fire()
  1092. end
  1093. lastframe = tick()
  1094. end
  1095. if tossremainder then
  1096. tf = 0
  1097. else
  1098. tf = tf - frame * math.floor(tf / frame)
  1099. end
  1100. end
  1101. end)
  1102. -------------------------------------------------------
  1103. --End HeartBeat--
  1104. -------------------------------------------------------
  1105.  
  1106. -------------------------------------------------------
  1107. --Start Important Functions--
  1108. -------------------------------------------------------
  1109. function swait(num)
  1110. if num == 0 or num == nil then
  1111. game:service("RunService").Stepped:wait(0)
  1112. else
  1113. for i = 0, num do
  1114. game:service("RunService").Stepped:wait(0)
  1115. end
  1116. end
  1117. end
  1118. function thread(f)
  1119. coroutine.resume(coroutine.create(f))
  1120. end
  1121. function clerp(a, b, t)
  1122. local qa = {
  1123. QuaternionFromCFrame(a)
  1124. }
  1125. local qb = {
  1126. QuaternionFromCFrame(b)
  1127. }
  1128. local ax, ay, az = a.x, a.y, a.z
  1129. local bx, by, bz = b.x, b.y, b.z
  1130. local _t = 1 - t
  1131. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  1132. end
  1133. function QuaternionFromCFrame(cf)
  1134. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1135. local trace = m00 + m11 + m22
  1136. if trace > 0 then
  1137. local s = math.sqrt(1 + trace)
  1138. local recip = 0.5 / s
  1139. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  1140. else
  1141. local i = 0
  1142. if m00 < m11 then
  1143. i = 1
  1144. end
  1145. if m22 > (i == 0 and m00 or m11) then
  1146. i = 2
  1147. end
  1148. if i == 0 then
  1149. local s = math.sqrt(m00 - m11 - m22 + 1)
  1150. local recip = 0.5 / s
  1151. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  1152. elseif i == 1 then
  1153. local s = math.sqrt(m11 - m22 - m00 + 1)
  1154. local recip = 0.5 / s
  1155. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  1156. elseif i == 2 then
  1157. local s = math.sqrt(m22 - m00 - m11 + 1)
  1158. local recip = 0.5 / s
  1159. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  1160. end
  1161. end
  1162. end
  1163. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1164. local xs, ys, zs = x + x, y + y, z + z
  1165. local wx, wy, wz = w * xs, w * ys, w * zs
  1166. local xx = x * xs
  1167. local xy = x * ys
  1168. local xz = x * zs
  1169. local yy = y * ys
  1170. local yz = y * zs
  1171. local zz = z * zs
  1172. 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))
  1173. end
  1174. function QuaternionSlerp(a, b, t)
  1175. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  1176. local startInterp, finishInterp
  1177. if cosTheta >= 1.0E-4 then
  1178. if 1 - cosTheta > 1.0E-4 then
  1179. local theta = math.acos(cosTheta)
  1180. local invSinTheta = 1 / Sin(theta)
  1181. startInterp = Sin((1 - t) * theta) * invSinTheta
  1182. finishInterp = Sin(t * theta) * invSinTheta
  1183. else
  1184. startInterp = 1 - t
  1185. finishInterp = t
  1186. end
  1187. elseif 1 + cosTheta > 1.0E-4 then
  1188. local theta = math.acos(-cosTheta)
  1189. local invSinTheta = 1 / Sin(theta)
  1190. startInterp = Sin((t - 1) * theta) * invSinTheta
  1191. finishInterp = Sin(t * theta) * invSinTheta
  1192. else
  1193. startInterp = t - 1
  1194. finishInterp = t
  1195. end
  1196. 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
  1197. end
  1198. function rayCast(Position, Direction, Range, Ignore)
  1199. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  1200. end
  1201. local RbxUtility = LoadLibrary("RbxUtility")
  1202. local Create = RbxUtility.Create
  1203.  
  1204. -------------------------------------------------------
  1205. --Start Damage Function--
  1206. -------------------------------------------------------
  1207. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1208. if hit.Parent == nil then
  1209. return
  1210. end
  1211. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1212. for _, v in pairs(hit.Parent:children()) do
  1213. if v:IsA("Humanoid") then
  1214. h = v
  1215. end
  1216. end
  1217. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  1218.  
  1219. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1220. end
  1221.  
  1222. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1223. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  1224. if hit.Parent.DebounceHit.Value == true then
  1225. return
  1226. end
  1227. end
  1228. if insta == true then
  1229. hit.Parent:FindFirstChild("Head"):BreakJoints()
  1230. end
  1231. local c = Create("ObjectValue"){
  1232. Name = "creator",
  1233. Value = game:service("Players").LocalPlayer,
  1234. Parent = h,
  1235. }
  1236. game:GetService("Debris"):AddItem(c, .5)
  1237. if HitSound ~= nil and HitPitch ~= nil then
  1238. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1239. end
  1240. local Damage = math.random(minim, maxim)
  1241. local blocked = false
  1242. local block = hit.Parent:findFirstChild("Block")
  1243. if block ~= nil then
  1244. if block.className == "IntValue" then
  1245. if block.Value > 0 then
  1246. blocked = true
  1247. block.Value = block.Value - 1
  1248. print(block.Value)
  1249. end
  1250. end
  1251. end
  1252. if blocked == false then
  1253. h.Health = h.Health - Damage
  1254. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1255. else
  1256. h.Health = h.Health - (Damage / 2)
  1257. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  1258. end
  1259. if Type == "Knockdown" then
  1260. local hum = hit.Parent.Humanoid
  1261. hum.PlatformStand = true
  1262. coroutine.resume(coroutine.create(function(HHumanoid)
  1263. swait(1)
  1264. HHumanoid.PlatformStand = false
  1265. end), hum)
  1266. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  1267. local bodvol = Create("BodyVelocity"){
  1268. velocity = angle * knockback,
  1269. P = 5000,
  1270. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1271. Parent = hit,
  1272. }
  1273. local rl = Create("BodyAngularVelocity"){
  1274. P = 3000,
  1275. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1276. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1277. Parent = hit,
  1278. }
  1279. game:GetService("Debris"):AddItem(bodvol, .5)
  1280. game:GetService("Debris"):AddItem(rl, .5)
  1281. elseif Type == "Normal" then
  1282. local vp = Create("BodyVelocity"){
  1283. P = 500,
  1284. maxForce = Vector3.new(math.huge, 0, math.huge),
  1285. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  1286. }
  1287. if knockback > 0 then
  1288. vp.Parent = hit.Parent.Torso
  1289. end
  1290. game:GetService("Debris"):AddItem(vp, .5)
  1291. elseif Type == "Up" then
  1292. local bodyVelocity = Create("BodyVelocity"){
  1293. velocity = Vector3.new(0, 20, 0),
  1294. P = 5000,
  1295. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1296. Parent = hit,
  1297. }
  1298. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  1299. elseif Type == "DarkUp" then
  1300. coroutine.resume(coroutine.create(function()
  1301. for i = 0, 1, 0.1 do
  1302. swait()
  1303. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  1304. end
  1305. end))
  1306. local bodyVelocity = Create("BodyVelocity"){
  1307. velocity = Vector3.new(0, 20, 0),
  1308. P = 5000,
  1309. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  1310. Parent = hit,
  1311. }
  1312. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1313. elseif Type == "Snare" then
  1314. local bp = Create("BodyPosition"){
  1315. P = 2000,
  1316. D = 100,
  1317. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1318. position = hit.Parent.Torso.Position,
  1319. Parent = hit.Parent.Torso,
  1320. }
  1321. game:GetService("Debris"):AddItem(bp, 1)
  1322. elseif Type == "Freeze" then
  1323. local BodPos = Create("BodyPosition"){
  1324. P = 50000,
  1325. D = 1000,
  1326. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1327. position = hit.Parent.Torso.Position,
  1328. Parent = hit.Parent.Torso,
  1329. }
  1330. local BodGy = Create("BodyGyro") {
  1331. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  1332. P = 20e+003,
  1333. Parent = hit.Parent.Torso,
  1334. cframe = hit.Parent.Torso.CFrame,
  1335. }
  1336. hit.Parent.Torso.Anchored = true
  1337. coroutine.resume(coroutine.create(function(Part)
  1338. swait(1.5)
  1339. Part.Anchored = false
  1340. end), hit.Parent.Torso)
  1341. game:GetService("Debris"):AddItem(BodPos, 3)
  1342. game:GetService("Debris"):AddItem(BodGy, 3)
  1343. end
  1344. local debounce = Create("BoolValue"){
  1345. Name = "DebounceHit",
  1346. Parent = hit.Parent,
  1347. Value = true,
  1348. }
  1349. game:GetService("Debris"):AddItem(debounce, Delay)
  1350. c = Create("ObjectValue"){
  1351. Name = "creator",
  1352. Value = Player,
  1353. Parent = h,
  1354. }
  1355. game:GetService("Debris"):AddItem(c, .5)
  1356. end
  1357. end
  1358. -------------------------------------------------------
  1359. --End Damage Function--
  1360. -------------------------------------------------------
  1361.  
  1362. -------------------------------------------------------
  1363. --Start Damage Function Customization--
  1364. -------------------------------------------------------
  1365. function ShowDamage(Pos, Text, Time, Color)
  1366. local Rate = (1 / 30)
  1367. local Pos = (Pos or Vector3.new(0, 0, 0))
  1368. local Text = (Text or "")
  1369. local Time = (Time or 2)
  1370. local Color = (Color or Color3.new(1, 0, 1))
  1371. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1372. EffectPart.Anchored = true
  1373. local BillboardGui = Create("BillboardGui"){
  1374. Size = UDim2.new(3, 0, 3, 0),
  1375. Adornee = EffectPart,
  1376. Parent = EffectPart,
  1377. }
  1378. local TextLabel = Create("TextLabel"){
  1379. BackgroundTransparency = 1,
  1380. Size = UDim2.new(1, 0, 1, 0),
  1381. Text = Text,
  1382. Font = "Bodoni",
  1383. TextColor3 = Color,
  1384. TextScaled = true,
  1385. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  1386. Parent = BillboardGui,
  1387. }
  1388. game.Debris:AddItem(EffectPart, (Time))
  1389. EffectPart.Parent = game:GetService("Workspace")
  1390. delay(0, function()
  1391. local Frames = (Time / Rate)
  1392. for Frame = 1, Frames do
  1393. wait(Rate)
  1394. local Percent = (Frame / Frames)
  1395. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1396. TextLabel.TextTransparency = Percent
  1397. end
  1398. if EffectPart and EffectPart.Parent then
  1399. EffectPart:Destroy()
  1400. end
  1401. end)
  1402. end
  1403. -------------------------------------------------------
  1404. --End Damage Function Customization--
  1405. -------------------------------------------------------
  1406.  
  1407. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1408. for _, c in pairs(workspace:children()) do
  1409. local hum = c:findFirstChild("Humanoid")
  1410. if hum ~= nil then
  1411. local head = c:findFirstChild("Head")
  1412. if head ~= nil then
  1413. local targ = head.Position - Part.Position
  1414. local mag = targ.magnitude
  1415. if magni >= mag and c.Name ~= plr.Name then
  1416. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  1417. end
  1418. end
  1419. end
  1420. end
  1421. end
  1422.  
  1423.  
  1424. CFuncs = {
  1425. Part = {
  1426. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1427. local Part = Create("Part")({
  1428. Parent = Parent,
  1429. Reflectance = Reflectance,
  1430. Transparency = Transparency,
  1431. CanCollide = false,
  1432. Locked = true,
  1433. BrickColor = BrickColor.new(tostring(BColor)),
  1434. Name = Name,
  1435. Size = Size,
  1436. Material = Material
  1437. })
  1438. RemoveOutlines(Part)
  1439. return Part
  1440. end
  1441. },
  1442. Mesh = {
  1443. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1444. local Msh = Create(Mesh)({
  1445. Parent = Part,
  1446. Offset = OffSet,
  1447. Scale = Scale
  1448. })
  1449. if Mesh == "SpecialMesh" then
  1450. Msh.MeshType = MeshType
  1451. Msh.MeshId = MeshId
  1452. end
  1453. return Msh
  1454. end
  1455. },
  1456. Mesh = {
  1457. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1458. local Msh = Create(Mesh)({
  1459. Parent = Part,
  1460. Offset = OffSet,
  1461. Scale = Scale
  1462. })
  1463. if Mesh == "SpecialMesh" then
  1464. Msh.MeshType = MeshType
  1465. Msh.MeshId = MeshId
  1466. end
  1467. return Msh
  1468. end
  1469. },
  1470. Weld = {
  1471. Create = function(Parent, Part0, Part1, C0, C1)
  1472. local Weld = Create("Weld")({
  1473. Parent = Parent,
  1474. Part0 = Part0,
  1475. Part1 = Part1,
  1476. C0 = C0,
  1477. C1 = C1
  1478. })
  1479. return Weld
  1480. end
  1481. },
  1482. Sound = {
  1483. Create = function(id, par, vol, pit)
  1484. coroutine.resume(coroutine.create(function()
  1485. local S = Create("Sound")({
  1486. Volume = vol,
  1487. Pitch = pit or 1,
  1488. SoundId = id,
  1489. Parent = par or workspace
  1490. })
  1491. wait()
  1492. S:play()
  1493. game:GetService("Debris"):AddItem(S, 6)
  1494. end))
  1495. end
  1496. },
  1497. ParticleEmitter = {
  1498. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  1499. local fp = Create("ParticleEmitter")({
  1500. Parent = Parent,
  1501. Color = ColorSequence.new(Color1, Color2),
  1502. LightEmission = LightEmission,
  1503. Size = Size,
  1504. Texture = Texture,
  1505. Transparency = Transparency,
  1506. ZOffset = ZOffset,
  1507. Acceleration = Accel,
  1508. Drag = Drag,
  1509. LockedToPart = LockedToPart,
  1510. VelocityInheritance = VelocityInheritance,
  1511. EmissionDirection = EmissionDirection,
  1512. Enabled = Enabled,
  1513. Lifetime = LifeTime,
  1514. Rate = Rate,
  1515. Rotation = Rotation,
  1516. RotSpeed = RotSpeed,
  1517. Speed = Speed,
  1518. VelocitySpread = VelocitySpread
  1519. })
  1520. return fp
  1521. end
  1522. }
  1523. }
  1524. function RemoveOutlines(part)
  1525. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1526. end
  1527. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1528. local Part = Create("Part")({
  1529. formFactor = FormFactor,
  1530. Parent = Parent,
  1531. Reflectance = Reflectance,
  1532. Transparency = Transparency,
  1533. CanCollide = false,
  1534. Locked = true,
  1535. BrickColor = BrickColor.new(tostring(BColor)),
  1536. Name = Name,
  1537. Size = Size,
  1538. Material = Material
  1539. })
  1540. RemoveOutlines(Part)
  1541. return Part
  1542. end
  1543. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1544. local Msh = Create(Mesh)({
  1545. Parent = Part,
  1546. Offset = OffSet,
  1547. Scale = Scale
  1548. })
  1549. return Msh
  1550. end
  1551. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1552. local Weld = Create("Weld")({
  1553. Parent = Parent,
  1554. Part0 = Part0,
  1555. Part1 = Part1,
  1556. C0 = C0,
  1557. C1 = C1
  1558. })
  1559. return Weld
  1560. end
  1561.  
  1562.  
  1563. -------------------------------------------------------
  1564. --Start Effect Function--
  1565. -------------------------------------------------------
  1566. EffectModel = Instance.new("Model", char)
  1567. Effects = {
  1568. Block = {
  1569. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  1570. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1571. prt.Anchored = true
  1572. prt.CFrame = cframe
  1573. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1574. game:GetService("Debris"):AddItem(prt, 10)
  1575. if Type == 1 or Type == nil then
  1576. table.insert(Effects, {
  1577. prt,
  1578. "Block1",
  1579. delay,
  1580. x3,
  1581. y3,
  1582. z3,
  1583. msh
  1584. })
  1585. elseif Type == 2 then
  1586. table.insert(Effects, {
  1587. prt,
  1588. "Block2",
  1589. delay,
  1590. x3,
  1591. y3,
  1592. z3,
  1593. msh
  1594. })
  1595. else
  1596. table.insert(Effects, {
  1597. prt,
  1598. "Block3",
  1599. delay,
  1600. x3,
  1601. y3,
  1602. z3,
  1603. msh
  1604. })
  1605. end
  1606. end
  1607. },
  1608. Sphere = {
  1609. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1610. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1611. prt.Anchored = true
  1612. prt.CFrame = cframe
  1613. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1614. game:GetService("Debris"):AddItem(prt, 10)
  1615. table.insert(Effects, {
  1616. prt,
  1617. "Cylinder",
  1618. delay,
  1619. x3,
  1620. y3,
  1621. z3,
  1622. msh
  1623. })
  1624. end
  1625. },
  1626. Cylinder = {
  1627. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1628. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1629. prt.Anchored = true
  1630. prt.CFrame = cframe
  1631. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1632. game:GetService("Debris"):AddItem(prt, 10)
  1633. table.insert(Effects, {
  1634. prt,
  1635. "Cylinder",
  1636. delay,
  1637. x3,
  1638. y3,
  1639. z3,
  1640. msh
  1641. })
  1642. end
  1643. },
  1644. Wave = {
  1645. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1646. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  1647. prt.Anchored = true
  1648. prt.CFrame = cframe
  1649. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  1650. game:GetService("Debris"):AddItem(prt, 10)
  1651. table.insert(Effects, {
  1652. prt,
  1653. "Cylinder",
  1654. delay,
  1655. x3 / 60,
  1656. y3 / 60,
  1657. z3 / 60,
  1658. msh
  1659. })
  1660. end
  1661. },
  1662. Ring = {
  1663. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1664. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1665. prt.Anchored = true
  1666. prt.CFrame = cframe
  1667. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1668. game:GetService("Debris"):AddItem(prt, 10)
  1669. table.insert(Effects, {
  1670. prt,
  1671. "Cylinder",
  1672. delay,
  1673. x3,
  1674. y3,
  1675. z3,
  1676. msh
  1677. })
  1678. end
  1679. },
  1680. Break = {
  1681. Create = function(brickcolor, cframe, x1, y1, z1)
  1682. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  1683. prt.Anchored = true
  1684. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1685. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1686. local num = math.random(10, 50) / 1000
  1687. game:GetService("Debris"):AddItem(prt, 10)
  1688. table.insert(Effects, {
  1689. prt,
  1690. "Shatter",
  1691. num,
  1692. prt.CFrame,
  1693. math.random() - math.random(),
  1694. 0,
  1695. math.random(50, 100) / 100
  1696. })
  1697. end
  1698. },
  1699. Spiral = {
  1700. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1701. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1702. prt.Anchored = true
  1703. prt.CFrame = cframe
  1704. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1705. game:GetService("Debris"):AddItem(prt, 10)
  1706. table.insert(Effects, {
  1707. prt,
  1708. "Cylinder",
  1709. delay,
  1710. x3,
  1711. y3,
  1712. z3,
  1713. msh
  1714. })
  1715. end
  1716. },
  1717. Push = {
  1718. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1719. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  1720. prt.Anchored = true
  1721. prt.CFrame = cframe
  1722. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  1723. game:GetService("Debris"):AddItem(prt, 10)
  1724. table.insert(Effects, {
  1725. prt,
  1726. "Cylinder",
  1727. delay,
  1728. x3,
  1729. y3,
  1730. z3,
  1731. msh
  1732. })
  1733. end
  1734. }
  1735. }
  1736. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  1737. local fp = IT("Part")
  1738. fp.formFactor = formfactor
  1739. fp.Parent = parent
  1740. fp.Reflectance = reflectance
  1741. fp.Transparency = transparency
  1742. fp.CanCollide = false
  1743. fp.Locked = true
  1744. fp.BrickColor = brickcolor
  1745. fp.Name = name
  1746. fp.Size = size
  1747. fp.Position = tors.Position
  1748. RemoveOutlines(fp)
  1749. fp.Material = "SmoothPlastic"
  1750. fp:BreakJoints()
  1751. return fp
  1752. end
  1753.  
  1754. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1755. local mesh = IT(Mesh)
  1756. mesh.Parent = part
  1757. if Mesh == "SpecialMesh" then
  1758. mesh.MeshType = meshtype
  1759. if meshid ~= "nil" then
  1760. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  1761. end
  1762. end
  1763. mesh.Offset = offset
  1764. mesh.Scale = scale
  1765. return mesh
  1766. end
  1767.  
  1768. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  1769. local type = type
  1770. local rng = Instance.new("Part", char)
  1771. rng.Anchored = true
  1772. rng.BrickColor = color
  1773. rng.CanCollide = false
  1774. rng.FormFactor = 3
  1775. rng.Name = "Ring"
  1776. rng.Material = "Neon"
  1777. rng.Size = Vector3.new(1, 1, 1)
  1778. rng.Transparency = 0
  1779. rng.TopSurface = 0
  1780. rng.BottomSurface = 0
  1781. rng.CFrame = pos
  1782. local rngm = Instance.new("SpecialMesh", rng)
  1783. rngm.MeshType = MType
  1784. rngm.Scale = scale
  1785. local scaler2 = 1
  1786. if type == "Add" then
  1787. scaler2 = 1 * value
  1788. elseif type == "Divide" then
  1789. scaler2 = 1 / value
  1790. end
  1791. coroutine.resume(coroutine.create(function()
  1792. for i = 0, 10 / bonuspeed, 0.1 do
  1793. swait()
  1794. if type == "Add" then
  1795. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1796. elseif type == "Divide" then
  1797. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1798. end
  1799. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1800. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  1801. end
  1802. rng:Destroy()
  1803. end))
  1804. end
  1805.  
  1806. function Eviscerate(dude)
  1807. if dude.Name ~= char then
  1808. local bgf = IT("BodyGyro", dude.Head)
  1809. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1810. local val = IT("BoolValue", dude)
  1811. val.Name = "IsHit"
  1812. local ds = coroutine.wrap(function()
  1813. dude:WaitForChild("Head"):BreakJoints()
  1814. wait(0.5)
  1815. target = nil
  1816. coroutine.resume(coroutine.create(function()
  1817. for i, v in pairs(dude:GetChildren()) do
  1818. if v:IsA("Accessory") then
  1819. v:Destroy()
  1820. end
  1821. if v:IsA("Humanoid") then
  1822. v:Destroy()
  1823. end
  1824. if v:IsA("CharacterMesh") then
  1825. v:Destroy()
  1826. end
  1827. if v:IsA("Model") then
  1828. v:Destroy()
  1829. end
  1830. if v:IsA("Part") or v:IsA("MeshPart") then
  1831. for x, o in pairs(v:GetChildren()) do
  1832. if o:IsA("Decal") then
  1833. o:Destroy()
  1834. end
  1835. end
  1836. coroutine.resume(coroutine.create(function()
  1837. v.Material = "Neon"
  1838. v.CanCollide = false
  1839. local PartEmmit1 = IT("ParticleEmitter", v)
  1840. PartEmmit1.LightEmission = 1
  1841. PartEmmit1.Texture = "rbxassetid://284205403"
  1842. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1843. PartEmmit1.Rate = 150
  1844. PartEmmit1.Lifetime = NumberRange.new(1)
  1845. PartEmmit1.Size = NumberSequence.new({
  1846. NumberSequenceKeypoint.new(0, 0.75, 0),
  1847. NumberSequenceKeypoint.new(1, 0, 0)
  1848. })
  1849. PartEmmit1.Transparency = NumberSequence.new({
  1850. NumberSequenceKeypoint.new(0, 0, 0),
  1851. NumberSequenceKeypoint.new(1, 1, 0)
  1852. })
  1853. PartEmmit1.Speed = NumberRange.new(0, 0)
  1854. PartEmmit1.VelocitySpread = 30000
  1855. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1856. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1857. local BodPoss = IT("BodyPosition", v)
  1858. BodPoss.P = 3000
  1859. BodPoss.D = 1000
  1860. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1861. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1862. v.Color = maincolor.Color
  1863. coroutine.resume(coroutine.create(function()
  1864. for i = 0, 49 do
  1865. swait(1)
  1866. v.Transparency = v.Transparency + 0.08
  1867. end
  1868. wait(0.5)
  1869. PartEmmit1.Enabled = false
  1870. wait(3)
  1871. v:Destroy()
  1872. dude:Destroy()
  1873. end))
  1874. end))
  1875. end
  1876. end
  1877. end))
  1878. end)
  1879. ds()
  1880. end
  1881. end
  1882.  
  1883. function FindNearestHead(Position, Distance, SinglePlayer)
  1884. if SinglePlayer then
  1885. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1886. end
  1887. local List = {}
  1888. for i, v in pairs(workspace:GetChildren()) do
  1889. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1890. table.insert(List, v)
  1891. end
  1892. end
  1893. return List
  1894. end
  1895.  
  1896. IT = Instance.new
  1897. local GodMode = {}
  1898.  
  1899. for _, c in pairs(Character:GetDescendants()) do
  1900. if c:IsA("BasePart") and c.Name ~= "Handle" then
  1901. if c ~= RootPart and c ~= Torso and c ~= Head and c ~= RightArm and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg then
  1902. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  1903. end
  1904. table.insert(GodMode,{c,c.Parent,c.Material,c.Transparency})
  1905. elseif c:IsA("JointInstance") then
  1906. table.insert(GodMode,{c,c.Parent,nil,nil,nil})
  1907. end
  1908. end
  1909.  
  1910. for e = 1, #GodMode do
  1911. if GodMode[e] ~= nil then
  1912. local STUFF = GodMode[e]
  1913. local PART = STUFF[1]
  1914. local PARENT = STUFF[2]
  1915. local MATERIAL = STUFF[3]
  1916. local COLOR = STUFF[4]
  1917. local TRANSPARENCY = STUFF[5]
  1918. if PART.ClassName == "Part" and PART ~= RootPart then
  1919. PART.Material = MATERIAL
  1920.  
  1921. PART.Transparency = TRANSPARENCY
  1922. end
  1923. PART.AncestryChanged:Connect(function()
  1924. PART.Parent = PARENT
  1925. end)
  1926. end
  1927. end
  1928.  
  1929. function RestoreAllBodyParts()
  1930. Character.Parent = workspace
  1931. for e = 1, #GodMode do
  1932. if GodMode[e] ~= nil then
  1933. local STUFF = GodMode[e]
  1934. local PART = STUFF[1]
  1935. local PARENT = STUFF[2]
  1936. local MATERIAL = STUFF[3]
  1937. local TRANSPARENCY = STUFF[5]
  1938. if PART.ClassName == "Part" and PART ~= RootPart then
  1939. PART.Material = MATERIAL
  1940. --- Restore()
  1941. --- Also Regen All Effects
  1942. --- Get full script Regen
  1943. --- Procceed with Restore function
  1944. PART.Transparency = TRANSPARENCY
  1945. end
  1946. if PART.Parent ~= PARENT then
  1947. Humanoid:remove()
  1948. Humanoid:restore()
  1949. PART.Parent = PARENT
  1950. PART.Parent:restore()
  1951. Humanoid = IT("Humanoid",Character)
  1952. end
  1953. end
  1954. end
  1955. end
  1956.  
  1957.  
  1958. function AntiDeath()
  1959. Character.Parent = workspace
  1960. for e = 1, #GodMode do
  1961. if GodMode[e] ~= nil then
  1962. local STUFF = GodMode[e]
  1963. local PART = STUFF[1]
  1964. local PARENT = STUFF[2]
  1965. local MATERIAL = STUFF[3]
  1966. local COLOR = STUFF[4]
  1967. local TRANSPARENCY = STUFF[5]
  1968. if PART.ClassName == "Part" and PART ~= RootPart then
  1969. PART.Material = MATERIAL
  1970.  
  1971. PART.Transparency = TRANSPARENCY
  1972. end
  1973. if PART.Parent ~= PARENT then
  1974. Humanoid:remove()
  1975. PART.Parent = PARENT
  1976. Humanoid = IT("Humanoid",Character)
  1977. end
  1978. end
  1979. end
  1980. end
  1981.  
  1982.  
  1983. Humanoid.Died:connect(function()
  1984. AntiDeath()
  1985. RestoreAllBodyParts()
  1986. Humanoid.MaxHealth = 1e9999
  1987. Humanoid.Health = 1e9999
  1988. end)
  1989.  
  1990. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1991. local type = type
  1992. local rng = Instance.new("Part", char)
  1993. rng.Anchored = true
  1994. rng.BrickColor = color
  1995. rng.CanCollide = false
  1996. rng.FormFactor = 3
  1997. rng.Name = "Ring"
  1998. rng.Material = "Neon"
  1999. rng.Size = Vector3.new(1, 1, 1)
  2000. rng.Transparency = 0
  2001. rng.TopSurface = 0
  2002. rng.BottomSurface = 0
  2003. rng.CFrame = pos
  2004. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  2005. local rngm = Instance.new("SpecialMesh", rng)
  2006. rngm.MeshType = MType
  2007. rngm.Scale = Vector3.new(x1, y1, z1)
  2008. local scaler2 = 1
  2009. local speeder = FastSpeed
  2010. if type == "Add" then
  2011. scaler2 = 1 * value
  2012. elseif type == "Divide" then
  2013. scaler2 = 1 / value
  2014. end
  2015. coroutine.resume(coroutine.create(function()
  2016. for i = 0, 10 / bonuspeed, 0.1 do
  2017. swait()
  2018. if type == "Add" then
  2019. scaler2 = scaler2 - 0.01 * value / bonuspeed
  2020. elseif type == "Divide" then
  2021. scaler2 = scaler2 - 0.01 / value * bonuspeed
  2022. end
  2023. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  2024. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  2025. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  2026. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  2027. end
  2028. rng:Destroy()
  2029. end))
  2030. end
  2031.  
  2032. function SoulSteal(dude)
  2033. if dude.Name ~= char then
  2034. local bgf = IT("BodyGyro", dude.Head)
  2035. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  2036. local val = IT("BoolValue", dude)
  2037. val.Name = "IsHit"
  2038. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  2039. local soulst = coroutine.wrap(function()
  2040. local soul = Instance.new("Part",dude)
  2041. soul.Size = Vector3.new(1,1,1)
  2042. soul.CanCollide = false
  2043. soul.Anchored = false
  2044. soul.Position = torso.Position
  2045. soul.Transparency = 1
  2046. local PartEmmit1 = IT("ParticleEmitter", soul)
  2047. PartEmmit1.LightEmission = 1
  2048. PartEmmit1.Texture = "rbxassetid://569507414"
  2049. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2050. PartEmmit1.Rate = 250
  2051. PartEmmit1.Lifetime = NumberRange.new(1.6)
  2052. PartEmmit1.Size = NumberSequence.new({
  2053. NumberSequenceKeypoint.new(0, 1, 0),
  2054. NumberSequenceKeypoint.new(1, 0, 0)
  2055. })
  2056. PartEmmit1.Transparency = NumberSequence.new({
  2057. NumberSequenceKeypoint.new(0, 0, 0),
  2058. NumberSequenceKeypoint.new(1, 1, 0)
  2059. })
  2060. PartEmmit1.Speed = NumberRange.new(0, 0)
  2061. PartEmmit1.VelocitySpread = 30000
  2062. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  2063. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  2064. local BodPoss = IT("BodyPosition", soul)
  2065. BodPoss.P = 3000
  2066. BodPoss.D = 1000
  2067. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2068. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  2069. wait(1.6)
  2070. soul.Touched:connect(function(hit)
  2071. if hit.Parent == char then
  2072. soul:Destroy()
  2073. end
  2074. end)
  2075. wait(1.2)
  2076. while soul do
  2077. swait()
  2078. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  2079. BodPoss.Position = tors.Position
  2080. end
  2081. end)
  2082. soulst()
  2083. end
  2084. end
  2085. function FaceMouse()
  2086. local Cam = workspace.CurrentCamera
  2087. return {
  2088. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2089. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2090. }
  2091. end
  2092.  
  2093. BTAUNT = Instance.new("Sound", tors)
  2094. BTAUNT.SoundId = "http://www.roblox.com/asset/?id=1837107463"
  2095. BTAUNT.Volume = 5
  2096. BTAUNT.Pitch = 1
  2097. BTAUNT.Looped = true
  2098. BTAUNT.TimePosition = 0.2
  2099. ------------------------------------------------------
  2100. --End Effect Function--
  2101. -------------------------------------------------------
  2102. local asd = Instance.new("ParticleEmitter")
  2103. asd.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2104. asd.LightEmission = .1
  2105. asd.Size = NumberSequence.new(0.2)
  2106. asd.Texture = "http://www.roblox.com/asset/?ID=291880914"
  2107. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2108. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2109. asd.Transparency = bbb
  2110. asd.Size = aaa
  2111. asd.ZOffset = .9
  2112. asd.Acceleration = Vector3.new(0, -5, 0)
  2113. asd.LockedToPart = false
  2114. asd.EmissionDirection = "Back"
  2115. asd.Lifetime = NumberRange.new(1, 2)
  2116. asd.Rotation = NumberRange.new(-100, 100)
  2117. asd.RotSpeed = NumberRange.new(-100, 100)
  2118. asd.Speed = NumberRange.new(2)
  2119. asd.Enabled = false
  2120. asd.VelocitySpread = 10000
  2121.  
  2122. function bleed(victim,amount)
  2123. local prtcl = asd:Clone()
  2124. prtcl.Parent = victim
  2125. prtcl:Emit(amount)
  2126. end
  2127.  
  2128. function Cso(ID, PARENT, VOLUME, PITCH)
  2129. local NSound = nil
  2130. coroutine.resume(coroutine.create(function()
  2131. NSound = IT("Sound", PARENT)
  2132. NSound.Volume = VOLUME
  2133. NSound.Pitch = PITCH
  2134. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  2135. swait()
  2136. NSound:play()
  2137. game:GetService("Debris"):AddItem(NSound, 50)
  2138. end))
  2139. return NSound
  2140. end
  2141. function CameraEnshaking(Length, Intensity)
  2142. coroutine.resume(coroutine.create(function()
  2143. local intensity = 1 * Intensity
  2144. local rotM = 0.01 * Intensity
  2145. for i = 0, Length, 0.1 do
  2146. swait()
  2147. intensity = intensity - 0.05 * Intensity / Length
  2148. rotM = rotM - 5.0E-4 * Intensity / Length
  2149. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  2150. cam.CFrame = cam.CFrame * CF(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity))) * Euler(Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM, Rad(Mrandom(-intensity, intensity)) * rotM)
  2151. end
  2152. hum.CameraOffset = Vector3.new(0, 0, 0)
  2153. end))
  2154. end
  2155. -------------------------------------------------------
  2156. --End Important Functions--
  2157. -------------------------------------------------------
  2158.  
  2159.  
  2160. -------------------------------------------------------
  2161. --Start Customization--
  2162. -------------------------------------------------------
  2163. local Player_Size = 1
  2164. if Player_Size ~= 1 then
  2165. root.Size = root.Size * Player_Size
  2166. tors.Size = tors.Size * Player_Size
  2167. hed.Size = hed.Size * Player_Size
  2168. ra.Size = ra.Size * Player_Size
  2169. la.Size = la.Size * Player_Size
  2170. rl.Size = rl.Size * Player_Size
  2171. ll.Size = ll.Size * Player_Size
  2172. ----------------------------------------------------------------------------------
  2173. rootj.Parent = root
  2174. neck.Parent = tors
  2175. RW.Parent = tors
  2176. LW.Parent = tors
  2177. RH.Parent = tors
  2178. LH.Parent = tors
  2179. ----------------------------------------------------------------------------------
  2180. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2181. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  2182. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  2183. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  2184. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  2185. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  2186. ----------------------------------------------------------------------------------
  2187. RH.C0 = CF(1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2188. LH.C0 = CF(-1 * Player_Size, -1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2189. RH.C1 = CF(0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2190. LH.C1 = CF(-0.5 * Player_Size, 1 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(-90), Rad(0)) * angles(Rad(0), Rad(0), Rad(0))
  2191. --hat.Parent = Character
  2192. end
  2193. ----------------------------------------------------------------------------------
  2194. local equipped = false
  2195. local idle = 0
  2196. local change = 1
  2197. local val = 0
  2198. local toim = 0
  2199. local idleanim = 0.4
  2200. local sine = 0
  2201. local Sit = 1
  2202. ----------------------------------------------------------------------------------
  2203. hum.WalkSpeed = 8
  2204. hum.JumpPower = 57
  2205. hum.Animator.Parent = nil
  2206. ----------------------------------------------------------------------------------
  2207. wait(1)
  2208. player = game.Players.LocalPlayer
  2209. torso = player.Character:WaitForChild("Torso")
  2210. mouse = player:GetMouse()
  2211.  
  2212. mouse.KeyDown:connect(function(key)
  2213. if key == "t" then
  2214. Cso("289556450", hed, 3.5, 1)
  2215. dist = (torso.Position - mouse.Hit.p).magnitude
  2216. if dist <= 10000 then
  2217. torso.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,3,0)
  2218. end
  2219. end
  2220. end)
  2221. -------------------------------------------------------
  2222. --End Customization--
  2223. -------------------------------------------------------
  2224. local Blobby = Instance.new("Part", char)
  2225. Blobby.Name = "Blob"
  2226. Blobby.CanCollide = false
  2227. Blobby.BrickColor = BrickColor.new("Really black")
  2228. Blobby.Transparency = 0
  2229. Blobby.Material = "Plastic"
  2230. Blobby.Size = Vector3.new(1, 1, 2)
  2231. Blobby.TopSurface = Enum.SurfaceType.Smooth
  2232. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  2233.  
  2234. local Weld = Instance.new("Weld", Blobby)
  2235. Weld.Part0 = ra
  2236. Weld.Part1 = Blobby
  2237. Weld.C1 = CFrame.new(0, -2, 1.1)
  2238. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  2239.  
  2240. local M2 = Instance.new("SpecialMesh")
  2241. M2.Parent = Blobby
  2242. M2.MeshId = "http://www.roblox.com/asset/?id=871489340"
  2243. M2.TextureId = "http://www.roblox.com/asset/?id=299682347"
  2244. M2.Scale = Vector3.new(1, 1, 1)
  2245.  
  2246. --[[local naeeym2 = Instance.new("BillboardGui",char)
  2247. naeeym2.AlwaysOnTop = true
  2248. naeeym2.Size = UDim2.new(5,35,2,15)
  2249. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  2250. naeeym2.Adornee = hed
  2251. naeeym2.Name = "Name"
  2252. --naeeym2.PlayerToHideFrom = Player
  2253. local tecks2 = Instance.new("TextLabel",naeeym2)
  2254. tecks2.BackgroundTransparency = 1
  2255. tecks2.TextScaled = true
  2256. tecks2.BorderSizePixel = 0
  2257. tecks2.Text = "Fight Me"
  2258. tecks2.Font = Enum.Font.Bodoni
  2259. tecks2.TextSize = 30
  2260. tecks2.TextStrokeTransparency = 0
  2261. tecks2.TextColor3 = Color3.new(0, 0, 0)
  2262. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  2263. tecks2.Size = UDim2.new(1,0,0.5,0)
  2264. tecks2.Parent = naeeym2]]
  2265. -------------------------------------------------------
  2266. --Start Attacks N Stuff--
  2267. -------------------------------------------------------
  2268. local naeeym2 = Instance.new("BillboardGui",char)
  2269. naeeym2.AlwaysOnTop = true
  2270. naeeym2.Size = UDim2.new(5,35,2,35)
  2271. naeeym2.StudsOffset = Vector3.new(0,2,0)
  2272. naeeym2.Adornee = hed
  2273. naeeym2.Name = "Name"
  2274.  
  2275. local tecks2 = Instance.new("TextLabel",naeeym2)
  2276. tecks2.BackgroundTransparency = 1
  2277. tecks2.TextScaled = true
  2278. tecks2.BorderSizePixel = 0
  2279. tecks2.Text = "im dead"
  2280. tecks2.Font = "Garamond"
  2281. tecks2.TextSize = 30
  2282. tecks2.TextStrokeTransparency = 0
  2283. tecks2.TextColor3 = BrickColor.new('Really black').Color
  2284. tecks2.TextStrokeColor3 = BrickColor.new('Really black').Color
  2285. tecks2.Size = UDim2.new(1,0,0.5,0)
  2286. tecks2.Parent = naeeym2
  2287. textfag = tecks2
  2288. tecks2.Text = "Edited by ozzak1003"
  2289. wait(2)
  2290. tecks2.Text = "Don't leak please :)"
  2291. wait(1)
  2292. tecks2.Text = "Nightmare"
  2293. coroutine.resume(coroutine.create(function()
  2294. while textfag ~= nil do
  2295. swait()
  2296. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  2297. textfag.Rotation = math.random(-3,3)
  2298. end
  2299. end))
  2300.  
  2301.  
  2302. function chatfunc(text, color)
  2303. local chat = coroutine.wrap(function()
  2304. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  2305. char:FindFirstChild("TalkingBillBoard"):destroy()
  2306. end
  2307. local naeeym2 = Instance.new("BillboardGui", char)
  2308. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  2309. naeeym2.StudsOffset = Vector3.new(0, 3, 0)
  2310. naeeym2.Adornee = hed
  2311. naeeym2.Name = "TalkingBillBoard"
  2312. local tecks2 = Instance.new("TextLabel", naeeym2)
  2313. tecks2.BackgroundTransparency = 1
  2314. tecks2.BorderSizePixel = 0
  2315. tecks2.Text = ""
  2316. tecks2.Font = "SciFi"
  2317. tecks2.TextSize = 30
  2318. tecks2.TextStrokeTransparency = 0
  2319. tecks2.TextColor3 = color
  2320. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  2321. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  2322. local tecks3 = Instance.new("TextLabel", naeeym2)
  2323. tecks3.BackgroundTransparency = 1
  2324. tecks3.BorderSizePixel = 0
  2325. tecks3.Text = ""
  2326. tecks3.Font = "SciFi"
  2327. tecks3.TextSize = 30
  2328. tecks3.TextStrokeTransparency = 0
  2329. tecks3.TextColor3 = Color3.new(0, 0, 0)
  2330. tecks3.TextStrokeColor3 = color
  2331. tecks3.Size = UDim2.new(1, 0, 0.5, 0)
  2332. coroutine.resume(coroutine.create(function()
  2333. while true do
  2334. swait(1)
  2335. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2336. tecks3.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  2337. tecks2.Rotation = math.random(-5, 5)
  2338. tecks3.Rotation = math.random(-5, 5)
  2339. end
  2340. end))
  2341. for i = 1, string.len(text) do
  2342. CFuncs.Sound.Create("rbxassetid://274118116", char, 0.25, 0.115)
  2343. tecks2.Text = string.sub(text, 1, i)
  2344. tecks3.Text = string.sub(text, 1, i)
  2345. swait(1)
  2346. end
  2347. wait(1)
  2348. local randomrot = math.random(1, 2)
  2349. if randomrot == 1 then
  2350. for i = 1, 50 do
  2351. swait()
  2352. tecks2.Rotation = tecks2.Rotation - 0.75
  2353. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2354. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2355. tecks3.Rotation = tecks2.Rotation + 0.75
  2356. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2357. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2358. end
  2359. elseif randomrot == 2 then
  2360. for i = 1, 50 do
  2361. swait()
  2362. tecks2.Rotation = tecks2.Rotation + 0.75
  2363. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2364. tecks2.TextTransparency = tecks2.TextTransparency + 0.04
  2365. tecks3.Rotation = tecks2.Rotation - 0.75
  2366. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency + 0.04
  2367. tecks3.TextTransparency = tecks2.TextTransparency + 0.04
  2368. end
  2369. end
  2370. naeeym2:Destroy()
  2371. end)
  2372. chat()
  2373. end
  2374. ----------
  2375. function Good_Bye()
  2376. local target = nil
  2377. local targettorso = nil
  2378. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2379. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2380. target = mouse.Target.Parent.Humanoid
  2381. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2382. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2383. end
  2384. end
  2385. if target ~= nil then
  2386. targettorso.Anchored = true
  2387. attack = true
  2388. hum.WalkSpeed = 0
  2389. root.CFrame = targettorso.CFrame * CF(0,0,3)
  2390. for i = 0,6.2,0.1 do
  2391. swait()
  2392. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-45)), 0.15)
  2393. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  2394. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2395. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2396. RW.C0 = clerp(RW.C0, CF(1.3, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(25)), 0.1)
  2397. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2398. end
  2399. CreateSound("429400881", targettorso, 5, 1)
  2400. CreateSound("131038747", targettorso, 7, 1)
  2401. for i = 0,8,0.1 do
  2402. swait()
  2403. rootj.C0 = clerp(rootj.C0, RootCF * CF(1.2, -2.5, -0.2) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  2404. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(-45)), 0.3)
  2405. RH.C0 = clerp(RH.C0, CF(1, -0.8, -0.4) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2406. LH.C0 = clerp(LH.C0, CF(-1, -0.8, -0.2) * LHCF * angles(Rad(-5), Rad(0), Rad(56)), 0.15)
  2407. RW.C0 = clerp(RW.C0, CF(1.5, 0.51 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(40)), 0.1)
  2408. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2409. end
  2410. targettorso:BreakJoints()
  2411. for i = 0,9,0.1 do
  2412. swait()
  2413. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2414. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-20)), 0.3)
  2415. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2416. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2417. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2418. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2419. end
  2420. targettorso.Anchored = false
  2421. attack = false
  2422. hum.WalkSpeed = 16
  2423. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2424. end
  2425. end
  2426. function AlohaMyFriend()
  2427. local target = nil
  2428. local targettorso = nil
  2429. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2430. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2431. target = mouse.Target.Parent.Humanoid
  2432. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2433. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2434. end
  2435. end
  2436. if target ~= nil then
  2437. targettorso.Anchored = true
  2438. attack = true
  2439. hum.WalkSpeed = 0
  2440. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  2441. for i = 0,6.2,0.1 do
  2442. swait()
  2443. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  2444. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  2445. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2446. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2447. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  2448. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2449. end
  2450. for i = 0,4.2,0.1 do
  2451. swait()
  2452. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(20)), 0.15)
  2453. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  2454. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2455. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2456. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(145), Rad(0), Rad(-15)), 0.1)
  2457. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(25), Rad(0), Rad(-15)), 0.1)
  2458. end
  2459. CreateSound("541909763", targettorso, 5, .8)
  2460. for i = 0,6.2,0.1 do
  2461. swait()
  2462. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-40)), 0.15)
  2463. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  2464. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2465. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2466. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(185), Rad(0), Rad(15)), 0.1)
  2467. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(45), Rad(0), Rad(-15)), 0.1)
  2468. end
  2469. CreateSound("511340819", targettorso, 5, .8)
  2470. chatfunc("super slap.", Color3.new(0, 0, 0))
  2471. for i = 0,4.2,0.1 do
  2472. swait()
  2473. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2474. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2475. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2476. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2477. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  2478. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  2479. end
  2480. local bloody = Instance.new("ParticleEmitter",targettorso)
  2481. bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2482. bloody.LightEmission = .1
  2483. bloody.Size = NumberSequence.new(0.5, 0)
  2484. bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
  2485. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2486. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2487. bloody.Transparency = bbb
  2488. bloody.Size = aaa
  2489. bloody.ZOffset = -.9
  2490. bloody.Acceleration = Vector3.new(0, -5, 0)
  2491. bloody.LockedToPart = false
  2492. bloody.Lifetime = NumberRange.new(0.8)
  2493. bloody.Rate = 255
  2494. bloody.Rotation = NumberRange.new(-100, 100)
  2495. bloody.RotSpeed = NumberRange.new(-100, 100)
  2496. bloody.Speed = NumberRange.new(6)
  2497. bloody.VelocitySpread = 0
  2498. bloody.Enabled=true
  2499. targethead:Remove()
  2500. CreateSound("429400881", targettorso, 5, .8)
  2501. CreateSound("1093102664", targettorso, 10, 1)
  2502. for i = 0,4.2,0.1 do
  2503. swait()
  2504. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2505. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2506. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2507. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2508. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  2509. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  2510. end
  2511. targettorso.Anchored = false
  2512. attack = false
  2513. hum.WalkSpeed = 16
  2514. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2515. end
  2516. end
  2517. function Sayonara()
  2518. local target = nil
  2519. local targettorso = nil
  2520. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2521. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2522. target = mouse.Target.Parent.Humanoid
  2523. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2524. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2525. targetrightarm = mouse.Target.Parent:FindFirstChild("Right Arm")
  2526. targetleftarm = mouse.Target.Parent:FindFirstChild("Left Arm")
  2527. end
  2528. end
  2529. if target ~= nil then
  2530. targettorso.Anchored = true
  2531. attack = true
  2532. hum.WalkSpeed = 0
  2533. root.CFrame = targettorso.CFrame * CF(0,0,2.4)
  2534. for i = 0,6.2,0.1 do
  2535. swait()
  2536. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(10), Rad(0), Rad(0)), 0.15)
  2537. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(0)), 0.3)
  2538. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2539. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2540. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(10)), 0.1)
  2541. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -.4 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-10)), 0.1)
  2542. end
  2543. CreateSound("429400881", targettorso, 5, 1)
  2544. for i = 0,6.2,0.1 do
  2545. swait()
  2546. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-10), Rad(0), Rad(0)), 0.15)
  2547. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2548. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-10)), 0.15)
  2549. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(10)), 0.15)
  2550. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(15)), 0.1)
  2551. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), .6 + 0.025 * Cos(sine / 20)) * angles(Rad(90), Rad(0), Rad(-15)), 0.1)
  2552. end
  2553. for i = 0,6.2,0.1 do
  2554. swait()
  2555. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2556. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2557. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2558. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2559. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(15)), 0.1)
  2560. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(180), Rad(0), Rad(-15)), 0.1)
  2561. end
  2562. for i = 0,6.2,0.1 do
  2563. CreateSound("541909763", targettorso, 5, .8)
  2564. swait()
  2565. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2566. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2567. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(35)), 0.15)
  2568. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  2569. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(15)), 0.1)
  2570. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(95), Rad(0), Rad(-15)), 0.1)
  2571. end
  2572. for i = 0,6.2,0.1 do
  2573. swait()
  2574. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.15)
  2575. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2576. RH.C0 = clerp(RH.C0, CF(1, -0.3 - 0.1 * Cos(sine / 20), -.4 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2577. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(20)), 0.15)
  2578. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(15)), 0.1)
  2579. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-30), Rad(0), Rad(-15)), 0.1)
  2580. end
  2581. targettorso:Remove()
  2582. for i = 0,6.2,0.1 do
  2583. swait()
  2584. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, -2.5, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(35), Rad(0), Rad(0)), 0.15)
  2585. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2586. RH.C0 = clerp(RH.C0, CF(1, -0.2 - 0.1 * Cos(sine / 20), -.5 + 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(90)), 0.15)
  2587. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-35)), 0.15)
  2588. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(15)), 0.1)
  2589. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(-55), Rad(0), Rad(-15)), 0.1)
  2590. end
  2591. targettorso.Anchored = false
  2592. attack = false
  2593. hum.WalkSpeed = 16
  2594. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  2595. end
  2596. end
  2597. function ByeBye()
  2598. local target = nil
  2599. local targettorso = nil
  2600. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  2601. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  2602. target = mouse.Target.Parent.Humanoid
  2603. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  2604. targethead = mouse.Target.Parent:FindFirstChild("Head")
  2605. end
  2606. end
  2607. if target ~= nil then
  2608. targettorso.Anchored = true
  2609. attack = true
  2610. hum.WalkSpeed = 0
  2611. root.CFrame = targettorso.CFrame * CF(0,0,2)
  2612. for i = 0,4.2,0.1 do
  2613. swait()
  2614. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  2615. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  2616. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2617. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2618. RW.C0 = clerp(RW.C0, CF(1.1, 0.7 + 0.05 * Sin(sine / 30), -.6 + 0.025 * Cos(sine / 20)) * angles(Rad(115), Rad(0), Rad(-15)), 0.1)
  2619. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(-25)), 0.1)
  2620. end
  2621. local bloody = Instance.new("ParticleEmitter",targettorso)
  2622. bloody.Color = ColorSequence.new(Color3.new(1, 0, 0), Color3.new(.5, 0, 0))
  2623. bloody.LightEmission = .1
  2624. bloody.Size = NumberSequence.new(0.5, 0)
  2625. bloody.Texture = "http://www.roblox.com/asset/?ID=602578593"
  2626. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  2627. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  2628. bloody.Transparency = bbb
  2629. bloody.Size = aaa
  2630. bloody.ZOffset = -.9
  2631. bloody.Acceleration = Vector3.new(0, -5, 0)
  2632. bloody.LockedToPart = false
  2633. bloody.Lifetime = NumberRange.new(0.8)
  2634. bloody.Rate = 255
  2635. bloody.Rotation = NumberRange.new(-100, 100)
  2636. bloody.RotSpeed = NumberRange.new(-100, 100)
  2637. bloody.Speed = NumberRange.new(6)
  2638. bloody.VelocitySpread = 0
  2639. bloody.Enabled=true
  2640. targethead:Remove()
  2641. CreateSound("429400881", targettorso, 5, .8)
  2642. CreateSound("1093102664", targettorso, 10, 1)
  2643. for i = 0,6.2,0.1 do
  2644. swait()
  2645. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.1 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(110)), 0.15)
  2646. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  2647. RH.C0 = clerp(RH.C0, CF(1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * RHCF * angles(Rad(-5), Rad(0), Rad(0)), 0.15)
  2648. LH.C0 = clerp(LH.C0, CF(-1, -0.9 - 0.1 * Cos(sine / 20), 0.025 * Cos(sine / 20)) * LHCF * angles(Rad(-5), Rad(0), Rad(-0)), 0.15)
  2649. RW.C0 = clerp(RW.C0, CF(1.3, 0.7 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(100), Rad(0), Rad(-15)), 0.1)
  2650. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-5)), 0.1)
  2651. end
  2652. targettorso.Anchored = false
  2653. attack = false
  2654. hum.WalkSpeed = 16
  2655. root.CFrame = targettorso.CFrame * CF(0,0,3)
  2656. end
  2657. end
  2658. function BigBan()
  2659. attack = true
  2660. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  2661. for i = 0, 3.6, 0.1 do
  2662. swait()
  2663. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(-20), Rad(0), Rad(0)), 0.2)
  2664. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2665. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2666. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2667. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-.6), Rad(-45)), 0.2)
  2668. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-225), Rad(-6), Rad(45)), 0.2)
  2669. end
  2670. Cso("138199573", tors, 10, 1)
  2671. CameraEnshaking(2, 15)
  2672. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2673. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2674. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -6, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2675. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  2676. if v:FindFirstChild("Head") then
  2677. Eviscerate(v)
  2678. end
  2679. end
  2680. for i = 0, 2.6, 0.1 do
  2681. swait()
  2682. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  2683. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2684. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2685. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2686. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  2687. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  2688. end
  2689. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  2690. attack = false
  2691. end
  2692. function BANN()
  2693. attack = true
  2694. M2.Scale = Vector3.new(2, 2, 2)
  2695. for i = 0, 4.6, 0.1 do
  2696. swait()
  2697. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-60)), 0.2)
  2698. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-7.5 * Sin(sine / 30)), Rad(0), Rad(60)), 0.2)
  2699. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  2700. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  2701. RW.C0 = clerp(RW.C0, CF(.6* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  2702. LW.C0 = clerp(LW.C0, CF(-.8* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(156), Rad(-.6), Rad(45)), 0.2)
  2703. end
  2704. Cso("138199573", char, 10, 1)
  2705. CameraEnshaking(2, 35)
  2706. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2707. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2708. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2709. Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  2710. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2711. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2712. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2713. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  2714. if v:FindFirstChild("Head") then
  2715. Eviscerate(v)
  2716. end
  2717. end
  2718. for i = 0, 3, 0.1 do
  2719. swait()
  2720. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(-15)), 0.3)
  2721. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(25 - 7.5 * Sin(sine / 30)), Rad(0), Rad(15)), 0.3)
  2722. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-20)), 0.3)
  2723. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(0)), 0.3)
  2724. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(5), Rad(-.6), Rad(-25)), 0.3)
  2725. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(15), Rad(-6), Rad(-25 - 4.5 * Sin(sine / 20))), 0.3)
  2726. end
  2727. M2.Scale = Vector3.new(1, 1, 1)
  2728. attack = false
  2729. end
  2730. function TUSKOR661()
  2731. attack = true
  2732. M2.Scale = Vector3.new(5, 5, 5)
  2733. chatfunc("go to sleep.", Color3.new(0, 0, 0))
  2734. for i = 0, 15, 0.1 do
  2735. swait()
  2736. hum.CameraOffset = Vector3.new(0, 8, 0)
  2737. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 8 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.2)
  2738. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2739. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(-20)), 0.2)
  2740. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-16.5), Rad(0), Rad(20)), 0.2)
  2741. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(180), Rad(0), Rad(15)), 0.2)
  2742. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-30), Rad(-90)), 0.2)
  2743. end
  2744. Cso("528494638", char, 10, .7)
  2745. Cso("528494638", char, 10, .7)
  2746. Cso("528494638", char, 10, 1)
  2747. CameraEnshaking(6, 65)
  2748. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2749. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2750. Effects.Wave.Create(BrickColor.new("Really black"), tors.CFrame * CF(0, -5, 0) * angles(math.rad(0), math.rad(math.random(0, 180)), math.rad(0)), 550.5, 100.5, 550.5, 200, 20, 200, 0.05)
  2751. Effects.Ring.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0) * angles(math.rad(90), math.rad(0), math.rad(0)), 0.5, 0.5, 0.1, 2, 2, 0, 0.04)
  2752. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  2753. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  2754. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  2755. Magic(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 1, BrickColor.new("Really black"), "Sphere")
  2756. Magic(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), Vector3.new(0, 0, 0), 2, BrickColor.new("Really black"), "Sphere")
  2757. Magic(1, "Add", root.CFrame, Vector3.new(1, 100000, 1), 0.5, BrickColor.new("Really black"), "Sphere")
  2758. Magic(1, "Add", root.CFrame, Vector3.new(1, 1, 1), 0.75, BrickColor.new("Really black"), "Sphere")
  2759. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 99999999999.5)) do
  2760. if v:FindFirstChild("Head") then
  2761. Eviscerate(v)
  2762. end
  2763. end
  2764. for i = 0, 15, 0.1 do
  2765. swait()
  2766. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.1* Player_Size * Cos(sine / 20)) * angles(Rad(75), Rad(0), Rad(0)), 0.2)
  2767. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(45 - 7.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.2)
  2768. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(-45)), 0.2)
  2769. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9* Player_Size - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-84), Rad(0)) * angles(Rad(-6.5), Rad(0), Rad(45)), 0.2)
  2770. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-.6), Rad(-45)), 0.2)
  2771. LW.C0 = clerp(LW.C0, CF(-1* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, -.6* Player_Size) * angles(Rad(-325), Rad(-6), Rad(45)), 0.2)
  2772. end
  2773. M2.Scale = Vector3.new(1, 1, 1)
  2774. attack = false
  2775. end
  2776. -------------------------------------------------------
  2777. --End Attacks N Stuff--
  2778. -------------------------------------------------------
  2779. mouse.KeyDown:connect(function(key)
  2780. if attack == false then
  2781. if key == "y" then
  2782. Cso("464600985", tors, 10, 1)
  2783. elseif key == "q" then
  2784. Good_Bye()
  2785. elseif key == "z" then
  2786. AlohaMyFriend()
  2787. elseif key == "x" then
  2788. Sayonara()
  2789. elseif key == "c" then
  2790. ByeBye()
  2791. elseif key == "f" then
  2792. TUSKOR661()
  2793. elseif key == "g" then
  2794. BANN()
  2795. elseif key == "h" then
  2796. BigBan()
  2797. end
  2798. end
  2799. end)
  2800.  
  2801.  
  2802.  
  2803.  
  2804. -------------------------------------------------------
  2805. --Start Animations--
  2806. -------------------------------------------------------
  2807. print("By Makhail07")
  2808. BTAUNT:Play()
  2809. while true do
  2810. swait()
  2811. AntiDeath()
  2812. RestoreAllBodyParts()
  2813. Humanoid.MaxHealth = 1e9999
  2814. Humanoid.Health = 1e9999
  2815. sine = sine + change
  2816. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  2817. local velderp = root.Velocity.y
  2818. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  2819. if equipped == true or equipped == false then
  2820. if attack == false then
  2821. idle = idle + 1
  2822. else
  2823. idle = 0
  2824. end
  2825. if 1 < root.Velocity.y and hitfloor == nil then
  2826. Anim = "Jump"
  2827. if attack == false then
  2828. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  2829. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-10), Rad(0), Rad(0)), 0.3)
  2830. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(15)),0.3)
  2831. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-15)),0.3)
  2832. LH.C0=clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2833. RH.C0=clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2834. end
  2835. elseif -1 > root.Velocity.y and hitfloor == nil then
  2836. Anim = "Fall"
  2837. if attack == false then
  2838. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  2839. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(10), Rad(0), Rad(0)), 0.3)
  2840. RW.C0 = clerp(RW.C0, CF(1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(90)),0.3)
  2841. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(math.min(math.max(root.Velocity.Y/100,-Rad(65)),Rad(65)),0,Rad(-90)),0.3)
  2842. LH.C0 = clerp(LH.C0, CF(-1,-.4-0.1 * Cos(sine / 20), -.6) * LHCF * angles(Rad(-5), Rad(-0), Rad(20)), 0.15)
  2843. RH.C0 = clerp(RH.C0, CF(1,-1-0.1 * Cos(sine / 20), -.3) * angles(Rad(0), Rad(90), Rad(0)), .3)
  2844. end
  2845. elseif torvel < 1 and hitfloor ~= nil then
  2846. Anim = "Idle"
  2847. change = 1
  2848. if attack == false then
  2849. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.08)
  2850. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0)), 0.3)
  2851. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.08)
  2852. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.08)
  2853. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(-10 * Cos(sine / 20)), Rad(5 - 2.5 * Sin(sine / 20))), 0.1)
  2854. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 20), 0.025 * Cos(sine / 20)) * angles(Rad(0), Rad(10 * Cos(sine / 20)), Rad(-5 + 2.5 * Sin(sine / 20))), 0.1)
  2855. end
  2856. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  2857. Anim = "Walk"
  2858. change = 1
  2859. if attack == false then
  2860. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, 1 + 0.5 * Player_Size * Cos(sine / 20)) * angles(Rad(20), Rad(0), Rad(0)), 0.15)
  2861. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-20 - 4.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  2862. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.3 - 0.1 * Cos(sine / 20)* Player_Size, -.4* Player_Size) * angles(Rad(0), Rad(80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(-20)), 0.15)
  2863. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.1 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-80), Rad(0)) * angles(Rad(-10.5 + 3.5 * Sin(sine / 20)), Rad(0), Rad(20)), 0.15)
  2864. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5+0.04*math.sin(sine/25), 0) * angles(math.rad(20 ), math.rad(-7*math.sin(sine/25)), math.rad(5)), 0.1)
  2865. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04*math.sin(sine/25),0) * angles(math.rad(20 ), math.rad(7*math.sin(sine/25)), math.rad(-5)), 0.1)
  2866. end
  2867. elseif torvel >= 25 and hitfloor ~= nil then
  2868. Anim = "Sprint"
  2869. change = 1.35
  2870. if attack == false then
  2871. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7* Player_Size) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  2872. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  2873. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925 - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 - 55 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2874. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925 + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.7 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-15 + 55 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 0.1 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 0.1 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  2875. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, 0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  2876. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 30)* Player_Size, -0.34 * Cos(sine / 7* Player_Size)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  2877. end
  2878. end
  2879. end
  2880. if 0 < #Effects then
  2881. for e = 1, #Effects do
  2882. if Effects[e] ~= nil then
  2883. local Thing = Effects[e]
  2884. if Thing ~= nil then
  2885. local Part = Thing[1]
  2886. local Mode = Thing[2]
  2887. local Delay = Thing[3]
  2888. local IncX = Thing[4]
  2889. local IncY = Thing[5]
  2890. local IncZ = Thing[6]
  2891. if 1 >= Thing[1].Transparency then
  2892. if Thing[2] == "Block1" then
  2893. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2894. local Mesh = Thing[1].Mesh
  2895. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2896. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2897. elseif Thing[2] == "Block2" then
  2898. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  2899. local Mesh = Thing[7]
  2900. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2901. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2902. elseif Thing[2] == "Block3" then
  2903. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)) + Vector3.new(0, 0.15, 0)
  2904. local Mesh = Thing[7]
  2905. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2906. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2907. elseif Thing[2] == "Cylinder" then
  2908. local Mesh = Thing[1].Mesh
  2909. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2910. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2911. elseif Thing[2] == "Blood" then
  2912. local Mesh = Thing[7]
  2913. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  2914. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  2915. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2916. elseif Thing[2] == "Elec" then
  2917. local Mesh = Thing[1].Mesh
  2918. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  2919. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2920. elseif Thing[2] == "Disappear" then
  2921. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2922. elseif Thing[2] == "Shatter" then
  2923. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2924. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2925. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2926. Thing[6] = Thing[6] + Thing[5]
  2927. end
  2928. else
  2929. Part.Parent = nil
  2930. table.remove(Effects, e)
  2931. end
  2932. end
  2933. end
  2934. end
  2935. end
  2936. AntiDeath()
  2937. RestoreAllBodyParts()
  2938. Humanoid.MaxHealth = 1e9999
  2939. Humanoid.Health = 1e9999
  2940. end
  2941. -------------------------------------------------------
  2942. --End Animations And Script--
  2943. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement