Advertisement
Pancakess

meeeeeeeeee

Jun 9th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 74.96 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility: by WaverlyCole");InternalData = {}
  2. do
  3. script.Parent = owner.Character
  4. local Event = Instance.new("RemoteEvent");Event.Name = "UserInput"
  5. local function NewFakeEvent()
  6. local Bind = Instance.new("BindableEvent")
  7. local Fake;Fake = {Connections = {},
  8. fakeEvent=true;
  9. Connect=function(self,Func)
  10. Bind.Event:connect(Func)
  11. self.Connections[Bind] = true
  12. return setmetatable({Connected = true},{
  13. __index = function (self,Index)
  14. if Index:lower() == "disconnect" then
  15. return function() Fake.Connections[Bind] = false;self.Connected = false end
  16. end
  17. return Fake[Index]
  18. end;
  19. __tostring = function() return "Connection" end;
  20. })
  21. end}
  22. Fake.connect = Fake.Connect;return Fake;
  23. end
  24. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  25. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  26. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  27. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  28. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  29. local function TriggerEvent(self,Event,...)
  30. local Trigger = Mouse[Event]
  31. if Trigger and Trigger.fakeEvent and Trigger.Connections then
  32. for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end
  33. end
  34. end
  35. Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent
  36. Event.OnServerEvent:Connect(function(FiredBy,Input)
  37. if FiredBy.Name ~= owner.Name then return end
  38. if Input.MouseEvent then
  39. Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
  40. else
  41. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  42. if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end
  43. for _,Action in pairs(ContextActionService.Actions) do
  44. for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
  45. end
  46. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  47. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  48. end
  49. end)
  50. InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
  51. Event.Parent = NLS([[
  52. local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse()
  53. local Input = function(Input,gameProcessedEvent)
  54. if gameProcessedEvent then return end
  55. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  56. end
  57. UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
  58. local Hit,Target
  59. while wait(1/30) do
  60. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  61. Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  62. end
  63. end
  64. ]],owner.Character)
  65. end
  66. RealGame = game;game = setmetatable({},{
  67. __index = function (self,Index)
  68. local Sandbox = function (Thing)
  69. if Thing:IsA("Player") then
  70. local RealPlayer = Thing
  71. return setmetatable({},{
  72. __index = function (self,Index)
  73. local Type = type(RealPlayer[Index])
  74. if Type == "function" then
  75. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  76. return function (self)return InternalData["Mouse"] end
  77. end
  78. return function (self,...)return RealPlayer[Index](RealPlayer,...) end
  79. end
  80. return RealPlayer[Index]
  81. end;
  82. __tostring = function(self) return RealPlayer.Name end
  83. })
  84. end
  85. end
  86. if RealGame[Index] then
  87. local Type = type(RealGame[Index])
  88. if Type == "function" then
  89. if Index:lower() == "getservice" or Index:lower() == "service" then
  90. return function (self,Service)
  91. local FakeServices = {
  92. ["players"] = function()
  93. return setmetatable({},{
  94. __index = function (self2,Index2)
  95. local RealService = RealGame:GetService(Service)
  96. local Type2 = type(Index2)
  97. if Type2 == "function" then
  98. return function (self,...) return RealService[Index2](RealService,...)end
  99. else
  100. if Index2:lower() == "localplayer" then return Sandbox(owner) end
  101. return RealService[Index2]
  102. end
  103. end;
  104. __tostring = function(self) return RealGame:GetService(Service).Name end
  105. })
  106. end;
  107. ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
  108. ["userinputservice"] = function() return InternalData["UserInputService"] end;
  109. ["runservice"] = function()
  110. return setmetatable({},{
  111. __index = function(self2,Index2)
  112. local RealService = RealGame:GetService(Service)
  113. local Type2 = type(Index2)
  114. if Type2 == "function" then
  115. return function (self,...) return RealService[Index2](RealService,...) end
  116. else
  117. local RunServices = {
  118. ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end;
  119. ["renderstepped"] = function() return RealService["Stepped"] end
  120. }
  121. if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
  122. return RealService[Index2]
  123. end
  124. end
  125. })
  126. end
  127. }
  128. if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
  129. return RealGame:GetService(Service)
  130. end
  131. end
  132. return function (self,...) return RealGame[Index](RealGame,...) end
  133. else
  134. if game:GetService(Index) then return game:GetService(Index) end
  135. return RealGame[Index]
  136. end
  137. end
  138. return nil
  139. end
  140. });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete! Running...")
  141.  
  142. -----------------------
  143. --[[ Name : Ņ̢̨͢͟ó͢ ̧͢ơ̶̶̶̢n͜͏ę̶̡͠'͏́́͞҉ş̨͏ ͜a͝҉r̵̷̛̛͟o̶̡͟͝ų̶̸̵͝ń͡͡͏̷d̀͜͟ ̵̡́́͜t̡̀͘o͏̀̕͡ ͢h͠͏e̵͢͜ļ̡͢͡ṕ̛͏.̷̧̨ ]]--
  144. -------------------------------------------------------
  145. --A script By makhail07
  146.  
  147. --Discord Creterisk#2958
  148.  
  149. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  150. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  151. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  152. --YOU FUCKING SKIDS,
  153. --For Those who log/decompile this, If you sell or trade this,
  154. --and I find out who you are, i will take massive action.
  155. -------------------------------------------------------
  156.  
  157. local FavIDs = {
  158. 340106355, --Nefl Crystals
  159. 927529620, --Dimension
  160. 876981900, --Fantasy
  161. 398987889, --Ordinary Days
  162. 1117396305, --Oh wait, it's you.
  163. 885996042, --Action Winter Journey
  164. 919231299, --Sprawling Idiot Effigy
  165. 743466274, --Good Day Sunshine
  166. 727411183, --Knife Fight
  167. 1402748531, --The Earth Is Counting On You!
  168. 595230126 --Robot Language
  169. }
  170.  
  171. local kan = Instance.new("Sound") kan.Volume = 6 kan.SoundId = "rbxassetid://476181208" kan.Looped = true kan.Parent = owner.Character.Torso kan:Play()
  172.  
  173. --The reality of my life isn't real but a Universe -makhail07
  174. wait()
  175. local plr = game:service'Players'.LocalPlayer
  176. print('Local User is '..plr.Name)
  177. local char = plr.Character
  178. local hum = char.Humanoid
  179. local hed = char.Head
  180. local root = char.HumanoidRootPart
  181. local rootj = root.RootJoint
  182. local tors = char.Torso
  183. local ra = char["Right Arm"]
  184. local la = char["Left Arm"]
  185. local rl = char["Right Leg"]
  186. local ll = char["Left Leg"]
  187. local neck = tors["Neck"]
  188. local mouse = plr:GetMouse()
  189. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  190. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  191. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  192. local maincolor = BrickColor.new("Institutional white")
  193. -------------------------------------------------------
  194. --Start Good Stuff--
  195. -------------------------------------------------------
  196. cam = game.Workspace.CurrentCamera
  197. CF = CFrame.new
  198. angles = CFrame.Angles
  199. attack = false
  200. Euler = CFrame.fromEulerAnglesXYZ
  201. Rad = math.rad
  202. IT = Instance.new
  203. BrickC = BrickColor.new
  204. Cos = math.cos
  205. Acos = math.acos
  206. Sin = math.sin
  207. Asin = math.asin
  208. Abs = math.abs
  209. Mrandom = math.random
  210. Floor = math.floor
  211. -------------------------------------------------------
  212. --End Good Stuff--
  213. -------------------------------------------------------
  214. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  215. RSH, LSH = nil, nil
  216. RW = Instance.new("Weld")
  217. LW = Instance.new("Weld")
  218. RH = tors["Right Hip"]
  219. LH = tors["Left Hip"]
  220. RSH = tors["Right Shoulder"]
  221. LSH = tors["Left Shoulder"]
  222. RSH.Parent = nil
  223. LSH.Parent = nil
  224. RW.Name = "RW"
  225. RW.Part0 = tors
  226. RW.C0 = CF(1.5, 0.5, 0)
  227. RW.C1 = CF(0, 0.5, 0)
  228. RW.Part1 = ra
  229. RW.Parent = tors
  230. LW.Name = "LW"
  231. LW.Part0 = tors
  232. LW.C0 = CF(-1.5, 0.5, 0)
  233. LW.C1 = CF(0, 0.5, 0)
  234. LW.Part1 = la
  235. LW.Parent = tors
  236. Effects = {}
  237. -------------------------------------------------------
  238. --Start HeartBeat--
  239. -------------------------------------------------------
  240. ArtificialHB = Instance.new("BindableEvent", script)
  241. ArtificialHB.Name = "Heartbeat"
  242. script:WaitForChild("Heartbeat")
  243.  
  244. frame = 1 / 60
  245. tf = 0
  246. allowframeloss = false
  247. tossremainder = false
  248.  
  249.  
  250. lastframe = tick()
  251. script.Heartbeat:Fire()
  252.  
  253.  
  254. game:GetService("RunService").Heartbeat:connect(function(s, p)
  255. tf = tf + s
  256. if tf >= frame then
  257. if allowframeloss then
  258. script.Heartbeat:Fire()
  259. lastframe = tick()
  260. else
  261. for i = 1, math.floor(tf / frame) do
  262. script.Heartbeat:Fire()
  263. end
  264. lastframe = tick()
  265. end
  266. if tossremainder then
  267. tf = 0
  268. else
  269. tf = tf - frame * math.floor(tf / frame)
  270. end
  271. end
  272. end)
  273. -------------------------------------------------------
  274. --End HeartBeat--
  275. -------------------------------------------------------
  276. local top = Instance.new("Shirt")
  277. top.ShirtTemplate = "rbxassetid://268316000"
  278. top.Parent = Character
  279. top.Name = "Cloth"
  280. local bottom = Instance.new("Pants")
  281. bottom.PantsTemplate = "rbxassetid://268949770"
  282. bottom.Parent = Character
  283. bottom.Name = "Cloth"
  284. -------------------------------------------------------
  285. --Start Important Functions--
  286. -------------------------------------------------------
  287. function swait(num)
  288. if num == 0 or num == nil then
  289. game:service("RunService").Stepped:wait(0)
  290. else
  291. for i = 0, num do
  292. game:service("RunService").Stepped:wait(0)
  293. end
  294. end
  295. end
  296. function thread(f)
  297. coroutine.resume(coroutine.create(f))
  298. end
  299. function clerp(a, b, t)
  300. local qa = {
  301. QuaternionFromCFrame(a)
  302. }
  303. local qb = {
  304. QuaternionFromCFrame(b)
  305. }
  306. local ax, ay, az = a.x, a.y, a.z
  307. local bx, by, bz = b.x, b.y, b.z
  308. local _t = 1 - t
  309. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  310. end
  311. function QuaternionFromCFrame(cf)
  312. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  313. local trace = m00 + m11 + m22
  314. if trace > 0 then
  315. local s = math.sqrt(1 + trace)
  316. local recip = 0.5 / s
  317. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  318. else
  319. local i = 0
  320. if m00 < m11 then
  321. i = 1
  322. end
  323. if m22 > (i == 0 and m00 or m11) then
  324. i = 2
  325. end
  326. if i == 0 then
  327. local s = math.sqrt(m00 - m11 - m22 + 1)
  328. local recip = 0.5 / s
  329. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  330. elseif i == 1 then
  331. local s = math.sqrt(m11 - m22 - m00 + 1)
  332. local recip = 0.5 / s
  333. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  334. elseif i == 2 then
  335. local s = math.sqrt(m22 - m00 - m11 + 1)
  336. local recip = 0.5 / s
  337. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  338. end
  339. end
  340. end
  341. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  342. local xs, ys, zs = x + x, y + y, z + z
  343. local wx, wy, wz = w * xs, w * ys, w * zs
  344. local xx = x * xs
  345. local xy = x * ys
  346. local xz = x * zs
  347. local yy = y * ys
  348. local yz = y * zs
  349. local zz = z * zs
  350. 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))
  351. end
  352. function QuaternionSlerp(a, b, t)
  353. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  354. local startInterp, finishInterp
  355. if cosTheta >= 1.0E-4 then
  356. if 1 - cosTheta > 1.0E-4 then
  357. local theta = math.acos(cosTheta)
  358. local invSinTheta = 1 / Sin(theta)
  359. startInterp = Sin((1 - t) * theta) * invSinTheta
  360. finishInterp = Sin(t * theta) * invSinTheta
  361. else
  362. startInterp = 1 - t
  363. finishInterp = t
  364. end
  365. elseif 1 + cosTheta > 1.0E-4 then
  366. local theta = math.acos(-cosTheta)
  367. local invSinTheta = 1 / Sin(theta)
  368. startInterp = Sin((t - 1) * theta) * invSinTheta
  369. finishInterp = Sin(t * theta) * invSinTheta
  370. else
  371. startInterp = t - 1
  372. finishInterp = t
  373. end
  374. 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
  375. end
  376. function rayCast(Position, Direction, Range, Ignore)
  377. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  378. end
  379. local RbxUtility = LoadLibrary("RbxUtility")
  380. local Create = RbxUtility.Create
  381.  
  382. -------------------------------------------------------
  383. --Start Damage Function--
  384. -------------------------------------------------------
  385. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  386. if hit.Parent == nil then
  387. return
  388. end
  389. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  390. for _, v in pairs(hit.Parent:children()) do
  391. if v:IsA("Humanoid") then
  392. h = v
  393. end
  394. end
  395. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  396.  
  397. hit.Parent:FindFirstChild("Head"):BreakJoints()
  398. end
  399.  
  400. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  401. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  402. if hit.Parent.DebounceHit.Value == true then
  403. return
  404. end
  405. end
  406. if insta == true then
  407. hit.Parent:FindFirstChild("Head"):BreakJoints()
  408. end
  409. local c = Create("ObjectValue"){
  410. Name = "creator",
  411. Value = game:service("Players").LocalPlayer,
  412. Parent = h,
  413. }
  414. game:GetService("Debris"):AddItem(c, .5)
  415. if HitSound ~= nil and HitPitch ~= nil then
  416. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  417. end
  418. local Damage = math.random(minim, maxim)
  419. local blocked = false
  420. local block = hit.Parent:findFirstChild("Block")
  421. if block ~= nil then
  422. if block.className == "IntValue" then
  423. if block.Value > 0 then
  424. blocked = true
  425. block.Value = block.Value - 1
  426. print(block.Value)
  427. end
  428. end
  429. end
  430. if blocked == false then
  431. h.Health = h.Health - Damage
  432. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  433. else
  434. h.Health = h.Health - (Damage / 2)
  435. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  436. end
  437. if Type == "Knockdown" then
  438. local hum = hit.Parent.Humanoid
  439. hum.PlatformStand = true
  440. coroutine.resume(coroutine.create(function(HHumanoid)
  441. swait(1)
  442. HHumanoid.PlatformStand = false
  443. end), hum)
  444. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  445. local bodvol = Create("BodyVelocity"){
  446. velocity = angle * knockback,
  447. P = 5000,
  448. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  449. Parent = hit,
  450. }
  451. local rl = Create("BodyAngularVelocity"){
  452. P = 3000,
  453. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  454. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  455. Parent = hit,
  456. }
  457. game:GetService("Debris"):AddItem(bodvol, .5)
  458. game:GetService("Debris"):AddItem(rl, .5)
  459. elseif Type == "Normal" then
  460. local vp = Create("BodyVelocity"){
  461. P = 500,
  462. maxForce = Vector3.new(math.huge, 0, math.huge),
  463. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  464. }
  465. if knockback > 0 then
  466. vp.Parent = hit.Parent.Torso
  467. end
  468. game:GetService("Debris"):AddItem(vp, .5)
  469. elseif Type == "Up" then
  470. local bodyVelocity = Create("BodyVelocity"){
  471. velocity = Vector3.new(0, 20, 0),
  472. P = 5000,
  473. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  474. Parent = hit,
  475. }
  476. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  477. elseif Type == "DarkUp" then
  478. coroutine.resume(coroutine.create(function()
  479. for i = 0, 1, 0.1 do
  480. swait()
  481. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  482. end
  483. end))
  484. local bodyVelocity = Create("BodyVelocity"){
  485. velocity = Vector3.new(0, 20, 0),
  486. P = 5000,
  487. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  488. Parent = hit,
  489. }
  490. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  491. elseif Type == "Snare" then
  492. local bp = Create("BodyPosition"){
  493. P = 2000,
  494. D = 100,
  495. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  496. position = hit.Parent.Torso.Position,
  497. Parent = hit.Parent.Torso,
  498. }
  499. game:GetService("Debris"):AddItem(bp, 1)
  500. elseif Type == "Freeze" then
  501. local BodPos = Create("BodyPosition"){
  502. P = 50000,
  503. D = 1000,
  504. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  505. position = hit.Parent.Torso.Position,
  506. Parent = hit.Parent.Torso,
  507. }
  508. local BodGy = Create("BodyGyro") {
  509. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  510. P = 20e+003,
  511. Parent = hit.Parent.Torso,
  512. cframe = hit.Parent.Torso.CFrame,
  513. }
  514. hit.Parent.Torso.Anchored = true
  515. coroutine.resume(coroutine.create(function(Part)
  516. swait(1.5)
  517. Part.Anchored = false
  518. end), hit.Parent.Torso)
  519. game:GetService("Debris"):AddItem(BodPos, 3)
  520. game:GetService("Debris"):AddItem(BodGy, 3)
  521. end
  522. local debounce = Create("BoolValue"){
  523. Name = "DebounceHit",
  524. Parent = hit.Parent,
  525. Value = true,
  526. }
  527. game:GetService("Debris"):AddItem(debounce, Delay)
  528. c = Create("ObjectValue"){
  529. Name = "creator",
  530. Value = Player,
  531. Parent = h,
  532. }
  533. game:GetService("Debris"):AddItem(c, .5)
  534. end
  535. end
  536. -------------------------------------------------------
  537. --End Damage Function--
  538. -------------------------------------------------------
  539.  
  540. -------------------------------------------------------
  541. --Start Damage Function Customization--
  542. -------------------------------------------------------
  543. function ShowDamage(Pos, Text, Time, Color)
  544. local Rate = (1 / 30)
  545. local Pos = (Pos or Vector3.new(0, 0, 0))
  546. local Text = (Text or "")
  547. local Time = (Time or 2)
  548. local Color = (Color or Color3.new(1, 0, 1))
  549. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  550. EffectPart.Anchored = true
  551. local BillboardGui = Create("BillboardGui"){
  552. Size = UDim2.new(3, 0, 3, 0),
  553. Adornee = EffectPart,
  554. Parent = EffectPart,
  555. }
  556. local TextLabel = Create("TextLabel"){
  557. BackgroundTransparency = 1,
  558. Size = UDim2.new(1, 0, 1, 0),
  559. Text = Text,
  560. Font = "Bodoni",
  561. TextColor3 = Color,
  562. TextScaled = true,
  563. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  564. Parent = BillboardGui,
  565. }
  566. game.Debris:AddItem(EffectPart, (Time))
  567. EffectPart.Parent = game:GetService("Workspace")
  568. delay(0, function()
  569. local Frames = (Time / Rate)
  570. for Frame = 1, Frames do
  571. wait(Rate)
  572. local Percent = (Frame / Frames)
  573. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  574. TextLabel.TextTransparency = Percent
  575. end
  576. if EffectPart and EffectPart.Parent then
  577. EffectPart:Destroy()
  578. end
  579. end)
  580. end
  581. -------------------------------------------------------
  582. --End Damage Function Customization--
  583. -------------------------------------------------------
  584.  
  585. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  586. for _, c in pairs(workspace:children()) do
  587. local hum = c:findFirstChild("Humanoid")
  588. if hum ~= nil then
  589. local head = c:findFirstChild("Head")
  590. if head ~= nil then
  591. local targ = head.Position - Part.Position
  592. local mag = targ.magnitude
  593. if magni >= mag and c.Name ~= plr.Name then
  594. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  595. end
  596. end
  597. end
  598. end
  599. end
  600.  
  601.  
  602. CFuncs = {
  603. Part = {
  604. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  605. local Part = Create("Part")({
  606. Parent = Parent,
  607. Reflectance = Reflectance,
  608. Transparency = Transparency,
  609. CanCollide = false,
  610. Locked = true,
  611. BrickColor = BrickColor.new(tostring(BColor)),
  612. Name = Name,
  613. Size = Size,
  614. Material = Material
  615. })
  616. RemoveOutlines(Part)
  617. return Part
  618. end
  619. },
  620. Mesh = {
  621. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  622. local Msh = Create(Mesh)({
  623. Parent = Part,
  624. Offset = OffSet,
  625. Scale = Scale
  626. })
  627. if Mesh == "SpecialMesh" then
  628. Msh.MeshType = MeshType
  629. Msh.MeshId = MeshId
  630. end
  631. return Msh
  632. end
  633. },
  634. Mesh = {
  635. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  636. local Msh = Create(Mesh)({
  637. Parent = Part,
  638. Offset = OffSet,
  639. Scale = Scale
  640. })
  641. if Mesh == "SpecialMesh" then
  642. Msh.MeshType = MeshType
  643. Msh.MeshId = MeshId
  644. end
  645. return Msh
  646. end
  647. },
  648. Weld = {
  649. Create = function(Parent, Part0, Part1, C0, C1)
  650. local Weld = Create("Weld")({
  651. Parent = Parent,
  652. Part0 = Part0,
  653. Part1 = Part1,
  654. C0 = C0,
  655. C1 = C1
  656. })
  657. return Weld
  658. end
  659. },
  660. Sound = {
  661. Create = function(id, par, vol, pit)
  662. coroutine.resume(coroutine.create(function()
  663. local S = Create("Sound")({
  664. Volume = vol,
  665. Pitch = pit or 1,
  666. SoundId = id,
  667. Parent = par or workspace
  668. })
  669. wait()
  670. S:play()
  671. game:GetService("Debris"):AddItem(S, 6)
  672. end))
  673. end
  674. },
  675. ParticleEmitter = {
  676. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  677. local fp = Create("ParticleEmitter")({
  678. Parent = Parent,
  679. Color = ColorSequence.new(Color1, Color2),
  680. LightEmission = LightEmission,
  681. Size = Size,
  682. Texture = Texture,
  683. Transparency = Transparency,
  684. ZOffset = ZOffset,
  685. Acceleration = Accel,
  686. Drag = Drag,
  687. LockedToPart = LockedToPart,
  688. VelocityInheritance = VelocityInheritance,
  689. EmissionDirection = EmissionDirection,
  690. Enabled = Enabled,
  691. Lifetime = LifeTime,
  692. Rate = Rate,
  693. Rotation = Rotation,
  694. RotSpeed = RotSpeed,
  695. Speed = Speed,
  696. VelocitySpread = VelocitySpread
  697. })
  698. return fp
  699. end
  700. }
  701. }
  702. function RemoveOutlines(part)
  703. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  704. end
  705. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  706. local Part = Create("Part")({
  707. formFactor = FormFactor,
  708. Parent = Parent,
  709. Reflectance = Reflectance,
  710. Transparency = Transparency,
  711. CanCollide = false,
  712. Locked = true,
  713. BrickColor = BrickColor.new(tostring(BColor)),
  714. Name = Name,
  715. Size = Size,
  716. Material = Material
  717. })
  718. RemoveOutlines(Part)
  719. return Part
  720. end
  721. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  722. local Msh = Create(Mesh)({
  723. Parent = Part,
  724. Offset = OffSet,
  725. Scale = Scale
  726. })
  727. if Mesh == "SpecialMesh" then
  728. Msh.MeshType = MeshType
  729. Msh.MeshId = MeshId
  730. end
  731. return Msh
  732. end
  733. function CreateWeld(Parent, Part0, Part1, C0, C1)
  734. local Weld = Create("Weld")({
  735. Parent = Parent,
  736. Part0 = Part0,
  737. Part1 = Part1,
  738. C0 = C0,
  739. C1 = C1
  740. })
  741. return Weld
  742. end
  743.  
  744.  
  745. -------------------------------------------------------
  746. --Start Effect Function--
  747. -------------------------------------------------------
  748. EffectModel = Instance.new("Model", char)
  749. Effects = {
  750. Block = {
  751. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  752. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  753. prt.Anchored = true
  754. prt.CFrame = cframe
  755. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  756. game:GetService("Debris"):AddItem(prt, 10)
  757. if Type == 1 or Type == nil then
  758. table.insert(Effects, {
  759. prt,
  760. "Block1",
  761. delay,
  762. x3,
  763. y3,
  764. z3,
  765. msh
  766. })
  767. elseif Type == 2 then
  768. table.insert(Effects, {
  769. prt,
  770. "Block2",
  771. delay,
  772. x3,
  773. y3,
  774. z3,
  775. msh
  776. })
  777. else
  778. table.insert(Effects, {
  779. prt,
  780. "Block3",
  781. delay,
  782. x3,
  783. y3,
  784. z3,
  785. msh
  786. })
  787. end
  788. end
  789. },
  790. Sphere = {
  791. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  792. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  793. prt.Anchored = true
  794. prt.CFrame = cframe
  795. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  796. game:GetService("Debris"):AddItem(prt, 10)
  797. table.insert(Effects, {
  798. prt,
  799. "Cylinder",
  800. delay,
  801. x3,
  802. y3,
  803. z3,
  804. msh
  805. })
  806. end
  807. },
  808. Cylinder = {
  809. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  810. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  811. prt.Anchored = true
  812. prt.CFrame = cframe
  813. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  814. game:GetService("Debris"):AddItem(prt, 10)
  815. table.insert(Effects, {
  816. prt,
  817. "Cylinder",
  818. delay,
  819. x3,
  820. y3,
  821. z3,
  822. msh
  823. })
  824. end
  825. },
  826. Wave = {
  827. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  828. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  829. prt.Anchored = true
  830. prt.CFrame = cframe
  831. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  832. game:GetService("Debris"):AddItem(prt, 10)
  833. table.insert(Effects, {
  834. prt,
  835. "Cylinder",
  836. delay,
  837. x3 / 60,
  838. y3 / 60,
  839. z3 / 60,
  840. msh
  841. })
  842. end
  843. },
  844. Ring = {
  845. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  846. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  847. prt.Anchored = true
  848. prt.CFrame = cframe
  849. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  850. game:GetService("Debris"):AddItem(prt, 10)
  851. table.insert(Effects, {
  852. prt,
  853. "Cylinder",
  854. delay,
  855. x3,
  856. y3,
  857. z3,
  858. msh
  859. })
  860. end
  861. },
  862. Break = {
  863. Create = function(brickcolor, cframe, x1, y1, z1)
  864. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  865. prt.Anchored = true
  866. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  867. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  868. local num = math.random(10, 50) / 1000
  869. game:GetService("Debris"):AddItem(prt, 10)
  870. table.insert(Effects, {
  871. prt,
  872. "Shatter",
  873. num,
  874. prt.CFrame,
  875. math.random() - math.random(),
  876. 0,
  877. math.random(50, 100) / 100
  878. })
  879. end
  880. },
  881. Spiral = {
  882. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  883. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  884. prt.Anchored = true
  885. prt.CFrame = cframe
  886. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  887. game:GetService("Debris"):AddItem(prt, 10)
  888. table.insert(Effects, {
  889. prt,
  890. "Cylinder",
  891. delay,
  892. x3,
  893. y3,
  894. z3,
  895. msh
  896. })
  897. end
  898. },
  899. Push = {
  900. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  901. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  902. prt.Anchored = true
  903. prt.CFrame = cframe
  904. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  905. game:GetService("Debris"):AddItem(prt, 10)
  906. table.insert(Effects, {
  907. prt,
  908. "Cylinder",
  909. delay,
  910. x3,
  911. y3,
  912. z3,
  913. msh
  914. })
  915. end
  916. }
  917. }
  918. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  919. local fp = IT("Part")
  920. fp.formFactor = formfactor
  921. fp.Parent = parent
  922. fp.Reflectance = reflectance
  923. fp.Transparency = transparency
  924. fp.CanCollide = false
  925. fp.Locked = true
  926. fp.BrickColor = brickcolor
  927. fp.Name = name
  928. fp.Size = size
  929. fp.Position = tors.Position
  930. RemoveOutlines(fp)
  931. fp.Material = "SmoothPlastic"
  932. fp:BreakJoints()
  933. return fp
  934. end
  935.  
  936. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  937. local mesh = IT(Mesh)
  938. mesh.Parent = part
  939. if Mesh == "SpecialMesh" then
  940. mesh.MeshType = meshtype
  941. if meshid ~= "nil" then
  942. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  943. end
  944. end
  945. mesh.Offset = offset
  946. mesh.Scale = scale
  947. return mesh
  948. end
  949.  
  950. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  951. local type = type
  952. local rng = Instance.new("Part", char)
  953. rng.Anchored = true
  954. rng.BrickColor = color
  955. rng.CanCollide = false
  956. rng.FormFactor = 3
  957. rng.Name = "Ring"
  958. rng.Material = "Neon"
  959. rng.Size = Vector3.new(1, 1, 1)
  960. rng.Transparency = 0
  961. rng.TopSurface = 0
  962. rng.BottomSurface = 0
  963. rng.CFrame = pos
  964. local rngm = Instance.new("SpecialMesh", rng)
  965. rngm.MeshType = MType
  966. rngm.Scale = scale
  967. local scaler2 = 1
  968. if type == "Add" then
  969. scaler2 = 1 * value
  970. elseif type == "Divide" then
  971. scaler2 = 1 / value
  972. end
  973. coroutine.resume(coroutine.create(function()
  974. for i = 0, 10 / bonuspeed, 0.1 do
  975. swait()
  976. if type == "Add" then
  977. scaler2 = scaler2 - 0.01 * value / bonuspeed
  978. elseif type == "Divide" then
  979. scaler2 = scaler2 - 0.01 / value * bonuspeed
  980. end
  981. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  982. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  983. end
  984. rng:Destroy()
  985. end))
  986. end
  987.  
  988. function Eviscerate(dude)
  989. if dude.Name ~= char then
  990. local bgf = IT("BodyGyro", dude.Head)
  991. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  992. local val = IT("BoolValue", dude)
  993. val.Name = "IsHit"
  994. local ds = coroutine.wrap(function()
  995. dude:WaitForChild("Head"):BreakJoints()
  996. wait(0.5)
  997. target = nil
  998. coroutine.resume(coroutine.create(function()
  999. for i, v in pairs(dude:GetChildren()) do
  1000. if v:IsA("Accessory") then
  1001. v:Destroy()
  1002. end
  1003. if v:IsA("Humanoid") then
  1004. v:Destroy()
  1005. end
  1006. if v:IsA("CharacterMesh") then
  1007. v:Destroy()
  1008. end
  1009. if v:IsA("Model") then
  1010. v:Destroy()
  1011. end
  1012. if v:IsA("Part") or v:IsA("MeshPart") then
  1013. for x, o in pairs(v:GetChildren()) do
  1014. if o:IsA("Decal") then
  1015. o:Destroy()
  1016. end
  1017. end
  1018. coroutine.resume(coroutine.create(function()
  1019. v.Material = "Neon"
  1020. v.CanCollide = false
  1021. local PartEmmit1 = IT("ParticleEmitter", v)
  1022. PartEmmit1.LightEmission = 1
  1023. PartEmmit1.Texture = "rbxassetid://284205403"
  1024. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1025. PartEmmit1.Rate = 150
  1026. PartEmmit1.Lifetime = NumberRange.new(1)
  1027. PartEmmit1.Size = NumberSequence.new({
  1028. NumberSequenceKeypoint.new(0, 0.75, 0),
  1029. NumberSequenceKeypoint.new(1, 0, 0)
  1030. })
  1031. PartEmmit1.Transparency = NumberSequence.new({
  1032. NumberSequenceKeypoint.new(0, 0, 0),
  1033. NumberSequenceKeypoint.new(1, 1, 0)
  1034. })
  1035. PartEmmit1.Speed = NumberRange.new(0, 0)
  1036. PartEmmit1.VelocitySpread = 30000
  1037. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  1038. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  1039. local BodPoss = IT("BodyPosition", v)
  1040. BodPoss.P = 3000
  1041. BodPoss.D = 1000
  1042. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1043. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1044. v.Color = maincolor.Color
  1045. coroutine.resume(coroutine.create(function()
  1046. for i = 0, 49 do
  1047. swait(1)
  1048. v.Transparency = v.Transparency + 0.08
  1049. end
  1050. wait(0.5)
  1051. PartEmmit1.Enabled = false
  1052. wait(3)
  1053. v:Destroy()
  1054. dude:Destroy()
  1055. end))
  1056. end))
  1057. end
  1058. end
  1059. end))
  1060. end)
  1061. ds()
  1062. end
  1063. end
  1064.  
  1065. function FindNearestHead(Position, Distance, SinglePlayer)
  1066. if SinglePlayer then
  1067. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1068. end
  1069. local List = {}
  1070. for i, v in pairs(workspace:GetChildren()) do
  1071. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1072. table.insert(List, v)
  1073. end
  1074. end
  1075. return List
  1076. end
  1077.  
  1078. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1079. local type = type
  1080. local rng = Instance.new("Part", char)
  1081. rng.Anchored = true
  1082. rng.BrickColor = color
  1083. rng.CanCollide = false
  1084. rng.FormFactor = 3
  1085. rng.Name = "Ring"
  1086. rng.Material = "Neon"
  1087. rng.Size = Vector3.new(1, 1, 1)
  1088. rng.Transparency = 0
  1089. rng.TopSurface = 0
  1090. rng.BottomSurface = 0
  1091. rng.CFrame = pos
  1092. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1093. local rngm = Instance.new("SpecialMesh", rng)
  1094. rngm.MeshType = MType
  1095. rngm.Scale = Vector3.new(x1, y1, z1)
  1096. local scaler2 = 1
  1097. local speeder = FastSpeed
  1098. if type == "Add" then
  1099. scaler2 = 1 * value
  1100. elseif type == "Divide" then
  1101. scaler2 = 1 / value
  1102. end
  1103. coroutine.resume(coroutine.create(function()
  1104. for i = 0, 10 / bonuspeed, 0.1 do
  1105. swait()
  1106. if type == "Add" then
  1107. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1108. elseif type == "Divide" then
  1109. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1110. end
  1111. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1112. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1113. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1114. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1115. end
  1116. rng:Destroy()
  1117. end))
  1118. end
  1119.  
  1120. function SoulSteal(dude)
  1121. if dude.Name ~= char then
  1122. local bgf = IT("BodyGyro", dude.Head)
  1123. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1124. local val = IT("BoolValue", dude)
  1125. val.Name = "IsHit"
  1126. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1127. local soulst = coroutine.wrap(function()
  1128. local soul = Instance.new("Part",dude)
  1129. soul.Size = Vector3.new(1,1,1)
  1130. soul.CanCollide = false
  1131. soul.Anchored = false
  1132. soul.Position = torso.Position
  1133. soul.Transparency = 1
  1134. local PartEmmit1 = IT("ParticleEmitter", soul)
  1135. PartEmmit1.LightEmission = 1
  1136. PartEmmit1.Texture = "rbxassetid://569507414"
  1137. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1138. PartEmmit1.Rate = 250
  1139. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1140. PartEmmit1.Size = NumberSequence.new({
  1141. NumberSequenceKeypoint.new(0, 1, 0),
  1142. NumberSequenceKeypoint.new(1, 0, 0)
  1143. })
  1144. PartEmmit1.Transparency = NumberSequence.new({
  1145. NumberSequenceKeypoint.new(0, 0, 0),
  1146. NumberSequenceKeypoint.new(1, 1, 0)
  1147. })
  1148. PartEmmit1.Speed = NumberRange.new(0, 0)
  1149. PartEmmit1.VelocitySpread = 30000
  1150. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1151. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1152. local BodPoss = IT("BodyPosition", soul)
  1153. BodPoss.P = 3000
  1154. BodPoss.D = 1000
  1155. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1156. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1157. wait(1.6)
  1158. soul.Touched:connect(function(hit)
  1159. if hit.Parent == char then
  1160. soul:Destroy()
  1161. end
  1162. end)
  1163. wait(1.2)
  1164. while soul do
  1165. swait()
  1166. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1167. BodPoss.Position = tors.Position
  1168. end
  1169. end)
  1170. soulst()
  1171. end
  1172. end
  1173. function FaceMouse()
  1174. local Cam = workspace.CurrentCamera
  1175. return {
  1176. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1177. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1178. }
  1179. end
  1180. -------------------------------------------------------
  1181. --End Effect Function--
  1182. -------------------------------------------------------
  1183. function Cso(ID, PARENT, VOLUME, PITCH)
  1184. local NSound = nil
  1185. coroutine.resume(coroutine.create(function()
  1186. NSound = IT("Sound", PARENT)
  1187. NSound.Volume = VOLUME
  1188. NSound.Pitch = PITCH
  1189. NSound.SoundId = "http://www.roblox.com/asset/?id="
  1190. swait()
  1191. NSound:play()
  1192. game:GetService("Debris"):AddItem(NSound, 10)
  1193. end))
  1194. return NSound
  1195. end
  1196. function CameraEnshaking(Length, Intensity)
  1197. coroutine.resume(coroutine.create(function()
  1198. local intensity = 1 * Intensity
  1199. local rotM = 0.01 * Intensity
  1200. for i = 0, Length, 0.1 do
  1201. swait()
  1202. intensity = intensity - 0.05 * Intensity / Length
  1203. rotM = rotM - 5.0E-4 * Intensity / Length
  1204. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1205. 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)
  1206. end
  1207. hum.CameraOffset = Vector3.new(0, 0, 0)
  1208. end))
  1209. end
  1210. -------------------------------------------------------
  1211. --End Important Functions--
  1212. -------------------------------------------------------
  1213.  
  1214.  
  1215. -------------------------------------------------------
  1216. --Start Customization--
  1217. -------------------------------------------------------
  1218. local Player_Size = 1
  1219. if Player_Size ~= 1 then
  1220. root.Size = root.Size * Player_Size
  1221. tors.Size = tors.Size * Player_Size
  1222. hed.Size = hed.Size * Player_Size
  1223. ra.Size = ra.Size * Player_Size
  1224. la.Size = la.Size * Player_Size
  1225. rl.Size = rl.Size * Player_Size
  1226. ll.Size = ll.Size * Player_Size
  1227. ----------------------------------------------------------------------------------
  1228. rootj.Parent = root
  1229. neck.Parent = tors
  1230. RW.Parent = tors
  1231. LW.Parent = tors
  1232. RH.Parent = tors
  1233. LH.Parent = tors
  1234. ----------------------------------------------------------------------------------
  1235. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1236. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1237. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1238. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1239. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1240. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1241. ----------------------------------------------------------------------------------
  1242. 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))
  1243. 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))
  1244. 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))
  1245. 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))
  1246. --hat.Parent = Character
  1247. end
  1248. ----------------------------------------------------------------------------------
  1249. local SONG = 0
  1250. local SONG2 = 0
  1251. local Music = Instance.new("Sound",tors)
  1252. Music.Volume = 2.5
  1253. Music.Looped = true
  1254. Music.Pitch = 1 --Pitcher
  1255. ----------------------------------------------------------------------------------
  1256. local equipped = false
  1257. local idle = 0
  1258. local change = 1
  1259. local val = 0
  1260. local toim = 0
  1261. local idleanim = 0.4
  1262. local sine = 0
  1263. local Sit = 1
  1264. ----------------------------------------------------------------------------------
  1265. hum.WalkSpeed = 8
  1266. hum.JumpPower = 57
  1267. hum.Animator.Parent = nil
  1268. ----------------------------------------------------------------------------------
  1269. local r = 255
  1270. local g = 0
  1271. local b = 0
  1272. coroutine.resume(coroutine.create(function()
  1273. while wait() do
  1274. for i = 0, 50.8 do
  1275. swait()
  1276. g = g + 5
  1277. end
  1278. for i = 0, 50.8 do
  1279. swait()
  1280. r = r - 5
  1281. end
  1282. for i = 0, 50.8 do
  1283. swait()
  1284. b = b + 5
  1285. end
  1286. for i = 0, 50.8 do
  1287. swait()
  1288. g = g - 5
  1289. end
  1290. for i = 0, 50.8 do
  1291. swait()
  1292. r = r + 5
  1293. end
  1294. for i = 0, 50.8 do
  1295. swait()
  1296. b = b - 5
  1297. end
  1298. end
  1299. end))
  1300. ----------------------------------------------------------------------------------
  1301.  
  1302. sine=1
  1303.  
  1304. tors.CFrame=tors.CFrame*CFrame.new(0,1,0)
  1305.  
  1306.  
  1307. Grass=Instance.new('Part',char)
  1308. Grass.Name='Grass'
  1309. Grass.Anchored=true
  1310. Grass.Size=Vector3.new(11.42, 0.17, 17.6)
  1311. Grass.CFrame=tors.CFrame*CFrame.new(-0.43, -3.905, -0.1)
  1312. Grass.Material='Neon'
  1313. Grass.BrickColor=BrickColor.new('Institutional white')
  1314. m=Instance.new('CylinderMesh',Grass)
  1315. White=Instance.new('Part',char)
  1316. White.Name='White Space'
  1317. White.Anchored=true
  1318. White.Size=Vector3.new(35.2, 0.05, 17.6)
  1319. White.CFrame=tors.CFrame*CFrame.new(0.39, -3.965, -0.1)
  1320. White.Material='Neon'
  1321. White.BrickColor=BrickColor.new('Really black')
  1322. m=Instance.new('CylinderMesh',White)
  1323. char.Head.face.Transparency = 0
  1324. char["Left Leg"].Transparency = 1
  1325. char["Head"].Transparency = 1
  1326. char["Right Leg"].Transparency = 1
  1327. char["Torso"].Transparency = 1
  1328. char["Left Arm"].Transparency = 1
  1329. char["Right Arm"].Transparency = 1
  1330.  
  1331. local AddInstance = function(Object, ...)
  1332. local Obj = Instance.new(Object)
  1333. for i,v in next,(...) do
  1334. Obj[i] = v
  1335. end
  1336. return Obj
  1337. end
  1338. ----------------------------------------------------
  1339. for i,v in pairs(char:GetChildren()) do
  1340. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  1341. v:Destroy()
  1342. end
  1343. end
  1344.  
  1345. local Reaper = AddInstance("Part",{
  1346. Parent = hed,
  1347. CFrame = hed.CFrame,
  1348. formFactor = "Symmetric",
  1349. Size = Vector3.new(1, 1, 1),
  1350. CanCollide = false,
  1351. TopSurface = "Smooth",
  1352. BottomSurface = "Smooth",
  1353. Locked = true,
  1354. })
  1355. local Weld = AddInstance("Weld",{
  1356. Parent = Reaper,
  1357. Part0 = hed,
  1358. C0 = CFrame.new(0, 1.1, 0)*CFrame.Angles(0, 0, 0),
  1359. Part1 = Reaper,
  1360. })
  1361. local Mesh = AddInstance("SpecialMesh",{
  1362. Parent = Reaper,
  1363. MeshId = "rbxassetid://6837450",
  1364. TextureId = "rbxassetid://6837452",
  1365. Scale = Vector3.new(0.6, 0.6, 0.6),
  1366. VertexColor = Vector3.new(0.5, 0.5, 0.5),
  1367. })
  1368.  
  1369. Reaper.Transparency = 1
  1370. Grass.Transparency = 0.9
  1371. White.Transparency = 0.9
  1372. wait(0.001)
  1373. Grass.Transparency = 0.7
  1374. White.Transparency = 0.7
  1375. wait(0.001)
  1376. White.Transparency = 0.5
  1377. Grass.Transparency = 0.5
  1378. wait(0.001)
  1379. White.Transparency = 0.3
  1380. Grass.Transparency = 0.3
  1381. wait(0.001)
  1382. White.Transparency = 0.1
  1383. Grass.Transparency = 0.1
  1384. wait(0.001)
  1385. White.Transparency = 0
  1386. Grass.Transparency = 0
  1387. wait(2)
  1388. char.Head.face.Transparency = 0
  1389. char["Left Leg"].Transparency = 0.9
  1390. char["Head"].Transparency = 0.9
  1391. char["Right Leg"].Transparency = 0.9
  1392. char["Torso"].Transparency = 0.9
  1393. char["Left Arm"].Transparency = 0.9
  1394. char["Right Arm"].Transparency = 0.9
  1395. wait(0.001)
  1396. Reaper.Transparency = 0.7
  1397. char["Left Leg"].Transparency = 0.7
  1398. char["Head"].Transparency = 0.7
  1399. char["Right Leg"].Transparency = 0.7
  1400. char["Torso"].Transparency = 0.7
  1401. char["Left Arm"].Transparency = 0.7
  1402. char["Right Arm"].Transparency = 0.7
  1403. wait(0.001)
  1404. Reaper.Transparency = 0.5
  1405. char["Left Leg"].Transparency = 0.5
  1406. char["Head"].Transparency = 0.5
  1407. char["Right Leg"].Transparency = 0.5
  1408. char["Torso"].Transparency = 0.5
  1409. char["Left Arm"].Transparency = 0.5
  1410. char["Right Arm"].Transparency = 0.5
  1411. wait(0.001)
  1412. char["Left Leg"].Transparency = 0.3
  1413. char["Head"].Transparency = 0.3
  1414. char["Right Leg"].Transparency = 0.3
  1415. char["Torso"].Transparency = 0.3
  1416. char["Left Arm"].Transparency = 0.3
  1417. char["Right Arm"].Transparency = 0.3
  1418. wait(0.001)
  1419. Reaper.Transparency = 0.1
  1420. char["Left Leg"].Transparency = 0.1
  1421. char["Head"].Transparency = 0.1
  1422. char["Right Leg"].Transparency = 0.1
  1423. char["Torso"].Transparency = 0.1
  1424. char["Left Arm"].Transparency = 0.1
  1425. char["Right Arm"].Transparency = 0.1
  1426. wait(0.001)
  1427. Reaper.Transparency = 0
  1428. char["Left Leg"].Transparency = 0
  1429. char["Head"].Transparency = 0
  1430. char["Right Leg"].Transparency = 0
  1431. char["Torso"].Transparency = 0
  1432. char["Left Arm"].Transparency = 0
  1433. char["Right Arm"].Transparency = 0
  1434. wait(0.001)
  1435. hed.face.Texture = "http://www.roblox.com/asset/?id=1261023156"
  1436. plr = game.Players.LocalPlayer
  1437. char = plr.Character
  1438. mouse = plr:GetMouse()
  1439. whitecolor = Color3.new(1,1,1)
  1440. epicmode = false
  1441. normal = true
  1442. for i,v in pairs(char:GetChildren()) do
  1443. if v.ClassName == "Shirt" or v.ClassName == "Pants" or v.ClassName == "ShirtGraphic" then
  1444. v:Destroy()
  1445. end
  1446. end
  1447. local shirt = Instance.new("Shirt",char)
  1448. shirt.ShirtTemplate = "rbxassetid://821875134"
  1449. local pants = Instance.new("Pants",char)
  1450. pants.PantsTemplate = "rbxassetid://1632520491"
  1451. local bdycolors = char["Body Colors"]
  1452. bdycolors.HeadColor3 = blackcolor
  1453. bdycolors.LeftArmColor3 = blackcolor
  1454. bdycolors.LeftLegColor3 = blackcolor
  1455. bdycolors.RightArmColor3 = blackcolor
  1456. bdycolors.RightLegColor3 = blackcolor
  1457. bdycolors.TorsoColor3 = blackcolor
  1458.  
  1459. wait(1)
  1460. Grass.Transparency = 0
  1461. White.Transparency = 0
  1462. wait(0.001)
  1463. Grass.Transparency = 0.1
  1464. White.Transparency = 0.1
  1465. wait(0.001)
  1466. White.Transparency = 0.3
  1467. Grass.Transparency = 0.3
  1468. wait(0.001)
  1469. White.Transparency = 0.5
  1470. Grass.Transparency = 0.5
  1471. wait(0.001)
  1472. White.Transparency = 0.7
  1473. Grass.Transparency = 0.7
  1474. wait(0.001)
  1475. White.Transparency = 0.9
  1476. Grass.Transparency = 0.9
  1477. wait(0.001)
  1478. White.Transparency = 1
  1479. Grass.Transparency = 1
  1480. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1481. naeeym2.AlwaysOnTop = true
  1482. naeeym2.Size = UDim2.new(5,35,2,15)
  1483. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1484. naeeym2.Adornee = hed
  1485. naeeym2.Name = "Name"
  1486. --naeeym2.PlayerToHideFrom = Player
  1487. local tecks2 = Instance.new("TextLabel",naeeym2)
  1488. tecks2.BackgroundTransparency = 1
  1489. tecks2.TextScaled = true
  1490. tecks2.BorderSizePixel = 0
  1491. tecks2.Text = "Fight Me"
  1492. tecks2.Font = Enum.Font.Bodoni
  1493. tecks2.TextSize = 30
  1494. tecks2.TextStrokeTransparency = 0
  1495. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1496. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1497. tecks2.Size = UDim2.new(1,0,0.5,0)
  1498. tecks2.Parent = naeeym2]]
  1499. ----------------------------------------------------------------------------------
  1500. Reaper = IT("Model")
  1501. Reaper.Parent = char
  1502. Reaper.Name = "Reaper"
  1503. RHe = IT("Part")
  1504. RHe.Parent = Reaper
  1505. RHe.BrickColor = BrickC("Really black")
  1506. RHe.Locked = true
  1507. RHe.CanCollide = false
  1508. RHe.Transparency = 0
  1509. PMesh = IT("SpecialMesh")
  1510. RHe.formFactor = "Symmetric"
  1511. PMesh.MeshType = "FileMesh"
  1512. PMesh.MeshId = "rbxassetid://"
  1513. PMesh.TextureId = "rbxassetid://"
  1514. PMesh.Scale = Vector3.new(1, 1, 1)
  1515. PMesh.Parent = RHe
  1516. local RWeld = IT("Weld")
  1517. RWeld.Parent = RHe
  1518. RWeld.Part0 = RHe
  1519. RWeld.Part1 = hed
  1520. RWeld.C0 = CF(0, -.7, 0) * angles(0, 0, 0)
  1521. local naeeym2 = Instance.new("BillboardGui",char)
  1522. naeeym2.AlwaysOnTop = true
  1523. naeeym2.Size = UDim2.new(5,35,2,35)
  1524. naeeym2.StudsOffset = Vector3.new(0,2,0)
  1525. naeeym2.Adornee = hed
  1526. naeeym2.Name = "Name"
  1527.  
  1528. local tecks2 = Instance.new("TextLabel",naeeym2)
  1529. tecks2.BackgroundTransparency = 1
  1530. tecks2.TextScaled = true
  1531. tecks2.BorderSizePixel = 0
  1532. tecks2.Text = "Trip."
  1533. tecks2.Font = "Trip."
  1534. tecks2.TextSize = 30
  1535. tecks2.TextStrokeTransparency = 0
  1536. tecks2.TextColor3 = BrickColor.new('Really black').Color
  1537. tecks2.TextStrokeColor3 = BrickColor.new('Institutional white').Color
  1538. tecks2.Size = UDim2.new(1,0,0.5,0)
  1539. tecks2.Parent = naeeym2
  1540. textfag = tecks2
  1541. wait(0.001)
  1542. tecks2.Text = "Trip."
  1543. hum.WalkSpeed = 15
  1544. coroutine.resume(coroutine.create(function()
  1545. while textfag ~= nil do
  1546. swait()
  1547. textfag.Position = UDim2.new(math.random(-.2,.2),math.random(-3,3),.05,math.random(-3,3))
  1548. textfag.Rotation = math.random(-3,3)
  1549. end
  1550. end))
  1551. -------------------------------------------------------
  1552. --End Customization--
  1553. -------------------------------------------------------
  1554. -------------------------------------------------------
  1555. -------------------------------------------------------
  1556. --Start Attacks N Stuff--
  1557. -------------------------------------------------------
  1558. function RUN()
  1559. hum.WalkSpeed = 50
  1560. end
  1561. function STOP_RUNNING()
  1562. hum.WalkSpeed = 10
  1563. end
  1564.  
  1565.  
  1566.  
  1567. function ByeBye()
  1568. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1569. local target = nil
  1570. local targettorso = nil
  1571. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1572. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1573. target = mouse.Target.Parent.Humanoid
  1574. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1575. local targethead = mouse.Target.Parent:FindFirstChild("Head")
  1576. end
  1577. end
  1578. if target ~= nil then
  1579. targettorso.Anchored = true
  1580. attack = true
  1581. hum.WalkSpeed = 0
  1582. root.CFrame = targettorso.CFrame * CF(0,0,2)
  1583. for i = 0,4.2,0.1 do
  1584. swait()
  1585. 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)
  1586. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(0)), 0.3)
  1587. 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)
  1588. 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)
  1589. 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)
  1590. 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)
  1591. end
  1592. local bloody = Instance.new("ParticleEmitter",targettorso)
  1593. bloody.Color = ColorSequence.new(Color3.new(1, 1, 0), Color3.new(0, .5, 0))
  1594. bloody.LightEmission = .1
  1595. bloody.Size = NumberSequence.new(0.5, 0)
  1596. bloody.Texture = "http://www.roblox.com/asset/?id=2862690268"
  1597. aaa = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 5)})
  1598. bbb = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.0636, 0), NumberSequenceKeypoint.new(1, 1)})
  1599. bloody.Transparency = bbb
  1600. bloody.Size = aaa
  1601. bloody.ZOffset = -.9
  1602. bloody.Acceleration = Vector3.new(0, -5, 0)
  1603. bloody.LockedToPart = false
  1604. bloody.Lifetime = NumberRange.new(0.8)
  1605. bloody.Rate = 255
  1606. bloody.Rotation = NumberRange.new(-100, 100)
  1607. bloody.RotSpeed = NumberRange.new(-100, 100)
  1608. bloody.Speed = NumberRange.new(6)
  1609. bloody.VelocitySpread = 0
  1610. bloody.Enabled=true
  1611. targethead:Remove()
  1612. CFuncs.Sound.Create("429400881", targettorso, 5, .8)
  1613. CFuncs.Sound.Create("1093102664", targettorso, 10, 1)
  1614. for i = 0,6.2,0.1 do
  1615. swait()
  1616. 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)
  1617. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-110)), 0.3)
  1618. 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)
  1619. 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)
  1620. 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)
  1621. 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)
  1622. end
  1623. targettorso.Anchored = false
  1624. attack = false
  1625. hum.WalkSpeed = 16
  1626. root.CFrame = targettorso.CFrame * CF(0,0,3)
  1627. end
  1628. end
  1629. function AlohaMyFriend()
  1630. local function New(Object, Parent, Name, Data)
  1631. local Object = Instance.new(Object)
  1632. for Index, Value in pairs(Data or {}) do
  1633. Object[Index] = Value
  1634. end
  1635. Object.Parent = Parent
  1636. Object.Name = Name
  1637. return Object
  1638. end
  1639.  
  1640. local Blood1 = Create("ParticleEmitter")({
  1641. Color = ColorSequence.new(Color3.new(0, 1, 0), Color3.new(0, 1, 0)),
  1642. Transparency = NumberSequence.new(0.1, 1),
  1643. Size = NumberSequence.new(0.5, 0),
  1644. Texture = "http://www.roblox.com/asset/?id=2862690268",
  1645. Lifetime = NumberRange.new(0.8),
  1646. Rate = 255,
  1647. VelocitySpread = 40,
  1648. Rotation = NumberRange.new(100),
  1649. Speed = NumberRange.new(5),
  1650. LightEmission = 0,
  1651. LockedToPart = false,
  1652. Acceleration = Vector3.new(0, -10, 0),
  1653. EmissionDirection = "Bottom"
  1654. })
  1655.  
  1656. local target = nil
  1657. local targettorso = nil
  1658. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1659. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1660. target = mouse.Target.Parent.Humanoid
  1661. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1662. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1663. end
  1664. end
  1665. if target ~= nil then
  1666. targettorso.Anchored = true
  1667. attack = true
  1668. hum.WalkSpeed = 0
  1669. root.CFrame = targettorso.CFrame * CF(0,0,2.6)
  1670. for i = 0,6.2,0.1 do
  1671. swait()
  1672. 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)
  1673. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1674. 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)
  1675. 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)
  1676. 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)
  1677. 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)
  1678. end
  1679. local ModelHead01 = New("Model", char, "rip.", {})
  1680. local Humanoid01 = New("Humanoid", ModelHead01, "Humanoid", {})
  1681. local Head01 = targethead:Clone()
  1682. targethead.Transparency = 1
  1683. Head01.Parent = ModelHead01
  1684. local weldHead01 = Instance.new("Weld")
  1685. weldHead01.Parent = Head01
  1686. weldHead01.Part0 = targethead
  1687. weldHead01.Part1 = Head01
  1688. weldHead01.C1 = CFrame.new(0, 0, 0)
  1689. weldHead01.Part0 = ra
  1690. weldHead01.C1 = CFrame.new(0, 0, 1.2) * angles(math.rad(90), math.rad(0), math.rad(0))
  1691. local BE1 = Blood1:Clone()
  1692. BE1.Parent = targethead
  1693. game:GetService("Debris"):AddItem(BE1, 3)
  1694. BE1.Rate = 255
  1695. targettorso:BreakJoints()
  1696. CFuncs.Sound.Create("314390675", targettorso, 5, .7)
  1697. for i = 0,4.2,0.1 do
  1698. swait()
  1699. 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)
  1700. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-20)), 0.3)
  1701. 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)
  1702. 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)
  1703. 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)
  1704. 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)
  1705. end
  1706. for i = 0,6.2,0.1 do
  1707. swait()
  1708. 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)
  1709. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(40)), 0.3)
  1710. 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)
  1711. 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)
  1712. 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)
  1713. 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)
  1714. end
  1715. CFuncs.Sound.Create("541909763", targettorso, 5, .8)
  1716. weldHead01:Destroy()
  1717. Head01.CanCollide = true
  1718. local bodyVelocity2 = Create("BodyVelocity")({
  1719. velocity = Vector3.new(0, 10, 0) + root.CFrame.lookVector * 50,
  1720. P = 5000,
  1721. maxForce = Vector3.new(8000, 8000, 8000),
  1722. Parent = Head01
  1723. })
  1724. game:GetService("Debris"):AddItem(bodyVelocity2, 0.05)
  1725. for i = 0,6.2,0.1 do
  1726. swait()
  1727. 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)
  1728. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(0), Rad(0), Rad(-40)), 0.3)
  1729. 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)
  1730. 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)
  1731. RW.C0 = clerp(RW.C0, CF(1.4, 0.5 + 0.05 * Sin(sine / 30), 0.025 * Cos(sine / 20)) * angles(Rad(65), Rad(0), Rad(-15)), 0.1)
  1732. 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)
  1733. end
  1734. targettorso.Anchored = false
  1735. attack = false
  1736. hum.WalkSpeed = 16
  1737. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1738. end
  1739. end
  1740.  
  1741. function Good_Bye()
  1742. local function New(Object, Parent, Name, Data)
  1743. local Object = Instance.new(Object)
  1744. for Index, Value in pairs(Data or {}) do
  1745. Object[Index] = Value
  1746. end
  1747. Object.Parent = Parent
  1748. Object.Name = Name
  1749. return Object
  1750. end
  1751.  
  1752. local Blood1 = Create("ParticleEmitter")({
  1753. Color = ColorSequence.new(Color3.new(0, 1, 0), Color3.new(0, 1, 0)),
  1754. Transparency = NumberSequence.new(0.1, 1),
  1755. Size = NumberSequence.new(0.5, 0),
  1756. Texture = "http://www.roblox.com/asset/?id=2862690268",
  1757. Lifetime = NumberRange.new(0.8),
  1758. Rate = 255,
  1759. VelocitySpread = 40,
  1760. Rotation = NumberRange.new(100),
  1761. Speed = NumberRange.new(5),
  1762. LightEmission = 0,
  1763. LockedToPart = false,
  1764. Acceleration = Vector3.new(0, -10, 0),
  1765. EmissionDirection = "Bottom"
  1766. })
  1767.  
  1768. local target = nil
  1769. local targettorso = nil
  1770. if mouse.Target.Parent ~= char and mouse.Target.Parent.Parent ~= char and mouse.Target.Parent:FindFirstChild("Humanoid") ~= nil then
  1771. if mouse.Target.Parent.Humanoid.PlatformStand == false then
  1772. target = mouse.Target.Parent.Humanoid
  1773. targettorso = mouse.Target.Parent:FindFirstChild("Torso") or mouse.Target.Parent:FindFirstChild("UpperTorso")
  1774. targethead = mouse.Target.Parent:FindFirstChild("Head")
  1775. end
  1776. end
  1777. if target ~= nil then
  1778. targettorso.Anchored = true
  1779. attack = true
  1780. hum.WalkSpeed = 0
  1781. root.CFrame = targettorso.CFrame * CF(0,0,3)
  1782. for i = 0,6.2,0.1 do
  1783. swait()
  1784. 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)
  1785. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(45)), 0.3)
  1786. 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)
  1787. 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)
  1788. 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)
  1789. 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)
  1790. end
  1791. local BloodColor = Color3.new(0, 1, 0)
  1792. local PE1 = Blood1:Clone()
  1793. local PE2 = Blood1:Clone()
  1794. local Heart = Instance.new("Part")
  1795. Heart.Parent = workspace
  1796. Heart.Size = Vector3.new(1, 1, 1)
  1797. Heart.Archivable = true
  1798. Heart.Transparency = 0
  1799. Heart.CanCollide = false
  1800. Heart.BrickColor = BrickColor.new("Bright red")
  1801. Heart.Material = "Neon"
  1802. Heart.CanCollide = true
  1803. local weld1Heart = Instance.new("Weld")
  1804. weld1Heart.Parent = ra
  1805. weld1Heart.Part0 = ra
  1806. weld1Heart.Part1 = Heart
  1807. weld1Heart.C1 = CFrame.new(0, 1.3, 0)
  1808. CFuncs.Sound.Create("429400881", targettorso, 5, 1)
  1809. CFuncs.Sound.Create("131038747", targettorso, 7, 1)
  1810. PE1.Parent = ra
  1811. PE2.Parent = Heart
  1812. game:GetService("Debris"):AddItem(PE1, 3)
  1813. game:GetService("Debris"):AddItem(weld1Heart, 1.5)
  1814. game:GetService("Debris"):AddItem(Heart, 8)
  1815. for i = 0,8,0.1 do
  1816. swait()
  1817. rootj.C0 = clerp(rootj.C0, RootCF * CF(1.2, -2.5, -0.2) * angles(Rad(0), Rad(0), Rad(40)), 0.15)
  1818. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(10), Rad(-45)), 0.3)
  1819. RH.C0 = clerp(RH.C0, CF(1, -0.8, -0.4) * RHCF * angles(Rad(-5), Rad(0), Rad(-20)), 0.15)
  1820. LH.C0 = clerp(LH.C0, CF(-1, -0.8, -0.2) * LHCF * angles(Rad(-5), Rad(0), Rad(56)), 0.15)
  1821. 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)
  1822. 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)
  1823. end
  1824. targettorso:BreakJoints()
  1825. for i = 0,9,0.1 do
  1826. swait()
  1827. 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)
  1828. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(20), Rad(0), Rad(-20)), 0.3)
  1829. 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)
  1830. 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)
  1831. 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)
  1832. 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)
  1833. end
  1834. targettorso.Anchored = false
  1835. attack = false
  1836. hum.WalkSpeed = 16
  1837. root.CFrame = targettorso.CFrame * CF(0,0,3.4)
  1838. end
  1839. end
  1840.  
  1841. -------------------------------------------------------
  1842. --End Attacks N Stuff--
  1843. -------------------------------------------------------
  1844. mouse.KeyDown:connect(function(key)
  1845. if string.byte(key) == 48 then
  1846. Swing = 2
  1847. hum.WalkSpeed = 38.82
  1848. end
  1849. end)
  1850. mouse.KeyUp:connect(function(key)
  1851. if string.byte(key) == 48 then
  1852. Swing = 1
  1853. hum.WalkSpeed = 8
  1854. end
  1855. end)
  1856. mouse.KeyDown:Connect(function(key)
  1857. if key == "n" then
  1858. print ("Running..")
  1859. RUN()
  1860. end
  1861. if key == "m" then
  1862. print("Walking..")
  1863. STOP_RUNNING()
  1864. end
  1865. if key == "z" then
  1866. ByeBye()
  1867. end
  1868. if key == "x" then
  1869. AlohaMyFriend()
  1870. end
  1871. if key == "c" then
  1872. Good_Bye()
  1873. end
  1874.  
  1875. end)
  1876.  
  1877.  
  1878. -------------------------------------------------------
  1879. --Start Animations--
  1880. -------------------------------------------------------
  1881. while true do
  1882. swait()
  1883. sine = sine + change
  1884. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1885. local velderp = root.Velocity.y
  1886. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1887. if equipped == true or equipped == false then
  1888. if attack == false then
  1889. idle = idle + 1
  1890. else
  1891. idle = 0
  1892. end
  1893. tecks2.TextStrokeColor3 = Color3.new(r / 255, g / 255, b / 255)
  1894. if 1 < root.Velocity.y and hitfloor == nil then
  1895. Anim = "Jump"
  1896. if attack == false then
  1897. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(-16), Rad(0), Rad(0)), 0.15)
  1898. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1899. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -.2 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1900. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.9 - 0.1 * Cos(sine / 20), -.5* Player_Size) * LHCF * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1901. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(13 + 4.5 * Sin(sine / 20))), 0.1)
  1902. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(25), Rad(-.6), Rad(-13 - 4.5 * Sin(sine / 20))), 0.1)
  1903. end
  1904. elseif -1 > root.Velocity.y and hitfloor == nil then
  1905. Anim = "Fall"
  1906. if attack == false then
  1907. rootj.C0 = clerp(rootj.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1 + 0.1 * Cos(sine / 20)* Player_Size) * angles(Rad(24), Rad(0), Rad(0)), 0.15)
  1908. neck.C0 = clerp(neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(10 - 2.5 * Sin(sine / 30)), Rad(0), Rad(0)), 0.3)
  1909. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -1 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * RHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1910. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -.8 - 0.1 * Cos(sine / 20)* Player_Size, -.3* Player_Size) * LHCF * angles(Rad(-3.5), Rad(0), Rad(0)), 0.15)
  1911. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(65), Rad(-.6), Rad(45 + 4.5 * Sin(sine / 20))), 0.1)
  1912. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(55), Rad(-.6), Rad(-45 - 4.5 * Sin(sine / 20))), 0.1)
  1913. end
  1914. elseif torvel < 1 and hitfloor ~= nil then
  1915. Anim = "Idle"
  1916. change = .5
  1917. if attack == false then
  1918. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.1 + 0.05 * Cos(sine / 20)) * angles(Rad(0), Rad(0), Rad(0)), 0.15)
  1919. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-4.5 * Sin(sine / 3)), Rad(-4.5 * Sin(sine / 3)), Rad(0)), 0.3)
  1920. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8 + 0.1 * Cos(sine / 3)* Player_Size, -.3* Player_Size) * angles(Rad(0), Rad(74), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(-5)), 0.15)
  1921. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.9 - 0.05 * Cos(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(0), Rad(-87), Rad(0)) * angles(Rad(-2.5), Rad(0), Rad(0)), 0.15)
  1922. RW.C0 = clerp(RW.C0, CF(1* Player_Size, 0.3 + 0.05 * Sin(sine / 20)* Player_Size, .6* Player_Size) * angles(Rad(-35), Rad(-25 + 2.5 * Sin(sine / 20)), Rad(-55 + 2.5 * Sin(sine / 20))), 0.12)
  1923. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 20* Player_Size), 0* Player_Size) * angles(Rad(-30 * Sin(sine / 10)), Rad(0), Rad(-5 - 4.5 * Sin(sine / 20))), 0.1)
  1924. end
  1925. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1926. Anim = "Walk"
  1927. change = .9
  1928. if attack == false then
  1929. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1930. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(6 - 2.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1931. RH.C0 = clerp(RH.C0, CF(1, -0.8 - 0.5 * Cos(sine / 7) / 2, 0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 - 5 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1932. LH.C0 = clerp(LH.C0, CF(-1, -0.8 + 0.5 * Cos(sine / 7) / 2, -0.6 * Cos(sine / 7) / 2) * angles(Rad(-15 + 5 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 3 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1933. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(37) * Cos(sine / 7) , Rad(0), Rad(-.6) - ra.RotVelocity.Y / 75), 0.1)
  1934. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 7), 0) * angles(Rad(-37) * Cos(sine / 7) , Rad(0) , Rad(.6) + la.RotVelocity.Y / 75), 0.1)
  1935. end
  1936. elseif torvel >= 25 and hitfloor ~= nil then
  1937. Anim = "Sprint"
  1938. change = 1.35
  1939. if attack == false then
  1940. rootj.C0 = clerp(rootj.C0, RootCF * CF(0, 0, -0.175 + 0.025 * Cos(sine / 3.5) + -Sin(sine / 3.5) / 7) * angles(Rad(26 - 4.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(15 * Cos(sine / 7))), 0.15)
  1941. tors.Neck.C0 = clerp(tors.Neck.C0, necko * angles(Rad(-2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1942. RH.C0 = clerp(RH.C0, CF(1, -0.925 - 0.5 * Cos(sine / 7) / 2, 0.7 * Cos(sine / 7) / 2) * 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)
  1943. LH.C0 = clerp(LH.C0, CF(-1, -0.925 + 0.5 * Cos(sine / 7) / 2, -0.7 * Cos(sine / 7) / 2) * 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)
  1944. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 + 0.05 * Sin(sine / 30), 0.34 * Cos(sine / 7)) * angles(Rad(110) * Cos(sine / 7) , Rad(0), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1945. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5 + 0.05 * Sin(sine / 30), -0.34 * Cos(sine / 7)) * angles(Rad(-110) * Cos(sine / 7) , Rad(0) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1946. end
  1947. end
  1948. end
  1949. Music.SoundId = ""
  1950. Music.Looped = true
  1951. Music.Pitch = 1
  1952. Music.Volume = 5
  1953. Music.Parent = tors
  1954. Music:Resume()
  1955. if 0 < #Effects then
  1956. for e = 1, #Effects do
  1957. if Effects[e] ~= nil then
  1958. local Thing = Effects[e]
  1959. if Thing ~= nil then
  1960. local Part = Thing[1]
  1961. local Mode = Thing[2]
  1962. local Delay = Thing[3]
  1963. local IncX = Thing[4]
  1964. local IncY = Thing[5]
  1965. local IncZ = Thing[6]
  1966. if 1 >= Thing[1].Transparency then
  1967. if Thing[2] == "Block1" then
  1968. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1969. local Mesh = Thing[1].Mesh
  1970. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1971. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1972. elseif Thing[2] == "Block2" then
  1973. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1974. local Mesh = Thing[7]
  1975. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1976. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1977. elseif Thing[2] == "Block3" then
  1978. 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)
  1979. local Mesh = Thing[7]
  1980. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1981. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1982. elseif Thing[2] == "Cylinder" then
  1983. local Mesh = Thing[1].Mesh
  1984. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1985. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1986. elseif Thing[2] == "Blood" then
  1987. local Mesh = Thing[7]
  1988. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1989. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1990. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1991. elseif Thing[2] == "Elec" then
  1992. local Mesh = Thing[1].Mesh
  1993. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1994. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1995. elseif Thing[2] == "Disappear" then
  1996. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1997. elseif Thing[2] == "Shatter" then
  1998. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1999. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  2000. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2001. Thing[6] = Thing[6] + Thing[5]
  2002. end
  2003. else
  2004. Part.Parent = nil
  2005. table.remove(Effects, e)
  2006. end
  2007. end
  2008. end
  2009. end
  2010. end
  2011. end
  2012. -------------------------------------------------------
  2013. --End Animations And Script--
  2014. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement