Advertisement
HenloMyDude

gdv2

Jan 25th, 2020
540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 72.99 KB | None | 0 0
  1. ---------------------------------
  2. -- /--// SlayKillerX66 //--\ --
  3. ---------------------------------
  4. local RbxUtility = LoadLibrary("RbxUtility")
  5. local Create = RbxUtility.Create
  6.  
  7. warn'gdv2 by SlayKillerX66. non require by youngmacka123. skids yall can use this if u want since centurion is leaked on toolbox'
  8. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  9. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  10. local RealPlayer = Player
  11. 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 gdv2'
  12.  
  13. local Player = owner
  14. local Mouse = Player:GetMouse()
  15. local WALKSPEED = 17
  16. local plr = Player
  17. local C = plr.Character
  18. local H = C.Humanoid
  19. local ffc=function(a,b)return a:FindFirstChild(b)end
  20. local DebrisService = game:GetService('Debris')
  21. local LARM = C:WaitForChild("Left Arm")
  22. local RARM = C:WaitForChild("Right Arm")
  23. local LLEG = C:WaitForChild("Left Leg")
  24. local RLEG = C:WaitForChild("Right Leg")
  25. local Head = C.Head
  26. local Torso = C.Torso
  27. local Neck = Torso.Neck
  28. local Root = C.HumanoidRootPart
  29. local RootJ = Root.RootJoint
  30. local speed = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  31. local velocity = Root.Velocity.y
  32. local Animation = "Idle"
  33. local rad = math.rad
  34. local CURRENTMUSIC = 1142975563
  35. local CURRENTVOL = 4
  36. local touch = game:service("Workspace"):FindPartOnRay(Ray.new(Root.Position,
  37. (CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector.unit * 4), C)
  38. local neartouch = game:service("Workspace"):FindPartOnRay(Ray.new(Root.Position,
  39. (CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector.unit * 6), C)
  40. local a = 0
  41. local turn = true
  42. local sit = false
  43. local cdMODE = false
  44. local attack = false
  45. local MODE = nil
  46. local WHOOSH = nil
  47. local PUNCH = nil
  48. local MODECOLOUR = nil
  49. local PlayerScale = 1
  50. function cfScaled(x,y,z)
  51. return CFrame.new(x*PlayerScale,y*PlayerScale,z*PlayerScale)
  52. end
  53. local NeckCF = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  54. local RootCF = CFrame.Angles(-1.57, 0, 3.14)
  55. local RHCF = CFrame.Angles(0, 1.6, 0)
  56. local LHCF = CFrame.Angles(0, -1.6, 0)
  57. local function GetNearbyTorsos(FromPart,range,ignore) -- Detects both r15 and r6
  58. local Torsos = {}
  59. for x=1,#workspace:GetChildren() do
  60. local xj = workspace:GetChildren()
  61. local cc = range
  62. local fromPoint = FromPart
  63. if xj[x]:IsA('Model') and (xj[x].Name ~= (ignore.Name)) then
  64. if xj[x]:FindFirstChild('Torso') then
  65. local perfectTorso = nil
  66. if (fromPoint.Position - xj[x]:FindFirstChild('Torso').Position).magnitude < cc then
  67. local perfectTorso = xj[x]:FindFirstChild('Torso')
  68. table.insert(Torsos, perfectTorso)
  69. end
  70. elseif xj[x]:FindFirstChild('UpperTorso') then
  71. local perfectTorso = nil
  72. if (fromPoint.Position - xj[x]:FindFirstChild('UpperTorso').Position).magnitude < cc then
  73. local perfectTorso = xj[x]:FindFirstChild('UpperTorso')
  74. table.insert(Torsos, perfectTorso)
  75. end
  76. end
  77. end
  78. end
  79. return Torsos
  80. end
  81. local function DamageFromList(list,takedamage,gui,ammount)
  82. local EgibleParts = list
  83. if EgibleParts[1] ~= nil then
  84. for i=1,#EgibleParts do
  85. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  86. EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid'):TakeDamage(takedamage)
  87. if gui ~= nil and gui == true then
  88. WhenHit(EgibleParts[i].Parent:FindFirstChild('Torso'),ammount,'')
  89. end
  90. end
  91. end
  92. end
  93. end
  94. local function HealFromList(list,heal)
  95. local EgibleParts = list
  96. if EgibleParts[1] ~= nil then
  97. for i=1,#EgibleParts do
  98. if EgibleParts[i] and EgibleParts[i].Parent and EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid') then
  99. local hum = EgibleParts[i].Parent:FindFirstChildOfClass('Humanoid')
  100. hum.Health = hum.Health + heal
  101. end
  102. end
  103. end
  104. end
  105.  
  106.  
  107. CI = {
  108. Sound = {
  109. Create = function(id, parent, volume, pitch, play, name, loop, debre, time, position)
  110. spawn(function() pcall(function()
  111. local sound = Instance.new("Sound", parent or workspace)
  112. sound.Volume = volume or 0.5
  113. sound.Pitch = pitch or 1
  114. sound.SoundId = id or 0
  115. sound.TimePosition = position or 0
  116. sound.Looped = loop or false
  117. sound.Name = name or "Sound"
  118. if play == true then sound:play()end
  119. if debre == true then
  120. game:GetService("Debris"):AddItem(sound,time or 5)end
  121. return sound
  122. end)
  123. end)
  124. end}}
  125.  
  126. local swait = function()
  127. game:GetService('RunService').Stepped:wait(0)
  128. end
  129.  
  130. local hh = (C['Right Leg'].Size.Y+C.HumanoidRootPart.Size.Y/2)
  131. local smokepart = Instance.new('Part',Root)
  132. smokepart.Size = Vector3.new(0.5,0,1.5)
  133. smokepart.CanCollide = false
  134. smokepart.Transparency = 1
  135. local skpartweld = Instance.new('Weld',smokepart)
  136. skpartweld.Part0 = smokepart
  137. skpartweld.Part1 = Root
  138. skpartweld.C0 = cfScaled(0,hh,0)
  139. local rK = false
  140. local DBT = false
  141. local smokt = Instance.new("ParticleEmitter")
  142. smokt.Acceleration = Vector3.new(0, 2.5, 0)
  143. smokt.Speed = NumberRange.new(1)
  144. smokt.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 1.5)})
  145. smokt.SpreadAngle = Vector2.new(100, 100)
  146. smokt.Lifetime = NumberRange.new(1)
  147. smokt.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0.55), NumberSequenceKeypoint.new(0.429, 0.319), NumberSequenceKeypoint.new(0.749, 0.856), NumberSequenceKeypoint.new(1, 1)})
  148. smokt.Drag = 1
  149. smokt.Color = ColorSequence.new(Color3.new(0.737255, 0.737255, 0.737255), Color3.new(1, 1, 1))
  150. smokt.RotSpeed = NumberRange.new(10)
  151. smokt.Texture = "http://www.roblox.com/asset/?id=2263365802"
  152. smokt.Parent = smokepart
  153. smokt.Enabled = false
  154. function Land(spe)
  155. spawn(function()
  156. if DBT == false and attack == true and spe < -30 and rK == false then
  157. DBT = true
  158. local NORMAL = H.WalkSpeed
  159. H.WalkSpeed = H.WalkSpeed / 2
  160. H.JumpPower = 0
  161. CI.Sound.Create('rbxassetid://268933900',Torso,10,1,true,'Landing',false,true,1,0)
  162. smokt.Enabled = true
  163. for i=0,1,0.1 do swait()
  164. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.11,-0.4,1) * CFrame.Angles(rad(-1),rad(0),rad(10)),.2)
  165. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.16,-0.4,1) * CFrame.Angles(rad(-1),rad(0),rad(-10)),.2)
  166. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.81, 0) * CFrame.Angles(rad(15),rad(33),rad(15)),.2)
  167. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.5, 0) * CFrame.Angles(rad(15),rad(-33),rad(-15)),.2)
  168. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0, 0.1, -0.6) * CFrame.Angles(rad(10), rad(0), rad(5)), .2)
  169. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(10), rad(0), rad(0)), .2)
  170. end
  171. attack = false
  172. spawn(function()
  173. wait(0.1)
  174. H.WalkSpeed = NORMAL
  175. H.JumpPower = 80
  176. DBT = false
  177. smokt.Enabled = false
  178. end)
  179. else
  180. attack = false
  181. end
  182. end)
  183. end
  184.  
  185. function CreateShake(RepeatedFor,OffsetDebounce)
  186. spawn(function()
  187. local Camera = workspace.CurrentCamera
  188. Camera.CameraType = 'Scriptable'
  189. for i=1,RepeatedFor do
  190. local backframe = Camera.CFrame
  191. Camera.CFrame = Camera.CFrame * CFrame.new(math.random()*OffsetDebounce,
  192. math.random()*OffsetDebounce,
  193. math.random()*OffsetDebounce)
  194. swait()
  195. Camera.CFrame = backframe
  196. end
  197. Camera.CameraType = 'Custom'
  198. Camera.CameraSubject = plr.Character:FindFirstChildOfClass('Humanoid')
  199. end)
  200. end
  201.  
  202. function Blast(w,size,rot, opposite)
  203. local blast = Instance.new("Part")
  204. local blastmesh = Instance.new("SpecialMesh")
  205. blast.CFrame = w
  206. blast.Anchored = true
  207. blast.CanCollide = false
  208. blast.Size = Vector3.new(0, 0, 0)
  209. blast.Name = "Blast"
  210. blast.TopParamA = -0.1
  211. blast.Color = Color3.new(0.458824, 0, 0)
  212. blast.Material = Enum.Material.Neon
  213. blast.TopParamB = 0.1
  214. blast.TopSurface = Enum.SurfaceType.Smooth
  215. blast.BottomSurface = Enum.SurfaceType.Smooth
  216. blast.TopSurfaceInput = Enum.InputType.Constant
  217. blast.BrickColor = BrickColor.new("White")
  218. blast.Parent = workspace
  219. blastmesh.Name = "BlastMesh"
  220. blastmesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  221. blastmesh.MeshType = Enum.MeshType.FileMesh
  222. blastmesh.Parent = blast
  223. spawn(function()
  224. if opposite == (false or nil) then
  225. blastmesh.Scale = Vector3.new(0.2, 0.2, 0.2)
  226. else
  227. blastmesh.Scale = Vector3.new(10*size, 0.2, 10*size)
  228. end
  229. for i=1,25 do
  230. if opposite == (false or nil) then
  231. blastmesh.Scale = blastmesh.Scale:lerp(Vector3.new(i/size,i/size/1.5,i/size),.1)
  232. else
  233. blastmesh.Scale = blastmesh.Scale:lerp(Vector3.new(-i/(size/5),i/size,-i/(size/5)),.1)
  234. blast.Rotation = Vector3.new(0,i*rot,0)
  235. end
  236. blast.Transparency = i/25
  237. swait()
  238. end
  239. blast:Destroy()
  240. end)
  241. end
  242.  
  243. function ParticleEffects(num, parent,brickcolor)
  244. if num == 1 then
  245. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  246. ParticleEmitter0.Name = "Charge"
  247. ParticleEmitter0.Parent = parent
  248. ParticleEmitter0.Speed = NumberRange.new(50, 50)
  249. ParticleEmitter0.Rotation = NumberRange.new(37, 999)
  250. ParticleEmitter0.SpreadAngle = Vector2.new(-360,360)
  251. ParticleEmitter0.Color = ColorSequence.new((brickcolor).Color,Color3.new(1, 1, 1))
  252. ParticleEmitter0.LightEmission = 1
  253. ParticleEmitter0.Texture = "rbxassetid://1084976679"
  254. ParticleEmitter0.Transparency = NumberSequence.new(1,0,0.5,1)
  255. ParticleEmitter0.Size = NumberSequence.new(6.875,0)
  256. ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
  257. ParticleEmitter0.Rate = 1000
  258. return ParticleEmitter0
  259. elseif num == 2 then
  260. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  261. ParticleEmitter0.Name = "Rays"
  262. ParticleEmitter0.Parent = parent
  263. ParticleEmitter0.Speed = NumberRange.new(0, 0)
  264. ParticleEmitter0.Color = ColorSequence.new((brickcolor).Color,Color3.new(0,0,0))
  265. ParticleEmitter0.Texture = "rbxassetid://459811994"
  266. ParticleEmitter0.Transparency = NumberSequence.new(0,1)
  267. ParticleEmitter0.ZOffset = 1
  268. ParticleEmitter0.Size = NumberSequence.new(0,10)
  269. ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
  270. ParticleEmitter0.LockedToPart = true
  271. ParticleEmitter0.Rate = 2
  272. ParticleEmitter0.RotSpeed = NumberRange.new(-100, -100)
  273. return ParticleEmitter0
  274. elseif num == 3 then
  275. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  276. ParticleEmitter0.Name = "PurpleFire"
  277. ParticleEmitter0.Parent = parent
  278. ParticleEmitter0.Speed = NumberRange.new(6, 10)
  279. ParticleEmitter0.Color = ColorSequence.new(brickcolor.Color,brickcolor.Color)
  280. ParticleEmitter0.LightEmission = 1
  281. ParticleEmitter0.Rate = 1000
  282. ParticleEmitter0.SpreadAngle = Vector2.new(50,50)
  283. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=348467696"
  284. ParticleEmitter0.Transparency = NumberSequence.new(0.86874997615814,0.47499999403954,1)
  285. ParticleEmitter0.Size = NumberSequence.new(2.0764999389648,0)
  286. ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
  287. return ParticleEmitter0
  288. elseif num == 4 then
  289. local ParticleEmitter0 = Instance.new("ParticleEmitter")
  290. ParticleEmitter0.Name = "Poison"
  291. ParticleEmitter0.Parent = parent
  292. ParticleEmitter0.Speed = NumberRange.new(0.5, 0.5)
  293. ParticleEmitter0.Rotation = NumberRange.new(-360, 360)
  294. ParticleEmitter0.Color = ColorSequence.new(brickcolor.Color,Color3.new(1, 1, 1))
  295. ParticleEmitter0.LightEmission = 0.40000000596046
  296. ParticleEmitter0.Texture = "http://www.roblox.com/asset/?id=243664672"
  297. ParticleEmitter0.Transparency = NumberSequence.new(1,0.72500002384186,0.85000002384186,1)
  298. ParticleEmitter0.ZOffset = 2
  299. ParticleEmitter0.Size = NumberSequence.new(50,40.625,55.375,75.0625,76.3125)
  300. ParticleEmitter0.Lifetime = NumberRange.new(0.5, 0.6)
  301. ParticleEmitter0.Rate = 1000
  302. ParticleEmitter0.RotSpeed = NumberRange.new(-200, 200)
  303. ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
  304. ParticleEmitter0.VelocitySpread = 100
  305. return ParticleEmitter0
  306. end
  307. end
  308.  
  309. Sphere = function(parent,size,cf,bcol)
  310. local v3 = Vector3.new
  311. local ins = Instance.new
  312. local sp = ins('Part') sp.Size = size
  313. sp.Transparency = 1 sp.Anchored = true
  314. sp.CanCollide = false sp.Name = 'Effect'
  315. sp.Material = Enum.Material.Neon
  316. sp.BrickColor = bcol sp.CFrame = cf
  317. local mesls = ins("SpecialMesh",sp)
  318. mesls.Scale = v3(0.8, 0.8, 0.8)
  319. mesls.MeshType = Enum.MeshType.Sphere
  320. sp.Parent = parent
  321. return sp end
  322. Ring = function(parent,size,cf,bcol)
  323. local v3 = Vector3.new
  324. local ins = Instance.new
  325. local sp = ins('Part')sp.Size = size
  326. sp.Transparency = 1;sp.Anchored = true
  327. sp.CanCollide = false;sp.Name = 'Effect'
  328. sp.Material = Enum.Material.Pebble;sp.BrickColor = bcol
  329. sp.CFrame = cf
  330. local mesls = ins("SpecialMesh",sp)
  331. mesls.Scale = Vector3.new(1,1,1)
  332. mesls.MeshId = 'rbxassetid://3270017'
  333. sp.Parent = parent
  334. return sp end
  335.  
  336. local rootgyro = Instance.new("BodyGyro",C)
  337. rootgyro.MaxTorque = Vector3.new(math.huge,math.huge,math.huge)
  338. rootgyro.P = 10000
  339. game:GetService("RunService"):BindToRenderStep("UpdateRootGyro",Enum.RenderPriority.Character.Value,function()
  340. if turn == true then rootgyro.Parent = Root
  341. rootgyro.CFrame =CFrame.Angles(0,math.atan2(Root.CFrame.X-Mouse.Hit.X,Root.CFrame.Z-Mouse.Hit.Z),0)
  342. else
  343. rootgyro.Parent = C
  344. end
  345. end) swait()
  346. turn = false
  347.  
  348. function Ragdoll(Character) humanoid = Character:FindFirstChildOfClass("Humanoid")
  349. coroutine.resume(coroutine.create(function() local pres = false
  350. local ifrag = Character.Torso:GetChildren()
  351. for i=1,#ifrag do
  352. if ifrag[i]:IsA("Glue") then
  353. pres = true
  354. end
  355. end
  356. if pres == false then
  357. humanoid.JumpPower = 0
  358. humanoid.PlatformStand = true
  359. humanoid.WalkSpeed = 0
  360. local findlefthip = Character.Torso:findFirstChild("Left Hip")
  361. if findlefthip then
  362. findlefthip:Remove()
  363. end
  364. local glue = Instance.new("Glue", Character.Torso)
  365. glue.Part0 = Character.Torso
  366. glue.Part1 = Character["Left Leg"]
  367. glue.Name = "Left leg"
  368. local collider = Instance.new("Part", humanoid.Parent["Left Leg"])
  369. collider.Position = Vector3.new(0,999,0)
  370. collider.Size = Vector3.new(1.5, 1, 1)
  371. collider.Shape = "Cylinder"
  372. local weld = Instance.new("Weld", collider)
  373. weld.Part0 = humanoid.Parent["Left Leg"]
  374. weld.Part1 = collider
  375. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  376. collider.TopSurface = "Smooth"
  377. collider.BottomSurface = "Smooth"
  378. collider.formFactor = "Symmetric"
  379. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  380. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  381. collider.Transparency = 1
  382.  
  383. --
  384. local findrighthip = Character.Torso:findFirstChild("Right Hip")
  385. if findrighthip then
  386. findrighthip:Remove()
  387. end
  388. local glue = Instance.new("Glue", Character.Torso)
  389. glue.Part0 = humanoid.Parent.Torso
  390. glue.Part1 = humanoid.Parent["Right Leg"]
  391. glue.Name = "Right leg"
  392. local collider = Instance.new("Part", humanoid.Parent["Right Leg"])
  393. collider.Position = Vector3.new(0,999,0)
  394. collider.Size = Vector3.new(1.5, 1, 1)
  395. collider.Shape = "Cylinder"
  396. local weld = Instance.new("Weld", collider)
  397. weld.Part0 = humanoid.Parent["Right Leg"]
  398. weld.Part1 = collider
  399. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  400. collider.TopSurface = "Smooth"
  401. collider.BottomSurface = "Smooth"
  402. collider.formFactor = "Symmetric"
  403. glue.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  404. glue.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  405. collider.Transparency = 1
  406.  
  407. --
  408. local findrightshoulder = humanoid.Parent.Torso:findFirstChild("Right Shoulder")
  409. if findrightshoulder then
  410. findrightshoulder:Remove()
  411. end
  412. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  413. glue.Part0 = humanoid.Parent.Torso
  414. glue.Part1 = humanoid.Parent["Right Arm"]
  415. glue.Name = "Right arm"
  416. local collider = Instance.new("Part", humanoid.Parent["Right Arm"])
  417. collider.Position = Vector3.new(0,999,0)
  418. collider.Size = Vector3.new(1.5, 1, 1)
  419. collider.Shape = "Cylinder"
  420. local weld = Instance.new("Weld", collider)
  421. weld.Part0 = humanoid.Parent["Right Arm"]
  422. weld.Part1 = collider
  423. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  424. collider.TopSurface = "Smooth"
  425. collider.BottomSurface = "Smooth"
  426. collider.formFactor = "Symmetric"
  427. glue.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  428. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  429. collider.Transparency = 1
  430.  
  431. --
  432. local findleftshoulder = humanoid.Parent.Torso:findFirstChild("Left Shoulder")
  433. if findleftshoulder then
  434. findleftshoulder:Remove()
  435. end
  436. local glue = Instance.new("Glue", humanoid.Parent.Torso)
  437. glue.Part0 = humanoid.Parent.Torso
  438. glue.Part1 = humanoid.Parent["Left Arm"]
  439. glue.Name = "Left arm"
  440. local collider = Instance.new("Part", humanoid.Parent["Left Arm"])
  441. collider.Position = Vector3.new(0,999,0)
  442. collider.Size = Vector3.new(1.5, 1, 1)
  443. collider.Shape = "Cylinder"
  444. local weld = Instance.new("Weld", collider)
  445. weld.Part0 = humanoid.Parent["Left Arm"]
  446. weld.Part1 = collider
  447. weld.C0 = CFrame.new(0,-0.2,0) * CFrame.fromEulerAnglesXYZ(0, 0, math.pi/2)
  448. collider.TopSurface = "Smooth"
  449. collider.BottomSurface = "Smooth"
  450. collider.formFactor = "Symmetric"
  451. glue.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  452. glue.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  453. collider.Transparency = 1
  454.  
  455. local findhead = humanoid.Parent:findFirstChild("Head")
  456. if findhead then
  457. local attachment = Instance.new("Attachment", humanoid.Parent.Head)
  458. attachment.Position = Vector3.new(0, -0.5, 0)
  459. attachment.Name = "lol"
  460. attachment.Visible = false
  461. humanoid.Parent.Torso.NeckAttachment.Visible = false
  462. humanoid.Parent.Torso.NeckAttachment.Position = humanoid.Parent.Torso.NeckAttachment.Position + Vector3.new(0,0,0)
  463. local ball = Instance.new("BallSocketConstraint", humanoid.Parent)
  464. ball.Attachment0 = humanoid.Parent.Torso.NeckAttachment
  465. ball.Attachment1 = attachment
  466. ball.LimitsEnabled = true
  467. ball.TwistLimitsEnabled = true
  468. ball.UpperAngle = 90
  469. ball.Restitution = 0.5
  470. ball.TwistUpperAngle = 90
  471. ball.TwistLowerAngle = -90
  472. local collidepartofleftleg = Instance.new("Part", humanoid.Parent.Torso)
  473. collidepartofleftleg.Name = "Bone"
  474. collidepartofleftleg.Size = Vector3.new(0.7,0.7,0.7)
  475. collidepartofleftleg.Transparency = 1
  476. collidepartofleftleg:BreakJoints()
  477. local weeld = Instance.new("Weld", collidepartofleftleg)
  478. weeld.Part0 = collidepartofleftleg
  479. weeld.Part1 = humanoid.Parent["Head"]
  480. if humanoid.Parent.Torso:findFirstChild("Neck") then
  481. humanoid.Parent.Torso.Neck:destroy()
  482. end
  483. end
  484. end
  485. end))
  486. end
  487.  
  488.  
  489. function chatFunc(msg, timr, col, size)
  490. spawn(function()
  491. local namebillboard = Instance.new("BillboardGui")
  492. local textt = Instance.new("TextLabel")
  493. namebillboard.Size = UDim2.new(9/1.5, 0, 1, 0)
  494. namebillboard.Name = "NameBillboard"
  495. namebillboard.StudsOffset = Vector3.new(0, 0.75, 2)
  496. namebillboard.Parent = C.Head
  497. textt.TextWrapped = true
  498. textt.BackgroundTransparency = 1
  499. textt.BackgroundColor3 = Color3.new(1, 1, 1)
  500. textt.TextSize = size or 14
  501. textt.TextScaled = true
  502. textt.Font = Enum.Font.SciFi
  503. textt.Text = msg or ''
  504. textt.TextStrokeTransparency = 0
  505. textt.TextStrokeColor3 = Color3.new(1,1,1)
  506. textt.TextColor = col
  507. textt.Size = UDim2.new(1, 0, 1, 0)
  508. textt.Parent = namebillboard
  509. local RM = math.random(1,2)
  510. local DR = 0
  511. for i=1,timr do swait()
  512. if RM == 1 then
  513. DR = DR + 1
  514. namebillboard.StudsOffset = Vector3.new(0, 0.75+2.5*math.math.sin(DR/(timr/2.5)), 2)
  515. textt.TextStrokeTransparency = i/timr
  516. textt.TextTransparency = i/timr
  517. textt.Rotation = 7.5*math.cos(DR/(timr/2))
  518. elseif RM == 2 then
  519. DR = DR + 1
  520. namebillboard.StudsOffset = Vector3.new(0, 0.75+2.5*math.math.sin(DR/(timr/2.5)), 2)
  521. textt.TextStrokeTransparency = i/timr
  522. textt.TextTransparency = i/timr
  523. textt.Rotation = 7.5*-math.cos(DR/(timr/2))
  524. end
  525. end
  526. namebillboard:Destroy()
  527. end)
  528. end
  529.  
  530.  
  531. function newSpellEff(pos)
  532. local effect = Instance.new("Part")
  533. local decal = Instance.new("Decal")
  534. effect.Size = Vector3.new(5, 0.05, 5)
  535. effect.Name = "Effect"
  536. effect.Transparency = 1
  537. effect.TopSurface = Enum.SurfaceType.Smooth
  538. effect.BottomSurface = Enum.SurfaceType.Smooth
  539. effect.Parent = C
  540. effect.CFrame = pos
  541. effect.CanCollide = false
  542. effect.Anchored = true
  543. decal.Texture = "rbxassetid://884834173"
  544. decal.Face = Enum.NormalId.Top
  545. decal.Parent = effect
  546. return effect
  547. end
  548.  
  549. -------------------------------------------------] Joints
  550.  
  551. wait(0.5)
  552. for i,track in pairs(H:GetPlayingAnimationTracks()) do
  553. track:Stop()
  554. end
  555. if ffc(H, 'Animator') then ffc(H, 'Animator'):Destroy() end
  556. if ffc(C, 'Animate') then ffc(C, 'Animate'):Destroy() end
  557. H.WalkSpeed = 0 wait(1/30)
  558. LL = Torso:WaitForChild("Left Hip")
  559. RL = Torso:WaitForChild("Right Hip")
  560. RA = Torso:WaitForChild("Right Shoulder")
  561. LA = Torso:WaitForChild("Left Shoulder")
  562. RA.C0 = cfScaled(1.5, 0.5, 0)
  563. RA.C1 = cfScaled(0, 0.5, 0)
  564. LA.C0 = cfScaled(-1.5, 0.5, 0)
  565. LA.C1 = cfScaled(0, 0.5, 0)
  566. CI.Sound.Create('rbxassetid://1908928936',Head,10,1,true,'Scream',false,true,4,0)
  567. --shakef:FireClient(plr, 50, 0.25)
  568. for i=0,1,0.0175 do swait() a = a + 1
  569. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.3,rad(-2 * math.cos(a/25))-0,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(20)),i)
  570. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.1,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(78)),i)
  571. RA.C0 = RA.C0:lerp(cfScaled(1.2, 0.5 - rad(-2.5 * math.cos(a/25)), -0.5) * CFrame.Angles(rad(150)+rad(2 * math.sin(a)),rad(-10),rad(-60)+rad(3 * math.cos(a/1.1))),.2)
  572. LA.C0 = LA.C0:lerp(cfScaled(-1.2, 0.5 - rad(-2.5 * math.cos(a/25)), -0.5) * CFrame.Angles(rad(150)+rad(2 * math.sin(a)),rad(-10),rad(60)+rad(3 * math.cos(a/1.1))),.2)
  573. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-1.35)* cfScaled(0, -0.6, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(5), rad(math.sin(a/25)), rad(0)),i)
  574. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(25)+rad(5 * math.sin(a)), rad(0), rad(5 * math.sin(a/1.12))),.2)
  575. end
  576. --shakef:FireClient(plr, 15, 1.5)
  577. spawn(function()
  578. local s = Sphere(Root,Vector3.new(0,0,0),
  579. CFrame.new(Root.CFrame.p)*CFrame.new(0,0,0),BrickColor.new('White'))
  580. s.Transparency = 0
  581. for i=1,100 do swait()
  582. s.Transparency = i/100
  583. s.Size = s.Size:lerp(Vector3.new(15,70,15),.4)
  584. end
  585. s:Destroy()
  586. end)
  587.  
  588. wait(0.5)
  589.  
  590. PlayerScale = 2
  591. NeckCF = CFrame.new(0, 1*PlayerScale*1.25, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  592.  
  593. LL = Torso:WaitForChild("Left Hip")
  594. RL = Torso:WaitForChild("Right Hip")
  595. RA = Torso:WaitForChild("Right Shoulder")
  596. LA = Torso:WaitForChild("Left Shoulder")
  597. RL = Instance.new("Weld",Torso)
  598. RL.Name = "Right Hip"
  599. RL.Part0 = Torso
  600. RL.C0 = cfScaled(0, 0, 0)
  601. RL.C1 = cfScaled(0.5, 1, 0) * CFrame.Angles(0,1.6,0)
  602. RL.Part1 = RLEG
  603. LL = Instance.new("Weld",Torso)
  604. LL.Name = "Left Hip"
  605. LL.Part0 = Torso
  606. LL.C0 = cfScaled(0, 0, 0)
  607. LL.C1 = cfScaled(-0.5, 1, 0) * CFrame.Angles(0,-1.6,0)
  608. LL.Part1 = LLEG
  609. RA = Instance.new("Weld",Torso)
  610. RA.Name = "Right Shoulder"
  611. RA.Part0 = Torso
  612. RA.C0 = cfScaled(1.5, 0.5, 0)
  613. RA.C1 = cfScaled(0, 0.5, 0)
  614. RA.Part1 = RARM
  615. LA = Instance.new("Weld",Torso)
  616. LA.Name = "Left Shoulder"
  617. LA.Part0 = Torso
  618. LA.C0 = cfScaled(-1.5, 0.5, 0)
  619. LA.C1 = cfScaled(0, 0.5, 0)
  620. LA.Part1 = LARM
  621. LL.C0 = LHCF * cfScaled(0,-1,1)*CFrame.Angles(rad(0),rad(0),rad(0))
  622. RL.C0 = RHCF * cfScaled(0,-1,1)*CFrame.Angles(rad(0),rad(0),rad(0))
  623. H.WalkSpeed = WALKSPEED
  624. H.JumpPower = 80
  625. H.MaxHealth = math.huge
  626. H.Health = math.huge
  627.  
  628. Root.Size = Root.Size * PlayerScale
  629. RARM.Size = RARM.Size * PlayerScale
  630. LARM.Size = LARM.Size * PlayerScale
  631. LLEG.Size = LLEG.Size * PlayerScale
  632. RLEG.Size = RLEG.Size * PlayerScale
  633. Torso.Size = Torso.Size * PlayerScale
  634. Head.Size = Head.Size * PlayerScale
  635.  
  636. RootJ.Parent = Root
  637. Root.Parent = C
  638. LARM.Parent = C
  639. RARM.Parent = C
  640. RLEG.Parent = C
  641. LLEG.Parent = C
  642. Head.Parent = C
  643. Torso.Parent = C
  644. Neck.Parent = Torso
  645. RA.Parent = Torso
  646. LA.Parent = Torso
  647. RL.Parent = Torso
  648. LL.Parent = Torso
  649.  
  650. wait(1/10)
  651.  
  652. --------- Misc ---------
  653.  
  654. local sound = Instance.new('Sound')
  655. sound.Parent = Torso
  656. sound.Looped = false
  657. sound.Volume = 5
  658. sound.Name = 'Footstep'
  659. sound.SoundId = 'rbxassetid://379483672' -- 833564121
  660. local kio = 0.4
  661. local tt = 0.4
  662.  
  663. --------- Key --------
  664. local walke = false
  665. local cycle = 1
  666. Mouse.Button1Down:Connect(function()
  667. if attack == false then
  668.  
  669. end
  670. end)
  671. local haltHit = false
  672. function WhenHit(hit,damage,extra)
  673. spawn(function()
  674. local lebel = Instance.new("BillboardGui")
  675. local lebeltext = Instance.new("TextBox")
  676. lebel.Size = UDim2.new(6, 0, 1, 0)
  677. lebel.Name = "Damage"
  678. lebel.StudsOffset = Vector3.new(0, 3, 2)
  679. lebel.Parent = hit
  680. lebeltext.TextWrapped = true
  681. lebeltext.BackgroundTransparency = 1
  682. lebeltext.BackgroundColor3 = Color3.new(1, 1, 1)
  683. lebeltext.TextSize = 14
  684. lebeltext.TextScaled = true
  685. lebeltext.Font = Enum.Font.Fantasy
  686. lebeltext.Text = damage .. extra
  687. lebeltext.TextStrokeTransparency = 0
  688. lebeltext.TextStrokeColor3 = Color3.new(0,0,0)
  689. lebeltext.TextColor = BrickColor.new('White')
  690. lebeltext.Size = UDim2.new(1, 0, 1, 0)
  691. lebeltext.Parent = lebel
  692. local ran = math.random(1,2)
  693. spawn(function()
  694. for i=0,1,0.05 do swait()
  695. lebeltext.TextTransparency = i
  696. lebeltext.TextStrokeTransparency = i
  697. end
  698. end)
  699. spawn(function()
  700. for i=0,5,0.1 do swait()
  701. if ran == 1 then
  702. lebel.StudsOffset = Vector3.new(0, 3+i, 2+ran/3+i/1.5)
  703. elseif ran == 2 then
  704. lebel.StudsOffset = Vector3.new(0, 3+i, 2+ran/3-i/1.5)
  705. end
  706. end
  707. lebel:Destroy()
  708. end)
  709. wait(0.3)
  710. haltHit = false
  711. end)
  712. end
  713.  
  714. local CurrentS = 1
  715.  
  716. Mouse.KeyDown:Connect(function(key)
  717. if key == 'e' and walke == false and attack == false then
  718. attack = true
  719. H.WalkSpeed = 0
  720. local ticker = 0
  721. for i=0,1,0.02 do swait()
  722. ticker = ticker + 1
  723. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.3,rad(-2 * math.cos(a/25))-0.6,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(15)),.2)
  724. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(25)),.2)
  725. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0.2) * CFrame.Angles(rad(-30),rad(-35),rad(5)),.2)
  726. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.4 - rad(-2.5 * math.cos(a/25)), -0.1) * CFrame.Angles(rad(20),rad(-10),rad(10)),.2)
  727. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.5)* cfScaled(0, 0.1, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(5), rad(math.sin(a/25)), rad(-20)), .2)
  728. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(25)+rad(5 * math.sin(a/25)), rad(0), rad(15)), .2)
  729. if ticker > 1 then ticker = 0
  730. spawn(function()
  731. local s = Sphere(Root,Vector3.new(0,0,0),
  732. RARM.CFrame*CFrame.new(0,-2,0),BrickColor.new('White'))
  733. s.CFrame = s.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  734. s.Mesh:Destroy()
  735. s.Transparency = 0
  736. for i=1,25 do swait()
  737. s.Transparency = i/25
  738. s.Size = s.Size:lerp(Vector3.new(2+i/25,2+i/25,2+i/25),.1)
  739. end
  740. s:Destroy()
  741. end)
  742. end
  743. end
  744. H.WalkSpeed = 11
  745. for i=0,.3,0.045 do swait()
  746. ticker = ticker + 1
  747. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.05,rad(-2 * math.cos(a/25))-0.85,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(-20)),i)
  748. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.1,rad(-2 * math.cos(a/25))-0.9,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(5)),i)
  749. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.5 - rad(-2.5 * math.cos(a/25)), -0.3) * CFrame.Angles(rad(110),rad(10),rad(-5)),i)
  750. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.4 - rad(-2.5 * math.cos(a/25)), -0.1) * CFrame.Angles(rad(0),rad(-5),rad(-10)),i)
  751. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),0.2)* cfScaled(0, -0.7, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-5), rad(math.sin(a/25)), rad(5)), i)
  752. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(-5)+rad(5 * math.sin(a/25)), rad(0), rad(-5)), i)
  753. if ticker > 1 then ticker = 0
  754. spawn(function()
  755. local s = Sphere(Root,Vector3.new(0,0,0),
  756. RARM.CFrame*CFrame.new(0,-2,0),BrickColor.new('White'))
  757. s.CFrame = s.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  758. s.Mesh:Destroy()
  759. s.Transparency = 0
  760. for i=1,25 do swait()
  761. s.Transparency = i/25
  762. s.Size = s.Size:lerp(Vector3.new(2+i/25,2+i/25,2+i/25),.1)
  763. end
  764. s:Destroy()
  765. end)
  766. end
  767. end
  768. local list = GetNearbyTorsos(RARM, 15, C)
  769. CI.Sound.Create('rbxassetid://231917961',RARM,10,1.4,true,'Whoosh',false,true,1,0)
  770. if list[1] then
  771. CI.Sound.Create('rbxassetid://155363126',Torso,6,1,true,'Scream',false,true,2.5,0)
  772. --shakef:FireClient(plr, 10, 1)
  773. end
  774. for i,v in pairs(list) do
  775. if v.Parent and v.Parent:FindFirstChildOfClass('Humanoid') then
  776. spawn(function()
  777. for i=1,10 do wait(.05)
  778. local s = Sphere(Root,Vector3.new(0,0,0),
  779. v.CFrame,BrickColor.new('White'))
  780. s.CFrame = s.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  781. s.CFrame = s.CFrame * CFrame.new(0,0,-1)
  782. spawn(function()
  783. s.Transparency = 0
  784. for i=1,25 do swait()
  785. s.CFrame = s.CFrame:Lerp(s.CFrame * CFrame.new(0,0,-i/4),.1)
  786. s.Transparency = i/25
  787. s.Size = s.Size:lerp(Vector3.new(1,1,1),.1)
  788. end
  789. s:Destroy()
  790. end)
  791. end
  792. end)
  793. local h = v.Parent:FindFirstChildOfClass('Humanoid')
  794. local vw = Instance.new('BodyVelocity',v)
  795. vw.Velocity = (Root.CFrame.UpVector+Root.CFrame.LookVector/2) * 80
  796. vw.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  797. game:GetService('Debris'):AddItem(vw, 0.25)
  798. h.Health = 0.1
  799. WhenHit(v, h.MaxHealth, '')
  800. Ragdoll(v.Parent)
  801. spawn(function()
  802. game:GetService('Debris'):AddItem(v.Parent, 5)
  803. if game:GetService('Players'):GetPlayerFromCharacter(v.Parent) then
  804. local cli = game:GetService('Players'):GetPlayerFromCharacter(v.Parent)
  805. end
  806. end)
  807. end
  808. end
  809. for i=0,1,0.25 do swait()
  810. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.05,rad(-2 * math.cos(a/25))-1,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(-25)),.35)
  811. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.4,rad(-2 * math.cos(a/25))-0.5,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(35)),.35)
  812. RA.C0 = RA.C0:lerp(cfScaled(1.15, 0.6 - rad(-2.5 * math.cos(a/25)), -0.7) * CFrame.Angles(rad(150),rad(25),rad(-10)),.35)
  813. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.4 - rad(-2.5 * math.cos(a/25)), -0.1) * CFrame.Angles(rad(-40),rad(-5),rad(-10)),.35)
  814. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),3)* cfScaled(0, -1.4, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-20), rad(math.sin(a/25)), rad(25)), .35)
  815. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(-2)+rad(5 * math.sin(a/25)), rad(0), rad(-15)), .35)
  816. end
  817. Blast(RARM.CFrame * CFrame.Angles(math.rad(0),0,0), 4, 1)
  818. for i=0,1,0.1 do swait()
  819. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.05,rad(-2 * math.cos(a/25))-1,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(-25)),.35)
  820. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.4,rad(-2 * math.cos(a/25))-0.5,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(35)),.35)
  821. RA.C0 = RA.C0:lerp(cfScaled(1.15, 0.6 - rad(-2.5 * math.cos(a/25)), -0.7) * CFrame.Angles(rad(150),rad(25),rad(-10)),.35)
  822. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.4 - rad(-2.5 * math.cos(a/25)), -0.1) * CFrame.Angles(rad(-40),rad(-5),rad(-10)),.35)
  823. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),3)* cfScaled(0, -1.4, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-20), rad(math.sin(a/25)), rad(25)), .35)
  824. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(-2)+rad(5 * math.sin(a/25)), rad(0), rad(-15)), .35)
  825. end
  826. H.WalkSpeed = WALKSPEED
  827. wait(1/30)
  828. Land(-65)
  829. elseif key == 'm' then
  830. if MUSIC then
  831. if MUSIC.Volume == 0 then
  832. CURRENTVOL = 4
  833. MUSIC.Volume = CURRENTVOL
  834. else
  835. CURRENTVOL = 0
  836. MUSIC.Volume = CURRENTVOL
  837. end
  838. end
  839. elseif key == 'n' then
  840. local musiclist = {1142975563,468448329,1257689487,1175569393}
  841. if MUSIC then
  842. if CurrentS >= #musiclist then
  843. CurrentS = 0
  844. end
  845. CurrentS = CurrentS + 1
  846. CURRENTMUSIC = musiclist[CurrentS]
  847. MUSIC:Destroy()
  848. end
  849. elseif key == 'c' and walke == false and attack == false then
  850. local oldp = Root.CFrame
  851. local s = Sphere(Root,Vector3.new(0,0,0),
  852. Root.CFrame,BrickColor.new('White'))
  853. spawn(function()
  854. s.Transparency = 0
  855. for i=1,25 do swait()
  856. s.Transparency = i/25
  857. s.Size = s.Size:lerp(Vector3.new(20,20,20),.1)
  858. end
  859. s:Destroy()
  860. end)
  861. Root.CFrame = Mouse.Hit * cfScaled(0,hh,0)
  862. local dist = (oldp.p-Root.CFrame.p).magnitude
  863. for i=1,5 do
  864. local m1 = -math.random()*3+math.random()*3
  865. local m2 = -math.random()*3+math.random()*3
  866. local s = Sphere(Root,Vector3.new(0,0,0),
  867. CFrame.new(Root.CFrame.p,oldp.Position)*CFrame.new(m1,m2,-dist/2),BrickColor.new('White'))
  868. spawn(function()
  869. s.Transparency = 0
  870. for i=1,35 do swait()
  871. s.Transparency = i/35
  872. s.Size = s.Size:lerp(Vector3.new(1,1,dist*1.314),.35)
  873. end
  874. s:Destroy()
  875. end)
  876. end
  877. CI.Sound.Create('rbxassetid://233856079',Root,10,1,true,'Teleport',false,true,2.5,0)
  878. local s = Sphere(Root,Vector3.new(0,0,0),
  879. Root.CFrame,BrickColor.new('White'))
  880. spawn(function()
  881. s.Transparency = 0
  882. for i=1,25 do swait()
  883. s.Transparency = i/25
  884. s.Size = s.Size:lerp(Vector3.new(20,20,20),.1)
  885. end
  886. s:Destroy()
  887. end)
  888. elseif key == 'x' and walke == false and attack == false then
  889. attack = true
  890. H.WalkSpeed = 0
  891. local ticker = 0
  892. CI.Sound.Create('rbxassetid://907332670',Head,10,1.2,true,'AssuredDeath',false,true,3,0)
  893. for i=0,1,0.015 do swait() ticker = ticker + 1
  894. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.3,rad(-2 * math.cos(a/25))-0.45,1)*CFrame.Angles(rad(-12)+rad(1.5*math.sin(a/25)),rad(0),rad(5)),.2)
  895. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(25)),.2)
  896. RA.C0 = RA.C0:lerp(cfScaled(1.45, 0.3 - rad(-2.5 * math.cos(a/25)), -0.25) * CFrame.Angles(rad(140),rad(15),rad(2)),.2)
  897. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(-10),rad(-25),rad(-10)),.2)
  898. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.55)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-5), rad(-5+math.sin(a/25)), rad(-2)), .2)
  899. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(-10)), .2)
  900. end
  901. for i=0,3,0.015 do swait() ticker = ticker + 1
  902. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-1.01,1)*CFrame.Angles(rad(-4)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  903. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-15)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  904. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.65 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(175),rad(5),rad(2)),.2)
  905. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(-10),rad(15),rad(-15)),.2)
  906. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, -0.9, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(5), rad(5+math.sin(a/25)), rad(-2)), .2)
  907. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(-10)), .2)
  908. if ticker > 1 then ticker = 0
  909. spawn(function()
  910. local s = Sphere(Root,Vector3.new(0,0,0),
  911. RARM.CFrame*CFrame.new(0,-2,0),BrickColor.new('White'))
  912. s.Mesh:Destroy()
  913. s.Transparency = 0
  914. s.CFrame = s.CFrame * CFrame.new(0,-i*3,0)
  915. s.CFrame = s.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  916. for c=1,25 do swait()
  917. s.Transparency = c/25
  918. s.Size = s.Size:lerp(Vector3.new(2+i*4,2+i*4,2+i*4),.1)
  919. end
  920. s:Destroy()
  921. end)
  922. end
  923. end
  924. CI.Sound.Create('rbxassetid://207155717',workspace,10,1,true,'Die',false,true,2.5,0)
  925. for i=0,1,0.05 do swait() ticker = ticker + 1
  926. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.3,rad(-2 * math.cos(a/25))-0.45,1)*CFrame.Angles(rad(-12)+rad(1.5*math.sin(a/25)),rad(0),rad(5)),.2)
  927. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(25)),.2)
  928. RA.C0 = RA.C0:lerp(cfScaled(1.45, 0.3 - rad(-2.5 * math.cos(a/25)), -0.25) * CFrame.Angles(rad(140),rad(15),rad(2)),.2)
  929. LA.C0 = LA.C0:lerp(cfScaled(-1, 0.7 - rad(-2.5 * math.cos(a/25)), -0.7) * CFrame.Angles(rad(140),rad(-25),rad(70)),.2)
  930. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.55)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-5), rad(-5+math.sin(a/25)), rad(-2)), .2)
  931. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(-10)), .2)
  932. end
  933. spawn(function()
  934. for i=0,1,0.01 do swait() ticker = ticker + 1
  935. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-1.1,1)*CFrame.Angles(rad(-4)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  936. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-15)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  937. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.65 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(175),rad(5),rad(2)),.2)
  938. LA.C0 = LA.C0:lerp(cfScaled(-1, 0.7 - rad(-2.5 * math.cos(a/25)), -0.7) * CFrame.Angles(rad(140),rad(-5),rad(50)),.2)
  939. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),0.1)* cfScaled(0, -0.9, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(5), rad(5+math.sin(a/25)), rad(-2)), .2)
  940. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(20)+rad(math.sin(a/25)), rad(0), rad(-10)), .2)
  941. end
  942. H.WalkSpeed = WALKSPEED
  943. attack = false
  944. end)
  945. local MODECOLOUR = BrickColor.new('White')
  946. local cfs = RARM.CFrame * CFrame.new(0,-20,0)
  947. CI.Sound.Create('rbxassetid://231917970',workspace,10,0.75,true,'Exposive',false,true,2.5,0)
  948. local list = GetNearbyTorsos(RARM,120,C,true)
  949. DamageFromList(list,math.huge,true,'INF')
  950. spawn(function()
  951. local s = Sphere(Root,Vector3.new(0,0,0),
  952. CFrame.new(cfs.p)*CFrame.new(0,0,0),MODECOLOUR)
  953. s.Transparency = 0
  954. for i=1,35 do swait()
  955. s.Transparency = i/35
  956. s.Size = s.Size:lerp(Vector3.new(100,100,100),.2)
  957. end
  958. s:Destroy()
  959. end)
  960. spawn(function()
  961. local s = Sphere(Root,Vector3.new(0,0,0),
  962. CFrame.new(cfs.p)*CFrame.new(0,0,0),MODECOLOUR)
  963. s.Transparency = 0
  964. for i=1,15 do swait()
  965. s.Transparency = i/15
  966. s.Size = s.Size:lerp(Vector3.new(500,500,500),.2)
  967. end
  968. s:Destroy()
  969. end)
  970. spawn(function()
  971. local s = Sphere(Root,Vector3.new(0,0,0),
  972. CFrame.new(cfs.p)*CFrame.new(0,0,0),MODECOLOUR)
  973. s.Transparency = 0
  974. local p = ParticleEffects(4,s,MODECOLOUR)
  975. for i=1,35 do swait()
  976. s.Transparency = i/35
  977. s.Size = s.Size:lerp(Vector3.new(85,85,85),.2)
  978. end
  979. p.Enabled = false wait(2)
  980. s:Destroy()
  981. end)
  982. spawn(function()
  983. for i=1,10 do swait()
  984. local s = Ring(Root,Vector3.new(0,0,0),
  985. CFrame.new(cfs.p)*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),BrickColor.new('Black'))
  986. s.Transparency = 0
  987. spawn(function()
  988. local ran = math.random(30,40) local ran1 = math.random(100,200)
  989. for i=1,ran do swait()
  990. s.Transparency = i/ran
  991. s.Mesh.Scale = s.Mesh.Scale:lerp(Vector3.new(ran1,ran1,5),.2)
  992. end
  993. s:Destroy()
  994. end)
  995. end
  996. end)
  997. elseif key == 'r' and walke == false and attack == false then
  998. attack = true
  999. H.WalkSpeed = 0
  1000. for i=0,1,0.07 do swait()
  1001. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.6, rad(-2 * math.cos(a/25))-0.3,1)*CFrame.Angles(rad(-2)+rad(1.5*math.sin(a/25)),rad(0),rad(-15)),.15)
  1002. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-1,1)*CFrame.Angles(rad(-2)+rad(-1.5*math.sin(a/25)),rad(0),rad(20)),.15)
  1003. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.5 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(60),rad(0),rad(50)),.15)
  1004. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.5 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(60),rad(0),rad(-50)),.15)
  1005. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),0)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-15), rad(math.sin(a/25)), rad(0)), .15)
  1006. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(-5)+rad(5 * math.sin(a/25)), rad(0), rad(0)), .15)
  1007. end
  1008. Blast(Root.CFrame * cfScaled(0.5,-hh,-0.25), 1, 6)
  1009. --shakef:FireClient(plr, 10, 1)
  1010. local list = GetNearbyTorsos(RLEG, 30, C)
  1011. CI.Sound.Create('rbxassetid://144699494',RLEG,10,1.1,true,'Hit',false,true,1,0)
  1012. for i,v in pairs(list) do
  1013. if v.Parent and v.Parent:FindFirstChildOfClass('Humanoid') then
  1014. local h = v.Parent:FindFirstChildOfClass('Humanoid')
  1015. h.PlatformStand = true
  1016. h.Health = h.Health - 14
  1017. WhenHit(v, 14, '')
  1018. spawn(function()
  1019. wait(1)
  1020. if h then
  1021. h.PlatformStand = false
  1022. end
  1023. end)
  1024. end
  1025. end
  1026. spawn(function()
  1027. for i=1,15 do
  1028. local s = Sphere(Root,Vector3.new(0,0,0),
  1029. Root.CFrame * cfScaled(0.5,-hh,0),BrickColor.new('White'))
  1030. s.CFrame = s.CFrame * CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  1031. s.CFrame = s.CFrame * CFrame.new(0,0,0)
  1032. spawn(function()
  1033. s.Transparency = 0
  1034. for i=1,45 do swait()
  1035. s.CFrame = s.CFrame:Lerp(s.CFrame * CFrame.new(0,0,-i/3),.1)
  1036. s.Transparency = i/45
  1037. s.Size = s.Size:lerp(Vector3.new(1.5,1.5,1.5),.1)
  1038. end
  1039. s:Destroy()
  1040. end)
  1041. end
  1042. end)
  1043. for i=0,1,0.09 do swait()
  1044. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.4, rad(-2 * math.cos(a/25))-1,1)*CFrame.Angles(rad(-2)+rad(1.5*math.sin(a/25)),rad(0),rad(30)),.25)
  1045. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-1,1)*CFrame.Angles(rad(-2)+rad(-1.5*math.sin(a/25)),rad(0),rad(-20)),.25)
  1046. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.5 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(40),rad(0),rad(35)),.25)
  1047. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.5 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(40),rad(0),rad(-35)),.25)
  1048. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),0)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(15), rad(math.sin(a/25)), rad(0)), .25)
  1049. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(5)+rad(5 * math.sin(a/25)), rad(0), rad(0)), .25)
  1050. end
  1051. H.WalkSpeed = WALKSPEED
  1052. attack = false
  1053. elseif key == 'f' and walke == false and attack == false then
  1054. attack = true
  1055. H.WalkSpeed = 0
  1056. for i=0,1,0.065 do swait()
  1057. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.6, rad(-2 * math.cos(a/25))-0.5,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(-10),rad(-35)),.2)
  1058. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.75,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1059. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(-20),rad(5),rad(10)),.2)
  1060. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.5 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(5),rad(0),rad(-10)),.2)
  1061. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.5)* cfScaled(0, 0.3, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(5), rad(math.sin(a/25)), rad(-45)), .2)
  1062. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(25)+rad(5 * math.sin(a/25)), rad(0), rad(40)), .2)
  1063. end
  1064. local list = GetNearbyTorsos(RLEG, 15, C)
  1065. CI.Sound.Create('rbxassetid://231917961',RLEG,10,1.4,true,'Whoosh',false,true,1,0)
  1066. if list[1] then
  1067. CI.Sound.Create('rbxassetid://278049089',RLEG,10,1,true,'Smack',false,true,1,0)
  1068. --shakef:FireClient(plr, 10, 1)
  1069. end
  1070. for i,v in pairs(list) do
  1071. if v.Parent and v.Parent:FindFirstChildOfClass('Humanoid') then
  1072. CI.Sound.Create('rbxassetid://160718677',v,10,1,true,'Scream',false,true,2.5,0)
  1073. local h = v.Parent:FindFirstChildOfClass('Humanoid')
  1074. local vw = Instance.new('BodyVelocity',v)
  1075. vw.Velocity = (Root.CFrame.UpVector/2+Root.CFrame.LookVector) * 140
  1076. vw.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  1077. game:GetService('Debris'):AddItem(vw, 0.25)
  1078. h.Health = 0.1
  1079. Ragdoll(v.Parent)
  1080. WhenHit(v, h.MaxHealth, '')
  1081. spawn(function()
  1082. game:GetService('Debris'):AddItem(v.Parent, 5)
  1083. if game:GetService('Players'):GetPlayerFromCharacter(v.Parent) then
  1084. local cli = game:GetService('Players'):GetPlayerFromCharacter(v.Parent)
  1085. end
  1086. end)
  1087. end
  1088. end
  1089. for i=0,1,0.09 do swait()
  1090. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.5,rad(-2 * math.cos(a/25))-0.8,1)*CFrame.Angles(rad(-2)+rad(1.5*math.sin(a/25)),rad(25),rad(60)),.3)
  1091. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.9,1)*CFrame.Angles(rad(-15)+rad(-1.5*math.sin(a/25)),rad(0),rad(45)),.3)
  1092. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(-20),rad(15),rad(10)),.3)
  1093. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.5 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(-50),rad(0),rad(-10)),.3)
  1094. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.1)* cfScaled(0, -0.4, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(-50), rad(math.sin(a/25)), rad(45)), .3)
  1095. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(35)+rad(5 * math.sin(a/25)), rad(0), rad(-35)), .3)
  1096. end
  1097. H.WalkSpeed = WALKSPEED
  1098. attack = false
  1099. elseif key == 'q' and attack == false and walke == false then
  1100. H.WalkSpeed = 10
  1101. walke = true
  1102. for i=0,1,0.05 do swait()
  1103. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1104. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1105. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(-5),rad(15),rad(-10)),.2)
  1106. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(0),rad(-10),rad(-10)),.2)
  1107. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(math.sin(a/25)), rad(-2)), .2)
  1108. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(25)+rad(5 * math.sin(a/25)), rad(0), rad(20)), .2)
  1109. end
  1110. CI.Sound.Create('rbxassetid://212678112',Head,10,1,true,'Tell no one.',false,true,3,0)
  1111. local cs = Create("Part") {
  1112. Anchored = false;
  1113. CanCollide = false;
  1114. Massless = true;
  1115. Shape = Enum.PartType.Ball;
  1116. Size = Vector3.new(2, 2, 2);
  1117. Orientation = Vector3.new(0, -90, 0);
  1118. Color = Color3.new(0.960784, 0.803922, 0.188235);
  1119. BrickColor = BrickColor.new("Bright yellow");
  1120. Reflectance = 0.2;
  1121. Name = "Cs";
  1122. Parent = workspace;
  1123. }
  1124. local csm = Create("SpecialMesh") {
  1125. MeshType = Enum.MeshType.FileMesh;
  1126. MeshId = "rbxasset://fonts/timebomb.mesh";
  1127. Name = "CsMesh";
  1128. TextureId = "http://www.roblox.com/asset/?id=1135264309";
  1129. Scale = Vector3.new(0+PlayerScale/2, 0+PlayerScale/2, 0+PlayerScale/2); -- 1, 1, 1 for size of 2
  1130. Parent = cs;
  1131. }
  1132.  
  1133. local csw = Create("Weld") {
  1134. Part0 = cs;
  1135. Part1 = RARM;
  1136. Parent = cs;
  1137. C0 = CFrame.new(0,-2.5,0) * CFrame.Angles(math.rad(180),0,0);
  1138. }
  1139. game:GetService('Debris'):AddItem(cs, 40)
  1140. if CURRENTVOL == 0 then
  1141. spawn(function()
  1142. wait(2)
  1143. local debounce = false
  1144. cs.Touched:Connect(function(p)
  1145. if p.Parent and p.Parent:FindFirstChildOfClass('Humanoid') and debounce == false then
  1146. debounce = true
  1147. CI.Sound.Create('rbxassetid://539294959',workspace,10,1,true,'Explosion',false,true,3,0)
  1148. local h = p.Parent:FindFirstChildOfClass('Humanoid')
  1149. local e = Instance.new('Explosion',workspace)
  1150. e.DestroyJointRadiusPercent = 0
  1151. e.Position = cs.Position
  1152. cs:Destroy()
  1153. h.Health = 0
  1154. end
  1155. end)
  1156. end)
  1157. end
  1158. for i=0,1,0.03 do swait()
  1159. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1160. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1161. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(90),rad(10),rad(5)),.2)
  1162. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(0),rad(-10),rad(-10)),.2)
  1163. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(math.sin(a/25)), rad(-2)), .2)
  1164. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(30)), .2)
  1165. end
  1166. spawn(function() wait(1/10)
  1167. csw:Destroy()
  1168. cs.CanCollide = true
  1169. end)
  1170. for i=0,1,0.055 do swait()
  1171. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1172. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1173. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(90),rad(3),rad(60)),.2)
  1174. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(0),rad(-10),rad(-10)),.2)
  1175. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(math.sin(a/25)), rad(-2)), .2)
  1176. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(30)), .2)
  1177. end
  1178. for i=1,3 do
  1179. for i=0,1,0.1 do swait()
  1180. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1181. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1182. RA.C0 = RA.C0:lerp(cfScaled(1, 0.45 - rad(-2.5 * math.cos(a/25)), -0.37) * CFrame.Angles(rad(90),rad(2),rad(-85)),.2)
  1183. LA.C0 = LA.C0:lerp(cfScaled(-1, 0.45 - rad(-2.5 * math.cos(a/25)), -0.4) * CFrame.Angles(rad(90),rad(-2),rad(85)),.2)
  1184. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(math.sin(a/25)), rad(-2)), .2)
  1185. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(-20)), .2)
  1186. end
  1187. for i=0,1,0.1 do swait()
  1188. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1189. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1190. RA.C0 = RA.C0:lerp(cfScaled(1, 0.45 - rad(-2.5 * math.cos(a/25)), -0.371) * CFrame.Angles(rad(90),rad(2),rad(-85)),.2)
  1191. LA.C0 = LA.C0:lerp(cfScaled(-1, 0.45 - rad(-2.5 * math.cos(a/25)), -0.399) * CFrame.Angles(rad(90),rad(-2),rad(85)),.2)
  1192. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(math.sin(a/25)), rad(-2)), .2)
  1193. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15)+rad(5 * math.sin(a/25)), rad(0), rad(20)), .2)
  1194. end
  1195. end
  1196. H.WalkSpeed = WALKSPEED
  1197. walke = false
  1198. end
  1199. end)
  1200.  
  1201. ----------------------
  1202.  
  1203.  
  1204.  
  1205. ----------------------
  1206. ------ANIMATIONS------
  1207. ----------------------
  1208.  
  1209. local ss2 = Instance.new('Part',Root)
  1210. ss2.Size = Vector3.new(1,1,1)
  1211. ss2.CanCollide = false
  1212. ss2.Transparency = 1
  1213. ss2.Massless = true
  1214. local ss2weld = Instance.new('Weld',ss2)
  1215. ss2weld.Part0 = ss2
  1216. ss2weld.Part1 = Torso
  1217. ss2weld.C0 = cfScaled(0,0,0)
  1218.  
  1219. ParticleEmitter0 = Instance.new("ParticleEmitter")
  1220. ParticleEmitter1 = Instance.new("ParticleEmitter")
  1221. ParticleEmitter0.Name = "BParticle"
  1222. ParticleEmitter0.Parent = ss2
  1223. ParticleEmitter0.Speed = NumberRange.new(10, 10)
  1224. ParticleEmitter0.LightInfluence = 1
  1225. ParticleEmitter0.LightEmission = 1
  1226. ParticleEmitter0.Texture = "rbxassetid://286708119"
  1227. ParticleEmitter0.Transparency = NumberSequence.new(0,1)
  1228. ParticleEmitter0.Size = NumberSequence.new(0,0.8,0)
  1229. ParticleEmitter0.Acceleration = Vector3.new(-10, -3, -15)
  1230. ParticleEmitter0.SpreadAngle = Vector2.new(5,5)
  1231. ParticleEmitter0.EmissionDirection = Enum.NormalId.Back
  1232. ParticleEmitter0.LockedToPart = true
  1233. ParticleEmitter0.Lifetime = NumberRange.new(1, 1)
  1234. ParticleEmitter0.Rate = 1000
  1235. ParticleEmitter1.Name = "BParticle"
  1236. ParticleEmitter1.Parent = ss2
  1237. ParticleEmitter1.Speed = NumberRange.new(10, 10)
  1238. ParticleEmitter1.SpreadAngle = Vector2.new(5,5)
  1239. ParticleEmitter1.LightInfluence = 1
  1240. ParticleEmitter1.LightEmission = 1
  1241. ParticleEmitter1.LockedToPart = true
  1242. ParticleEmitter1.Texture = "rbxassetid://286708119"
  1243. ParticleEmitter1.Transparency = NumberSequence.new(0,1)
  1244. ParticleEmitter1.Size = NumberSequence.new(0,0.8,0)
  1245. ParticleEmitter1.Acceleration = Vector3.new(10, -3, -15)
  1246. ParticleEmitter1.EmissionDirection = Enum.NormalId.Back
  1247. ParticleEmitter1.Lifetime = NumberRange.new(1, 1)
  1248. ParticleEmitter1.Rate = 1000
  1249.  
  1250. game:GetService('RunService').Stepped:Connect(function()
  1251. if Torso:FindFirstChild('Neck') then
  1252. ParticleEmitter0.Acceleration = Vector3.new(-10, math.cos(a/50)*10, -15)
  1253. ParticleEmitter1.Acceleration = Vector3.new(10, math.cos(a/50)*10, -15)
  1254. speed = (Root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1255. velocity = Root.Velocity.y
  1256. touch = game:service("Workspace"):FindPartOnRay(Ray.new(Root.Position,
  1257. (CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector.unit * 4 * PlayerScale), C)
  1258. neartouch = game:service("Workspace"):FindPartOnRay(Ray.new(Root.Position,
  1259. (CFrame.new(Root.Position, Root.Position - Vector3.new(0, 1, 0))).lookVector.unit * 6 * PlayerScale), C)
  1260. a = a + 1
  1261. local point1 = H.MoveDirection*Root.CFrame.LookVector
  1262. local point2 = H.MoveDirection*Root.CFrame.RightVector
  1263. local rotation1 = point1.X+point1.Z
  1264. local rotation2 = point2.X+point2.Z
  1265. if speed > 1 and Animation == 'Walk' then
  1266. local ray = Ray.new(
  1267. Torso.Position,
  1268. Vector3.new(0, -4, 0))
  1269. local psart, endPoint = workspace:FindPartOnRay(ray, C)
  1270. if kio <= 0.01 then
  1271. if psart and (psart.Material == Enum.Material.Grass or psart.Material == Enum.Material.Sand) then
  1272. sound.SoundId = 'rbxassetid://267882764'
  1273. sound:Play()
  1274. else
  1275. sound.SoundId = 'rbxassetid://379483672'
  1276. sound:Play()
  1277. end
  1278. kio = tt
  1279. end
  1280. kio = kio - 0.01
  1281. else
  1282. if kio <= 0.01 then
  1283. kio = tt
  1284. end
  1285. kio = kio - 0.01
  1286. sound:Stop()
  1287. end
  1288. if not Root:FindFirstChild('MUSIC') then
  1289. MUSIC = Instance.new('Sound',Root)
  1290. MUSIC.SoundId = 'rbxassetid://'.. CURRENTMUSIC
  1291. MUSIC.Name = 'MUSIC'
  1292. MUSIC.Volume = CURRENTVOL
  1293. MUSIC.EmitterSize = 10
  1294. MUSIC.Looped = true
  1295. MUSIC:Play()
  1296. end
  1297. if H.Sit == true then
  1298. Animation = "Sit"
  1299. if attack == false then
  1300. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,-1+rad(2.5 * math.cos(a/25)),1) * CFrame.Angles(rad(0),rad(-5),rad(90)),.1)
  1301. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,-1+rad(2.5 * math.cos(a/25)),1) * CFrame.Angles(rad(0),rad(5),rad(-90)),.1)
  1302. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55, 0) * CFrame.Angles(rad(0),rad(0),rad(10)),.1)
  1303. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55, 0) * CFrame.Angles(rad(0),rad(0),rad(-10)),.1)
  1304. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0, 0, 0) * cfScaled(0, 0,rad(-2.5 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(0), rad(0)), .1)
  1305. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(3 * math.sin(a/25)), rad(0), rad(0)), .1)
  1306. end
  1307. elseif Root.Velocity.y > 1 and touch == nil and walke == false then
  1308. Animation = "Jump"
  1309. if attack == false then
  1310. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.4,-0.95,1) * CFrame.Angles(rad(-1),rad(0),rad(2)),.1)
  1311. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.4,-0.1,1) * CFrame.Angles(rad(-1),rad(0),rad(5)),.1)
  1312. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.5, 0) * CFrame.Angles(rad(50),rad(25),rad(45)),.1)
  1313. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.5, 0) * CFrame.Angles(rad(50),rad(-25),rad(-45)),.1)
  1314. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0, 0, 0.15) * CFrame.Angles(rad(-15), rad(0), rad(0)), .1)
  1315. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(-15), rad(0), rad(0)), .1)
  1316. end
  1317. elseif Root.Velocity.y < -1 and touch == nil and walke == false then
  1318. Animation = "Fall"
  1319. if neartouch ~= nil and attack == false then
  1320. attack = true
  1321. Land(Root.Velocity.y)
  1322. end
  1323. if attack == false then
  1324. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.25,-0.35, 1) * CFrame.Angles(rad(-1),rad(0),rad(10)),.1)
  1325. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.1,-0.85,1) * CFrame.Angles(rad(-1),rad(0),rad(-10)),.1)
  1326. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.81, 0) * CFrame.Angles(rad(70),rad(20),rad(45)),.1)
  1327. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.6, 0) * CFrame.Angles(rad(70),rad(-20),rad(-45)),.1)
  1328. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0, 0, -0.25) * CFrame.Angles(rad(10), rad(0), rad(0)), .1)
  1329. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(15), rad(0), rad(0)), .1)
  1330. end
  1331.  
  1332. elseif speed < 1 and touch ~= nil and sit == false and walke == false then
  1333. Animation = "Idle"
  1334. if attack == false then
  1335. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1336. LL.C0 = LL.C0:lerp(LHCF * cfScaled(0,rad(-2 * math.cos(a/25))-0.95,1)*CFrame.Angles(rad(-5)+rad(-1.5*math.sin(a/25)),rad(0),rad(0)),.2)
  1337. RA.C0 = RA.C0:lerp(cfScaled(1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(0),rad(10),rad(10)),.2)
  1338. LA.C0 = LA.C0:lerp(cfScaled(-1.5, 0.55 - rad(-2.5 * math.cos(a/25)), 0) * CFrame.Angles(rad(0),rad(-10),rad(-10)),.2)
  1339. RootJ.C0 = RootJ.C0:lerp(RootCF *cfScaled(rad(0),rad(0),-0.05)* cfScaled(0, 0, rad(2 * math.cos(a/25))) * CFrame.Angles(rad(0), rad(math.sin(a/25)), rad(-2)), .2)
  1340. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(10)+rad(5 * math.sin(a/25)), rad(0), rad(2)), .2)
  1341. end
  1342. elseif speed > 1 and speed < 18 and touch ~= nil and walke == false then
  1343. Animation = "Walk"
  1344. if attack == false then
  1345. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.1 + 0.2*math.cos(a/10),-0.7+0.15 * math.cos(a/10)-rad(3-7*math.sin(a/10))-Root.RotVelocity.Y / 60,1+rad(1*math.cos(a/10)))*CFrame.Angles(rad(-3),rad(5*math.sin(a/10))+Root.RotVelocity.Y / 30,rad(-8)+rad(40*math.sin(a/10))),.2)
  1346. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.1 + 0.2*math.cos(a/10),-0.7-0.15 * math.cos(a/10)-rad(3+7*math.sin(a/10))+Root.RotVelocity.Y / 60,1+rad(1*math.cos(a/10)))*CFrame.Angles(rad(-3),rad(5*math.sin(a/10))+Root.RotVelocity.Y / 30,rad(8)+rad(40*math.sin(a/10))),.2)
  1347. LA.C0 = LA.C0:lerp(cfScaled(-1.48, 0.5 + rad(-0.5*math.sin(a/10)), rad(-5*math.sin(a/10))) * CFrame.Angles(rad(35*math.sin(a/10)),rad(3*math.cos(a/5)),rad(-15)),.2)
  1348. RA.C0 = RA.C0:lerp(cfScaled(1.48, 0.5 + rad(0.5*math.sin(a/10)), rad(5*math.sin(a/10))) * CFrame.Angles(rad(-35*math.sin(a/10)),rad(3*math.cos(a/5)),rad(15)),.2)
  1349. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0,0,-0.2) * cfScaled(0, math.rad(3*math.cos(a/5)), rad(7.5 * math.sin(a/5))) * CFrame.Angles(rad(2.5+-rotation1*5*math.sin(a/5))+rotation1/15, -rotation2/8 + Root.RotVelocity.Y / 60 ,rad(-1*math.sin(a/10))),.25)
  1350. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(2)+rad(5 * math.cos(a/5)), rad(0), rad(0) + Root.RotVelocity.Y / 20), .2)
  1351. end
  1352. elseif speed > 1 and speed < 18 and touch ~= nil and walke == true then
  1353. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0,0,-0.2) * cfScaled(0, math.rad(3*math.cos(a/5)), rad(7.5 * math.sin(a/5))) * CFrame.Angles(rad(2.5+-rotation1*5*math.sin(a/5))+rotation1/15, -rotation2/8 + Root.RotVelocity.Y / 60 ,rad(-1*math.sin(a/10))),.25)
  1354. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.1 + 0.2*math.cos(a/10),-0.7+0.15 * math.cos(a/10)-rad(3-7*math.sin(a/10))-Root.RotVelocity.Y / 60,1+rad(1*math.cos(a/10)))*CFrame.Angles(rad(-3),rad(5*math.sin(a/10))+Root.RotVelocity.Y / 30,rad(-8)+rad(40*math.sin(a/10))),.2)
  1355. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.1 + 0.2*math.cos(a/10),-0.7-0.15 * math.cos(a/10)-rad(3+7*math.sin(a/10))+Root.RotVelocity.Y / 60,1+rad(1*math.cos(a/10)))*CFrame.Angles(rad(-3),rad(5*math.sin(a/10))+Root.RotVelocity.Y / 30,rad(8)+rad(40*math.sin(a/10))),.2)
  1356. elseif speed > 18 and touch ~= nil and walke == false then
  1357. Animation = "Run"
  1358. if attack == false then
  1359. RL.C0 = RL.C0:lerp(RHCF * cfScaled(0.1 + 0.4*math.cos(a/4),-0.8+0.45 * math.cos(a/4)-rad(3-7*math.sin(a/4))-Root.RotVelocity.Y / 60,1+rad(1*math.cos(a/4)))*CFrame.Angles(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(-1)+rad(105*math.sin(a/4))),.2)
  1360. LL.C0 = LL.C0:lerp(LHCF * cfScaled(-0.1 + 0.4*math.cos(a/4),-0.8-0.45 * math.cos(a/4)-rad(3+7*math.sin(a/4))+Root.RotVelocity.Y / 60,1+rad(1*math.cos(a/4)))*CFrame.Angles(rad(-2),rad(0)+Root.RotVelocity.Y / 30,rad(1)+rad(105*math.sin(a/4))),.2)
  1361. LA.C0 = LA.C0:lerp(cfScaled(-1.48, 0.5 + rad(-0.5*math.sin(a/4)), rad(-20*math.sin(a/4))) * CFrame.Angles(rad(80*math.sin(a/4)),rad(-35*math.sin(a/4)),rad(-10)),.2)
  1362. RA.C0 = RA.C0:lerp(cfScaled(1.48, 0.5 + rad(0.5*math.sin(a/4)), rad(20*math.sin(a/4))) * CFrame.Angles(rad(-80*math.sin(a/4)),rad(-35*math.sin(a/4)),rad(10)),.2)
  1363. RootJ.C0 = RootJ.C0:lerp(RootCF * cfScaled(0,0,-0.2) * cfScaled(0, 0.2, 0.1+rad(12 * math.cos(a/2))) * CFrame.Angles(rad(15+-rotation1*6*math.sin(a/2))+rotation1/15, -rotation2/8 + Root.RotVelocity.Y / 60 ,rad(-1*math.sin(a/4))),.25)
  1364. Torso.Neck.C0 = Torso.Neck.C0:lerp(NeckCF * CFrame.Angles(rad(-10)+rad(5 * math.cos(a/2)), rad(0), rad(0) + Root.RotVelocity.Y / 20), .2)
  1365. end
  1366. end
  1367. end
  1368. end)
  1369.  
  1370.  
  1371.  
  1372. spawn(function()
  1373. RARM.BrickColor = BrickColor.new('Really black')
  1374. LARM.BrickColor = BrickColor.new('Really black')
  1375. local s = C:FindFirstChildOfClass('Shirt')
  1376. if s then s:Destroy() end
  1377. local p = C:FindFirstChildOfClass('Pants')
  1378. if p then p:Destroy() end
  1379. local s=Instance.new("Shirt")
  1380. s.Parent=C
  1381. s.ShirtTemplate="http://www.roblox.com/asset/?id=1646772867"
  1382. local t=Instance.new("Pants")
  1383. t.Parent=C
  1384. t.PantsTemplate="http://www.roblox.com/asset/?id=376964062"
  1385. end)
  1386.  
  1387. local pumkin = Create("Part") {
  1388. Anchored = false;
  1389. CanCollide = false;
  1390. Size = Vector3.new(2, 1.2, 1);
  1391. Orientation = Vector3.new(0, -90, 0);
  1392. Color = Color3.new(0.960784, 0.803922, 0.188235);
  1393. BrickColor = BrickColor.new("Bright yellow");
  1394. Reflectance = 0.2;
  1395. Name = "Pumkin";
  1396. Parent = C;
  1397. }
  1398. local pumkinmesh = Create("SpecialMesh") {
  1399. MeshType = Enum.MeshType.FileMesh;
  1400. MeshId = "http://www.roblox.com/asset/?id=1474596";
  1401. Name = "PumkinMesh";
  1402. TextureId = "http://www.roblox.com/asset/?id=178262783";
  1403. Scale = Vector3.new(0+PlayerScale/2, 0+PlayerScale/2, 0+PlayerScale/2); -- 1, 1, 1 for size of 2
  1404. Parent = pumkin;
  1405. }
  1406.  
  1407. local pumkinweld = Create("Weld") {
  1408. Part0 = pumkin;
  1409. Part1 = Head;
  1410. Parent = pumkin;
  1411. C0 = CFrame.new(0,-0.5,0);
  1412. }
  1413.  
  1414. local cover = Create("Part") {
  1415. Anchored = false;
  1416. CanCollide = false;
  1417. Size = Vector3.new(PlayerScale*2.125, PlayerScale*1.85, PlayerScale*2.125);
  1418. Orientation = Vector3.new(0, -90, 0);
  1419. BrickColor = BrickColor.new('Really black');
  1420. Material = Enum.Material.SmoothPlastic;
  1421. Name = "Cover";
  1422. Parent = C;
  1423. }
  1424. local covermesh = Create("SpecialMesh") {
  1425. MeshType = Enum.MeshType.FileMesh;
  1426. Name = "Mesh";
  1427. MeshType = Enum.MeshType.Sphere;
  1428. Scale = Vector3.new(1, 1, 1);
  1429. Parent = cover;
  1430. }
  1431.  
  1432. local coverweld = Create("Weld") {
  1433. Part0 = cover;
  1434. Part1 = Head;
  1435. C0 = CFrame.new(0,-0.4,0);
  1436. Parent = cover;
  1437. }
  1438.  
  1439.  
  1440. H.Died:Connect(function()
  1441. FixCharacter(true)
  1442. end)
  1443.  
  1444. FixCharacter = function(includeHats)
  1445. H.Parent = nil
  1446. H.MaxHealth = 500
  1447. H.Health = H.MaxHealth
  1448. H.Parent = C
  1449. RootJ.Parent = Root
  1450. Root.Parent = C
  1451. LARM.Parent = C
  1452. RARM.Parent = C
  1453. RLEG.Parent = C
  1454. LLEG.Parent = C
  1455. Head.Parent = C
  1456. Torso.Parent = C
  1457. Neck.Parent = Torso
  1458. RA.Parent = Torso
  1459. LA.Parent = Torso
  1460. RL.Parent = Torso
  1461. LL.Parent = Torso
  1462. if includeHats == true then
  1463. cover.Parent = C
  1464. coverweld.Parent = cover
  1465. pumkin.Parent = C
  1466. pumkinweld.Parent = pumkin
  1467. end
  1468. end
  1469.  
  1470. -------- BIG MISC ----------------
  1471.  
  1472. -- Slay
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement