Advertisement
Insanity_Mark

Ink sans test

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