Advertisement
13242

Untitled

Dec 14th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.64 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  6.  
  7.  
  8. -------------
  9. --Big Daddy--
  10. ----------------------------------------------------------------
  11. --By CKbackup (Sugarie Saffron) --
  12. --YT: https://www.youtube.com/channel/UC8n9FFz7e6Zo13ob_5F9MJw--
  13. --Discord: Sugarie Saffron#4705 --
  14. ----------------------------------------------------------------
  15.  
  16. wait(.1)
  17. local Player = game:service'Players'.LocalPlayer
  18. local chara = Player.Character
  19. local Mouse = Player:GetMouse()
  20. local Humanoid = chara:FindFirstChildOfClass("Humanoid")
  21. local LeftArm = chara["Left Arm"]
  22. local RightArm = chara["Right Arm"]
  23. local LeftLeg = chara["Left Leg"]
  24. local RightLeg = chara["Right Leg"]
  25. local Head = chara.Head
  26. local Torso = chara.Torso
  27. local RootPart = chara.HumanoidRootPart
  28. local RootJoint = RootPart.RootJoint
  29. local attack = false
  30. local Anim = 'Idle'
  31. local attacktype = 1
  32. local delays = false
  33. local play = true
  34. local targetted = nil
  35. local Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  36. local velocity = RootPart.Velocity.y
  37. local sine = 0
  38. local change = 1
  39. local doe = 0
  40. local Create = LoadLibrary("RbxUtility").Create
  41. Humanoid.WalkSpeed = 16
  42. debby = game:GetService("Debris")
  43.  
  44. Humanoid.MaxHealth = 800
  45. Humanoid.Health = 800
  46.  
  47. Humanoid.Animator.Parent = nil
  48. chara.Animate.Parent = nil
  49.  
  50.  
  51. local newMotor = function(part0, part1, c0, c1)
  52. local w = Create('Motor'){
  53. Parent = part0,
  54. Part0 = part0,
  55. Part1 = part1,
  56. C0 = c0,
  57. C1 = c1,
  58. }
  59. return w
  60. end
  61.  
  62. function clerp(a, b, t)
  63. return a:lerp(b, t)
  64. end
  65.  
  66. RootCF = CFrame.fromEulerAnglesXYZ(-1.57, 0, 3.14)
  67. NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  68.  
  69. LeftArm.Size = LeftArm.Size * 1.3
  70. RightArm.Size = RightArm.Size * 1.3
  71. LeftLeg.Size = LeftLeg.Size * 1.3
  72. RightLeg.Size = RightLeg.Size * 1.3
  73. Torso.Size = Torso.Size * 1.3
  74. Head.Size = Head.Size * 1.3
  75. RootPart.Size = RootPart.Size * 1.3
  76.  
  77. local RW = newMotor(Torso, RightArm, CFrame.new(1.95, 0, 0), CFrame.new(0, 0, 0))
  78. local LW = newMotor(Torso, LeftArm, CFrame.new(-1.95, 0, 0), CFrame.new(0, 0, 0))
  79. local Neck = newMotor(Torso, Head, CFrame.new(0,1.95,0), CFrame.new())
  80. local RH = newMotor(Torso, RightLeg, CFrame.new(.65, -2.6, 0), CFrame.new(0, 0, 0))
  81. local LH = newMotor(Torso, LeftLeg, CFrame.new(-.65, -2.6, 0), CFrame.new(0, 0, 0))
  82. local RootJoint = newMotor(RootPart, Torso, CFrame.new(0,-1.3,0), CFrame.new(0,0,0))
  83.  
  84. local rarmc1 = RW.C1
  85. local larmc1 = LW.C1
  86. local rlegc1 = RH.C1
  87. local llegc1 = LH.C1
  88.  
  89. local resetc1 = false
  90.  
  91. function PlayAnimationFromTable(table, speed, bool)
  92. RootJoint.C0 = clerp(RootJoint.C0, table[1], speed)
  93. Neck.C0 = clerp(Neck.C0, table[2], speed)
  94. RW.C0 = clerp(RW.C0, table[3], speed)
  95. LW.C0 = clerp(LW.C0, table[4], speed)
  96. RH.C0 = clerp(RH.C0, table[5], speed)
  97. LH.C0 = clerp(LH.C0, table[6], speed)
  98. if bool == true then
  99. if resetc1 == false then
  100. resetc1 = true
  101. RootJoint.C1 = RootJoint.C1
  102. Neck.C1 = Neck.C1
  103. RW.C1 = rarmc1
  104. LW.C1 = larmc1
  105. RH.C1 = rlegc1
  106. LH.C1 = llegc1
  107. end
  108. end
  109. end
  110.  
  111. function so(id,par,pit,vol)
  112. local sou = Instance.new("Sound", par or workspace)
  113. if par == chara then
  114. sou.Parent = chara.Torso
  115. end
  116. sou.Volume = vol
  117. sou.Pitch = pit or 1
  118. sou.SoundId = "rbxassetid://" .. id
  119. sou.PlayOnRemove = true
  120. sou:Destroy()
  121. end
  122.  
  123. --This is just for builds--
  124. New = function(Object, Parent, Name, Data)
  125. local Object = Instance.new(Object)
  126. for Index, Value in pairs(Data or {}) do
  127. Object[Index] = Value
  128. end
  129. Object.Parent = Parent
  130. Object.Name = Name
  131. return Object
  132. end
  133.  
  134. local mus = Instance.new("Sound",Head)
  135. mus.Name = "mus"
  136. mus.SoundId = "rbxassetid://318340174"
  137. mus.Looped = true
  138. mus.Volume = 1
  139. mus:Play()
  140.  
  141. for i,v in pairs(chara:children'') do
  142. if v:IsA("CharacterMesh") or v:IsA("Clothing") or v:IsA("Accoutrement") or v:IsA("BodyColors") then v:Destroy() end
  143. end
  144.  
  145. local sh = Instance.new("Shirt",chara)
  146. local pn = Instance.new("Pants",chara)
  147. sh.ShirtTemplate = "rbxassetid://17799754"
  148. pn.PantsTemplate = "rbxassetid://21172424"
  149. if chara:FindFirstChild("FaysG") then chara:FindFirstChild("FaysG"):Destroy() end
  150.  
  151. skincol = {"Bright yellow","Cool yellow","Pastel yellow","Pastel brown","Br. yellowish orange","White","Bright violet","Medium green","Medium stone grey","Dark stone grey"}
  152.  
  153. 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,})
  154. Mesh = New("SpecialMesh",FHead,"Mesh",{Scale = Vector3.new(1.25, 1.25, 1.25),})
  155. Decal = New("Decal",FHead,"Decal",{Texture = "http://www.roblox.com/asset/?id=46078492",})
  156. 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),})
  157.  
  158. Head:ClearAllChildren()
  159. Instance.new("BlockMesh",Head).Scale = Vector3.new(0,0,0)
  160.  
  161. local hedcol = FHead.BrickColor
  162. local bcols = Instance.new("BodyColors",chara)
  163. bcols.Name = "NeoCols"
  164. bcols.HeadColor = hedcol
  165. bcols.LeftArmColor = hedcol
  166. bcols.RightArmColor = hedcol
  167. bcols.TorsoColor = hedcol
  168. bcols.LeftLegColor = hedcol
  169. bcols.RightLegColor = hedcol
  170.  
  171. function CreateTrailObj(parent,color1,color2,ofsx,ofsz)
  172. local Att1 = New("Attachment",parent,"Att1",{Position = Vector3.new(ofsx,parent.Size.Y/2,ofsz)})
  173. local Att2 = New("Attachment",parent,"Att2",{Position = Vector3.new(ofsx,-(parent.Size.Y/2),ofsz)})
  174. 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})
  175. return TEff
  176. end
  177.  
  178. LLTr = CreateTrailObj(LeftLeg,"White","White",0,0)
  179. RLTr = CreateTrailObj(RightLeg,"White","White",0,0)
  180. LATr = CreateTrailObj(LeftArm,"White","White",0,0)
  181. RATr = CreateTrailObj(RightArm,"White","White",0,0)
  182.  
  183.  
  184. function rayCast(Position, Direction, Range, Ignore)
  185. return game:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * (Range or 999.999)), Ignore)
  186. end
  187.  
  188. function FindNearestTorso(Position, Distance, SinglePlayer)
  189. if SinglePlayer then
  190. return (SinglePlayer.Head.CFrame.p - Position).magnitude < Distance
  191. end
  192. local List = {}
  193. for i, v in pairs(workspace:GetDescendants()) do
  194. if v:IsA("Model") then
  195. if v:findFirstChild("Head") then
  196. if v ~= chara then
  197. if (v.Head.Position - Position).magnitude <= Distance then
  198. table.insert(List, v)
  199. end
  200. end
  201. end
  202. end
  203. end
  204. return List
  205. end
  206.  
  207. ArtificialHB = Instance.new("BindableEvent", script)
  208. ArtificialHB.Name = "Heartbeat"
  209. script:waitForChild("Heartbeat")
  210. frame = 0.03333333333333
  211. tf = 0
  212. allowframeloss = false
  213. tossremainder = false
  214. lastframe = tick()
  215. script.Heartbeat:Fire()
  216. game:GetService("RunService").Heartbeat:connect(function(s, p)
  217. tf = tf + s
  218. if tf >= frame then
  219. if allowframeloss then
  220. script.Heartbeat:Fire()
  221. lastframe = tick()
  222. else
  223. for i = 1, math.floor(tf / frame) do
  224. script.Heartbeat:Fire()
  225. end
  226. lastframe = tick()
  227. end
  228. if tossremainder then
  229. tf = 0
  230. else
  231. tf = tf - frame * math.floor(tf / frame)
  232. end
  233. end
  234. end)
  235. function swait(num)
  236. if num == 0 or num == nil then
  237. ArtificialHB.Event:wait()
  238. else
  239. for i = 0, num*30 do
  240. ArtificialHB.Event:wait()
  241. end
  242. end
  243. end
  244.  
  245. EffectModel = Create("Model"){
  246. Parent = chara,
  247. Name = "Effects",
  248. }
  249.  
  250. --Effect Functions--
  251. Effects = {
  252.  
  253. Block = function(cf,partsize,meshstart,meshadd,matr,colour,spin,inverse,factor)
  254. local p = Instance.new("Part",EffectModel)
  255. p.BrickColor = BrickColor.new(colour)
  256. p.Size = partsize
  257. p.Anchored = true
  258. p.CanCollide = false
  259. p.Material = matr
  260. p.CFrame = cf
  261. if inverse == true then
  262. p.Transparency = 1
  263. else
  264. p.Transparency = 0
  265. end
  266. local m = Instance.new("BlockMesh",p)
  267. m.Scale = meshstart
  268. coroutine.wrap(function()
  269. for i=0,1,factor do
  270. swait()
  271. if inverse == true then
  272. p.Transparency = 1-i
  273. else
  274. p.Transparency = i
  275. end
  276. m.Scale = m.Scale + meshadd
  277. if spin == true then
  278. p.CFrame = p.CFrame * CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  279. end
  280. end
  281. p:Destroy()
  282. end)()
  283. return p
  284. end,
  285.  
  286. Sphere = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  287. local p = Instance.new("Part",EffectModel)
  288. p.BrickColor = BrickColor.new(colour)
  289. p.Size = partsize
  290. p.Anchored = true
  291. p.CanCollide = false
  292. p.Material = matr
  293. p.CFrame = cf
  294. if inverse == true then
  295. p.Transparency = 1
  296. else
  297. p.Transparency = 0
  298. end
  299. local m = Instance.new("SpecialMesh",p)
  300. m.MeshType = "Sphere"
  301. m.Scale = meshstart
  302. coroutine.wrap(function()
  303. for i=0,1,factor do
  304. swait()
  305. if inverse == true then
  306. p.Transparency = 1-i
  307. else
  308. p.Transparency = i
  309. end
  310. m.Scale = m.Scale + meshadd
  311. end
  312. p:Destroy()
  313. end)()
  314. return p
  315. end,
  316.  
  317. Cylinder = function(cf,partsize,meshstart,meshadd,matr,colour,inverse,factor)
  318. local p = Instance.new("Part",EffectModel)
  319. p.BrickColor = BrickColor.new(colour)
  320. p.Size = partsize
  321. p.Anchored = true
  322. p.CanCollide = false
  323. p.Material = matr
  324. p.CFrame = cf
  325. if inverse == true then
  326. p.Transparency = 1
  327. else
  328. p.Transparency = 0
  329. end
  330. local m = Instance.new("CylinderMesh",p)
  331. m.Scale = meshstart
  332. coroutine.wrap(function()
  333. for i=0,1,factor do
  334. swait()
  335. if inverse == true then
  336. p.Transparency = 1-i
  337. else
  338. p.Transparency = i
  339. end
  340. m.Scale = m.Scale + meshadd
  341. end
  342. p:Destroy()
  343. end)()
  344. return p
  345. end,
  346.  
  347. Wave = function(cf,meshstart,meshadd,colour,spin,inverse,factor)
  348. local p = Instance.new("Part",EffectModel)
  349. p.BrickColor = BrickColor.new(colour)
  350. p.Size = Vector3.new()
  351. p.Anchored = true
  352. p.CanCollide = false
  353. p.CFrame = cf
  354. if inverse == true then
  355. p.Transparency = 1
  356. else
  357. p.Transparency = 0
  358. end
  359. local m = Instance.new("SpecialMesh",p)
  360. m.MeshId = "rbxassetid://20329976"
  361. m.Scale = meshstart
  362. coroutine.wrap(function()
  363. for i=0,1,factor do
  364. swait()
  365. if inverse == true then
  366. p.Transparency = 1-i
  367. else
  368. p.Transparency = i
  369. end
  370. m.Scale = m.Scale + meshadd
  371. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  372. end
  373. p:Destroy()
  374. end)()
  375. return p
  376. end,
  377.  
  378. Ring = function(cf,meshstart,meshadd,colour,inverse,factor)
  379. local p = Instance.new("Part",EffectModel)
  380. p.BrickColor = BrickColor.new(colour)
  381. p.Size = Vector3.new()
  382. p.Anchored = true
  383. p.CanCollide = false
  384. p.CFrame = cf
  385. if inverse == true then
  386. p.Transparency = 1
  387. else
  388. p.Transparency = 0
  389. end
  390. local m = Instance.new("SpecialMesh",p)
  391. m.MeshId = "rbxassetid://3270017"
  392. m.Scale = meshstart
  393. coroutine.wrap(function()
  394. for i=0,1,factor do
  395. swait()
  396. if inverse == true then
  397. p.Transparency = 1-i
  398. else
  399. p.Transparency = i
  400. end
  401. m.Scale = m.Scale + meshadd
  402. end
  403. p:Destroy()
  404. end)()
  405. return p
  406. end,
  407.  
  408. Meshed = function(cf,meshstart,meshadd,colour,meshid,textid,spin,inverse,factor)
  409. local p = Instance.new("Part",EffectModel)
  410. p.BrickColor = BrickColor.new(colour)
  411. p.Size = Vector3.new()
  412. p.Anchored = true
  413. p.CanCollide = false
  414. p.CFrame = cf
  415. if inverse == true then
  416. p.Transparency = 1
  417. else
  418. p.Transparency = 0
  419. end
  420. local m = Instance.new("SpecialMesh",p)
  421. m.MeshId = meshid
  422. m.TextureId = textid
  423. m.Scale = meshstart
  424. coroutine.wrap(function()
  425. for i=0,1,factor do
  426. swait()
  427. if inverse == true then
  428. p.Transparency = 1-i
  429. else
  430. p.Transparency = i
  431. end
  432. m.Scale = m.Scale + meshadd
  433. p.CFrame = p.CFrame * CFrame.Angles(0,math.rad(spin),0)
  434. end
  435. p:Destroy()
  436. end)()
  437. return p
  438. end,
  439.  
  440. Explode = function(cf,partsize,meshstart,meshadd,matr,colour,move,inverse,factor)
  441. local p = Instance.new("Part",EffectModel)
  442. p.BrickColor = BrickColor.new(colour)
  443. p.Size = partsize
  444. p.Anchored = true
  445. p.CanCollide = false
  446. p.Material = matr
  447. p.CFrame = cf * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  448. if inverse == true then
  449. p.Transparency = 1
  450. else
  451. p.Transparency = 0
  452. end
  453. local m = Instance.new("SpecialMesh",p)
  454. m.MeshType = "Sphere"
  455. m.Scale = meshstart
  456. coroutine.wrap(function()
  457. for i=0,1,factor do
  458. swait()
  459. if inverse == true then
  460. p.Transparency = 1-i
  461. else
  462. p.Transparency = i
  463. end
  464. m.Scale = m.Scale + meshadd
  465. p.CFrame = p.CFrame * CFrame.new(0,move,0)
  466. end
  467. p:Destroy()
  468. end)()
  469. return p
  470. end,
  471.  
  472. }
  473.  
  474. function GetDudesTorso(c)
  475. local torsy = (c:findFirstChild("Torso") or c:findFirstChild("UpperTorso"))
  476. if torsy ~= nil then
  477. return torsy
  478. end
  479. end
  480.  
  481. function BodyVel(part,faws)
  482. local bodyvel = Instance.new("BodyVelocity",part)
  483. local pep = 10000000
  484. bodyvel.P = pep
  485. bodyvel.MaxForce = Vector3.new(pep,pep,pep)
  486. bodyvel.Velocity = faws
  487. debby:AddItem(bodyvel,.2)
  488. end
  489.  
  490. function Dmg(dude,dmg,env,faws,trip,efftyp,toim)
  491. if dude and dude ~= chara then
  492. if dude:FindFirstChild("HITO") then return end
  493. local debounce = Instance.new("BoolValue",dude)
  494. debounce.Name = "HITO"
  495. debby:AddItem(debounce,toim)
  496. local hum = dude:FindFirstChildOfClass("Humanoid")
  497. local dam = dmg+math.random(-env,env)
  498. local teksu = "-"..dam
  499. if hum then
  500. local finhel = hum.Health - dam
  501. if finhel <= 0 and dude:FindFirstChild("DEATHED")==nil then
  502. Instance.new("BoolValue",dude).Name = "DEATHED"
  503. end
  504. hum.Health = hum.Health - dam
  505. end
  506. coroutine.wrap(function()
  507. local naeeym2 = Instance.new("BillboardGui",dude)
  508. naeeym2.Size = UDim2.new(0,100,0,40)
  509. naeeym2.StudsOffset = Vector3.new(0,3,0)
  510. naeeym2.Adornee = dude:FindFirstChild("Head")
  511. naeeym2.Name = "TalkingBillBoard"
  512. local tecks2 = Instance.new("TextLabel",naeeym2)
  513. tecks2.BackgroundTransparency = 1
  514. tecks2.BorderSizePixel = 0
  515. tecks2.Text = teksu
  516. tecks2.Font = "Fantasy"
  517. tecks2.TextSize = 24
  518. tecks2.TextStrokeTransparency = 0
  519. tecks2.TextColor3 = Color3.new(1,1,1)
  520. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  521. tecks2.Size = UDim2.new(1,0,0.5,0)
  522. swait(.2)
  523. for i = 0,1,.05 do
  524. swait()
  525. tecks2.Position = tecks2.Position - UDim2.new(0,0,.005,0)
  526. tecks2.TextStrokeTransparency = i
  527. tecks2.TextTransparency = i
  528. end
  529. naeeym2:Destroy()
  530. end)()
  531. local torsy = GetDudesTorso(dude)
  532. if torsy then
  533. for i=1,dam/5 do
  534. local blp = Instance.new("Part",EffectModel)
  535. blp.Size = Vector3.new(.3,.3,.3)
  536. blp.BrickColor = BrickColor.new("Crimson")
  537. blp.CFrame = torsy.CFrame*CFrame.Angles(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  538. blp.Velocity = torsy.CFrame.lookVector*math.random(-8,-8) + torsy.CFrame.rightVector*math.random(-8,8) + Vector3.new(0,math.random(0,5),0)
  539. blp.RotVelocity = Vector3.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))
  540. --local blm = Instance.new("SpecialMesh",blp)
  541. --blm.MeshType = "Sphere"
  542. coroutine.wrap(function()
  543. swait(.2)
  544. blp.Orientation = Vector3.new(0,blp.Orientation.y,0)
  545. for i=0,1,.1 do
  546. swait()
  547. blp.Transparency = i
  548. blp.Size = blp.Size + Vector3.new(.05,-.05,.05)
  549. end
  550. blp:Destroy()
  551. end)()
  552. end
  553. if efftyp == "Blunt" then
  554. puncheff(torsy)
  555. elseif efftyp == "Sharp" then
  556. slasheff(torsy)
  557. elseif efftyp == "Shot" then
  558. so(144884872,torsy,.9,1)
  559. end
  560. if faws ~= 0 then
  561. BodyVel(torsy,faws)
  562. end
  563. if trip == true then
  564. torsy.CFrame = torsy.CFrame * CFrame.Angles(math.rad(-90),0,0)
  565. torsy.RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  566. end
  567. end
  568. end
  569. end
  570.  
  571. function MagnitudeDmg(par,magni,dmg,env,faws,trip,efftyp,toim)
  572. for _, c in pairs(workspace:GetDescendants()) do
  573. local hum = c:FindFirstChildOfClass("Humanoid")
  574. if hum ~= nil and c:FindFirstChild("IsTeamMateOfCK")==nil then
  575. local head = GetDudesTorso(c)
  576. if head ~= nil then
  577. local targ = head.Position - par.Position
  578. local mag = targ.magnitude
  579. if magni >= mag and c ~= chara then
  580. Dmg(c,dmg,env,faws,trip,efftyp,toim)
  581. end
  582. end
  583. end
  584. end
  585. end
  586.  
  587. function CamShake(par,magni,env,dur)
  588. coroutine.wrap(function()
  589. for i=0,dur*60 do
  590. swait()
  591. 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)
  592. end
  593. Humanoid.CameraOffset = Vector3.new(0,0,0)
  594. end)()
  595. end
  596.  
  597. function puncheff(par)
  598. if par.Parent:FindFirstChild("DebounceHit")==nil then
  599. so(386946017,par,math.random(6,8)/10,1)
  600. 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)
  601. CamShake(bla,30,.5,.5)
  602. end
  603. end
  604.  
  605. function slasheff(par)
  606. if par.Parent:FindFirstChild("DebounceHit")==nil then
  607. local cho = math.random(1,3)
  608. if cho == 1 then
  609. so(444667824,par,1,1)
  610. elseif cho == 2 then
  611. so(444667844,par,1,1)
  612. elseif cho == 3 then
  613. so(444667859,par,1,1)
  614. end
  615. --function(cf,partsize,meshstart,meshadd,matr,colour,factor)
  616. 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)
  617. end
  618. end
  619.  
  620. function smasheff(pos,projsiz,projnum,grousiz,grono,grospr,projfor)
  621. local hit,hitpos = rayCast(pos,Vector3.new(0,-1,0),4,chara)
  622. if hit ~= nil then
  623. for i = 1, projnum do
  624. local p = Instance.new("Part",EffectModel)
  625. p.BrickColor = hit.BrickColor
  626. p.Material = hit.Material
  627. p.Size = Vector3.new(projsiz,projsiz,projsiz)
  628. 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)))
  629. p.CanCollide = false
  630. p.Velocity = projfor
  631. CreateTrailObj(p,Color3.new(1,1,1),Color3.new(1,1,1),0,0).Enabled = true
  632. coroutine.resume(coroutine.create(function()
  633. swait(.2)
  634. p.CanCollide = true
  635. swait(3)
  636. for i = 0,1,.01 do
  637. swait()
  638. p.Transparency = i
  639. end
  640. p:Destroy()
  641. end))
  642. end
  643. for i = 1, grono do
  644. local size = math.random(4,6)
  645. local gtrace = Instance.new("Part",EffectModel)
  646. gtrace.BrickColor = hit.BrickColor
  647. gtrace.Material = hit.Material
  648. gtrace.Size = Vector3.new(grousiz,grousiz,grousiz)
  649. gtrace.Anchored = true
  650. gtrace.CanCollide = false
  651. 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)))
  652. coroutine.wrap(function()
  653. swait(3)
  654. for i = 0,1,.01 do
  655. swait()
  656. gtrace.Transparency = i
  657. end
  658. gtrace:Destroy()
  659. end)()
  660. end
  661. end
  662. end
  663.  
  664. function attackone()
  665. attack = true
  666. Humanoid.WalkSpeed = 10
  667. for i=0,2,.1 do
  668. swait()
  669. PlayAnimationFromTable({
  670. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  671. 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),
  672. CFrame.new(1.10928118, 0.356215954, -1.26063514, 0.766042948, 0.642789483, 0, 0, 0, -1, -0.642789423, 0.766042948, 0),
  673. 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),
  674. CFrame.new(0.650009155, -2.5999999, -1.52587891e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  675. CFrame.new(-0.650007129, -2.5999999, 1.07288361e-05, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  676. }, .3, false)
  677. end
  678. RATr.Enabled = true
  679. so(487907203,Head,1,3)
  680. so(200632136,RightArm,.6,1)
  681. Humanoid.WalkSpeed = 0
  682. BodyVel(RootPart,RootPart.CFrame.lookVector*70)
  683. for i=0,1,.1 do
  684. swait()
  685. PlayAnimationFromTable({
  686. 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),
  687. 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),
  688. 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),
  689. 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),
  690. 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),
  691. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  692. }, .3, false)
  693. MagnitudeDmg(RightArm,2.5,40,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  694. end
  695. swait(.5)
  696. Humanoid.WalkSpeed = 16
  697. RATr.Enabled = false
  698. attack = false
  699. end
  700.  
  701. function dashattack()
  702. attack = true
  703. Humanoid.WalkSpeed = 2
  704. so(487911937,Head,1,3)
  705. for i=0,2,.1 do
  706. swait()
  707. PlayAnimationFromTable({
  708. CFrame.new(0, -0.260801345, 0.37769106, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  709. CFrame.new(0, 1.88156867, 0.187936544, 1, 0, 0, 0, 0.939692438, -0.342020929, 0, 0.342020959, 0.939692438),
  710. CFrame.new(2.54999161, 0.600001335, 9.71555778e-07, 0, -1, 0, 1, 0, 2.98023224e-08, 2.98023224e-08, 0, 1),
  711. CFrame.new(-2.54999542, 0.599999964, 3.99351336e-07, 0, 1, 0, -1.00000012, 0, 9.83476639e-07, 9.23871994e-07, 0, 1.00000012),
  712. 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),
  713. 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),
  714. }, .4, false)
  715. end
  716. RATr.Enabled = true
  717. Humanoid.WalkSpeed = 0
  718. local bodyvel = Instance.new("BodyVelocity",RootPart)
  719. local pep = 10000000
  720. bodyvel.P = pep
  721. bodyvel.MaxForce = Vector3.new(pep,0,pep)
  722. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  723. local dasu = 0
  724. local par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  725. repeat
  726. dasu = dasu + 1
  727. bodyvel.Velocity = RootPart.CFrame.lookVector*50
  728. par = rayCast(RootPart.Position,RootPart.CFrame.lookVector*1,5,chara)
  729. so(10730819,Torso,1,2)
  730. CamShake(Torso,60,.4,.1)
  731. 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)))
  732. swait()
  733. Effects.Wave(RootPart.CFrame*CFrame.Angles(math.rad(90),0,0),Vector3.new(),Vector3.new(1,.2,1),"",10,false,.05)
  734. PlayAnimationFromTable({
  735. 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),
  736. 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),
  737. 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),
  738. 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),
  739. 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),
  740. 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),
  741. }, .4, false)
  742. MagnitudeDmg(Torso,6,30,3,RootPart.CFrame.lookVector*60,true,"Blunt",.5)
  743. until par ~= nil or dasu >= 100
  744. bodyvel:Destroy()
  745. Humanoid.WalkSpeed = 16
  746. RATr.Enabled = false
  747. attack = false
  748. end
  749.  
  750. function thesurou()
  751. attack = true
  752. Humanoid.WalkSpeed = 0
  753. local grab = nil
  754. local torsy = nil
  755. local hum = nil
  756. for i, v in pairs(FindNearestTorso(Torso.Position, 6)) do
  757. if v:FindFirstChild('Head') and v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 1 then
  758. hum = v:FindFirstChildOfClass("Humanoid")
  759. torsy = GetDudesTorso(v)
  760. grab = v
  761. end
  762. end
  763. so(200632136,RootPart,.8,1)
  764. for i = 0,1,.1 do
  765. swait()
  766. PlayAnimationFromTable({
  767. CFrame.new(0, -0.160800725, -0.377691686, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  768. CFrame.new(0, 2.01372528, -0.214328468, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  769. 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),
  770. 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),
  771. 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),
  772. 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),
  773. }, .3, false)
  774. end
  775. if grab ~= nil and torsy ~= nil then
  776. so(487911937,Head,1,3)
  777. so(240429615,torsy,1,1)
  778. for i = 0,1,.1 do
  779. swait()
  780. PlayAnimationFromTable({
  781. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  782. 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),
  783. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  784. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  785. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  786. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  787. }, .3, false)
  788. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  789. hum.PlatformStand = true
  790. torsy.Velocity = Vector3.new()
  791. end
  792. for a=1,3 do
  793. for i = 0,1,.1 do
  794. swait()
  795. PlayAnimationFromTable({
  796. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  797. 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),
  798. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  799. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  800. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  801. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  802. }, .3, false)
  803. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  804. hum.PlatformStand = true
  805. torsy.Velocity = Vector3.new()
  806. end
  807. so(200632136,RootPart,.9,1)
  808. for i = 0,1,.2 do
  809. swait()
  810. PlayAnimationFromTable({
  811. CFrame.new(-0.102054864, -0.932198167, 9.983778e-07, 0, 0.766044974, -0.64278698, 0, 0.64278698, 0.766044974, 1, 0, 0),
  812. CFrame.new(0, 1.94997787, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  813. 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),
  814. CFrame.new(-1.95000505, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  815. CFrame.new(0.650000989, -0.993868172, -1.34321105, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  816. CFrame.new(-0.650000989, -2.59999466, 7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  817. }, .4, false)
  818. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  819. hum.PlatformStand = true
  820. torsy.Velocity = Vector3.new()
  821. end
  822. puncheff(torsy)
  823. 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)))
  824. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  825. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  826. for i = 0,1,.1 do
  827. swait()
  828. PlayAnimationFromTable({
  829. CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  830. 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),
  831. CFrame.new(1.95000458, 1.57569158, -0.277835488, 1, 0, 0, 0, -0.984807968, -0.173647001, 0, 0.173647001, -0.984807968),
  832. CFrame.new(-1.95000529, -2.02655792e-06, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736, 0, 0, 0, 1),
  833. CFrame.new(0.650004029, -2.5999999, 7.15255737e-07, 0.984807849, 0, -0.173647985, 0, 1, 0, 0.173647985, 0, 0.984807849),
  834. CFrame.new(-0.649996519, -2.5999999, -6.10947609e-07, 0.984807849, 0, 0.173647985, 0, 1, 0, -0.173647985, 0, 0.984807849),
  835. }, .3, false)
  836. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  837. hum.PlatformStand = true
  838. torsy.Velocity = Vector3.new()
  839. end
  840. so(200632136,RootPart,.9,1)
  841. for i = 0,1,.2 do
  842. swait()
  843. PlayAnimationFromTable({
  844. CFrame.new(0.102049023, -0.932193279, 0, 0, -0.766044974, 0.64278698, 0, 0.64278698, 0.766044974, -1, 0, 0),
  845. CFrame.new(0, 1.94997406, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  846. 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),
  847. CFrame.new(-1.95000458, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  848. CFrame.new(0.650002003, -0.993867934, -1.34321058, 1, 0, 0, 0, 0.64278698, -0.766044974, 0, 0.766044974, 0.64278698),
  849. CFrame.new(-0.650001049, -2.60001373, 1.14440918e-05, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  850. }, .4, false)
  851. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  852. hum.PlatformStand = true
  853. torsy.Velocity = Vector3.new()
  854. end
  855. puncheff(torsy)
  856. 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)))
  857. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  858. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  859. end
  860. so(200632136,RootPart,.9,1)
  861. for i = 0,1,.1 do
  862. swait()
  863. PlayAnimationFromTable({
  864. CFrame.new(0, 0, 0, 0.499998987, 0, -0.866025984, 0, 1, 0, 0.866025984, 0, 0.499998987),
  865. 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),
  866. 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),
  867. 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),
  868. CFrame.new(0.650005341, -2.5999999, -7.62939453e-06, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  869. CFrame.new(-0.650006175, -2.5999999, 2.44379044e-06, 0.499998987, 0, 0.866025984, 0, 1, 0, -0.866025984, 0, 0.499998987),
  870. }, .4, false)
  871. torsy.CFrame = RightArm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(-90),0,0)
  872. hum.PlatformStand = true
  873. torsy.Velocity = Vector3.new()
  874. end
  875. local pato = Instance.new("Part",torsy)
  876. pato.CFrame = torsy.CFrame
  877. pato.Size = Vector3.new(4.1,6.1,1.1)
  878. pato.Transparency = 1
  879. pato.CanCollide = false
  880. pato.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
  881. local werudo = Instance.new("Weld",pato)
  882. werudo.Part0 = pato
  883. werudo.Part1 = torsy
  884. torsy.Velocity = RootPart.CFrame.lookVector*150+Vector3.new(0,30,0)
  885. torsy.RotVelocity = Vector3.new(10,10,10)
  886. pato.Touched:connect(function(hit)
  887. if hit:IsDescendantOf(chara)==false then
  888. pato:Destroy()
  889. Dmg(grab,70,3,Vector3.new(0,20,0)+RootPart.CFrame.lookVector*50,true,"Blunt",.3)
  890. so(260430079,torsy,1,5)
  891. MagnitudeDmg(torsy,6,40,3,Vector3.new(0,5,0)+RootPart.CFrame.lookVector*20,true,"Blunt",.2)
  892. 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)))
  893. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.5,.5,.5),"",10,false,.05)
  894. Effects.Wave(CFrame.new(torsy.Position),Vector3.new(),Vector3.new(.25,1,.25),"",-10,false,.05)
  895. end
  896. end)
  897. so(200632136,RootPart,.8,1)
  898. for i = 0,2,.1 do
  899. swait()
  900. PlayAnimationFromTable({
  901. 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),
  902. 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),
  903. 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),
  904. 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),
  905. 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),
  906. CFrame.new(-0.650001526, -2.59999871, 7.66813719e-06, 1, 0, 0, 0, 1.00000012, -1.49011612e-08, 0, -1.49011612e-08, 1),
  907. }, .3, false)
  908. end
  909. end
  910. attack = false
  911. Humanoid.WalkSpeed = 8
  912. end
  913.  
  914. function taunt()
  915. attack = true
  916. Humanoid.WalkSpeed = 0
  917. mus.Pitch = 0
  918. local snd = Instance.new("Sound",Head)
  919. snd.Volume = 3
  920. snd.SoundId = "rbxassetid://146333460"
  921. snd:Play()
  922. so(487907203,Head,1,3)
  923. for i = 0,1,.01 do
  924. swait()
  925. PlayAnimationFromTable({
  926. 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),
  927. 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),
  928. 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),
  929. 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),
  930. 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),
  931. 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),
  932. }, .1, false)
  933. end
  934. so(487907316,Head,1,3)
  935. for i = 0,1,.01 do
  936. swait()
  937. PlayAnimationFromTable({
  938. 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),
  939. 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),
  940. 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),
  941. 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),
  942. 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),
  943. 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),
  944. }, .1, false)
  945. end
  946. so(487907203,Head,.9,3)
  947. for i = 0,1,.01 do
  948. swait()
  949. PlayAnimationFromTable({
  950. CFrame.new(0, -0.599999666, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  951. 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),
  952. 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),
  953. 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),
  954. 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),
  955. CFrame.new(-0.649993896, -1.99999642, -0.600002289, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  956. }, .1, false)
  957. end
  958. so(487907316,Head,.9,3)
  959. for i = 0,1,.01 do
  960. swait()
  961. PlayAnimationFromTable({
  962. CFrame.new(0, -0.699999571, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  963. 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),
  964. 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),
  965. 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),
  966. CFrame.new(0.650001526, -1.89999652, -0.599994659, 1, 0, 0, 0, 1, 0, 0, 0, 1),
  967. 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),
  968. }, .1, false)
  969. end
  970. snd:Destroy()
  971. mus.Pitch = 1
  972. Humanoid.WalkSpeed = 16
  973. attack = false
  974. end
  975.  
  976. Mouse.Button1Down:connect(function()
  977. if attack == false then
  978. attackone()
  979. end
  980. end)
  981.  
  982. local sprintt = 0
  983.  
  984. Mouse.KeyDown:connect(function(k)
  985. k = k:lower()
  986. if k=='m' then
  987. if mus.IsPlaying == true then
  988. mus:Stop()
  989. elseif mus.IsPaused == true then
  990. mus:Play()
  991. end
  992. end
  993. if attack == false then
  994. if k == 'z' then
  995. thesurou()
  996. elseif k == 'x' then
  997. dashattack()
  998. elseif k == 'g' then
  999. taunt()
  1000. end
  1001. end
  1002. end)
  1003.  
  1004. prevhp = 800
  1005. Humanoid.HealthChanged:connect(function(hp)
  1006. if hp < prevhp then
  1007. local cho = math.random(1,5)
  1008. local s = Instance.new("Sound",Head)
  1009. if cho == 1 then
  1010. so(480392869,Head,1,3)
  1011. elseif cho == 2 then
  1012. so(480392949,Head,1,3)
  1013. elseif cho == 3 then
  1014. so(480394663,Head,1,3)
  1015. elseif cho == 4 then
  1016. so(480394802,Head,1,3)
  1017. elseif cho == 5 then
  1018. so(480394542,Head,1,3)
  1019. end
  1020. end
  1021. prevhp = hp
  1022. end)
  1023.  
  1024. local soundIds = {142539074, 487912030, 487911937}
  1025. coroutine.wrap(function()
  1026. while wait(math.random(25,30)/10) do
  1027. if Humanoid.Health > 1 and attack == false then
  1028. so(soundIds[math.random(1,3)],Head,1,3)
  1029. end
  1030. end
  1031. end)()
  1032.  
  1033. Humanoid.Died:connect(function()
  1034. mus:Stop()
  1035. so(487907155,Head,1,3)
  1036. swait(5)
  1037. for i = 1,10 do
  1038. swait()
  1039. for i,v in pairs(chara:GetDescendants()) do
  1040. if v:IsA("BasePart") then
  1041. v.Transparency = v.Transparency + .1
  1042. end
  1043. end
  1044. end
  1045. chara:Destroy()
  1046. end)
  1047.  
  1048. coroutine.wrap(function()
  1049. while 1 do
  1050. swait()
  1051. if doe <= 360 then
  1052. doe = doe + 2
  1053. else
  1054. doe = 0
  1055. end
  1056. end
  1057. end)()
  1058.  
  1059. while true do
  1060. swait()
  1061. while true do
  1062. swait()
  1063. if Head:FindFirstChild("mus")==nil then
  1064. mus = Instance.new("Sound",Head)
  1065. mus.Name = "mus"
  1066. mus.SoundId = "rbxassetid://318340174"
  1067. mus.Looped = true
  1068. mus.Volume = 1
  1069. mus:Play()
  1070. end
  1071. local ss = Humanoid:GetState()
  1072. if ss == (Enum.HumanoidStateType.FallingDown or ss == Enum.HumanoidStateType.PlatformStanding) then
  1073. Humanoid:ChangeState(Enum.HumanoidStateType.GettingUp)
  1074. end
  1075. Torsovelocity = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  1076. velocity = RootPart.Velocity.y
  1077. sine = sine + change
  1078. local hit, pos = rayCast(RootPart.Position, (CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0))).lookVector, 5.3, chara)
  1079. if RootPart.Velocity.y > 1 and hit == nil then
  1080. Anim = "Jump"
  1081. if attack == false then
  1082. PlayAnimationFromTable({
  1083. CFrame.new(0, 0.0740167201, -0.180228189, 1, 0, 0, 0, 0.939692736, 0.342019886, 0, -0.342019916, 0.939692736),
  1084. CFrame.new(0, 2.03109002, -0.115844816, 1, 0, 0, 0, 0.984807789, 0.173648685, 0, -0.173648715, 0.984807789),
  1085. 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),
  1086. 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),
  1087. CFrame.new(0.650001526, -1.19999599, -0.600000799, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1088. CFrame.new(-0.649993896, -2.59999466, 5.54323037e-07, 1, 0, 0, 0, 1, -2.98023224e-08, 0, -2.98023224e-08, 1),
  1089. }, .3, false)
  1090. end
  1091. elseif RootPart.Velocity.y < -1 and hit == nil then
  1092. Anim = "Fall"
  1093. if attack == false then
  1094. PlayAnimationFromTable({
  1095. CFrame.new(0, -0.133714333, 0.15832366, 1, 0, 0, 0, 0.939692736, -0.342019886, 0, 0.342019916, 0.939692736),
  1096. CFrame.new(0, 2.05995607, -0.632082939, 1, 0, 0, 0, 0.766044796, 0.642787218, 0, -0.642787218, 0.766044855),
  1097. 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),
  1098. 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),
  1099. CFrame.new(0.649993896, -1.3999939, -0.600004256, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1100. CFrame.new(-0.650001526, -2.59999371, -3.89218303e-06, 1, 0, 0, 0, 1, 2.98023224e-08, 0, 2.98023224e-08, 1),
  1101. }, .3, false)
  1102. end
  1103. elseif Torsovelocity < 1 and hit ~= nil then
  1104. Anim = "Idle"
  1105. if attack == false then
  1106. change = 1
  1107. PlayAnimationFromTable({
  1108. 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),
  1109. 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),
  1110. 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),
  1111. 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),
  1112. 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),
  1113. 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),
  1114. }, .3, false)
  1115. end
  1116. elseif Torsovelocity > 2 and hit ~= nil then
  1117. Anim = "Walk"
  1118. if attack == false then
  1119. Humanoid.WalkSpeed = 16
  1120. Humanoid.JumpPower = 80
  1121. PlayAnimationFromTable({
  1122. 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),
  1123. CFrame.new(0, 2.01372552, -0.214327857, 1, 0, 0, 0, 0.984807849, 0.173648134, 0, -0.173648164, 0.984807849),
  1124. CFrame.new(1.94397354, -0.115067676, -0.230779886, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1125. CFrame.new(-1.95000458, -0.0637510419, -0.214326635, 1, 0, 0, 0, 0.984807849, -0.173647985, 0, 0.173647985, 0.984807849),
  1126. 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),
  1127. 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),
  1128. }, .3, false)
  1129. end
  1130. end
  1131. end
  1132. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement