Advertisement
HenloMyDude

ghostdeeri

Jan 26th, 2020
599
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.65 KB | None | 0 0
  1. ---------------------------------
  2. -- /--// SlayKillerX66 //--\ --
  3. ---------------------------------
  4.  
  5. warn'gd by SlayKillerX66. non require by youngmacka123. skids yall can use this if u want since centurion is leaked on toolbox'
  6. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  7. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  8. local RealPlayer = Player
  9. local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="E"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("E")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 warn'youngmacka123s non require of gd'
  10.  
  11.  
  12. local Player = owner
  13. local Mouse = Player:GetMouse()
  14. local WALKSPEED = 20
  15. local JUMPPOWER = 80
  16. local JUMPSPEEDBOOST = true
  17. local SPEEDBOOST = 50
  18.  
  19. --// Script name = tit4n
  20.  
  21. g = game
  22. plr = Player
  23. C = plr.Character
  24. H = C.Humanoid
  25. cam = workspace.CurrentCamera
  26.  
  27. DebrisService = g:GetService('Debris')
  28. LeftArm = C:WaitForChild("Left Arm")
  29. RightArm = C:WaitForChild("Right Arm")
  30. LeftLeg = C:WaitForChild("Left Leg")
  31. RightLeg = C:WaitForChild("Right Leg")
  32. Head = C.Head
  33. Torso = C.Torso
  34. Neck = Torso.Neck
  35. Root = C.HumanoidRootPart
  36. RootJ = Root.RootJoint
  37. ToVelo = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  38. velocity = Root.Velocity.y
  39. k = 0
  40. smallValue = 0.00001
  41. attacks = 0
  42. cn = CFrame.new
  43. aa = CFrame.Angles
  44. angles = CFrame.Angles
  45. ud = UDim2.new
  46. c3 = Color3.new
  47. sin = math.sin
  48. sqrt = math.sqrt
  49. rad = math.rad
  50. cos = math.cos
  51. acos = math.acos
  52. abs = math.abs
  53. asin = math.asin
  54. atan = math.atan
  55. atan2 = math.atan2
  56. turn = true
  57. DBT = false
  58. H.MaxHealth = math.huge
  59. H.Health = math.huge
  60.  
  61. local RbxUtility = LoadLibrary("RbxUtility")
  62. local Create = RbxUtility.Create
  63.  
  64. H:WaitForChild('Animator',true):Destroy()
  65. C:WaitForChild('Animate',true):Destroy()
  66.  
  67. H.WalkSpeed = WALKSPEED
  68. H.JumpPower = JUMPPOWER
  69.  
  70. --cam.CameraSubject = Head
  71. --cam.CameraType = 'Track'
  72.  
  73. -- Gives a bounce effect while walking
  74.  
  75. local function GetNearbyTorsos(FromPart,range,ignore)
  76. local Torsos = {}
  77. for x=1,#workspace:GetChildren() do
  78. local xj = workspace:GetChildren()
  79. local cc = range
  80. local fromPoint = FromPart
  81. if xj[x]:IsA('Model') and not (xj[x].Name == (ignore.Name)) then
  82. if xj[x]:FindFirstChild('Torso') then
  83. local perfectTorso = nil
  84. if (fromPoint.Position - xj[x]:FindFirstChild('Torso').Position).magnitude < cc then
  85. local perfectTorso = xj[x]:FindFirstChild('Torso')
  86. table.insert(Torsos, perfectTorso)
  87. end
  88. elseif xj[x]:FindFirstChild('UpperTorso') then
  89. local perfectTorso = nil
  90. if (fromPoint.Position - xj[x]:FindFirstChild('UpperTorso').Position).magnitude < cc then
  91. local perfectTorso = xj[x]:FindFirstChild('UpperTorso')
  92. table.insert(Torsos, perfectTorso)
  93. end
  94. end
  95. end
  96. end
  97. return Torsos
  98. end
  99.  
  100. local function DamageFromList(list,takedamage,c,c)
  101. local EgibleParts = list
  102. if EgibleParts[1] ~= nil then
  103. for i=1,#EgibleParts do
  104. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  105. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(takedamage)
  106. end
  107. end
  108. end
  109. end
  110.  
  111. local Step = function()
  112. g:GetService('RunService').Stepped:wait(0)
  113. end
  114.  
  115.  
  116. local rootgyro = Instance.new("BodyGyro",C)
  117. rootgyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  118. rootgyro.P = 10000
  119. g:GetService("RunService").Stepped:Connect(function()
  120. if turn == true then rootgyro.Parent = Root
  121. rootgyro.CFrame =CFrame.Angles(0,atan2(Root.CFrame.X-Mouse.Hit.X,Root.CFrame.Z-Mouse.Hit.Z),0)
  122. else
  123. rootgyro.Parent = C
  124. end
  125. end) wait()
  126. turn = false
  127.  
  128. local sit = false
  129. local fist = false
  130. local running = false
  131. local emoting = false
  132. local attack = false
  133. local valid_blood = false
  134. local EnergyHalt = false
  135. local thro = false
  136. local walke = false
  137. local valid_hit = true
  138.  
  139. local NeckCF = cn(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  140. local RootCF = aa(-1.57, 0, 3.14)
  141. local RHCF = aa(0, 1.6, 0)
  142. local LHCF = aa(0, -1.6, 0)
  143.  
  144. RL = Instance.new("Weld",Torso)
  145. LL = Instance.new("Weld",Torso)
  146. RA = Instance.new("Weld",Torso)
  147. LA = Instance.new("Weld",Torso)
  148. RL.Name = "Right Hip"
  149. RL.Part0 = Torso
  150. RL.C0 = cn(0, 0, 0)
  151. RL.C1 = cn(0.5, 1, 0) * aa(0,1.6,0)
  152. RL.Part1 = RightLeg
  153. LL.Name = "Left Hip"
  154. LL.Part0 = Torso
  155. LL.C0 = cn(0, 0, 0)
  156. LL.C1 = cn(-0.5, 1, 0) * aa(0,-1.6,0)
  157. LL.Part1 = LeftLeg
  158. LL.C0 = LHCF * cn(0,-1,1)*aa(rad(-2.5),rad(0),rad(-4))
  159. RL.C0 = RHCF * cn(0,-1,1)*aa(rad(-2.5),rad(0),rad(-7))
  160. RSH = Torso["Right Shoulder"]
  161. LSH = Torso["Left Shoulder"]
  162. RSH.Parent = nil
  163. LSH.Parent = nil
  164. LH = Torso["Left Hip"]
  165. RH = Torso["Right Hip"]
  166. RH.Parent = nil
  167. LH.Parent = nil
  168. RA.Name = "Right Shoulder"
  169. RA.Part0 = Torso
  170. RA.C0 = cn(1.5, 0.5, 0)
  171. RA.C1 = cn(0, 0.5, 0)
  172. RA.Part1 = RightArm
  173. LA.Name = "Left Shoulder"
  174. LA.Part0 = Torso
  175. LA.C0 = cn(-1.5, 0.5, 0)
  176. LA.C1 = cn(0, 0.5, 0)
  177. LA.Part1 = LeftArm
  178.  
  179. H.WalkSpeed = 0
  180.  
  181. for i=0,1,0.02 do Step()
  182. k = k + 1
  183. RL.C0 = RL.C0:lerp(RHCF * cn(0.4,rad(-2.5 * cos(k/25))-0.55,1)*aa(rad(-3),rad(0),rad(30)),.15)
  184. LL.C0 = LL.C0:lerp(LHCF * cn(0.1,rad(-2.5 * cos(k/25))-0.93,1)*aa(rad(-3),rad(0),rad(20)),.15)
  185. RA.C0 = RA.C0:lerp(cn(1, 0.47 - rad(-1 * cos(k/25)), -0.4) * aa(rad(150),rad(0),rad(-35)+rad(-25 * cos(k))),.15)
  186. LA.C0 = LA.C0:lerp(cn(-1, 0.48 - rad(-1 * cos(k/25)), -0.4) * aa(rad(150),rad(0),rad(35)-rad(-25 * cos(k))),.15)
  187. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0,0,-0.7)* cn(0, 0, rad(2 * cos(k/25))) * aa(rad(30), rad(0), rad(0)), .15)
  188. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(40)+rad(25*cos(k)), rad(0), rad(5)), .15)
  189. end
  190.  
  191. local sound = Create('Sound') {
  192. Pitch = 1 ;
  193. Volume = 10;
  194. Looped = false;
  195. Name = 'scream';
  196. SoundId = 'rbxassetid://1908928936';
  197. Parent = Torso
  198. }sound:Play()DebrisService:AddItem(sound,1)
  199.  
  200. for i=0,1,0.02 do Step()
  201. k = k + 1
  202. RL.C0 = RL.C0:lerp(RHCF * cn(0.4,rad(-2.5 * cos(k/25))-0.55,1)*aa(rad(-3),rad(0),rad(10)),.2)
  203. LL.C0 = LL.C0:lerp(LHCF * cn(0.1,rad(-2.5 * cos(k/25))-0.93,1)*aa(rad(-3),rad(0),rad(40)),.2)
  204. RA.C0 = RA.C0:lerp(cn(1.5, 0.47 - rad(-1 * cos(k/25)), 0.1) * aa(rad(-30),rad(0),rad(35)+rad(-2 * cos(k))),.2)
  205. LA.C0 = LA.C0:lerp(cn(-1.5, 0.48 - rad(-1 * cos(k/25)), 0.1) * aa(rad(-30),rad(0),rad(-35)-rad(-2 * cos(k))),.2)
  206. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0,0,-0.7)* cn(0, 0, rad(2 * cos(k/25))) * aa(rad(10), rad(0), rad(0)), .2)
  207. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * aa(rad(-20)+rad(45*cos(k)), rad(45*cos(k/1.1)), rad(45*sin(k))), .2)
  208. end
  209.  
  210. H.WalkSpeed = 20
  211.  
  212. local sound = Create('Sound') {
  213. Pitch = 1 ;
  214. Volume = 10;
  215. Looped = false;
  216. Name = 'pressure';
  217. SoundId = 'rbxassetid://411274847';
  218. Parent = Torso
  219. }sound:Play()DebrisService:AddItem(sound,2)
  220.  
  221. local list = GetNearbyTorsos(Torso,15,C)
  222. DamageFromList(list,256,false,false)
  223. local ball = Instance.new('Part',workspace)
  224. ball.Shape = Enum.PartType.Ball
  225. ball.Size = Vector3.new(1,1,1)
  226. ball.Anchored = true
  227. ball.CanCollide = false
  228. ball.Material = Enum.Material.Neon
  229. ball.BrickColor = BrickColor.new(1001)
  230. ball.CFrame = Torso.CFrame
  231. spawn(function()
  232. for i=1,math.random(5,10) do Step()
  233. local part = Instance.new('Part',workspace)
  234. part.Size = Vector3.new(2,2, 8)
  235. part.Anchored = true
  236. part.CanCollide = false
  237. part.Name = 'Effect'
  238. part.Material = Enum.Material.Neon
  239. part.BrickColor = BrickColor.new(1001)
  240. part.CFrame = Torso.CFrame
  241. local mesls = Instance.new("SpecialMesh",part)
  242. mesls.Scale = Vector3.new(0.8, 0.8, 0.8)
  243. mesls.MeshType = Enum.MeshType.Sphere
  244. local ranbo1 = math.random(-10,10)
  245. local ranbo2 = math.random(0,10)
  246. local ranbo3 = math.random(-10,10)
  247. spawn(function() wait(0.001)
  248. part.CFrame = CFrame.new(part.Position, ball.Position)
  249. end)
  250. spawn(function()
  251. for i=1,35 do Step()
  252. part.CFrame = part.CFrame:lerp(part.CFrame * CFrame.new(ranbo1,ranbo2,ranbo3),.2)
  253. part.Transparency = i/35
  254. end part:Destroy() end) end
  255.  
  256. end)
  257. spawn(function()
  258. for i=1,25 do Step()
  259. ball.Size = ball.Size + Vector3.new(1+i/35,1+i/35,1+i/35)
  260. ball.Transparency = i/25
  261. end
  262. ball:Destroy()
  263. end)
  264. wait(0.1)
  265. local PlayerScale = 2 -- Two is normal scale - changing this will make this script look very weird.
  266. Root.Size = Root.Size * PlayerScale
  267. RightArm.Size = RightArm.Size * PlayerScale
  268. LeftArm.Size = LeftArm.Size * PlayerScale
  269. LeftLeg.Size = LeftLeg.Size * PlayerScale
  270. RightLeg.Size = RightLeg.Size * PlayerScale
  271. Torso.Size = Torso.Size * PlayerScale
  272. Head.Size = Head.Size * PlayerScale
  273.  
  274. RootJ.Parent = Root
  275. Root.Parent = C
  276. LeftArm.Parent = C
  277. RightArm.Parent = C
  278. RightLeg.Parent = C
  279. LeftLeg.Parent = C
  280. Head.Parent = C
  281. Torso.Parent = C
  282. Neck.Parent = Torso
  283. RA.Parent = Torso
  284. LA.Parent = Torso
  285. RL.Parent = Torso
  286. LL.Parent = Torso
  287.  
  288. wait()
  289.  
  290. spawn(function()
  291. if not Torso:FindFirstChild('Music') then
  292. thicMusic = Create('Sound') {
  293. Pitch = 1 ;
  294. Volume = 2;
  295. Looped = true;
  296. Name = 'Music';
  297. SoundId = 'rbxassetid://751746850';
  298. Parent = Torso
  299. }thicMusic:Play()
  300. end
  301. end)
  302.  
  303. local RayCast = function(Position, Direction, Range, Ignore)
  304. local ht = g:service("Workspace"):FindPartOnRay(Ray.new(Position, Direction.unit * Range), Ignore)
  305. return ht or nil
  306. end
  307.  
  308. --function CreateShake(RepeatedFor,OffsetDebounce)
  309. -- spawn(function()
  310. -- local Camera = g:GetService('Workspace').CurrentCamera
  311. -- for i=1,RepeatedFor do Step()
  312. -- Camera.CFrame = Camera.CFrame * CFrame.new(math.random()*OffsetDebounce,
  313. -- math.random()*OffsetDebounce,
  314. -- math.random()*OffsetDebounce)
  315. -- end
  316. -- end)
  317. --end
  318.  
  319. spawn(function() while true do Step()
  320. if Torso:FindFirstChild('Neck') then
  321. ToVelo = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  322. velocity = Root.Velocity.y
  323. k = k + 1
  324. local touch = RayCast(Root.Position, (cn(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector, 6+PlayerScale, C)
  325. local nearhit = RayCast(Root.Position, (cn(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector, 8+PlayerScale, C)
  326. if H.Sit == true and walke == false and attack == false then -- OF COURSE SIT..
  327. sit = true
  328. RL.C0 = RL.C0:lerp(RHCF * cn(1,-1.5*PlayerScale,0.77*PlayerScale) * aa(rad(-8),rad(0),rad(80)),.05)
  329. LL.C0 = LL.C0:lerp(LHCF * cn(-1,-1.5*PlayerScale,0.77*PlayerScale) * aa(rad(-8),rad(0),rad(-80)),.05)
  330. RA.C0 = RA.C0:lerp(cn(1*PlayerScale, 0.1, -0.75) * aa(rad(10),rad(0),rad(-35)),.15)
  331. LA.C0 = LA.C0:lerp(cn(-1*PlayerScale, 0.1, -0.75) * aa(rad(10),rad(0),rad(35)),.15)
  332. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0.35, 0.55) * cn(0, 0.35,rad(-2.5 * cos(k/25))) * aa(rad(-5), rad(0), rad(5)), .1)
  333. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) * aa(rad(15)+rad(1.5 * sin(k / 25)), rad(0), rad(25 * cos(k / 200))+rad(-5)), .1)
  334.  
  335. elseif Root.Velocity.y > 1 and touch == nil and attack == false and walke == false then -- JUMP
  336. sit = false if JUMPSPEEDBOOST == true then H.WalkSpeed = SPEEDBOOST end
  337. RL.C0 = RL.C0:lerp(RHCF * cn(0.4457,-1.1*PlayerScale,0.75*PlayerScale) * aa(rad(-10),rad(0),rad(-27)+rad(2.5 * sin(k/10))),.1)
  338. LL.C0 = LL.C0:lerp(LHCF * cn(-0.45,-0.95*PlayerScale,0.75*PlayerScale) * aa(rad(-10),rad(0),rad(7)+rad(2.5 * sin(k/10))),.1)
  339. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.5, 0) * aa(rad(-35),rad(20),rad(36+Root.Velocity.y/15)),.1)
  340. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.5, 0) * aa(rad(-36),rad(-20),rad(-39-Root.Velocity.y/15)),.1)
  341. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, 0.25) * aa(rad(-5), rad(0), rad(0)), .05)
  342. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) * aa(rad(-2), rad(0), rad(0)), .1)
  343.  
  344. elseif Root.Velocity.y < -1 and touch == nil and attack == false and walke == false then -- FALL
  345. if nearhit ~= nil then
  346. Land(Root.Velocity.y)
  347. end
  348. RL.C0 = RL.C0:lerp(RHCF * cn(0.45,-0.75*PlayerScale,0.75*PlayerScale) * aa(rad(-1),rad(0),rad(25)+rad(2.5 * sin(k/10))),.1)
  349. LL.C0 = LL.C0:lerp(LHCF * cn(-0.5,-0.76*PlayerScale,0.75*PlayerScale) * aa(rad(-1.1),rad(0),rad(-26)+rad(2.5 * sin(k/10))),.1)
  350. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.81, 0) * aa(rad(30),rad(20),rad(60)+rad(5 * sin(k/10))),.1)
  351. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.6, 0) * aa(rad(30),rad(-20),rad(-63)+rad(5 * sin(k/10))),.1)
  352. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0, -0.15) * aa(rad(0), rad(0), rad(0)), .1)
  353. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) * aa(rad(30), rad(0), rad(0)), .1)
  354.  
  355. elseif ToVelo < 1 and touch ~= nil and attack == false and sit == false and walke == false then -- IDLE
  356. RL.C0 = RL.C0:lerp(RHCF * cn(rad(0.05)+rad(5*sin(k/20)),rad(-3*cos(k/20)),rad(0)) * cn(0,-1.45*PlayerScale,0.77*PlayerScale) *aa(rad(-5*sin(k/20))+rad(-6),rad(0),rad(6*sin(k/20))),.1)
  357. LL.C0 = LL.C0:lerp(LHCF * cn(rad(0.05)+rad(-5*sin(k/20)),rad(-3*cos(k/20)),rad(0)) * cn(0,-1.45*PlayerScale,0.77*PlayerScale) *aa(rad(4*sin(k/20))+rad(-6),rad(0),rad(-6*sin(k/20))),.1)
  358. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.47 + rad(-5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(-1.5 * sin(k/20))+rad(20),rad(0),rad(-5 * sin(k/20))+rad(12)),.1)
  359. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(1.5 * sin(k/20))+rad(10),rad(0),rad(2.5 * sin(k/20))+rad(10)),.1)
  360. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(rad(5*sin(k/20))+0*PlayerScale,0*PlayerScale,-0.05)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(5*sin(k/20)), rad(0), rad(15)),.1)
  361. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(-7*cos(k/20)), rad(0), rad(-15)),.1)
  362.  
  363. elseif ToVelo < 1 and touch ~= nil and attack == false and sit == false and walke == true then -- IDLE ATTACK?
  364. RL.C0 = RL.C0:lerp(RHCF * cn(0.05,-0.954,1)*aa(rad(-3),rad(2.5 * sin(k/20)),rad(0)),.1)
  365. LL.C0 = LL.C0:lerp(LHCF * cn(-0.05,-0.95,1)*aa(rad(-3),rad(2.5 * sin(k/20)),rad(4)),.1)
  366.  
  367. elseif ToVelo > 1 and ToVelo < 500 and touch ~= nil and walke == false and attack == false then -- WALK
  368. RL.C0 = RL.C0:lerp(RHCF * cn(0,rad(30 * cos(k/7)),0) * cn(-0.05 - rad(-66 * sin(k/7)),-1.4*PlayerScale,0.77*PlayerScale)*aa(rad(0)+Root.RotVelocity.Y / 500,rad(0),rad(55 *sin(k/7))+rad(-7.5)),.1)
  369. LL.C0 = LL.C0:lerp(LHCF * cn(0,rad(-30 * cos(k/7)),0) * cn(0.05 - rad(-66 * sin(k/7)),-1.4*PlayerScale ,0.77*PlayerScale)*aa(rad(0)+Root.RotVelocity.Y / 500,rad(0),rad(55 *sin(k/7))+rad(7.5)),.1)
  370. LA.C0 = LA.C0:lerp(cn(-1.45*PlayerScale, 0.51, rad(-30 * sin(k/7))) * aa(rad(55 *sin(k/7)),rad(0),rad(-5)+Root.RotVelocity.Y / 25),.1)
  371. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.512, rad(30 * sin(k/7))) * aa(rad(-55 *sin(k/7)),rad(0),rad(5)+Root.RotVelocity.Y / 25),.1)
  372. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0,0,-0.1) * cn(0, 0, 0.5 * cos(k/3.5)) * aa(rad(8), rad(0) + Root.RotVelocity.Y / 25 ,rad(0)),.1)
  373. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) * aa(rad(-10* sin(k/3.5)), rad(0), rad(0)- Root.RotVelocity.Y / 25), .1)
  374.  
  375. elseif ToVelo > 1 and ToVelo < 22 and touch ~= nil and walke == true and attack == false then -- WALK ATTACK
  376. RL.C0 = RL.C0:lerp(RHCF * cn(0.075 - rad(-10 * cos(k/7)),-0.95 - rad(-10 * cos(k/7)),2.015)*aa(rad(-1),rad(0),rad(25 *sin(k/7))+rad(-7.5)),.2)
  377. LL.C0 = LL.C0:lerp(LHCF * cn(-0.075 - rad(-10 * cos(k/7)),-0.95 - rad(10 * cos(k/7)),2.015)*aa(rad(-1.1),rad(0),rad(25 *sin(k/7))+rad(7.5)),.2)
  378.  
  379. end
  380. end -- was
  381. end
  382. end)
  383.  
  384. local function effectfade(thing,sidefade)
  385. coroutine.resume(coroutine.create(function()
  386. thing.Name = "EFFECT"
  387. for i=1,25 do
  388. if sidefade == false then
  389. thing.Size = thing.Size + Vector3.new(1,0,0)
  390. else
  391. thing.Size = thing.Size + Vector3.new(0,0.75,0.75)
  392. end
  393. thing.Transparency = i/25
  394. wait()
  395. end
  396. if thing then
  397. thing:Destroy()
  398. else
  399. return
  400. end
  401. end))
  402. end
  403.  
  404. local function Baser(pos)
  405. local d=Instance.new("Part")
  406. d.Anchored=true
  407. d.CanCollide=false
  408. d.Size=Vector3.new(0.2,0.64,0.64)
  409. d.Orientation=Vector3.new(0,180,-90)
  410. d.Material=288
  411. d.BrickColor=BrickColor.new(327)
  412. d.BottomSurface=0
  413. d.Shape = Enum.PartType.Cylinder
  414. d.Color=Color3.new(1,1,1)
  415. d.Reflectance=1;d.TopSurface=0
  416. d.Parent=workspace
  417. d.CFrame=CFrame.Angles(-3.142,0,1.571)
  418. d.Position = pos
  419. d.LocalTransparencyModifier = d.Transparency
  420. d.Changed:connect(function()
  421. d.LocalTransparencyModifier = d.Transparency
  422. end)
  423. effectfade(d,true)
  424. end
  425.  
  426. Mouse.KeyDown:connect(function(key)
  427. if key == 'q' and attack == false then
  428. H.WalkSpeed = 0.4
  429. attack = true
  430. thicMusic.Volume = 2
  431. local sound = Create('Sound') {
  432. Pitch = 1 ;
  433. Volume = 10;
  434. Looped = false;
  435. Name = 'Music';
  436. SoundId = 'rbxassetid://572979823';
  437. Parent = Torso
  438. }sound:Play()
  439. DebrisService:AddItem(sound, 1)
  440. for i=0,1,0.015 do Step()
  441. RL.C0 = RL.C0:lerp(RHCF * cn(0.5,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(15)),.1)
  442. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-8),rad(0),rad(-2)),.1)
  443. RA.C0 = RA.C0:lerp(cn(0.6*PlayerScale, 2.1 + rad(-2.5 * cos(k/20)), -2) * aa(rad(180),rad(0),rad(-100)),.1)
  444. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.9 + rad(-2.5 * cos(k/20)), 0) * aa(rad(10),rad(0),rad(-90)),.1)
  445. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,0)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(15), rad(0), rad(0)),.1)
  446. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(30), rad(0), rad(-30)),.1)
  447. end
  448. attack = false
  449. H.WalkSpeed = WALKSPEED
  450. thicMusic.Volume = 2
  451. elseif key == 'f' and attack == false then
  452. local mot = Mouse.Target
  453. if mot ~= nil and mot.Parent and (mot.Position - Torso.Position).magnitude < 15 and
  454. mot.Parent:FindFirstChildOfClass('Humanoid') ~= nil and mot.Parent:FindFirstChildOfClass('Humanoid').Health > 0 then
  455. mot = mot.Parent:FindFirstChild('HumanoidRootPart')
  456. local hot = mot.Parent:FindFirstChildOfClass('Humanoid')
  457. attack = true
  458. local sound = Create('Sound') {
  459. Pitch = 1 ;
  460. Volume = 10;
  461. Looped = false;
  462. Name = 'Music';
  463. SoundId = 'rbxassetid://545219984';
  464. Parent = Torso
  465. }
  466. local screm = Create('Sound') {
  467. Pitch = 1 ;
  468. Volume = 10;
  469. Looped = false;
  470. Name = 'screm';
  471. SoundId = 'rbxassetid://147758746';
  472. Parent = mot
  473. }screm:Play()
  474. thicMusic:Pause()
  475. local m =mot--.Parent:FindFirstChild('Torso')
  476. m.Anchored = true
  477. Root.Anchored = true
  478. for i=0,1,0.1 do Step()
  479. m.CFrame = m.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2.85,0) * CFrame.Angles(math.rad(75),math.rad(25),math.rad(0)),0.45)
  480. RL.C0 = RL.C0:lerp(RHCF * cn(1.5,-0.75*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-9),rad(0),rad(25)),.2)
  481. LL.C0 = LL.C0:lerp(LHCF * cn(-1,-1.25*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-9),rad(0),rad(-35)),.2)
  482. RA.C0 = RA.C0:lerp(cn(1.1*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), -0.9) * aa(rad(90),rad(0),rad(-25)),.2)
  483. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), 0.3) * aa(rad(90),rad(0),rad(15)),.2)
  484. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-2.6)* cn(0, 0, 0) * aa(rad(80), rad(0), rad(10)),.2)
  485. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(5), rad(0), rad(0)),.2)
  486. end
  487. repeat
  488. for i=0,1,0.125 do Step()
  489. m.CFrame = m.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2.85,0) * CFrame.Angles(math.rad(75),math.rad(25),math.rad(0)),0.45)
  490. RL.C0 = RL.C0:lerp(RHCF * cn(1.5,-0.75*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-9),rad(0),rad(25)),.35)
  491. LL.C0 = LL.C0:lerp(LHCF * cn(-1,-1.25*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-9),rad(0),rad(-35)),.35)
  492. RA.C0 = RA.C0:lerp(cn(1.1*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), -0.9) * aa(rad(90),rad(0),rad(-35)),.35)
  493. LA.C0 = LA.C0:lerp(cn(-1*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), -1.9) * aa(rad(90),rad(0),rad(15)),.35)
  494. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-2.6)* cn(0, 0, 0) * aa(rad(80), rad(0), rad(5)),.35)
  495. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(5), rad(0), rad(0)),.35)
  496. end
  497. sound:Play()
  498. if hot ~= nil and hot then
  499. hot:TakeDamage(14.74)
  500. end
  501. for i=0,1,0.125 do Step()
  502. m.CFrame = m.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2.9,0) * CFrame.Angles(math.rad(75),math.rad(25),math.rad(0)),0.45)
  503. RL.C0 = RL.C0:lerp(RHCF * cn(1.5,-0.75*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-9),rad(0),rad(25)),.4)
  504. LL.C0 = LL.C0:lerp(LHCF * cn(-1,-1.25*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-9),rad(0),rad(-35)),.4)
  505. RA.C0 = RA.C0:lerp(cn(1.1*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), -0.9) * aa(rad(90),rad(0),rad(-35)),.4)
  506. LA.C0 = LA.C0:lerp(cn(-1.45*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), 0.6) * aa(rad(90),rad(0),rad(25)),.4)
  507. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-2.6)* cn(0, 0, 0) * aa(rad(80), rad(0), rad(-5)),.4)
  508. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(5), rad(0), rad(-5)),.4)
  509. end
  510. until hot.Health <= 0.01
  511. screm:Destroy()
  512. Root.Anchored = false
  513. m.Anchored = false
  514. attack = false
  515. thicMusic:Resume()
  516. end
  517. elseif key == 'e' and attack == false then
  518. H.WalkSpeed = 0.4
  519. attack = true
  520. thicMusic.Volume = 2
  521. local sound = Create('Sound') {
  522. Pitch = 1 ;
  523. Volume = 10;
  524. Looped = false;
  525. Name = 'Music';
  526. SoundId = 'rbxassetid://608509471';
  527. Parent = Torso
  528. }sound:Play()
  529. DebrisService:AddItem(sound, 2)
  530. for i=0,1,0.06 do Step()
  531. RL.C0 = RL.C0:lerp(RHCF * cn(1.5,-0.6*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-1),rad(0),rad(-20)),.1)
  532. LL.C0 = LL.C0:lerp(LHCF * cn(0.3,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-1),rad(0),rad(25)),.1)
  533. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.5 + rad(-2.5 * cos(k/20)), 0) * aa(rad(3),rad(0),rad(25)),.1)
  534. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.5 + rad(-2.5 * cos(k/20)), 0) * aa(rad(2),rad(0),rad(-25)),.1)
  535. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,0)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(-10), rad(0), rad(0)),.1)
  536. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(-5), rad(0), rad(0)),.1)
  537. end
  538. -- for i=1,12 do
  539. -- local blast = Instance.new("Part")
  540. -- local blastmesh = Instance.new("SpecialMesh")
  541. -- blast.CFrame = RightLeg.CFrame*CFrame.new(0,-math.random(5,6),0)
  542. -- blast.Anchored = true
  543. -- blast.CanCollide = false
  544. -- blast.Size = Vector3.new(0, 0, 0)
  545. -- blast.Name = "Blast"
  546. -- blast.TopParamA = -0.1
  547. -- blast.Color = Color3.new(0.458824, 0, 0)
  548. -- blast.Material = Enum.Material.Neon
  549. -- blast.Orientation = Vector3.new(0, -180, 0)
  550. -- blast.TopParamB = 0.1
  551. -- blast.TopSurface = Enum.SurfaceType.Smooth
  552. -- blast.BottomSurface = Enum.SurfaceType.Smooth
  553. -- blast.TopSurfaceInput = Enum.InputType.Constant
  554. -- blast.BrickColor = BrickColor.new("Mid gray")
  555. -- blast.Parent = workspace
  556. -- blastmesh.Name = "BlastMesh"
  557. -- blastmesh.Scale = Vector3.new(2, 2, 2)
  558. -- blastmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  559. -- blastmesh.MeshType = Enum.MeshType.FileMesh
  560. -- blastmesh.Parent = blast
  561. -- local y = math.random(5,10)
  562. -- local u = math.random(1,2)
  563. -- spawn(function()
  564. -- for i=1,50 do
  565. -- blastmesh.Scale = Vector3.new(i/y,i/10,i/y)
  566. -- blast.Transparency = i/50
  567. -- if u == 1 then
  568. -- blast.Orientation = Vector3.new(0,i*25,0)
  569. -- else
  570. -- blast.Orientation = Vector3.new(0,-i*25,0)
  571. -- end
  572. -- Step()
  573. -- end
  574. -- blast:Destroy()
  575. -- end)
  576. -- end
  577. Baser(RightLeg.Position+Vector3.new(0,-3.666,0))
  578. spawn(function()
  579. for i=1,math.random(10,25) do
  580. local part = Instance.new('Part',workspace)
  581. part.Size = Vector3.new(1,1, 1)
  582. part.Anchored = true
  583. part.CanCollide = false
  584. part.Name = 'Effect'
  585. part.Material = Enum.Material.Neon
  586. part.BrickColor = BrickColor.new(1001)
  587. part.CFrame = RightLeg.CFrame*CFrame.new(0,-3,0)
  588. local mesls = Instance.new("SpecialMesh",part)
  589. mesls.Scale = Vector3.new(0.8, 0.8, 0.8)
  590. mesls.MeshType = Enum.MeshType.Sphere
  591. local ranbo1 = math.random(-10,10)
  592. local ranbo2 = math.random(0,10)
  593. local ranbo3 = math.random(-10,10)
  594. spawn(function()
  595. for i=1,25 do Step()
  596. part.CFrame = part.CFrame:lerp(part.CFrame * CFrame.new(ranbo1,ranbo2,ranbo3),.15)
  597. part.Transparency = i/25
  598. end
  599. part:Destroy()
  600. end)
  601. end
  602. end)
  603. for i=1,5 do
  604. local particle = Instance.new("Part")
  605. particle.CFrame = RightLeg.CFrame*CFrame.new(0,-math.random(1,1.5),0)
  606. particle.Anchored = false
  607. particle.CanCollide = true
  608. particle.Size = Vector3.new(0.4, 0.4, 0.4)
  609. particle.Name = "Particle"
  610. particle.Material = Enum.Material.Grass
  611. particle.BrickColor = BrickColor.new('Camo')
  612. particle.Parent = workspace
  613. DebrisService:AddItem(particle, 5)
  614. end
  615. local sound = Create('Sound') {
  616. Pitch = 1 ;
  617. Volume = 10;
  618. Looped = false;
  619. Name = 'Music';
  620. SoundId = 'rbxassetid://144699494';
  621. Parent = Torso
  622. }sound:Play()
  623. --CreateShake(20,1)
  624. local list = GetNearbyTorsos(Torso,20,C)
  625. DamageFromList(list,math.random(26,36),false,false)
  626. local EgibleParts = list
  627. if EgibleParts[1] ~= nil then
  628. for i=1,#EgibleParts do
  629. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid').PlatformStand = true
  630. spawn(function()
  631. wait(6)
  632. if EgibleParts[i] ~= nil and EgibleParts[i].Parent ~= nil and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') ~= nil then
  633. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid').PlatformStand = false
  634. end
  635. end)
  636. end
  637. end
  638. DebrisService:AddItem(sound, 1)
  639. for i=0,1,0.1 do Step()
  640. RL.C0 = RL.C0:lerp(RHCF * cn(0.5,-1.6*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-1),rad(0),rad(15)),.25)
  641. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-1),rad(0),rad(0)),.25)
  642. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.5 + rad(-2.5 * cos(k/20)), 0) * aa(rad(-12),rad(0),rad(65)),.25)
  643. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.5 + rad(-2.5 * cos(k/20)), 0) * aa(rad(-11),rad(0),rad(-65)),.25)
  644. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,0)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(5), rad(0), rad(0)),.25)
  645. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(15), rad(0), rad(0)),.25)
  646. end
  647. attack = false
  648. H.WalkSpeed = WALKSPEED
  649. thicMusic.Volume = 2
  650. end
  651. end)
  652.  
  653.  
  654.  
  655. Mouse.Button1Down:connect(function()
  656. local mot = Mouse.Target
  657. if mot ~= nil and mot.Parent and (mot.Position - Torso.Position).magnitude < 10 and attack == false then
  658. attack = true
  659. thicMusic:Pause()
  660. for i=0,1,0.1 do Step()
  661. RL.C0 = RL.C0:lerp(RHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(70)),.15)
  662. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(-70)),.15)
  663. RA.C0 = RA.C0:lerp(cn(1.25*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), -0.5) * aa(rad(120),rad(0),rad(-20)),.15)
  664. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(0),rad(0),rad(-6)),.15)
  665. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-0.2)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(70), rad(0), rad(0)),.15)
  666. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(-50), rad(0), rad(3*cos(k/40))),.15)
  667. end
  668. --DebrisService:AddItem(sound, 2)
  669. local m =mot--.Parent:FindFirstChild('Torso')
  670. m.Anchored = true
  671. for i=0,1,0.3 do Step()
  672. m.CFrame = m.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2,0),0.45)
  673. RL.C0 = RL.C0:lerp(RHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.1)
  674. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.1)
  675. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(95),rad(0),rad(30)),.1)
  676. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(-10),rad(0),rad(-10)),.1)
  677. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-0.05)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(0), rad(0), rad(0)),.1)
  678. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(30), rad(0), rad(-30)),.1)
  679. end
  680. for i=0,1,0.1 do Step()
  681. m.CFrame = m.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2,0),1)
  682. RL.C0 = RL.C0:lerp(RHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.25)
  683. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(-0)),.25)
  684. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(220),rad(0),rad(40)),.25)
  685. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(-10),rad(0),rad(-10)),.25)
  686. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-0.05)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(-10), rad(0), rad(-60)),.25)
  687. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(10), rad(0), rad(55)),.25)
  688. end
  689. local sound = Create('Sound') {
  690. Pitch = 1 ;
  691. Volume = 10;
  692. Looped = true;
  693. Name = 'Sound';
  694. SoundId = 'rbxassetid://160718677'; -- 130977774
  695. Parent = m
  696. }sound:Play()
  697. for i=0,1,0.15 do Step()
  698. m.CFrame = m.CFrame:lerp(RightArm.CFrame * CFrame.new(0,-2,0),1)
  699. RL.C0 = RL.C0:lerp(RHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.3)
  700. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(-0)),.3)
  701. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(70),rad(0),rad(25)),.3)
  702. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(-10),rad(0),rad(-10)),.3)
  703. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-0.05)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(10), rad(0), rad(40)),.3)
  704. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(-5), rad(0), rad(-40)),.3)
  705. end
  706. m.Anchored = false
  707. local speed = Instance.new('BodyVelocity',m)
  708. speed.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  709. speed.Velocity = Root.CFrame.lookVector*200
  710. local hu = m.Parent:FindFirstChildOfClass('Humanoid') if hu then spawn(function()
  711. wait(0.25)
  712. hu:TakeDamage(math.huge) end)
  713. end
  714. for i=0,1,0.15 do Step() m.Anchored = false
  715. RL.C0 = RL.C0:lerp(RHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.3)
  716. LL.C0 = LL.C0:lerp(LHCF * cn(0,-1.5*PlayerScale+rad(-3*cos(k/20)),0.77*PlayerScale) *aa(rad(-6),rad(0),rad(-0)),.3)
  717. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.47 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(70),rad(0),rad(25)),.3)
  718. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-2.5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(-10),rad(0),rad(-10)),.3)
  719. RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-0.05)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(10), rad(0), rad(40)),.3)
  720. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(-5), rad(0), rad(-40)),.3)
  721. end
  722. speed:Destroy()
  723. spawn(function()
  724. wait(1) -- 0.35
  725. sound:Destroy()
  726. end)
  727. -- local ss = Create('Sound') {
  728. -- Pitch = 1 ;
  729. -- Volume = 10;
  730. -- Looped = true;
  731. -- Name = 'Music';
  732. -- TimePosition = 3;
  733. -- SoundId = 'rbxassetid://305598372';
  734. -- Parent = Torso
  735. -- }ss:Play()
  736. -- wait(0.4)
  737. -- for i=0,1,0.005 do Step()
  738. -- RL.C0 = RL.C0:lerp(RHCF * cn(0,rad(-3*cos(k/20)),0) * cn(0,-1.45*PlayerScale,0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.1)
  739. -- LL.C0 = LL.C0:lerp(LHCF * cn(0,rad(-3*cos(k/20)),0) * cn(0,-1.45*PlayerScale,0.77*PlayerScale) *aa(rad(-6),rad(0),rad(0)),.1)
  740. -- RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.47 + rad(-5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(0)+rad(50*cos(k)),rad(-5 * cos(k/120)),rad(16)),.1)
  741. -- LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.48 + rad(-5 * cos(k/20)), rad(1.5 * cos(k/20))) * aa(rad(0)+rad(50*cos(k)),rad(5 * cos(k/120)),rad(-16)),.1)
  742. -- RootJ.C0 = RootJ.C0:lerp(RootCF *cn(0*PlayerScale,0*PlayerScale,-0.05)* cn(0, 0, rad(3 * cos(k/20))) * aa(rad(0), rad(0), rad(0)),.1)
  743. -- Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) *aa(rad(15*sin(k)), rad(15), rad(3*cos(k/40))),.1)
  744. -- end
  745. wait(0.05)
  746. thicMusic:Resume()
  747. wait(0.05)
  748. attack = false
  749. --ss:Destroy()
  750. end
  751. end)
  752.  
  753. warn('Made by SlayKillerX66')
  754. warn('Closer to finishing, still not there yet.')
  755. warn('Current Buttons: Q E (F) CLICK') -- (excluding the secret)
  756.  
  757. function GetChild(Child, a)end -- ?
  758.  
  759. function Land(speed)
  760. if DBT == false then
  761. DBT = true
  762. attack = true
  763. H.WalkSpeed = 6
  764. local speed = speed/400
  765. if speed < -0.1 then
  766. for i=0,1,0.15 do Step()
  767. RL.C0 = RL.C0:lerp(RHCF * cn(0.11,-1*PlayerScale,0.76*PlayerScale) * aa(rad(-5),rad(0),rad(15)+rad(2.5 * sin(k/10))),.15)
  768. LL.C0 = LL.C0:lerp(LHCF * cn(-0.16,-1*PlayerScale,0.76*PlayerScale) * aa(rad(-5),rad(0),rad(-16)+rad(2.5 * sin(k/10))),.15)
  769. RA.C0 = RA.C0:lerp(cn(1.5*PlayerScale, 0.81, 0) * aa(rad(14),rad(20),rad(25)),.15)
  770. LA.C0 = LA.C0:lerp(cn(-1.5*PlayerScale, 0.5, 0) * aa(rad(12.3),rad(-20),rad(-25)),.15)
  771. RootJ.C0 = RootJ.C0:lerp(RootCF * cn(0, 0.1, -2) * aa(rad(15), rad(0), rad(5)), .15)
  772. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * cn(0*PlayerScale,0*PlayerScale,0.77*PlayerScale) * aa(rad(10), rad(0), rad(0)), .15)
  773. end end
  774. if speed < 0.2 then
  775. H.Health = H.Health - (speed*30)
  776. end
  777. attack = false
  778. DBT = false
  779. spawn(function()
  780. wait(0.1) H.WalkSpeed = WALKSPEED
  781. end)
  782. end
  783. end
  784.  
  785. spawn(function()
  786. RightArm.BrickColor = BrickColor.new('Really black')
  787. LeftArm.BrickColor = BrickColor.new('Really black')
  788. local s = C:FindFirstChildOfClass('Shirt')
  789. if s then s:Destroy() end
  790. local p = C:FindFirstChildOfClass('Pants')
  791. if p then p:Destroy() end
  792. local s=Instance.new("Shirt")
  793. s.Parent=C
  794. s.ShirtTemplate="http://www.roblox.com/asset/?id=1646772867"
  795. local t=Instance.new("Pants")
  796. t.Parent=C
  797. t.PantsTemplate="http://www.roblox.com/asset/?id=376964062"
  798. end)
  799.  
  800. local pumkin = Create("Part") {
  801. Anchored = false;
  802. CanCollide = false;
  803. Size = Vector3.new(2, 1.2, 1);
  804. Orientation = Vector3.new(0, -90, 0);
  805. Color = Color3.new(0.960784, 0.803922, 0.188235);
  806. BrickColor = BrickColor.new("Bright yellow");
  807. Reflectance = 0.2;
  808. Name = "Pumkin";
  809. Parent = C;
  810. }
  811. local pumkinmesh = Create("SpecialMesh") {
  812. MeshType = Enum.MeshType.FileMesh;
  813. MeshId = "http://www.roblox.com/asset/?id=1474596";
  814. Name = "PumkinMesh";
  815. TextureId = "http://www.roblox.com/asset/?id=178262783";
  816. Scale = Vector3.new(0+PlayerScale/2, 0+PlayerScale/2, 0+PlayerScale/2); -- 1, 1, 1 for size of 2
  817. Parent = pumkin;
  818. }
  819.  
  820. local pumkinweld = Create("Weld") {
  821. Part0 = pumkin;
  822. Part1 = Head;
  823. Parent = pumkin;
  824. C0 = CFrame.new(0,-0.5,0);
  825. }
  826.  
  827. local cover = Create("Part") {
  828. Anchored = false;
  829. CanCollide = false;
  830. Size = Vector3.new(PlayerScale*2.125, PlayerScale*1.85, PlayerScale*2.125);
  831. Orientation = Vector3.new(0, -90, 0);
  832. BrickColor = BrickColor.new('Really black');
  833. Material = Enum.Material.SmoothPlastic;
  834. Name = "Cover";
  835. Parent = C;
  836. }
  837. local covermesh = Create("SpecialMesh") {
  838. MeshType = Enum.MeshType.FileMesh;
  839. Name = "Mesh";
  840. MeshType = Enum.MeshType.Sphere;
  841. Scale = Vector3.new(1, 1, 1);
  842. Parent = cover;
  843. }
  844.  
  845. local coverweld = Create("Weld") {
  846. Part0 = cover;
  847. Part1 = Head;
  848. C0 = CFrame.new(0,-0.4,0);
  849. Parent = cover;
  850. }
  851.  
  852. H.Died:Connect(function()
  853. FixCharacter(true)
  854. end)
  855.  
  856. FixCharacter = function(includeHats)
  857. H.Parent = nil
  858. H.MaxHealth = 500
  859. H.Health = H.MaxHealth
  860. H.Parent = C
  861. RootJ.Parent = Root
  862. Root.Parent = C
  863. LeftArm.Parent = C
  864. RightArm.Parent = C
  865. RightLeg.Parent = C
  866. LeftLeg.Parent = C
  867. Head.Parent = C
  868. Torso.Parent = C
  869. Neck.Parent = Torso
  870. RA.Parent = Torso
  871. LA.Parent = Torso
  872. RL.Parent = Torso
  873. LL.Parent = Torso
  874. if includeHats == true then
  875. cover.Parent = C
  876. coverweld.Parent = cover
  877. pumkin.Parent = C
  878. pumkinweld.Parent = pumkin
  879. end
  880. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement