Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.61 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.  
  3. local Player,game,owner = owner,game
  4.  
  5. local RealPlayer = Player
  6.  
  7. do print("FE Compatibility code V3 by Desered_ROBLOX")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end
  8.  
  9. -------------
  10. --Big Daddy--
  11. ----------------------------------------------------------------
  12. --By CKbackup (Sugarie Saffron) --
  13. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  14. --Discord: Sugarie Saffron#4705 --
  15. ----------------------------------------------------------------
  16.  
  17. wait(.1)
  18. local Player = game:service'Players'.LocalPlayer
  19. local chara = Player.Character
  20. local Mouse = Player:GetMouse()
  21. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  22. local LeftArm = chara["Left Arm"]
  23. local RightArm = chara["Right Arm"]
  24. local LeftLeg = chara["Left Leg"]
  25. local RightLeg = chara["Right Leg"]
  26. local Head = chara.Head
  27. local Torso = chara.Torso
  28. local RootPart = chara.HumanoidRootPart
  29. local RootJoint = RootPart.RootJoint
  30. local attack = false
  31. local Anim = 'Idle'
  32. local attacktype = 1
  33. local delays = false
  34. local play = true
  35. local targetted = nil
  36. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  37. local velocity = RootPart.Velocity.y
  38. local sine = 0
  39. local change = 1
  40. local doe = 0
  41. local Create = LoadLibrary("RbxUtility").Create
  42. Humanoid.WalkSpeed = 16
  43. debby = game:GetService("Debris")
  44.  
  45. Humanoid.MaxHealth = 800
  46. Humanoid.Health = 800
  47.  
  48. Humanoid.Animator.Parent = nil
  49. chara.Animate.Parent = nil
  50.  
  51.  
  52. local newMotor = function(part0, part1, c0, c1)
  53. local w = Create('Motor'){
  54. Parent = part0,
  55. Part0 = part0,
  56. Part1 = part1,
  57. C0 = c0,
  58. C1 = c1,
  59. }
  60. return w
  61. end
  62.  
  63. function clerp(a, b, t)
  64. return a:lerp(b, t)
  65. end
  66.  
  67. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  68. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  69.  
  70. LeftArm.Size = LeftArm.Size * 1.3
  71. RightArm.Size = RightArm.Size * 1.3
  72. LeftLeg.Size = LeftLeg.Size * 1.3
  73. RightLeg.Size = RightLeg.Size * 1.3
  74. Torso.Size = Torso.Size * 1.3
  75. Head.Size = Head.Size * 1.3
  76. RootPart.Size = RootPart.Size * 1.3
  77.  
  78. local RW = newMotor(Torso, RightArm, CFrame.new(1.95, 0, 0), CFrame.new(0, 0, 0))
  79. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.95, 0, 0), CFrame.new(0, 0, 0))
  80. local Neck = newMotor(Torso, Head, CFrame.new(0,1.95,0), CFrame.new())
  81. local RH = newMotor(Torso, RightLeg, CFrame.new(.65, -2.6, 0), CFrame.new(0, 0, 0))
  82. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.65, -2.6, 0), CFrame.new(0, 0, 0))
  83. local RootJoint = newMotor(RootPart, Torso, CFrame.new(0,-1.3,0), CFrame.new(0,0,0))
  84.  
  85. local rarmc1 = RW.C1
  86. local larmc1 = LW.C1
  87. local rlegc1 = RH.C1
  88. local llegc1 = LH.C1
  89.  
  90. local resetc1 = false
  91.  
  92. function PlayAnimationFromTable(table, speed, bool)
  93. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  94. Neck.C0 = clerp(Neck.C0, table[2], speed)
  95. RW.C0 = clerp(RW.C0, table[3], speed)
  96. LW.C0 = clerp(LW.C0, table[4], speed)
  97. RH.C0 = clerp(RH.C0, table[5], speed)
  98. LH.C0 = clerp(LH.C0, table[6], speed)
  99. if bool == true then
  100. if resetc1 == false then
  101. resetc1 = true
  102. RootJoint.C1 = RootJoint.C1
  103. Neck.C1 = Neck.C1
  104. RW.C1 = rarmc1
  105. LW.C1 = larmc1
  106. RH.C1 = rlegc1
  107. LH.C1 = llegc1
  108. end
  109. end
  110. end
  111.  
  112. function so(id,par,pit,vol)
  113. local sou = Instance.new("Sound", par or workspace)
  114. if par == chara then
  115. sou.Parent = chara.Torso
  116. end
  117. sou.Volume = vol
  118. sou.Pitch = pit or 1
  119. sou.SoundId = "rbxassetid://" .. id
  120. sou.PlayOnRemove = true
  121. sou:Destroy()
  122. end
  123.  
  124. --This is just for builds--
  125. New = function(Object, Parent, Name, Data)
  126. local Object = Instance.new(Object)
  127. for Index, Value in pairs(Data or {}) do
  128. Object[Index] = Value
  129. end
  130. Object.Parent = Parent
  131. Object.Name = Name
  132. return Object
  133. end
  134.  
  135. local mus = Instance.new("Sound",Head)
  136. mus.Name = "mus"
  137. mus.SoundId = "rbxassetid://318340174"
  138. mus.Looped = true
  139. mus.Volume = 1
  140. mus:Play()
  141.  
  142. for i,v in pairs(chara:children'') do
  143. if v:IsA("CharacterMesh") or v:IsA("Clothing") or v:IsA("Accoutrement") or v:IsA("BodyColors") then v:Destroy() end
  144. end
  145.  
  146. local sh = Instance.new("Shirt",chara)
  147. local pn = Instance.new("Pants",chara)
  148. sh.ShirtTemplate = "rbxassetid://17799754"
  149. pn.PantsTemplate = "rbxassetid://21172424"
  150. if chara:FindFirstChild("FaysG") then chara:FindFirstChild("FaysG"):Destroy() end
  151.  
  152. skincol = {"Bright yellow","Cool yellow","Pastel yellow","Pastel brown","Br. yellowish orange","White","Bright violet","Medium green","Medium stone grey","Dark stone grey"}
  153.  
  154. FHead = New("Part",chara,"FHead",{BrickColor = BrickColor.new(skincol[math.random(1,#skincol)]),FormFactor = Enum.FormFactor.Symmetric,Size = Vector3.new(2.5999999, 1.29999995, 1.29999995),CFrame = CFrame.new(18.8000259, 5.85002184, -11.199934, -1, 0, 0, 0, 0.999997139, -9.36714151e-10, 0, -9.36711486e-10, -1),BottomSurface = Enum.SurfaceType.Smooth,TopSurface = Enum.SurfaceType.Smooth,})
  155. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  156. Decal = New("Decal",FHead,"Decal",{Texture = "http://www.roblox.com/asset/?id=46078492",})
  157. Weld = New("ManualWeld",FHead,"Weld",{Part0 = FHead,Part1 = Head,C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.999999046, -9.36713263e-10, 0, -9.36714151e-10, -1),C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0.999999046, -9.36713263e-10, 0, -9.36714151e-10, -1),})
  158.  
  159. Head:ClearAllChildren()
  160. Instance.new("BlockMesh",Head).Scale = Vector3.new(0,0,0)
  161.  
  162. local hedcol = FHead.BrickColor
  163. local bcols = Instance.new("BodyColors",chara)
  164. bcols.Name = "NeoCols"
  165. bcols.HeadColor = hedcol
  166. bcols.LeftArmColor = hedcol
  167. bcols.RightArmColor = hedcol
  168. bcols.TorsoColor = hedcol
  169. bcols.LeftLegColor = hedcol
  170. bcols.RightLegColor = hedcol
  171.  
  172. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  173. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  174. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  175. local TEff = New("Trail",parent,"TrailEff",{Color = ColorSequence.new({ColorSequenceKeypoint.new(0,BrickColor.new(color1).Color),ColorSequenceKeypoint.new(1,BrickColor.new(color2).Color)}),Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,.5),NumberSequenceKeypoint.new(1,1)}),Attachment0 = Att1,Attachment1 = Att2,Enabled = false,Lifetime = .5,MinLength = .001})
  176. return TEff
  177. end
  178.  
  179. LLTr = CreateTrailObj(LeftLeg,"White","White",0,0)
  180. RLTr = CreateTrailObj(RightLeg,"White","White",0,0)
  181. LATr = CreateTrailObj(LeftArm,"White","White",0,0)
  182. RATr = CreateTrailObj(RightArm,"White","White",0,0)
  183.  
  184.  
  185. function rayCast(Position, Direction, Range, Ignore)
  186. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  187. end
  188.  
  189. function FindNearestTorso(Position, Distance, SinglePlayer)
  190. if SinglePlayer then
  191. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  192. end
  193. local List = {}
  194. for i, v in pairs(workspace:GetDescendants()) do
  195. if v:IsA("Model") then
  196. if v:findFirstChild("Head") then
  197. if v ~= chara then
  198. if (v.Head.Position - Position).magnitude <= Distance then
  199. table.insert(List, v)
  200. end
  201. end
  202. end
  203. end
  204. end
  205. return List
  206. end
  207.  
  208. ArtificialHB = Instance.new("BindableEvent", script)
  209. ArtificialHB.Name = "Heartbeat"
  210. script:waitForChild("Heartbeat")
  211. frame = 0.03333333333333
  212. tf = 0
  213. allowframeloss = false
  214. tossremainder = false
  215. lastframe = tick()
  216. script.Heartbeat:Fire()
  217. game:GetService("RunService").Heartbeat:connect(function(s, p)
  218. tf = tf + s
  219. if tf >= frame then
  220. if allowframeloss then
  221. script.Heartbeat:Fire()
  222. lastframe = tick()
  223. else
  224. for i = 1, math.floor(tf / frame) do
  225. script.Heartbeat:Fire()
  226. end
  227. lastframe = tick()
  228. end
  229. if tossremainder then
  230. tf = 0
  231. else
  232. tf = tf - frame * math.floor(tf / frame)
  233. end
  234. end
  235. end)
  236. function swait(num)
  237. if num == 0 or num == nil then
  238. ArtificialHB.Event:wait()
  239. else
  240. for i = 0, num*30 do
  241. ArtificialHB.Event:wait()
  242. end
  243. end
  244. end
  245.  
  246. EffectModel = Create("Model"){
  247. Parent = chara,
  248. Name = "Effects",
  249. }
  250.  
  251. --Effect Functions--
  252. Effects = {
  253.  
  254. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  255. local p = Instance.new("Part",EffectModel)
  256. p.BrickColor = BrickColor.new(colour)
  257. p.Size = partsize
  258. p.Anchored = true
  259. p.CanCollide = false
  260. p.Material = matr
  261. p.CFrame = cf
  262. if inverse == true then
  263. p.Transparency = 1
  264. else
  265. p.Transparency = 0
  266. end
  267. local m = Instance.new("BlockMesh",p)
  268. m.Scale = meshstart
  269. coroutine.wrap(function()
  270. for i=0,1,factor do
  271. swait()
  272. if inverse == true then
  273. p.Transparency = 1-i
  274. else
  275. p.Transparency = i
  276. end
  277. m.Scale = m.Scale + meshadd
  278. if spin == true then
  279. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  280. end
  281. end
  282. p:Destroy()
  283. end)()
  284. return p
  285. end,
  286.  
  287. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  288. local p = Instance.new("Part",EffectModel)
  289. p.BrickColor = BrickColor.new(colour)
  290. p.Size = partsize
  291. p.Anchored = true
  292. p.CanCollide = false
  293. p.Material = matr
  294. p.CFrame = cf
  295. if inverse == true then
  296. p.Transparency = 1
  297. else
  298. p.Transparency = 0
  299. end
  300. local m = Instance.new("SpecialMesh",p)
  301. m.MeshType = "Sphere"
  302. m.Scale = meshstart
  303. coroutine.wrap(function()
  304. for i=0,1,factor do
  305. swait()
  306. if inverse == true then
  307. p.Transparency = 1-i
  308. else
  309. p.Transparency = i
  310. end
  311. m.Scale = m.Scale + meshadd
  312. end
  313. p:Destroy()
  314. end)()
  315. return p
  316. end,
  317.  
  318. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  319. local p = Instance.new("Part",EffectModel)
  320. p.BrickColor = BrickColor.new(colour)
  321. p.Size = partsize
  322. p.Anchored = true
  323. p.CanCollide = false
  324. p.Material = matr
  325. p.CFrame = cf
  326. if inverse == true then
  327. p.Transparency = 1
  328. else
  329. p.Transparency = 0
  330. end
  331. local m = Instance.new("CylinderMesh",p)
  332. m.Scale = meshstart
  333. coroutine.wrap(function()
  334. for i=0,1,factor do
  335. swait()
  336. if inverse == true then
  337. p.Transparency = 1-i
  338. else
  339. p.Transparency = i
  340. end
  341. m.Scale = m.Scale + meshadd
  342. end
  343. p:Destroy()
  344. end)()
  345. return p
  346. end,
  347.  
  348. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  349. local p = Instance.new("Part",EffectModel)
  350. p.BrickColor = BrickColor.new(colour)
  351. p.Size = Vector3.new()
  352. p.Anchored = true
  353. p.CanCollide = false
  354. p.CFrame = cf
  355. if inverse == true then
  356. p.Transparency = 1
  357. else
  358. p.Transparency = 0
  359. end
  360. local m = Instance.new("SpecialMesh",p)
  361. m.MeshId = "rbxassetid://20329976"
  362. m.Scale = meshstart
  363. coroutine.wrap(function()
  364. for i=0,1,factor do
  365. swait()
  366. if inverse == true then
  367. p.Transparency = 1-i
  368. else
  369. p.Transparency = i
  370. end
  371. m.Scale = m.Scale + meshadd
  372. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  373. end
  374. p:Destroy()
  375. end)()
  376. return p
  377. end,
  378.  
  379. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  380. local p = Instance.new("Part",EffectModel)
  381. p.BrickColor = BrickColor.new(colour)
  382. p.Size = Vector3.new()
  383. p.Anchored = true
  384. p.CanCollide = false
  385. p.CFrame = cf
  386. if inverse == true then
  387. p.Transparency = 1
  388. else
  389. p.Transparency = 0
  390. end
  391. local m = Instance.new("SpecialMesh",p)
  392. m.MeshId = "rbxassetid://3270017"
  393. m.Scale = meshstart
  394. coroutine.wrap(function()
  395. for i=0,1,factor do
  396. swait()
  397. if inverse == true then
  398. p.Transparency = 1-i
  399. else
  400. p.Transparency = i
  401. end
  402. m.Scale = m.Scale + meshadd
  403. end
  404. p:Destroy()
  405. end)()
  406. return p
  407. end,
  408.  
  409. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  410. local p = Instance.new("Part",EffectModel)
  411. p.BrickColor = BrickColor.new(colour)
  412. p.Size = Vector3.new()
  413. p.Anchored = true
  414. p.CanCollide = false
  415. p.CFrame = cf
  416. if inverse == true then
  417. p.Transparency = 1
  418. else
  419. p.Transparency = 0
  420. end
  421. local m = Instance.new("SpecialMesh",p)
  422. m.MeshId = meshid
  423. m.TextureId = textid
  424. m.Scale = meshstart
  425. coroutine.wrap(function()
  426. for i=0,1,factor do
  427. swait()
  428. if inverse == true then
  429. p.Transparency = 1-i
  430. else
  431. p.Transparency = i
  432. end
  433. m.Scale = m.Scale + meshadd
  434. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  435. end
  436. p:Destroy()
  437. end)()
  438. return p
  439. end,
  440.  
  441. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  442. local p = Instance.new("Part",EffectModel)
  443. p.BrickColor = BrickColor.new(colour)
  444. p.Size = partsize
  445. p.Anchored = true
  446. p.CanCollide = false
  447. p.Material = matr
  448. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  449. if inverse == true then
  450. p.Transparency = 1
  451. else
  452. p.Transparency = 0
  453. end
  454. local m = Instance.new("SpecialMesh",p)
  455. m.MeshType = "Sphere"
  456. m.Scale = meshstart
  457. coroutine.wrap(function()
  458. for i=0,1,factor do
  459. swait()
  460. if inverse == true then
  461. p.Transparency = 1-i
  462. else
  463. p.Transparency = i
  464. end
  465. m.Scale = m.Scale + meshadd
  466. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  467. end
  468. p:Destroy()
  469. end)()
  470. return p
  471. end,
  472.  
  473. }
  474.  
  475. function GetDudesTorso(c)
  476. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  477. if torsy ~= nil then
  478. return torsy
  479. end
  480. end
  481.  
  482. function BodyVel(part,faws)
  483. local bodyvel = Instance.new("BodyVelocity",part)
  484. local pep = 10000000
  485. bodyvel.P = pep
  486. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  487. bodyvel.Velocity = faws
  488. debby:AddItem(bodyvel,.2)
  489. end
  490.  
  491. function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
  492. if dude and dude ~= chara then
  493. if dude:FindFirstChild("HITO") then return end
  494. local debounce = Instance.new("BoolValue",dude)
  495. debounce.Name = "HITO"
  496. debby:AddItem(debounce,toim)
  497. local hum = dude:FindFirstChildOfClass("Humanoid")
  498. local dam = dmg+math.random(-env,env)
  499. local teksu = "-"..dam
  500. if hum then
  501. local finhel = hum.Health - dam
  502. if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
  503. Instance.new("BoolValue",dude).Name = "DEATHED"
  504. end
  505. hum.Health = hum.Health - dam
  506. end
  507. coroutine.wrap(function()
  508. local naeeym2 = Instance.new("BillboardGui",dude)
  509. naeeym2.Size = UDim2.new(0,100,0,40)
  510. naeeym2.StudsOffset = Vector3.new(0,3,0)
  511. naeeym2.Adornee = dude:FindFirstChild("Head")
  512. naeeym2.Name = "TalkingBillBoard"
  513. local tecks2 = Instance.new("TextLabel",naeeym2)
  514. tecks2.BackgroundTransparency = 1
  515. tecks2.BorderSizePixel = 0
  516. tecks2.Text = teksu
  517. tecks2.Font = "Fantasy"
  518. tecks2.TextSize = 24
  519. tecks2.TextStrokeTransparency = 0
  520. tecks2.TextColor3 = Color3.new(1,1,1)
  521. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  522. tecks2.Size = UDim2.new(1,0,0.5,0)
  523. swait(.2)
  524. for i = 0,1,.05 do
  525. swait()
  526. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  527. tecks2.TextStrokeTransparency = i
  528. tecks2.TextTransparency = i
  529. end
  530. naeeym2:Destroy()
  531. end)()
  532. local torsy = GetDudesTorso(dude)
  533. if torsy then
  534. for i=1,dam/5 do
  535. local blp = Instance.new("Part",EffectModel)
  536. blp.Size = Vector3.new(.3,.3,.3)
  537. blp.BrickColor = BrickColor.new("Crimson")
  538. blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  539. blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0)
  540. blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  541. --local blm = Instance.new("SpecialMesh",blp)
  542. --blm.MeshType = "Sphere"
  543. coroutine.wrap(function()
  544. swait(.2)
  545. blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
  546. for i=0,1,.1 do
  547. swait()
  548. blp.Transparency = i
  549. blp.Size = blp.Size + Vector3.new(.05,-.05,.05)
  550. end
  551. blp:Destroy()
  552. end)()
  553. end
  554. if efftyp == "Blunt" then
  555. puncheff(torsy)
  556. elseif efftyp == "Sharp" then
  557. slasheff(torsy)
  558. elseif efftyp == "Shot" then
  559. so(144884872,torsy,.9,1)
  560. end
  561. if faws ~= 0 then
  562. BodyVel(torsy,faws)
  563. end
  564. if trip == true then
  565. torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
  566. torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  567. end
  568. end
  569. end
  570. end
  571.  
  572. function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
  573. for _, c in pairs(workspace:GetDescendants()) do
  574. local hum = c:FindFirstChildOfClass("Humanoid")
  575. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  576. local head = GetDudesTorso(c)
  577. if head ~= nil then
  578. local targ = head.Position - par.Position
  579. local mag = targ.magnitude
  580. if magni >= mag and c ~= chara then
  581. Dmg(c,dmg,env,faws,trip,efftyp,toim)
  582. end
  583. end
  584. end
  585. end
  586. end
  587.  
  588. function CamShake(par,magni,env,dur)
  589. coroutine.wrap(function()
  590. for i=0,dur*60 do
  591. swait()
  592. Humanoid.CameraOffset = Vector3.new(math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10,math.random(-(env*10),(env*10))/10)
  593. end
  594. Humanoid.CameraOffset = Vector3.new(0,0,0)
  595. end)()
  596. end
  597.  
  598. function puncheff(par)
  599. if par.Parent:FindFirstChild("DebounceHit")==nil then
  600. so(386946017,par,math.random(6,8)/10,1)
  601. local bla = Effects.Sphere(par.CFrame,Vector3.new(1,1,1),Vector3.new(1,1,1),Vector3.new(1,1,1),"Neon","White",false,.1)
  602. CamShake(bla,30,.5,.5)
  603. end
  604. end
  605.  
  606. function slasheff(par)
  607. if par.Parent:FindFirstChild("DebounceHit")==nil then
  608. local cho = math.random(1,3)
  609. if cho == 1 then
  610. so(444667824,par,1,1)
  611. elseif cho == 2 then
  612. so(444667844,par,1,1)
  613. elseif cho == 3 then
  614. so(444667859,par,1,1)
  615. end
  616. --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
  617. Effects.Sphere(par.CFrame*CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360)),Vector3.new(.5,.5,.5),Vector3.new(1,0,1),Vector3.new(0,5,0),"Neon","Really red",false,.1)
  618. end
  619. end
  620.  
  621. function smasheff(pos,projsiz,projnum,grousiz,grono,grospr,projfor)
  622. local hit,hitpos = rayCast(pos,Vector3.new(0,-1,0),4,chara)
  623. if hit ~= nil then
  624. for i = 1, projnum do
  625. local p = Instance.new("Part",EffectModel)
  626. p.BrickColor = hit.BrickColor
  627. p.Material = hit.Material
  628. p.Size = Vector3.new(projsiz,projsiz,projsiz)
  629. p.CFrame = CFrame.new(hitpos+Vector3.new(math.random(-grospr,grospr),0,math.random(-grospr,grospr))) * CFrame.fromEulerAnglesXYZ(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  630. p.CanCollide = false
  631. p.Velocity = projfor
  632. CreateTrailObj(p,Color3.new(1,1,1),Color3.new(1,1,1),0,0).Enabled = true
  633. coroutine.resume(coroutine.create(function()
  634. swait(.2)
  635. p.CanCollide = true
  636. swait(3)
  637. for i = 0,1,.01 do
  638. swait()
  639. p.Transparency = i
  640. end
  641. p:Destroy()
  642. end))
  643. end
  644. for i = 1, grono do
  645. local size = math.random(4,6)
  646. local gtrace = Instance.new("Part",EffectModel)
  647. gtrace.BrickColor = hit.BrickColor
  648. gtrace.Material = hit.Material
  649. gtrace.Size = Vector3.new(grousiz,grousiz,grousiz)
  650. gtrace.Anchored = true
  651. gtrace.CanCollide = false
  652. gtrace.CFrame = CFrame.new(hitpos+Vector3.new(math.random(-grospr,grospr),0,math.random(-grospr,grospr))) * CFrame.fromEulerAnglesXYZ(math.random(0,math.rad(359)),math.random(0,math.rad(359)),math.random(0,math.rad(359)))
  653. coroutine.wrap(function()
  654. swait(3)
  655. for i = 0,1,.01 do
  656. swait()
  657. gtrace.Transparency = i
  658. end
  659. gtrace:Destroy()
  660. end)()
  661. end
  662. end
  663. end
  664.  
  665. function attackone()
  666. attack = true
  667. Humanoid.WalkSpeed = 10
  668. for i=0,2,.1 do
  669. swait()
  670. PlayAnimationFromTable({
  671. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  672. CFrame.new(-0.0638873279, 2.01559806, -0.402032375, 0.492402941, -0.214610398, 0.84349376, -0.173647985, 0.925416708, 0.336823881, -0.852869213, -0.312324047, 0.418411195),
  673. CFrame.new(1.10928118, 0.356215954, -1.26063514, 0.766042948, 0.642789483, 0, 0, 0, -1, -0.642789423, 0.766042948, 0),
  674. CFrame.new(-1.95000088, -9.79751348e-07, 8.32974911e-06, 0.766044021, 0.633022547, -0.111619651, -0.642788172, 0.754405975, -0.133022651, 1.49011612e-07, 0.173648953, 0.984807789),
  675. CFrame.new(0.650009155, -2.5999999, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  676. CFrame.new(-0.650007129, -2.5999999, 1.07288361e-05, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  677. }, .3, false)
  678. end
  679. RATr.Enabled = true
  680. so(487907203,Head,1,3)
  681. so(200632136,RightArm,.6,1)
  682. Humanoid.WalkSpeed = 0
  683. BodyVel(RootPart,RootPart.CFrame.lookVector*70)
  684. for i=0,1,.1 do
  685. swait()
  686. PlayAnimationFromTable({
  687. CFrame.new(-0.222327977, -0.0760439336, -0.208909988, 0.604021907, -0.342020392, 0.719846964, -0.0554149859, 0.883022249, 0.46604827, -0.795038819, -0.321393698, 0.514411688),
  688. CFrame.new(7.34417608e-06, 2.0353117, -0.350306809, 1, -4.47034836e-07, 1.69873238e-06, -2.08616257e-07, 0.939692974, 0.342019647, -1.7285347e-06, -0.342019677, 0.939692795),
  689. CFrame.new(1.09530568, 0.103452325, -1.42083132, 0.766043782, 0.64278847, -1.9967556e-06, -0.321392238, 0.383016765, -0.866028547, -0.556672335, 0.663416266, 0.499994785),
  690. CFrame.new(-1.9499985, -4.95091081e-06, 1.11758709e-06, 0.766044378, 0.633022308, -0.111619204, -0.642787814, 0.754405975, -0.13302502, -1.57952309e-06, 0.173650473, 0.984807491),
  691. CFrame.new(0.75631088, -2.3547678, -0.864154458, 0.997292876, -0.0554149859, -0.0483326912, 0.0263557732, 0.883022249, -0.468590677, 0.0686457753, 0.46604827, 0.882092297),
  692. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  693. }, .3, false)
  694. MagnitudeDmg(RightArm,2.5,40,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  695. end
  696. swait(.5)
  697. Humanoid.WalkSpeed = 16
  698. RATr.Enabled = false
  699. attack = false
  700. end
  701.  
  702. function dashattack()
  703. attack = true
  704. Humanoid.WalkSpeed = 2
  705. so(487911937,Head,1,3)
  706. for i=0,2,.1 do
  707. swait()
  708. PlayAnimationFromTable({
  709. CFrame.new(0, -0.260801345, 0.37769106, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  710. CFrame.new(0, 1.88156867, 0.187936544, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  711. CFrame.new(2.54999161, 0.600001335, 9.71555778e-07, 0, -1, 0, 1, 0, 2.98023224e-08, 2.98023224e-08, 0, 1),
  712. CFrame.new(-2.54999542, 0.599999964, 3.99351336e-07, 0, 1, 0, -1.00000012, 0, 9.83476639e-07, 9.23871994e-07, 0, 1.00000012),
  713. CFrame.new(0.649994314, -2.32730556, 0.445138514, 0.939692736, 0, -0.342019886, 0.116977625, 0.939692736, 0.321393639, 0.321393639, -0.342019886, 0.883022428),
  714. CFrame.new(-0.649998546, -2.32730579, 0.445138097, 0.939692736, 0, 0.342019886, -0.116977625, 0.939692736, 0.321393639, -0.321393639, -0.342019886, 0.883022428),
  715. }, .4, false)
  716. end
  717. RATr.Enabled = true
  718. Humanoid.WalkSpeed = 0
  719. local bodyvel = Instance.new("BodyVelocity",RootPart)
  720. local pep = 10000000
  721. bodyvel.P = pep
  722. bodyvel.MaxForce = Vector3.new(pep,0,pep)
  723. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  724. local dasu = 0
  725. local par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  726. repeat
  727. dasu = dasu + 1
  728. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  729. par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  730. so(10730819,Torso,1,2)
  731. CamShake(Torso,60,.4,.1)
  732. smasheff(Torso.Position,math.random(10,20)/10,math.random(2,3),math.random(10,20)/10,math.random(2,3),2,(RootPart.CFrame.lookVector*-math.random(30,50))+Vector3.new(math.random(-5,5),math.random(50,70),math.random(-5,5)))
  733. swait()
  734. Effects.Wave(RootPart.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(),Vector3.new(1,.2,1),"",10,false,.05)
  735. PlayAnimationFromTable({
  736. CFrame.new(-0.11852926, -0.0870857984, -0.16250591, 0.499998987, 0.433013916, -0.75, 0, 0.866024852, 0.500001073, 0.866025984, -0.25000003, 0.433011562),
  737. CFrame.new(1.67643725e-06, 1.94997621, -1.7765941e-06, 0.866025209, -8.34465027e-07, 0.500000358, 7.30156898e-07, 1.00000012, 3.57627869e-07, -0.500000417, 6.70552254e-08, 0.866025209),
  738. CFrame.new(2.30981135, 0.0232107639, -1.46663569e-05, 0.499999255, -0.866025925, 3.06963921e-06, 0.866025925, 0.499999285, -2.25007534e-06, 4.17232513e-07, 3.78489494e-06, 1),
  739. CFrame.new(-0.942220747, 0.533102334, -1.07246113, 0.173649132, -0.63302058, 0.754407704, 0.98480767, 0.11162056, -0.1330221, -1.62422657e-06, 0.76604557, 0.642786443),
  740. CFrame.new(0.650001526, -2.59999871, -7.62939544e-06, 1, 0, 2.98023224e-08, 0, 1.00000012, 7.4505806e-09, 2.98023224e-08, 7.4505806e-09, 1.00000012),
  741. CFrame.new(-0.957818449, -2.31074858, -0.794715047, 0.939692378, 1.1920929e-07, 0.342020839, 0.116977721, 0.939692855, -0.321393222, -0.321394473, 0.342019558, 0.883022189),
  742. }, .4, false)
  743. MagnitudeDmg(Torso,6,30,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  744. until par ~= nil or dasu >= 100
  745. bodyvel:Destroy()
  746. Humanoid.WalkSpeed = 16
  747. RATr.Enabled = false
  748. attack = false
  749. end
  750.  
  751. function thesurou()
  752. attack = true
  753. Humanoid.WalkSpeed = 0
  754. local grab = nil
  755. local torsy = nil
  756. local hum = nil
  757. for i, v in pairs(FindNearestTorso(Torso.Position, 6)) do
  758. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  759. hum = v:FindFirstChildOfClass("Humanoid")
  760. torsy = GetDudesTorso(v)
  761. grab = v
  762. end
  763. end
  764. so(200632136,RootPart,.8,1)
  765. for i = 0,1,.1 do
  766. swait()
  767. PlayAnimationFromTable({
  768. CFrame.new(0, -0.160800725, -0.377691686, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  769. CFrame.new(0, 2.01372528, -0.214328468, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  770. CFrame.new(1.30359828, 0.346287906, -1.12627494, 0.866025269, 0.500000358, -4.18942193e-07, -0.0868241489, 0.150382817, -0.984807909, -0.492404312, 0.852868497, 0.173647434),
  771. CFrame.new(-1.30359876, 0.346286833, -1.12628198, 0.866025269, -0.500000358, 4.18942193e-07, 0.0868241489, 0.150382817, -0.984807909, 0.492404312, 0.852868497, 0.173647434),
  772. CFrame.new(0.65000087, -2.4212749, -0.479339659, 0.984807849, 0, -0.173647985, -0.0593910702, 0.939692736, -0.33682391, 0.163175747, 0.342019886, 0.925416768),
  773. CFrame.new(-0.649993539, -2.42127419, -0.479341805, 0.984807849, 0, 0.173647985, 0.0593910702, 0.939692736, -0.33682391, -0.163175747, 0.342019886, 0.925416768),
  774. }, .3, false)
  775. end
  776. if grab ~= nil and torsy ~= nil then
  777. so(487911937,Head,1,3)
  778. so(240429615,torsy,1,1)
  779. for i = 0,1,.1 do
  780. swait()
  781. PlayAnimationFromTable({
  782. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  783. CFrame.new(-0.034717761, 1.88260937, 0.18508473, 0.984807849, -1.54085157e-07, -0.173648179, -0.0593909919, 0.939692736, -0.336823851, 0.163175985, 0.342019886, 0.925416648),
  784. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  785. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  786. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  787. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  788. }, .3, false)
  789. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  790. hum.PlatformStand = true
  791. torsy.Velocity = Vector3.new()
  792. end
  793. for a=1,3 do
  794. for i = 0,1,.1 do
  795. swait()
  796. PlayAnimationFromTable({
  797. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  798. CFrame.new(-0.034717761, 1.88260937, 0.18508473, 0.984807849, -1.54085157e-07, -0.173648179, -0.0593909919, 0.939692736, -0.336823851, 0.163175985, 0.342019886, 0.925416648),
  799. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  800. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  801. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  802. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  803. }, .3, false)
  804. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  805. hum.PlatformStand = true
  806. torsy.Velocity = Vector3.new()
  807. end
  808. so(200632136,RootPart,.9,1)
  809. for i = 0,1,.2 do
  810. swait()
  811. PlayAnimationFromTable({
  812. CFrame.new(-0.102054864, -0.932198167, 9.983778e-07, 0, 0.766044974, -0.64278698, 0, 0.64278698, 0.766044974, 1, 0, 0),
  813. CFrame.new(0, 1.94997787, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  814. CFrame.new(1.70003557, 0.647316098, -1.51024413, 0.866025388, 0, 0.500000238, 0.383022666, 0.64278698, -0.663414419, -0.321393639, 0.766044974, 0.556669831),
  815. CFrame.new(-1.95000505, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  816. CFrame.new(0.650000989, -0.993868172, -1.34321105, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  817. CFrame.new(-0.650000989, -2.59999466, 7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  818. }, .4, false)
  819. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  820. hum.PlatformStand = true
  821. torsy.Velocity = Vector3.new()
  822. end
  823. puncheff(torsy)
  824. smasheff(torsy.Position,math.random(10,20)/10,math.random(4,6),math.random(10,20)/10,math.random(4,6),5,Vector3.new(math.random(-30,30),math.random(70,90),math.random(-30,30)))
  825. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  826. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  827. for i = 0,1,.1 do
  828. swait()
  829. PlayAnimationFromTable({
  830. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  831. CFrame.new(-0.034717761, 1.88260937, 0.18508473, 0.984807849, -1.54085157e-07, -0.173648179, -0.0593909919, 0.939692736, -0.336823851, 0.163175985, 0.342019886, 0.925416648),
  832. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  833. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  834. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  835. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  836. }, .3, false)
  837. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  838. hum.PlatformStand = true
  839. torsy.Velocity = Vector3.new()
  840. end
  841. so(200632136,RootPart,.9,1)
  842. for i = 0,1,.2 do
  843. swait()
  844. PlayAnimationFromTable({
  845. CFrame.new(0.102049023, -0.932193279, 0, 0, -0.766044974, 0.64278698, 0, 0.64278698, 0.766044974, -1, 0, 0),
  846. CFrame.new(0, 1.94997406, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  847. CFrame.new(1.70003128, 0.647328019, -1.51025343, 0.866025388, 0, 0.500000238, 0.383022666, 0.64278698, -0.663414419, -0.321393639, 0.766044974, 0.556669831),
  848. CFrame.new(-1.95000458, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  849. CFrame.new(0.650002003, -0.993867934, -1.34321058, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  850. CFrame.new(-0.650001049, -2.60001373, 1.14440918e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  851. }, .4, false)
  852. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  853. hum.PlatformStand = true
  854. torsy.Velocity = Vector3.new()
  855. end
  856. puncheff(torsy)
  857. smasheff(torsy.Position,math.random(10,20)/10,math.random(4,6),math.random(10,20)/10,math.random(4,6),5,Vector3.new(math.random(-30,30),math.random(70,90),math.random(-30,30)))
  858. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  859. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  860. end
  861. so(200632136,RootPart,.9,1)
  862. for i = 0,1,.1 do
  863. swait()
  864. PlayAnimationFromTable({
  865. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  866. CFrame.new(0.0492400974, 1.93260896, -0.0852866173, 0.492402941, 0.0868238136, 0.866025984, -0.173647985, 0.984807849, 0, -0.852869213, -0.150383666, 0.499998987),
  867. CFrame.new(2.25130796, 1.15621161, -0.521879852, 0.866025984, -0.43301183, 0.249999613, 0, -0.500000238, -0.866025388, 0.499998987, 0.750000477, -0.433013201),
  868. CFrame.new(-1.95000482, 3.33413482e-07, 2.38418579e-07, 0.76604408, 0.633022606, -0.111619651, -0.642788172, 0.754405975, -0.133022651, 1.78813934e-07, 0.173648968, 0.98480773),
  869. CFrame.new(0.650005341, -2.5999999, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  870. CFrame.new(-0.650006175, -2.5999999, 2.44379044e-06, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  871. }, .4, false)
  872. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  873. hum.PlatformStand = true
  874. torsy.Velocity = Vector3.new()
  875. end
  876. local pato = Instance.new("Part",torsy)
  877. pato.CFrame = torsy.CFrame
  878. pato.Size = Vector3.new(4.1,6.1,1.1)
  879. pato.Transparency = 1
  880. pato.CanCollide = false
  881. pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  882. local werudo = Instance.new("Weld",pato)
  883. werudo.Part0 = pato
  884. werudo.Part1 = torsy
  885. torsy.Velocity = RootPart.CFrame.lookVector*150+Vector3.new(0,30,0)
  886. torsy.RotVelocity = Vector3.new(10,10,10)
  887. pato.Touched:connect(function(hit)
  888. if hit:IsDescendantOf(chara)==false then
  889. pato:Destroy()
  890. Dmg(grab,70,3,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*50,true,"Blunt",.3)
  891. so(260430079,torsy,1,5)
  892. MagnitudeDmg(torsy,6,40,3,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  893. smasheff(torsy.Position,math.random(10,20)/10,math.random(4,6),math.random(10,20)/10,math.random(4,6),5,Vector3.new(math.random(-30,30),math.random(70,90),math.random(-30,30)))
  894. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  895. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  896. end
  897. end)
  898. so(200632136,RootPart,.8,1)
  899. for i = 0,2,.1 do
  900. swait()
  901. PlayAnimationFromTable({
  902. CFrame.new(-0.222327977, -0.0760439336, -0.208909988, 0.604021907, -0.342020392, 0.719846964, -0.0554149859, 0.883022249, 0.46604827, -0.795038819, -0.321393698, 0.514411688),
  903. CFrame.new(7.34417608e-06, 2.0353117, -0.350306809, 1, -4.47034836e-07, 1.69873238e-06, -2.08616257e-07, 0.939692974, 0.342019647, -1.7285347e-06, -0.342019677, 0.939692795),
  904. CFrame.new(1.09530568, 0.103452325, -1.42083132, 0.766043782, 0.64278847, -1.9967556e-06, -0.321392238, 0.383016765, -0.866028547, -0.556672335, 0.663416266, 0.499994785),
  905. CFrame.new(-1.9499985, -4.95091081e-06, 1.11758709e-06, 0.766044378, 0.633022308, -0.111619204, -0.642787814, 0.754405975, -0.13302502, -1.57952309e-06, 0.173650473, 0.984807491),
  906. CFrame.new(0.75631088, -2.3547678, -0.864154458, 0.997292876, -0.0554149859, -0.0483326912, 0.0263557732, 0.883022249, -0.468590677, 0.0686457753, 0.46604827, 0.882092297),
  907. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  908. }, .3, false)
  909. end
  910. end
  911. attack = false
  912. Humanoid.WalkSpeed = 8
  913. end
  914.  
  915. function taunt()
  916. attack = true
  917. Humanoid.WalkSpeed = 0
  918. mus.Pitch = 0
  919. local snd = Instance.new("Sound",Head)
  920. snd.Volume = 3
  921. snd.SoundId = "rbxassetid://146333460"
  922. snd:Play()
  923. so(487907203,Head,1,3)
  924. for i = 0,1,.01 do
  925. swait()
  926. PlayAnimationFromTable({
  927. CFrame.new(-7.70094994e-06, 0.0393988565, 0.149780393, 0.999998927, -8.29677447e-08, -4.7053436e-07, 0, 0.984807849, -0.173647985, -6.85358827e-06, 0.173648238, 0.984809279),
  928. CFrame.new(6.96081361e-06, 1.94950724, -0.513472855, 1, -6.94597475e-07, 3.9392653e-06, -6.94597475e-07, 0.939692855, 0.342019767, -3.93926348e-06, -0.342019796, 0.939692736),
  929. CFrame.new(1.69018638, 1.65000451, 0.300107032, 0.866022527, 0.500005007, 5.95726306e-06, 0.500005066, -0.866022527, -1.13099813e-05, -4.91738319e-07, 1.27702951e-05, -1.00000012),
  930. CFrame.new(-1.69020617, 1.6499958, 0.299897015, 0.866027176, -0.49999702, 6.79078403e-06, -0.499997079, -0.866027117, 1.20401382e-05, -1.34110451e-07, -1.38133764e-05, -1.00000012),
  931. CFrame.new(0.650000513, -2.62530255, 0.310812205, 0.939692974, 0, -0.342019439, 0.0593909882, 0.984807849, 0.163175792, 0.336823434, -0.173647985, 0.925417006),
  932. CFrame.new(-0.649998724, -2.62530136, 0.310818315, 0.939692497, 0, 0.34202072, -0.0593912043, 0.984807849, 0.163175717, -0.336824685, -0.173647985, 0.925416589),
  933. }, .1, false)
  934. end
  935. so(487907316,Head,1,3)
  936. for i = 0,1,.01 do
  937. swait()
  938. PlayAnimationFromTable({
  939. CFrame.new(1.55392627e-05, -0.118780732, -0.583496988, 0.999998569, 2.40357622e-07, -4.16312105e-07, 0, 0.866025388, 0.500000238, -9.29446469e-06, -0.500001192, 0.866027057),
  940. CFrame.new(1.61478602e-05, 1.9034369, 0.0406528115, 0.999998569, 0, -9.29446469e-06, 2.40357622e-07, 0.866025388, -0.500001192, -4.16312105e-07, 0.500000238, 0.866027057),
  941. CFrame.new(1.35360622, -0.201802224, -0.616510034, 0.866021276, 0.500007153, -5.6077406e-06, -0.433019817, 0.74999243, -0.500005424, -0.250002086, 0.433017761, 0.866022408),
  942. CFrame.new(-1.35358262, -0.201804206, -0.616507173, 0.866028905, -0.49999395, -4.74162516e-06, 0.433007032, 0.750007033, -0.499994606, 0.249997824, 0.433007747, 0.866028666),
  943. CFrame.new(0.649987519, -2.44053602, -0.735289276, 0.999998569, 0, -9.29446469e-06, 2.40357622e-07, 0.866025388, -0.500001192, -4.16312105e-07, 0.500000238, 0.866027057),
  944. CFrame.new(-0.650013626, -2.44054365, -0.735276401, 0.999998569, 0, -9.29446469e-06, 2.40357622e-07, 0.866025388, -0.500001192, -4.16312105e-07, 0.500000238, 0.866027057),
  945. }, .1, false)
  946. end
  947. so(487907203,Head,.9,3)
  948. for i = 0,1,.01 do
  949. swait()
  950. PlayAnimationFromTable({
  951. CFrame.new(0, -0.599999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  952. CFrame.new(3.60608101e-06, 1.94996309, -3.51667404e-06, 0.469848812, 0.342020154, 0.813796282, -0.171001956, 0.939692676, -0.296202868, -0.866025746, 9.79501692e-06, 0.499999583),
  953. CFrame.new(1.61960268, 1.77223492, -2.74498088e-05, 0.866025388, 0.500000238, 1.34671045e-05, 0.500000238, -0.866025388, -9.50000867e-06, 6.91284913e-06, 1.49608022e-05, -1),
  954. CFrame.new(-2.50045633, 0.909400702, 7.89161845e-07, -1.0784097e-06, 0.984807849, -0.173647985, 0, -0.173647985, -0.984807849, -1, -1.06202424e-06, 1.8726405e-07),
  955. CFrame.new(1.36961031, -2.04641271, 4.32031811e-06, 0.866025388, -0.500000238, -7.40492396e-06, 0.500000238, 0.866025388, 1.30000126e-05, -8.71550583e-08, -1.49608022e-05, 1),
  956. CFrame.new(-0.649993896, -1.99999642, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  957. }, .1, false)
  958. end
  959. so(487907316,Head,.9,3)
  960. for i = 0,1,.01 do
  961. swait()
  962. PlayAnimationFromTable({
  963. CFrame.new(0, -0.699999571, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  964. CFrame.new(4.35113907e-06, 1.9499656, -2.47359276e-06, 0.499997169, -0.296198249, -0.813799441, 0, 0.939692855, -0.342019647, 0.866027057, 0.171008855, 0.469843775),
  965. CFrame.new(2.56986904, 0.91509676, 1.86699071e-05, -3.99215896e-05, -0.984806359, 0.173656061, 0, -0.173656061, -0.984806359, 1, -3.93150331e-05, 6.93262609e-06),
  966. CFrame.new(-1.76206148, 1.33159709, 1.23434656e-05, 0.939692736, -0.342019886, 5.52932834e-05, -0.342019916, -0.939692736, -9.23453536e-06, 5.51170961e-05, -1.02337781e-05, -1),
  967. CFrame.new(0.650001526, -1.89999652, -0.599994659, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  968. CFrame.new(-1.4295907, -1.91907001, -1.105927e-05, 0.866025388, 0.500000238, -1.4333129e-05, -0.500000238, 0.866025388, -9.00000668e-06, 7.91284765e-06, 1.49608022e-05, 1),
  969. }, .1, false)
  970. end
  971. snd:Destroy()
  972. mus.Pitch = 1
  973. Humanoid.WalkSpeed = 16
  974. attack = false
  975. end
  976.  
  977. Mouse.Button1Down:connect(function()
  978. if attack == false then
  979. attackone()
  980. end
  981. end)
  982.  
  983. local sprintt = 0
  984.  
  985. Mouse.KeyDown:connect(function(k)
  986. k = k:lower()
  987. if k=='m' then
  988. if mus.IsPlaying == true then
  989. mus:Stop()
  990. elseif mus.IsPaused == true then
  991. mus:Play()
  992. end
  993. end
  994. if attack == false then
  995. if k == 'z' then
  996. thesurou()
  997. elseif k == 'x' then
  998. dashattack()
  999. elseif k == 'g' then
  1000. taunt()
  1001. end
  1002. end
  1003. end)
  1004.  
  1005. prevhp = 800
  1006. Humanoid.HealthChanged:connect(function(hp)
  1007. if hp < prevhp then
  1008. local cho = math.random(1,5)
  1009. local s = Instance.new("Sound",Head)
  1010. if cho == 1 then
  1011. so(480392869,Head,1,3)
  1012. elseif cho == 2 then
  1013. so(480392949,Head,1,3)
  1014. elseif cho == 3 then
  1015. so(480394663,Head,1,3)
  1016. elseif cho == 4 then
  1017. so(480394802,Head,1,3)
  1018. elseif cho == 5 then
  1019. so(480394542,Head,1,3)
  1020. end
  1021. end
  1022. prevhp = hp
  1023. end)
  1024.  
  1025. local soundIds = {142539074, 487912030, 487911937}
  1026. coroutine.wrap(function()
  1027. while wait(math.random(25,30)/10) do
  1028. if Humanoid.Health > 1 and attack == false then
  1029. so(soundIds[math.random(1,3)],Head,1,3)
  1030. end
  1031. end
  1032. end)()
  1033.  
  1034. Humanoid.Died:connect(function()
  1035. mus:Stop()
  1036. so(487907155,Head,1,3)
  1037. swait(5)
  1038. for i = 1,10 do
  1039. swait()
  1040. for i,v in pairs(chara:GetDescendants()) do
  1041. if v:IsA("BasePart") then
  1042. v.Transparency = v.Transparency + .1
  1043. end
  1044. end
  1045. end
  1046. chara:Destroy()
  1047. end)
  1048.  
  1049. coroutine.wrap(function()
  1050. while 1 do
  1051. swait()
  1052. if doe <= 360 then
  1053. doe = doe + 2
  1054. else
  1055. doe = 0
  1056. end
  1057. end
  1058. end)()
  1059.  
  1060. while true do
  1061. swait()
  1062. while true do
  1063. swait()
  1064. if Head:FindFirstChild("mus")==nil then
  1065. mus = Instance.new("Sound",Head)
  1066. mus.Name = "mus"
  1067. mus.SoundId = "rbxassetid://318340174"
  1068. mus.Looped = true
  1069. mus.Volume = 1
  1070. mus:Play()
  1071. end
  1072. local ss = Humanoid:GetState()
  1073. if ss == (Enum.HumanoidStateType.FallingDown or ss == Enum.HumanoidStateType.PlatformStanding) then
  1074. Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  1075. end
  1076. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1077. velocity = RootPart.Velocity.y
  1078. sine = sine + change
  1079. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 5.3, chara)
  1080. if RootPart.Velocity.y > 1 and hit == nil then
  1081. Anim = "Jump"
  1082. if attack == false then
  1083. PlayAnimationFromTable({
  1084. CFrame.new(0, 0.0740167201, -0.180228189, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1085. CFrame.new(0, 2.03109002, -0.115844816, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  1086. CFrame.new(1.47152913, -0.278083742, 0.397592455, 0.939692855, 0.342019439, -3.31528156e-08, -0.321393043, 0.883022368, 0.34202078, 0.116977774, -0.321394503, 0.939692497),
  1087. CFrame.new(-1.47150564, -0.27808097, 0.397592992, 0.939692855, -0.342019439, 3.31528156e-08, 0.321393043, 0.883022368, 0.34202078, -0.116977774, -0.321394503, 0.939692497),
  1088. CFrame.new(0.650001526, -1.19999599, -0.600000799, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1089. CFrame.new(-0.649993896, -2.59999466, 5.54323037e-07, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1090. }, .3, false)
  1091. end
  1092. elseif RootPart.Velocity.y < -1 and hit == nil then
  1093. Anim = "Fall"
  1094. if attack == false then
  1095. PlayAnimationFromTable({
  1096. CFrame.new(0, -0.133714333, 0.15832366, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1097. CFrame.new(0, 2.05995607, -0.632082939, 1, 0, 0, 0, 0.766044796, 0.642787218, 0, -0.642787218, 0.766044855),
  1098. CFrame.new(2.25642705, 0.257112086, -3.82667531e-06, 0.766044319, -0.642787933, -2.9919768e-08, 0.642787993, 0.766044319, 3.87430191e-07, -1.93715096e-07, -2.83122063e-07, 1),
  1099. CFrame.new(-2.25643301, 0.257116973, 9.41694736e-07, 0.766044319, 0.642787933, 2.9919768e-08, -0.642787993, 0.766044319, 3.87430191e-07, 1.93715096e-07, -2.83122063e-07, 1),
  1100. CFrame.new(0.649993896, -1.3999939, -0.600004256, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1101. CFrame.new(-0.650001526, -2.59999371, -3.89218303e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1102. }, .3, false)
  1103. end
  1104. elseif Torsovelocity < 1 and hit ~= nil then
  1105. Anim = "Idle"
  1106. if attack == false then
  1107. change = 1
  1108. PlayAnimationFromTable({
  1109. CFrame.new(0, 0, 0, 0.866025388, 0, 0.500000238, 0, 1, 0, -0.500000238, 0, 0.866025388) * CFrame.new(0,.05 * math.cos((sine)/5), 0),
  1110. CFrame.new(0.0984803587, 1.91524398, -0.170572892, 0.866025388, 0.0868240371, -0.492404163, 0, 0.984807849, 0.173647985, 0.500000238, -0.150383562, 0.852868617),
  1111. CFrame.new(1.98214447, 0.0342020541, -0.0883011818, 0.939692676, -0.116977856, -0.321394205, 0, 0.939692736, -0.342019945, 0.342020601, 0.321393609, 0.883022249),
  1112. CFrame.new(-1.51237798, -0.128823012, -0.775815547, 0.766044199, -0.642788053, -3.87430191e-07, 0.413175076, 0.492402881, -0.76604563, 0.492405087, 0.586824656, 0.642786384),
  1113. CFrame.new(0.649999857, -2.5999999, -8.64267349e-07, 0.866025388, 0, -0.500000238, 0, 1, 0, 0.500000238, 0, 0.866025388) * CFrame.new(0,-.05 * math.cos((sine)/5), 0),
  1114. CFrame.new(-0.64999789, -2.5999999, -9.53674544e-07, 1.00000024, 0, 0, 0, 1, 0, 0, 0, 1.00000024) * CFrame.new(0,-.05 * math.cos((sine)/5), 0),
  1115. }, .3, false)
  1116. end
  1117. elseif Torsovelocity > 2 and hit ~= nil then
  1118. Anim = "Walk"
  1119. if attack == false then
  1120. Humanoid.WalkSpeed = 16
  1121. Humanoid.JumpPower = 80
  1122. PlayAnimationFromTable({
  1123. CFrame.new(0, 0.0098747462, -0.187130988, 1, 0, 0, 0, 0.984807849, 0.173647985, 0, -0.173647985, 0.984807849) * CFrame.Angles(0, math.rad(0 + 10 * math.cos((sine) / 5)), 0),
  1124. CFrame.new(0, 2.01372552, -0.214327857, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849),
  1125. CFrame.new(1.94397354, -0.115067676, -0.230779886, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1126. CFrame.new(-1.95000458, -0.0637510419, -0.214326635, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1127. CFrame.new(0.649997711, -2.60271978, -0.268911421, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0+ .65 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 - 30 * math.cos((sine) / 5)), 0, 0),
  1128. CFrame.new(-0.650001526, -2.60271978, -0.268911421, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849) * CFrame.new(0, 0, 0- .65 * math.cos((sine) / 5)) * CFrame.Angles(math.rad(0 + 30 * math.cos((sine) / 5)), 0, 0),
  1129. }, .3, false)
  1130. end
  1131. end
  1132. end
  1133. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement