Advertisement
seasee54u

Untitled

Apr 21st, 2019
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 60.10 KB | None | 0 0
  1. -- This script has been converted to FE by timlikekezenit
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility by timlikekezenit")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local Mouse = Player:GetMouse()
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  85. end
  86.  
  87. -----------------------
  88. --[[ Name : God ]]--
  89. -------------------------------------------------------
  90. --A script By makhail07
  91.  
  92. --Discord Creterisk#2958
  93.  
  94. --NOTE THIS SCRIPT WAS PURELY MADE FROM MY FUCKING IMAGINATION
  95. --IF IT HAPPENS TO LOOK LIKE ANOTHER SCRIPT
  96. --DONT CALL IT A FUCKING BOOTLEG THANK YOU AND ENJOY THE SCRIPT
  97. --YOU FUCKING SKIDS,
  98. --For Those who log/decompile this, If you sell or trade this,
  99. --and I find out who you are, i will take massive action.
  100.  
  101. -------------------------------------------------------
  102.  
  103. local FavIDs = {
  104. 340106355, --Nefl Crystals
  105. 927529620, --Dimension
  106. 876981900, --Fantasy
  107. 398987889, --Ordinary Days
  108. 1117396305, --Oh wait, it's you.
  109. 885996042, --Action Winter Journey
  110. 919231299, --Sprawling Idiot Effigy
  111. 743466274, --Good Day Sunshine
  112. 727411183, --Knife Fight
  113. 1402748531, --The Earth Is Counting On You!
  114. 595230126 --Robot Language
  115. }
  116.  
  117.  
  118.  
  119. --The reality of my life isn't real but a Universe -makhail07
  120. wait()
  121. local plr = owner
  122. print('Local User is '..plr.Name)
  123. print('God Loaded')
  124. print('hahahAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA')
  125. local char = plr.Character
  126. local hum = char.Humanoid
  127. local hed = char.Head
  128. local root = char.HumanoidRootPart
  129. local rootj = root.RootJoint
  130. local tors = char.Torso
  131. local ra = char["Right Arm"]
  132. local la = char["Left Arm"]
  133. local rl = char["Right Leg"]
  134. local ll = char["Left Leg"]
  135. local neck = tors["Neck"]
  136. local RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  137. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  138. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  139. local maincolor = BrickColor.new("Institutional white")
  140.  
  141.  
  142. -------------------------------------------------------
  143. --Start Good Stuff--
  144. -------------------------------------------------------
  145. cam = game.Workspace.CurrentCamera
  146. CF = CFrame.new
  147. angles = CFrame.Angles
  148. attack = false
  149. Euler = CFrame.fromEulerAnglesXYZ
  150. Rad = math.rad
  151. IT = Instance.new
  152. BrickC = BrickColor.new
  153. Cos = math.cos
  154. Acos = math.acos
  155. Sin = math.sin
  156. Asin = math.asin
  157. Abs = math.abs
  158. Mrandom = math.random
  159. Floor = math.floor
  160. -------------------------------------------------------
  161. --End Good Stuff--
  162. -------------------------------------------------------
  163. necko = CF(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  164. RSH, LSH = nil, nil
  165. RW = Instance.new("Weld")
  166. LW = Instance.new("Weld")
  167. RH = tors["Right Hip"]
  168. LH = tors["Left Hip"]
  169. RSH = tors["Right Shoulder"]
  170. LSH = tors["Left Shoulder"]
  171. RSH.Parent = nil
  172. LSH.Parent = nil
  173. RW.Name = "RW"
  174. RW.Part0 = tors
  175. RW.C0 = CF(1.5, 0.5, 0)
  176. RW.C1 = CF(0, 0.5, 0)
  177. RW.Part1 = ra
  178. RW.Parent = tors
  179. LW.Name = "LW"
  180. LW.Part0 = tors
  181. LW.C0 = CF(-1.5, 0.5, 0)
  182. LW.C1 = CF(0, 0.5, 0)
  183. LW.Part1 = la
  184. LW.Parent = tors
  185. Effects = {}
  186. -------------------------------------------------------
  187. --Start HeartBeat--
  188. -------------------------------------------------------
  189. ArtificialHB = Instance.new("BindableEvent", script)
  190. ArtificialHB.Name = "Heartbeat"
  191. script:WaitForChild("Heartbeat")
  192.  
  193. frame = 1 / 60
  194. tf = 0
  195. allowframeloss = false
  196. tossremainder = false
  197.  
  198.  
  199. lastframe = tick()
  200. script.Heartbeat:Fire()
  201.  
  202.  
  203. game:GetService("RunService").Heartbeat:connect(function(s, p)
  204. tf = tf + s
  205. if tf >= frame then
  206. if allowframeloss then
  207. script.Heartbeat:Fire()
  208. lastframe = tick()
  209. else
  210. for i = 1, math.floor(tf / frame) do
  211. script.Heartbeat:Fire()
  212. end
  213. lastframe = tick()
  214. end
  215. if tossremainder then
  216. tf = 0
  217. else
  218. tf = tf - frame * math.floor(tf / frame)
  219. end
  220. end
  221. end)
  222. -------------------------------------------------------
  223. --End HeartBeat--
  224. -------------------------------------------------------
  225.  
  226. -------------------------------------------------------
  227. --Start Important Functions--
  228. -------------------------------------------------------
  229. function swait(num)
  230. if num == 0 or num == nil then
  231. game:service("RunService").Stepped:wait(0)
  232. else
  233. for i = 0, num do
  234. game:service("RunService").Stepped:wait(0)
  235. end
  236. end
  237. end
  238. function thread(f)
  239. coroutine.resume(coroutine.create(f))
  240. end
  241. function clerp(a, b, t)
  242. local qa = {
  243. QuaternionFromCFrame(a)
  244. }
  245. local qb = {
  246. QuaternionFromCFrame(b)
  247. }
  248. local ax, ay, az = a.x, a.y, a.z
  249. local bx, by, bz = b.x, b.y, b.z
  250. local _t = 1 - t
  251. return QuaternionToCFrame(_t * ax + t * bx, _t * ay + t * by, _t * az + t * bz, QuaternionSlerp(qa, qb, t))
  252. end
  253. function QuaternionFromCFrame(cf)
  254. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  255. local trace = m00 + m11 + m22
  256. if trace > 0 then
  257. local s = math.sqrt(1 + trace)
  258. local recip = 0.5 / s
  259. return (m21 - m12) * recip, (m02 - m20) * recip, (m10 - m01) * recip, s * 0.5
  260. else
  261. local i = 0
  262. if m00 < m11 then
  263. i = 1
  264. end
  265. if m22 > (i == 0 and m00 or m11) then
  266. i = 2
  267. end
  268. if i == 0 then
  269. local s = math.sqrt(m00 - m11 - m22 + 1)
  270. local recip = 0.5 / s
  271. return 0.5 * s, (m10 + m01) * recip, (m20 + m02) * recip, (m21 - m12) * recip
  272. elseif i == 1 then
  273. local s = math.sqrt(m11 - m22 - m00 + 1)
  274. local recip = 0.5 / s
  275. return (m01 + m10) * recip, 0.5 * s, (m21 + m12) * recip, (m02 - m20) * recip
  276. elseif i == 2 then
  277. local s = math.sqrt(m22 - m00 - m11 + 1)
  278. local recip = 0.5 / s
  279. return (m02 + m20) * recip, (m12 + m21) * recip, 0.5 * s, (m10 - m01) * recip
  280. end
  281. end
  282. end
  283. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  284. local xs, ys, zs = x + x, y + y, z + z
  285. local wx, wy, wz = w * xs, w * ys, w * zs
  286. local xx = x * xs
  287. local xy = x * ys
  288. local xz = x * zs
  289. local yy = y * ys
  290. local yz = y * zs
  291. local zz = z * zs
  292. 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))
  293. end
  294. function QuaternionSlerp(a, b, t)
  295. local cosTheta = a[1] * b[1] + a[2] * b[2] + a[3] * b[3] + a[4] * b[4]
  296. local startInterp, finishInterp
  297. if cosTheta >= 1.0E-4 then
  298. if 1 - cosTheta > 1.0E-4 then
  299. local theta = math.acos(cosTheta)
  300. local invSinTheta = 1 / Sin(theta)
  301. startInterp = Sin((1 - t) * theta) * invSinTheta
  302. finishInterp = Sin(t * theta) * invSinTheta
  303. else
  304. startInterp = 1 - t
  305. finishInterp = t
  306. end
  307. elseif 1 + cosTheta > 1.0E-4 then
  308. local theta = math.acos(-cosTheta)
  309. local invSinTheta = 1 / Sin(theta)
  310. startInterp = Sin((t - 1) * theta) * invSinTheta
  311. finishInterp = Sin(t * theta) * invSinTheta
  312. else
  313. startInterp = t - 1
  314. finishInterp = t
  315. end
  316. 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
  317. end
  318. function rayCast(Position, Direction, Range, Ignore)
  319. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  320. end
  321. local RbxUtility = LoadLibrary("RbxUtility")
  322. local Create = RbxUtility.Create
  323.  
  324. -------------------------------------------------------
  325. --Start Damage Function--
  326. -------------------------------------------------------
  327. function Damage(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  328. if hit.Parent == nil then
  329. return
  330. end
  331. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  332. for _, v in pairs(hit.Parent:children()) do
  333. if v:IsA("Humanoid") then
  334. h = v
  335. end
  336. end
  337. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("UpperTorso") ~= nil then
  338.  
  339. hit.Parent:FindFirstChild("Head"):BreakJoints()
  340. end
  341.  
  342. if h ~= nil and hit.Parent.Name ~= char.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  343. if hit.Parent:findFirstChild("DebounceHit") ~= nil then
  344. if hit.Parent.DebounceHit.Value == true then
  345. return
  346. end
  347. end
  348. if insta == true then
  349. hit.Parent:FindFirstChild("Head"):BreakJoints()
  350. end
  351. local c = Create("ObjectValue"){
  352. Name = "creator",
  353. Value = owner,
  354. Parent = h,
  355. }
  356. game:GetService("Debris"):AddItem(c, .5)
  357. if HitSound ~= nil and HitPitch ~= nil then
  358. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  359. end
  360. local Damage = math.random(minim, maxim)
  361. local blocked = false
  362. local block = hit.Parent:findFirstChild("Block")
  363. if block ~= nil then
  364. if block.className == "IntValue" then
  365. if block.Value > 0 then
  366. blocked = true
  367. block.Value = block.Value - 1
  368. print(block.Value)
  369. end
  370. end
  371. end
  372. if blocked == false then
  373. h.Health = h.Health - Damage
  374. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  375. else
  376. h.Health = h.Health - (Damage / 2)
  377. ShowDamage((Part.CFrame * CFrame.new(0, 0, (Part.Size.Z / 2)).p + Vector3.new(0, 1.5, 0)), -Damage, 1.5, tors.BrickColor.Color)
  378. end
  379. if Type == "Knockdown" then
  380. local hum = hit.Parent.Humanoid
  381. hum.PlatformStand = true
  382. coroutine.resume(coroutine.create(function(HHumanoid)
  383. swait(1)
  384. HHumanoid.PlatformStand = false
  385. end), hum)
  386. local angle = (hit.Position - (Property.Position + Vector3.new(0, 0, 0))).unit
  387. local bodvol = Create("BodyVelocity"){
  388. velocity = angle * knockback,
  389. P = 5000,
  390. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  391. Parent = hit,
  392. }
  393. local rl = Create("BodyAngularVelocity"){
  394. P = 3000,
  395. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  396. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  397. Parent = hit,
  398. }
  399. game:GetService("Debris"):AddItem(bodvol, .5)
  400. game:GetService("Debris"):AddItem(rl, .5)
  401. elseif Type == "Normal" then
  402. local vp = Create("BodyVelocity"){
  403. P = 500,
  404. maxForce = Vector3.new(math.huge, 0, math.huge),
  405. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05,
  406. }
  407. if knockback > 0 then
  408. vp.Parent = hit.Parent.Torso
  409. end
  410. game:GetService("Debris"):AddItem(vp, .5)
  411. elseif Type == "Up" then
  412. local bodyVelocity = Create("BodyVelocity"){
  413. velocity = Vector3.new(0, 20, 0),
  414. P = 5000,
  415. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  416. Parent = hit,
  417. }
  418. game:GetService("Debris"):AddItem(bodyVelocity, .5)
  419. elseif Type == "DarkUp" then
  420. coroutine.resume(coroutine.create(function()
  421. for i = 0, 1, 0.1 do
  422. swait()
  423. Effects.Block.Create(BrickColor.new("Black"), hit.Parent.Torso.CFrame, 5, 5, 5, 1, 1, 1, .08, 1)
  424. end
  425. end))
  426. local bodyVelocity = Create("BodyVelocity"){
  427. velocity = Vector3.new(0, 20, 0),
  428. P = 5000,
  429. maxForce = Vector3.new(8e+003, 8e+003, 8e+003),
  430. Parent = hit,
  431. }
  432. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  433. elseif Type == "Snare" then
  434. local bp = Create("BodyPosition"){
  435. P = 2000,
  436. D = 100,
  437. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  438. position = hit.Parent.Torso.Position,
  439. Parent = hit.Parent.Torso,
  440. }
  441. game:GetService("Debris"):AddItem(bp, 1)
  442. elseif Type == "Freeze" then
  443. local BodPos = Create("BodyPosition"){
  444. P = 50000,
  445. D = 1000,
  446. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  447. position = hit.Parent.Torso.Position,
  448. Parent = hit.Parent.Torso,
  449. }
  450. local BodGy = Create("BodyGyro") {
  451. maxTorque = Vector3.new(4e+005, 4e+005, 4e+005) * math.huge ,
  452. P = 20e+003,
  453. Parent = hit.Parent.Torso,
  454. cframe = hit.Parent.Torso.CFrame,
  455. }
  456. hit.Parent.Torso.Anchored = true
  457. coroutine.resume(coroutine.create(function(Part)
  458. swait(1.5)
  459. Part.Anchored = false
  460. end), hit.Parent.Torso)
  461. game:GetService("Debris"):AddItem(BodPos, 3)
  462. game:GetService("Debris"):AddItem(BodGy, 3)
  463. end
  464. local debounce = Create("BoolValue"){
  465. Name = "DebounceHit",
  466. Parent = hit.Parent,
  467. Value = true,
  468. }
  469. game:GetService("Debris"):AddItem(debounce, Delay)
  470. c = Create("ObjectValue"){
  471. Name = "creator",
  472. Value = Player,
  473. Parent = h,
  474. }
  475. game:GetService("Debris"):AddItem(c, .5)
  476. end
  477. end
  478. -------------------------------------------------------
  479. --End Damage Function--
  480. -------------------------------------------------------
  481.  
  482. -------------------------------------------------------
  483. --Start Damage Function Customization--
  484. -------------------------------------------------------
  485. function ShowDamage(Pos, Text, Time, Color)
  486. local Rate = (1 / 30)
  487. local Pos = (Pos or Vector3.new(0, 0, 0))
  488. local Text = (Text or "")
  489. local Time = (Time or 2)
  490. local Color = (Color or Color3.new(1, 0, 1))
  491. local EffectPart = CFuncs.Part.Create(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  492. EffectPart.Anchored = true
  493. local BillboardGui = Create("BillboardGui"){
  494. Size = UDim2.new(3, 0, 3, 0),
  495. Adornee = EffectPart,
  496. Parent = EffectPart,
  497. }
  498. local TextLabel = Create("TextLabel"){
  499. BackgroundTransparency = 1,
  500. Size = UDim2.new(1, 0, 1, 0),
  501. Text = Text,
  502. Font = "Bodoni",
  503. TextColor3 = Color,
  504. TextScaled = true,
  505. TextStrokeColor3 = Color3.fromRGB(0,0,0),
  506. Parent = BillboardGui,
  507. }
  508. game.Debris:AddItem(EffectPart, (Time))
  509. EffectPart.Parent = game:GetService("Workspace")
  510. delay(0, function()
  511. local Frames = (Time / Rate)
  512. for Frame = 1, Frames do
  513. wait(Rate)
  514. local Percent = (Frame / Frames)
  515. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  516. TextLabel.TextTransparency = Percent
  517. end
  518. if EffectPart and EffectPart.Parent then
  519. EffectPart:Destroy()
  520. end
  521. end)
  522. end
  523. -------------------------------------------------------
  524. --End Damage Function Customization--
  525. -------------------------------------------------------
  526.  
  527. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  528. for _, c in pairs(workspace:children()) do
  529. local hum = c:findFirstChild("Humanoid")
  530. if hum ~= nil then
  531. local head = c:findFirstChild("Head")
  532. if head ~= nil then
  533. local targ = head.Position - Part.Position
  534. local mag = targ.magnitude
  535. if magni >= mag and c.Name ~= plr.Name then
  536. Damage(head, head, mindam, maxdam, knock, Type, root, 0.1, "http://www.roblox.com/asset/?id=0", 1.2)
  537. end
  538. end
  539. end
  540. end
  541. end
  542.  
  543.  
  544. CFuncs = {
  545. Part = {
  546. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  547. local Part = Create("Part")({
  548. Parent = Parent,
  549. Reflectance = Reflectance,
  550. Transparency = Transparency,
  551. CanCollide = false,
  552. Locked = true,
  553. BrickColor = BrickColor.new(tostring(BColor)),
  554. Name = Name,
  555. Size = Size,
  556. Material = Material
  557. })
  558. RemoveOutlines(Part)
  559. return Part
  560. end
  561. },
  562. Mesh = {
  563. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  564. local Msh = Create(Mesh)({
  565. Parent = Part,
  566. Offset = OffSet,
  567. Scale = Scale
  568. })
  569. if Mesh == "SpecialMesh" then
  570. Msh.MeshType = MeshType
  571. Msh.MeshId = MeshId
  572. end
  573. return Msh
  574. end
  575. },
  576. Mesh = {
  577. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  578. local Msh = Create(Mesh)({
  579. Parent = Part,
  580. Offset = OffSet,
  581. Scale = Scale
  582. })
  583. if Mesh == "SpecialMesh" then
  584. Msh.MeshType = MeshType
  585. Msh.MeshId = MeshId
  586. end
  587. return Msh
  588. end
  589. },
  590. Weld = {
  591. Create = function(Parent, Part0, Part1, C0, C1)
  592. local Weld = Create("Weld")({
  593. Parent = Parent,
  594. Part0 = Part0,
  595. Part1 = Part1,
  596. C0 = C0,
  597. C1 = C1
  598. })
  599. return Weld
  600. end
  601. },
  602. Sound = {
  603. Create = function(id, par, vol, pit)
  604. coroutine.resume(coroutine.create(function()
  605. local S = Create("Sound")({
  606. Volume = vol,
  607. Pitch = pit or 1,
  608. SoundId = id,
  609. Parent = par or workspace
  610. })
  611. wait()
  612. S:play()
  613. game:GetService("Debris"):AddItem(S, 6)
  614. end))
  615. end
  616. },
  617. ParticleEmitter = {
  618. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  619. local fp = Create("ParticleEmitter")({
  620. Parent = Parent,
  621. Color = ColorSequence.new(Color1, Color2),
  622. LightEmission = LightEmission,
  623. Size = Size,
  624. Texture = Texture,
  625. Transparency = Transparency,
  626. ZOffset = ZOffset,
  627. Acceleration = Accel,
  628. Drag = Drag,
  629. LockedToPart = LockedToPart,
  630. VelocityInheritance = VelocityInheritance,
  631. EmissionDirection = EmissionDirection,
  632. Enabled = Enabled,
  633. Lifetime = LifeTime,
  634. Rate = Rate,
  635. Rotation = Rotation,
  636. RotSpeed = RotSpeed,
  637. Speed = Speed,
  638. VelocitySpread = VelocitySpread
  639. })
  640. return fp
  641. end
  642. }
  643. }
  644. function RemoveOutlines(part)
  645. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  646. end
  647. function CreatePart(FormFactor, Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  648. local Part = Create("Part")({
  649. formFactor = FormFactor,
  650. Parent = Parent,
  651. Reflectance = Reflectance,
  652. Transparency = Transparency,
  653. CanCollide = false,
  654. Locked = true,
  655. BrickColor = BrickColor.new(tostring(BColor)),
  656. Name = Name,
  657. Size = Size,
  658. Material = Material
  659. })
  660. RemoveOutlines(Part)
  661. return Part
  662. end
  663. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  664. local Msh = Create(Mesh)({
  665. Parent = Part,
  666. Offset = OffSet,
  667. Scale = Scale
  668. })
  669. if Mesh == "SpecialMesh" then
  670. Msh.MeshType = MeshType
  671. Msh.MeshId = MeshId
  672. end
  673. return Msh
  674. end
  675. function CreateWeld(Parent, Part0, Part1, C0, C1)
  676. local Weld = Create("Weld")({
  677. Parent = Parent,
  678. Part0 = Part0,
  679. Part1 = Part1,
  680. C0 = C0,
  681. C1 = C1
  682. })
  683. return Weld
  684. end
  685.  
  686.  
  687. -------------------------------------------------------
  688. --Start Effect Function--
  689. -------------------------------------------------------
  690. EffectModel = Instance.new("Model", char)
  691. Effects = {
  692. Block = {
  693. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  694. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  695. prt.Anchored = true
  696. prt.CFrame = cframe
  697. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  698. game:GetService("Debris"):AddItem(prt, 10)
  699. if Type == 1 or Type == nil then
  700. table.insert(Effects, {
  701. prt,
  702. "Block1",
  703. delay,
  704. x3,
  705. y3,
  706. z3,
  707. msh
  708. })
  709. elseif Type == 2 then
  710. table.insert(Effects, {
  711. prt,
  712. "Block2",
  713. delay,
  714. x3,
  715. y3,
  716. z3,
  717. msh
  718. })
  719. else
  720. table.insert(Effects, {
  721. prt,
  722. "Block3",
  723. delay,
  724. x3,
  725. y3,
  726. z3,
  727. msh
  728. })
  729. end
  730. end
  731. },
  732. Sphere = {
  733. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  734. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  735. prt.Anchored = true
  736. prt.CFrame = cframe
  737. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  738. game:GetService("Debris"):AddItem(prt, 10)
  739. table.insert(Effects, {
  740. prt,
  741. "Cylinder",
  742. delay,
  743. x3,
  744. y3,
  745. z3,
  746. msh
  747. })
  748. end
  749. },
  750. Cylinder = {
  751. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  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("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  756. game:GetService("Debris"):AddItem(prt, 10)
  757. table.insert(Effects, {
  758. prt,
  759. "Cylinder",
  760. delay,
  761. x3,
  762. y3,
  763. z3,
  764. msh
  765. })
  766. end
  767. },
  768. Wave = {
  769. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  770. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  771. prt.Anchored = true
  772. prt.CFrame = cframe
  773. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://20329976", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  774. game:GetService("Debris"):AddItem(prt, 10)
  775. table.insert(Effects, {
  776. prt,
  777. "Cylinder",
  778. delay,
  779. x3 / 60,
  780. y3 / 60,
  781. z3 / 60,
  782. msh
  783. })
  784. end
  785. },
  786. Ring = {
  787. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  788. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  789. prt.Anchored = true
  790. prt.CFrame = cframe
  791. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  792. game:GetService("Debris"):AddItem(prt, 10)
  793. table.insert(Effects, {
  794. prt,
  795. "Cylinder",
  796. delay,
  797. x3,
  798. y3,
  799. z3,
  800. msh
  801. })
  802. end
  803. },
  804. Break = {
  805. Create = function(brickcolor, cframe, x1, y1, z1)
  806. local prt = CFuncs.Part.Create(EffectModel, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  807. prt.Anchored = true
  808. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  809. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  810. local num = math.random(10, 50) / 1000
  811. game:GetService("Debris"):AddItem(prt, 10)
  812. table.insert(Effects, {
  813. prt,
  814. "Shatter",
  815. num,
  816. prt.CFrame,
  817. math.random() - math.random(),
  818. 0,
  819. math.random(50, 100) / 100
  820. })
  821. end
  822. },
  823. Spiral = {
  824. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  825. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  826. prt.Anchored = true
  827. prt.CFrame = cframe
  828. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://1051557", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  829. game:GetService("Debris"):AddItem(prt, 10)
  830. table.insert(Effects, {
  831. prt,
  832. "Cylinder",
  833. delay,
  834. x3,
  835. y3,
  836. z3,
  837. msh
  838. })
  839. end
  840. },
  841. Push = {
  842. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  843. local prt = CFuncs.Part.Create(EffectModel, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  844. prt.Anchored = true
  845. prt.CFrame = cframe
  846. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://437347603", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  847. game:GetService("Debris"):AddItem(prt, 10)
  848. table.insert(Effects, {
  849. prt,
  850. "Cylinder",
  851. delay,
  852. x3,
  853. y3,
  854. z3,
  855. msh
  856. })
  857. end
  858. }
  859. }
  860. function part(formfactor ,parent, reflectance, transparency, brickcolor, name, size)
  861. local fp = IT("Part")
  862. fp.formFactor = formfactor
  863. fp.Parent = parent
  864. fp.Reflectance = reflectance
  865. fp.Transparency = transparency
  866. fp.CanCollide = false
  867. fp.Locked = true
  868. fp.BrickColor = brickcolor
  869. fp.Name = name
  870. fp.Size = size
  871. fp.Position = tors.Position
  872. RemoveOutlines(fp)
  873. fp.Material = "SmoothPlastic"
  874. fp:BreakJoints()
  875. return fp
  876. end
  877.  
  878. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  879. local mesh = IT(Mesh)
  880. mesh.Parent = part
  881. if Mesh == "SpecialMesh" then
  882. mesh.MeshType = meshtype
  883. if meshid ~= "nil" then
  884. mesh.MeshId = "http://www.roblox.com/asset/?id="..meshid
  885. end
  886. end
  887. mesh.Offset = offset
  888. mesh.Scale = scale
  889. return mesh
  890. end
  891.  
  892. function Magic(bonuspeed, type, pos, scale, value, color, MType)
  893. local type = type
  894. local rng = Instance.new("Part", char)
  895. rng.Anchored = true
  896. rng.BrickColor = color
  897. rng.CanCollide = false
  898. rng.FormFactor = 3
  899. rng.Name = "Ring"
  900. rng.Material = "Neon"
  901. rng.Size = Vector3.new(1, 1, 1)
  902. rng.Transparency = 0
  903. rng.TopSurface = 0
  904. rng.BottomSurface = 0
  905. rng.CFrame = pos
  906. local rngm = Instance.new("SpecialMesh", rng)
  907. rngm.MeshType = MType
  908. rngm.Scale = scale
  909. local scaler2 = 1
  910. if type == "Add" then
  911. scaler2 = 1 * value
  912. elseif type == "Divide" then
  913. scaler2 = 1 / value
  914. end
  915. coroutine.resume(coroutine.create(function()
  916. for i = 0, 10 / bonuspeed, 0.1 do
  917. swait()
  918. if type == "Add" then
  919. scaler2 = scaler2 - 0.01 * value / bonuspeed
  920. elseif type == "Divide" then
  921. scaler2 = scaler2 - 0.01 / value * bonuspeed
  922. end
  923. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  924. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, scaler2 * bonuspeed)
  925. end
  926. rng:Destroy()
  927. end))
  928. end
  929.  
  930. function Eviscerate(dude)
  931. if dude.Name ~= char then
  932. local bgf = IT("BodyGyro", dude.Head)
  933. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  934. local val = IT("BoolValue", dude)
  935. val.Name = "IsHit"
  936. local ds = coroutine.wrap(function()
  937. dude:WaitForChild("Head"):BreakJoints()
  938. wait(0.5)
  939. target = nil
  940. coroutine.resume(coroutine.create(function()
  941. for i, v in pairs(dude:GetChildren()) do
  942. if v:IsA("Accessory") then
  943. v:Destroy()
  944. end
  945. if v:IsA("Humanoid") then
  946. v:Destroy()
  947. end
  948. if v:IsA("CharacterMesh") then
  949. v:Destroy()
  950. end
  951. if v:IsA("Model") then
  952. v:Destroy()
  953. end
  954. if v:IsA("Part") or v:IsA("MeshPart") then
  955. for x, o in pairs(v:GetChildren()) do
  956. if o:IsA("Decal") then
  957. o:Destroy()
  958. end
  959. end
  960. coroutine.resume(coroutine.create(function()
  961. v.Material = "Neon"
  962. v.CanCollide = false
  963. local PartEmmit1 = IT("ParticleEmitter", v)
  964. PartEmmit1.LightEmission = 1
  965. PartEmmit1.Texture = "rbxassetid://284205403"
  966. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  967. PartEmmit1.Rate = 150
  968. PartEmmit1.Lifetime = NumberRange.new(1)
  969. PartEmmit1.Size = NumberSequence.new({
  970. NumberSequenceKeypoint.new(0, 0.75, 0),
  971. NumberSequenceKeypoint.new(1, 0, 0)
  972. })
  973. PartEmmit1.Transparency = NumberSequence.new({
  974. NumberSequenceKeypoint.new(0, 0, 0),
  975. NumberSequenceKeypoint.new(1, 1, 0)
  976. })
  977. PartEmmit1.Speed = NumberRange.new(0, 0)
  978. PartEmmit1.VelocitySpread = 30000
  979. PartEmmit1.Rotation = NumberRange.new(-500, 500)
  980. PartEmmit1.RotSpeed = NumberRange.new(-500, 500)
  981. local BodPoss = IT("BodyPosition", v)
  982. BodPoss.P = 3000
  983. BodPoss.D = 1000
  984. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  985. BodPoss.position = v.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  986. v.Color = maincolor.Color
  987. coroutine.resume(coroutine.create(function()
  988. for i = 0, 49 do
  989. swait(1)
  990. v.Transparency = v.Transparency + 0.08
  991. end
  992. wait(0.5)
  993. PartEmmit1.Enabled = false
  994. wait(3)
  995. v:Destroy()
  996. dude:Destroy()
  997. end))
  998. end))
  999. end
  1000. end
  1001. end))
  1002. end)
  1003. ds()
  1004. end
  1005. end
  1006.  
  1007. function FindNearestHead(Position, Distance, SinglePlayer)
  1008. if SinglePlayer then
  1009. return Distance > (SinglePlayer.Torso.CFrame.p - Position).magnitude
  1010. end
  1011. local List = {}
  1012. for i, v in pairs(workspace:GetChildren()) do
  1013. if v:IsA("Model") and v:findFirstChild("Head") and v ~= char and Distance >= (v.Head.Position - Position).magnitude then
  1014. table.insert(List, v)
  1015. end
  1016. end
  1017. return List
  1018. end
  1019.  
  1020. function Aura(bonuspeed, FastSpeed, type, pos, x1, y1, z1, value, color, outerpos, MType)
  1021. local type = type
  1022. local rng = Instance.new("Part", char)
  1023. rng.Anchored = true
  1024. rng.BrickColor = color
  1025. rng.CanCollide = false
  1026. rng.FormFactor = 3
  1027. rng.Name = "Ring"
  1028. rng.Material = "Neon"
  1029. rng.Size = Vector3.new(1, 1, 1)
  1030. rng.Transparency = 0
  1031. rng.TopSurface = 0
  1032. rng.BottomSurface = 0
  1033. rng.CFrame = pos
  1034. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * outerpos
  1035. local rngm = Instance.new("SpecialMesh", rng)
  1036. rngm.MeshType = MType
  1037. rngm.Scale = Vector3.new(x1, y1, z1)
  1038. local scaler2 = 1
  1039. local speeder = FastSpeed
  1040. if type == "Add" then
  1041. scaler2 = 1 * value
  1042. elseif type == "Divide" then
  1043. scaler2 = 1 / value
  1044. end
  1045. coroutine.resume(coroutine.create(function()
  1046. for i = 0, 10 / bonuspeed, 0.1 do
  1047. swait()
  1048. if type == "Add" then
  1049. scaler2 = scaler2 - 0.01 * value / bonuspeed
  1050. elseif type == "Divide" then
  1051. scaler2 = scaler2 - 0.01 / value * bonuspeed
  1052. end
  1053. speeder = speeder - 0.01 * FastSpeed * bonuspeed
  1054. rng.CFrame = rng.CFrame + rng.CFrame.lookVector * speeder * bonuspeed
  1055. rng.Transparency = rng.Transparency + 0.01 * bonuspeed
  1056. rngm.Scale = rngm.Scale + Vector3.new(scaler2 * bonuspeed, scaler2 * bonuspeed, 0)
  1057. end
  1058. rng:Destroy()
  1059. end))
  1060. end
  1061.  
  1062. function SoulSteal(dude)
  1063. if dude.Name ~= char then
  1064. local bgf = IT("BodyGyro", dude.Head)
  1065. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(Rad(-90), 0, 0)
  1066. local val = IT("BoolValue", dude)
  1067. val.Name = "IsHit"
  1068. local torso = (dude:FindFirstChild'Head' or dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso' or dude:FindFirstChild'LowerTorso' or dude:FindFirstChild'HumanoidRootPart')
  1069. local soulst = coroutine.wrap(function()
  1070. local soul = Instance.new("Part",dude)
  1071. soul.Size = Vector3.new(1,1,1)
  1072. soul.CanCollide = false
  1073. soul.Anchored = false
  1074. soul.Position = torso.Position
  1075. soul.Transparency = 1
  1076. local PartEmmit1 = IT("ParticleEmitter", soul)
  1077. PartEmmit1.LightEmission = 1
  1078. PartEmmit1.Texture = "rbxassetid://569507414"
  1079. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1080. PartEmmit1.Rate = 250
  1081. PartEmmit1.Lifetime = NumberRange.new(1.6)
  1082. PartEmmit1.Size = NumberSequence.new({
  1083. NumberSequenceKeypoint.new(0, 1, 0),
  1084. NumberSequenceKeypoint.new(1, 0, 0)
  1085. })
  1086. PartEmmit1.Transparency = NumberSequence.new({
  1087. NumberSequenceKeypoint.new(0, 0, 0),
  1088. NumberSequenceKeypoint.new(1, 1, 0)
  1089. })
  1090. PartEmmit1.Speed = NumberRange.new(0, 0)
  1091. PartEmmit1.VelocitySpread = 30000
  1092. PartEmmit1.Rotation = NumberRange.new(-360, 360)
  1093. PartEmmit1.RotSpeed = NumberRange.new(-360, 360)
  1094. local BodPoss = IT("BodyPosition", soul)
  1095. BodPoss.P = 3000
  1096. BodPoss.D = 1000
  1097. BodPoss.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  1098. BodPoss.position = torso.Position + Vector3.new(Mrandom(-15, 15), Mrandom(-15, 15), Mrandom(-15, 15))
  1099. wait(1.6)
  1100. soul.Touched:connect(function(hit)
  1101. if hit.Parent == char then
  1102. soul:Destroy()
  1103. end
  1104. end)
  1105. wait(1.2)
  1106. while soul do
  1107. swait()
  1108. PartEmmit1.Color = ColorSequence.new(maincolor.Color)
  1109. BodPoss.Position = tors.Position
  1110. end
  1111. end)
  1112. soulst()
  1113. end
  1114. end
  1115. function FaceMouse()
  1116. local Cam = workspace.CurrentCamera
  1117. return {
  1118. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  1119. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  1120. }
  1121. end
  1122. -------------------------------------------------------
  1123. --End Effect Function--
  1124. -------------------------------------------------------
  1125. function Cso(ID, PARENT, VOLUME, PITCH)
  1126. local NSound = nil
  1127. coroutine.resume(coroutine.create(function()
  1128. NSound = IT("Sound", PARENT)
  1129. NSound.Volume = VOLUME
  1130. NSound.Pitch = PITCH
  1131. NSound.SoundId = "http://www.roblox.com/asset/?id="..ID
  1132. swait()
  1133. NSound:play()
  1134. game:GetService("Debris"):AddItem(NSound, 10)
  1135. end))
  1136. return NSound
  1137. end
  1138. function CameraEnshaking(Length, Intensity)
  1139. coroutine.resume(coroutine.create(function()
  1140. local intensity = 1 * Intensity
  1141. local rotM = 0.01 * Intensity
  1142. for i = 0, Length, 0.1 do
  1143. swait()
  1144. intensity = intensity - 0.05 * Intensity / Length
  1145. rotM = rotM - 5.0E-4 * Intensity / Length
  1146. hum.CameraOffset = Vector3.new(Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)), Rad(Mrandom(-intensity, intensity)))
  1147. 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)
  1148. end
  1149. hum.CameraOffset = Vector3.new(0, 0, 0)
  1150. end))
  1151. end
  1152. function chatfunc(text, color)
  1153. local chat = coroutine.wrap(function()
  1154. if char:FindFirstChild("TalkingBillBoard") ~= nil then
  1155. char:FindFirstChild("TalkingBillBoard"):destroy()
  1156. end
  1157. local naeeym2 = Instance.new("BillboardGui", char)
  1158. naeeym2.Size = UDim2.new(0, 100, 0, 40)
  1159. naeeym2.StudsOffset = Vector3.new(0, 5, 0)
  1160. naeeym2.Adornee = hed
  1161. naeeym2.Name = "TalkingBillBoard"
  1162. local tecks2 = Instance.new("TextLabel", naeeym2)
  1163. tecks2.BackgroundTransparency = 1
  1164. tecks2.BorderSizePixel = 0
  1165. tecks2.Text = ""
  1166. tecks2.Font = "SciFi"
  1167. tecks2.TextSize = 30
  1168. tecks2.TextStrokeTransparency = 0
  1169. tecks2.TextColor3 = color
  1170. tecks2.TextStrokeColor3 = Color3.new(0, 0, 0)
  1171. tecks2.Size = UDim2.new(1, 0, 0.5, 0)
  1172. coroutine.resume(coroutine.create(function()
  1173. while true do
  1174. swait(1)
  1175. tecks2.Position = UDim2.new(0, math.random(-5, 5), 0, math.random(-5, 5))
  1176. tecks2.Rotation = math.random(-5, 5)
  1177. end
  1178. end))
  1179. for i = 1, string.len(text) do
  1180. CFuncs.Sound.Create("rbxassetid://274118116", hed, 5.25, 0.115)
  1181. tecks2.Text = string.sub(text, 1, i)
  1182. swait(1)
  1183. end
  1184. wait(1)
  1185. naeeym2:Destroy()
  1186. end)
  1187. chat()
  1188. end
  1189. -------------------------------------------------------
  1190. --End Important Functions--
  1191. -------------------------------------------------------
  1192.  
  1193.  
  1194. -------------------------------------------------------
  1195. --Start Customization--
  1196. -------------------------------------------------------
  1197. local Player_Size = 1
  1198. if Player_Size ~= 1 then
  1199. root.Size = root.Size * Player_Size
  1200. tors.Size = tors.Size * Player_Size
  1201. hed.Size = hed.Size * Player_Size
  1202. ra.Size = ra.Size * Player_Size
  1203. la.Size = la.Size * Player_Size
  1204. rl.Size = rl.Size * Player_Size
  1205. ll.Size = ll.Size * Player_Size
  1206. ----------------------------------------------------------------------------------
  1207. rootj.Parent = root
  1208. neck.Parent = tors
  1209. RW.Parent = tors
  1210. LW.Parent = tors
  1211. RH.Parent = tors
  1212. LH.Parent = tors
  1213. ----------------------------------------------------------------------------------
  1214. rootj.C0 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1215. rootj.C1 = RootCF * CF(0 * Player_Size, 0 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0))
  1216. neck.C0 = necko * CF(0 * Player_Size, 0 * Player_Size, 0 + ((1 * Player_Size) - 1)) * angles(Rad(0), Rad(0), Rad(0))
  1217. neck.C1 = CF(0 * Player_Size, -0.5 * Player_Size, 0 * Player_Size) * angles(Rad(-90), Rad(0), Rad(180))
  1218. RW.C0 = CF(1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* RIGHTSHOULDERC0
  1219. LW.C0 = CF(-1.5 * Player_Size, 0.5 * Player_Size, 0 * Player_Size) * angles(Rad(0), Rad(0), Rad(0)) --* LEFTSHOULDERC0
  1220. ----------------------------------------------------------------------------------
  1221. 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))
  1222. 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))
  1223. 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))
  1224. 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))
  1225. --hat.Parent = Character
  1226. end
  1227. ----------------------------------------------------------------------------------
  1228. local SONG = 703597239
  1229. local SONG2 = 853707984
  1230. local Music = Instance.new("Sound",tors)
  1231. Music.Volume = 2.5
  1232. Music.Looped = true
  1233. Music.Pitch = 1 --Pitcher
  1234. ----------------------------------------------------------------------------------
  1235. local equipped = false
  1236. local idle = 0
  1237. local change = 1
  1238. local val = 0
  1239. local toim = 0
  1240. local idleanim = 0.4
  1241. local sine = 0
  1242. local Sit = 1
  1243. ----------------------------------------------------------------------------------
  1244. hum.WalkSpeed = 16
  1245. hum.JumpPower = 57
  1246. hum.Animator.Parent = nil
  1247. ----------------------------------------------------------------------------------
  1248. local Blobby = Instance.new("Part", char)
  1249. Blobby.Name = "Blob"
  1250. Blobby.CanCollide = false
  1251. Blobby.BrickColor = BrickColor.new("Really black")
  1252. Blobby.Transparency = 0
  1253. Blobby.Material = "Plastic"
  1254. Blobby.Size = Vector3.new(1, 1, 2)
  1255. Blobby.TopSurface = Enum.SurfaceType.Smooth
  1256. Blobby.BottomSurface = Enum.SurfaceType.Smooth
  1257.  
  1258. local Weld = Instance.new("Weld", Blobby)
  1259. Weld.Part0 = ra
  1260. Weld.Part1 = Blobby
  1261. Weld.C1 = CFrame.new(0, -2, 1.1)
  1262. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1263.  
  1264. local M2 = Instance.new("SpecialMesh")
  1265. M2.Parent = Blobby
  1266. M2.MeshId = "http://www.roblox.com/asset/?id=10604848"
  1267. M2.TextureId = "http://www.roblox.com/asset/?id=139521211"
  1268. M2.Scale = Vector3.new(1, 1, 1)
  1269.  
  1270. --[[local naeeym2 = Instance.new("BillboardGui",char)
  1271. naeeym2.AlwaysOnTop = true
  1272. naeeym2.Size = UDim2.new(5,35,2,15)
  1273. naeeym2.StudsOffset = Vector3.new(0, 3.5, 0)
  1274. naeeym2.Adornee = hed
  1275. naeeym2.Name = "Name"
  1276. --naeeym2.PlayerToHideFrom = Player
  1277. local tecks2 = Instance.new("TextLabel",naeeym2)
  1278. tecks2.BackgroundTransparency = 1
  1279. tecks2.TextScaled = true
  1280. tecks2.BorderSizePixel = 0
  1281. tecks2.Text = "Fight Me"
  1282. tecks2.Font = Enum.Font.Bodoni
  1283. tecks2.TextSize = 30
  1284. tecks2.TextStrokeTransparency = 0
  1285. tecks2.TextColor3 = Color3.new(0, 0, 0)
  1286. tecks2.TextStrokeColor3 = Color3.new(1, 1, 1)
  1287. tecks2.Size = UDim2.new(1,0,0.5,0)
  1288. tecks2.Parent = naeeym2]]
  1289. -------------------------------------------------------
  1290. --End Customization--
  1291. -------------------------------------------------------
  1292.  
  1293.  
  1294. -------------------------------------------------------
  1295. --Start Attacks N Stuff--
  1296. -------------------------------------------------------
  1297. function Ban()
  1298. attack = true
  1299. for i = 0, 2.6, 0.1 do
  1300. swait()
  1301. 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(-60)), 0.2)
  1302. 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)
  1303. 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(0)), 0.2)
  1304. 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(-6.5), Rad(0), Rad(20)), 0.2)
  1305. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(160), Rad(-.6), Rad(13)), 0.2)
  1306. 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.2)
  1307. end
  1308. Cso("147722910", tors, 10, 1)
  1309. CameraEnshaking(2, 15)
  1310. 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)
  1311. 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)
  1312. 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)
  1313. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 9.5)) do
  1314. if v:FindFirstChild("Head") then
  1315. Eviscerate(v)
  1316. end
  1317. end
  1318. for i = 0, 3, 0.1 do
  1319. swait()
  1320. 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)
  1321. 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)
  1322. 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)
  1323. 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)
  1324. 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)
  1325. 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)
  1326. end
  1327. attack = false
  1328. end
  1329. function BigBan()
  1330. attack = true
  1331. Weld.C0 = CFrame.Angles(Rad(-90), Rad(-25), Rad(0))
  1332. for i = 0, 3.6, 0.1 do
  1333. swait()
  1334. 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)
  1335. 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)
  1336. 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)
  1337. 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)
  1338. 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)
  1339. 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)
  1340. end
  1341. Cso("147722910", tors, 10, 1)
  1342. CameraEnshaking(2, 15)
  1343. 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)
  1344. 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)
  1345. 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)
  1346. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 14.5)) do
  1347. if v:FindFirstChild("Head") then
  1348. Eviscerate(v)
  1349. end
  1350. end
  1351. for i = 0, 2.6, 0.1 do
  1352. swait()
  1353. 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)
  1354. 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)
  1355. 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)
  1356. 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)
  1357. 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)
  1358. 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)
  1359. end
  1360. Weld.C0 = CFrame.Angles(Rad(-86),0,0)
  1361. attack = false
  1362. end
  1363. function BANN()
  1364. attack = true
  1365. M2.Scale = Vector3.new(2, 2, 2)
  1366. for i = 0, 4.6, 0.1 do
  1367. swait()
  1368. 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)
  1369. 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)
  1370. 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)
  1371. 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)
  1372. 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)
  1373. 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)
  1374. end
  1375. Cso("147722910", char, 10, 1)
  1376. CameraEnshaking(2, 35)
  1377. 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)
  1378. 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)
  1379. 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)
  1380. 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)
  1381. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 7, 10, 15, -0.1, 15, 0.04)
  1382. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 6, 10, 15, -0.1, 15, 0.02)
  1383. Effects.Sphere.Create(BrickColor.new("Really black"), root.CFrame * CF(0, -2, 0), 10, 4, 10, 15, -0.1, 15, 0.01)
  1384. for i, v in pairs(FindNearestHead(Blobby.CFrame.p, 19.5)) do
  1385. if v:FindFirstChild("Head") then
  1386. Eviscerate(v)
  1387. end
  1388. end
  1389. for i = 0, 3, 0.1 do
  1390. swait()
  1391. 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)
  1392. 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)
  1393. 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)
  1394. 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)
  1395. 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)
  1396. 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)
  1397. end
  1398. M2.Scale = Vector3.new(1, 1, 1)
  1399. attack = false
  1400. end
  1401. -------------------------------------------------------
  1402. --End Attacks N Stuff--
  1403. -------------------------------------------------------
  1404. mouse.KeyDown:connect(function(key)
  1405. if string.byte(key) == 48 then
  1406. Swing = 2
  1407. hum.WalkSpeed = 38.82
  1408. end
  1409. end)
  1410. mouse.KeyUp:connect(function(key)
  1411. if string.byte(key) == 48 then
  1412. Swing = 1
  1413. hum.WalkSpeed = 16
  1414. end
  1415. end)
  1416. mouse.KeyDown:connect(function(key)
  1417. if attack == false then
  1418. if key == 'e' then
  1419. BigBan()
  1420. elseif key == 'r' then
  1421. BANN()
  1422. elseif key == 't' then
  1423. Cso("1450018171", hed, 10, 1)
  1424. end
  1425. end
  1426. end)
  1427. mouse.Button1Down:connect(function(key)
  1428. if attack == false then
  1429. Ban()
  1430. end
  1431. end)
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439. -------------------------------------------------------
  1440. --Start Animations--
  1441. -------------------------------------------------------
  1442. while true do
  1443. swait()
  1444. sine = sine + change
  1445. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1446. local velderp = root.Velocity.y
  1447. hitfloor, posfloor = rayCast(root.Position, CFrame.new(root.Position, root.Position - Vector3.new(0, 1, 0)).lookVector, 4* Player_Size, char)
  1448. if equipped == true or equipped == false then
  1449. if attack == false then
  1450. idle = idle + 1
  1451. else
  1452. idle = 0
  1453. end
  1454. --Aura(5, 0.15, "Add", root.CFrame * CFrame.new(math.random(-5, 5), -10, math.random(-5, 5)) * CFrame.Angles(math.rad(90), 0, 0), 1.5, 1.5, 10, -0.015, maincolor, 0, "Sphere")
  1455. if 1 < root.Velocity.y and hitfloor == nil then
  1456. Anim = "Jump"
  1457. if attack == false then
  1458. 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)
  1459. 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)
  1460. 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)
  1461. 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)
  1462. 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)
  1463. 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)
  1464. end
  1465. elseif -1 > root.Velocity.y and hitfloor == nil then
  1466. Anim = "Fall"
  1467. if attack == false then
  1468. 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)
  1469. 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)
  1470. 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)
  1471. 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)
  1472. 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)
  1473. 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)
  1474. end
  1475. elseif torvel < 1 and hitfloor ~= nil then
  1476. Anim = "Idle"
  1477. change = 1
  1478. if attack == false then
  1479. 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(0)), 0.15)
  1480. 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(0)), 0.3)
  1481. 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(0)), 0.15)
  1482. 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.15)
  1483. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.02 * Sin(sine / 20)* Player_Size, 0* Player_Size) * angles(Rad(190), Rad(-.6), Rad(13)), 0.1)
  1484. 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.1)
  1485. end
  1486. elseif torvel > 2 and torvel < 25 and hitfloor ~= nil then
  1487. Anim = "Walk"
  1488. change = 1
  1489. if attack == false then
  1490. 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(3 - 2.5 * Cos(sine / 3.5)), Rad(0) - root.RotVelocity.Y / 75, Rad(8 * Cos(sine / 7))), 0.15)
  1491. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(6 - 6.5 * Sin(sine / 7)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1492. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.8* Player_Size - 0.5 * Cos(sine / 7) / 2* Player_Size, 0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 - 25 * Cos(sine / 7)) - rl.RotVelocity.Y / 75 + -Sin(sine / 7) / 2.5, Rad(90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 + 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1493. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.8* Player_Size + 0.5 * Cos(sine / 7) / 2* Player_Size, -0.6 * Cos(sine / 7) / 2* Player_Size) * angles(Rad(-10 + 25 * Cos(sine / 7)) + ll.RotVelocity.Y / 75 + Sin(sine / 7) / 2.5, Rad(-90 - 10 * Cos(sine / 7)), Rad(0)) * angles(Rad(0 - 2 * Cos(sine / 7)), Rad(0), Rad(0)), 0.3)
  1494. RW.C0 = clerp(RW.C0, CF(1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(190) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.1)
  1495. LW.C0 = clerp(LW.C0, CF(-1.5* Player_Size, 0.5 + 0.05 * Sin(sine / 7)* Player_Size, 0* Player_Size) * angles(Rad(-37) * Cos(sine / 7) , Rad(8 * Cos(sine / 7)) , Rad(-6) + la.RotVelocity.Y / 75), 0.1)
  1496. end
  1497. elseif torvel >= 25 and hitfloor ~= nil then
  1498. Anim = "Sprint"
  1499. change = 1.35
  1500. if attack == false then
  1501. 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)
  1502. tors.Neck.C0 = clerp(tors.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(-45 - 2.5 * Sin(sine / 20)), Rad(0), Rad(0) - hed.RotVelocity.Y / 15), 0.3)
  1503. RH.C0 = clerp(RH.C0, CF(1* Player_Size, -0.925* Player_Size - 0.5* Player_Size * 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)
  1504. LH.C0 = clerp(LH.C0, CF(-1* Player_Size, -0.925* Player_Size + 0.5* Player_Size * 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)
  1505. 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(215) , Rad(8 * Cos(sine / 7)), Rad(13) - ra.RotVelocity.Y / 75), 0.15)
  1506. 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(-75) , Rad(8 * Cos(sine / 7)) , Rad(-13) + la.RotVelocity.Y / 75), 0.15)
  1507. end
  1508. end
  1509. end
  1510. Music.SoundId = "rbxassetid://"..SONG
  1511. Music.Looped = true
  1512. Music.Pitch = 1
  1513. Music.Volume = 1.5
  1514. Music.Parent = tors
  1515. Music:Resume()
  1516. if 0 < #Effects then
  1517. for e = 1, #Effects do
  1518. if Effects[e] ~= nil then
  1519. local Thing = Effects[e]
  1520. if Thing ~= nil then
  1521. local Part = Thing[1]
  1522. local Mode = Thing[2]
  1523. local Delay = Thing[3]
  1524. local IncX = Thing[4]
  1525. local IncY = Thing[5]
  1526. local IncZ = Thing[6]
  1527. if 1 >= Thing[1].Transparency then
  1528. if Thing[2] == "Block1" then
  1529. Thing[1].CFrame = Thing[1].CFrame * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  1530. local Mesh = Thing[1].Mesh
  1531. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1532. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1533. elseif Thing[2] == "Block2" then
  1534. Thing[1].CFrame = Thing[1].CFrame + Vector3.new(0, 0, 0)
  1535. local Mesh = Thing[7]
  1536. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1537. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1538. elseif Thing[2] == "Block3" then
  1539. 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)
  1540. local Mesh = Thing[7]
  1541. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1542. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1543. elseif Thing[2] == "Cylinder" then
  1544. local Mesh = Thing[1].Mesh
  1545. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1546. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1547. elseif Thing[2] == "Blood" then
  1548. local Mesh = Thing[7]
  1549. Thing[1].CFrame = Thing[1].CFrame * Vector3.new(0, 0.5, 0)
  1550. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[4], Thing[5], Thing[6])
  1551. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1552. elseif Thing[2] == "Elec" then
  1553. local Mesh = Thing[1].Mesh
  1554. Mesh.Scale = Mesh.Scale + Vector3.new(Thing[7], Thing[8], Thing[9])
  1555. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1556. elseif Thing[2] == "Disappear" then
  1557. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1558. elseif Thing[2] == "Shatter" then
  1559. Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  1560. Thing[4] = Thing[4] * CFrame.new(0, Thing[7], 0)
  1561. Thing[1].CFrame = Thing[4] * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  1562. Thing[6] = Thing[6] + Thing[5]
  1563. end
  1564. else
  1565. Part.Parent = nil
  1566. table.remove(Effects, e)
  1567. end
  1568. end
  1569. end
  1570. end
  1571. end
  1572. end
  1573. -------------------------------------------------------
  1574. --End Animations And Script--
  1575. -------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement