daily pastebin goal
40%
SHARE
TWEET

Untitled

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