Advertisement
Guest User

Titan Deph

a guest
Jan 18th, 2018
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 70.47 KB | None | 0 0
  1. -- Objects
  2.  
  3. local ScreenGui = Instance.new("ScreenGui")
  4. local T = Instance.new("TextButton")
  5. local S = Instance.new("TextButton")
  6.  
  7. -- Properties
  8.  
  9. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  10.  
  11. T.Name = "T"
  12. T.Parent = ScreenGui
  13. T.BackgroundColor3 = Color3.new(0.427451, 0.4, 0.529412)
  14. T.Position = UDim2.new(0, 475, 0, 0)
  15. T.Size = UDim2.new(0, 24, 0, 29)
  16. T.Font = Enum.Font.SourceSans
  17. T.FontSize = Enum.FontSize.Size32
  18. T.Text = "T"
  19. T.TextColor3 = Color3.new(1, 0, 0)
  20. T.TextSize = 30
  21. T.MouseButton1Down:connect(function()
  22. --------------------------This is an Official script from Duelist--------------------------
  23. ---{-------------------- -------------------}---
  24. ---{-------------------- / \ -------------------}---
  25. ---{-------------------- II -------------------}---
  26. ---{-------------------- II -------------------}---
  27. ---{-------------------- II -------------------}---
  28. ---{-------------------- A========A -------------------}---
  29. ---{-------------------- II -------------------}---
  30. ---{-------------------- II -------------------}---
  31. ---{-------------------- W -------------------}---
  32. -------------------------------------------------------------------------------------------------------------
  33. -- By : Jeff223311 (original creator)
  34. -- ogm sawyerqqq
  35. -- Helped with voicelines : Caio_Murilo
  36.  
  37. p = game.Players.LocalPlayer
  38. char = p.Character
  39. local s = Instance.new("Sound",char)
  40. s.SoundId = "http://www.roblox.com/asset/?id=415880409"
  41. s.Pitch = 0.98
  42. s.Volume = 2
  43. s.Looped = false
  44. wait(0.1)
  45. s:play()
  46.  
  47. local s = Instance.new("Sound",char)
  48. s.SoundId = "http://www.roblox.com/asset/?id=679049916"
  49. s.Pitch = 1
  50. s.Volume = 5
  51. s.Looped = true
  52. wait(0.1)
  53. s:play()
  54.  
  55. local l = game.Lighting
  56. local sky = Instance.new("Sky",l)
  57. sky.CelestialBodiesShown = false
  58. sky.SkyboxBk = "http://www.roblox.com/asset/?id=0"
  59. sky.SkyboxDn = "http://www.roblox.com/asset/?id=0"
  60. sky.SkyboxFt = "http://www.roblox.com/asset/?id=0"
  61. sky.SkyboxLf = "http://www.roblox.com/asset/?id=0"
  62. sky.SkyboxRt = "http://www.roblox.com/asset/?id=0"
  63. sky.SkyboxUp = "http://www.roblox.com/asset/?id=0"
  64. sky.StarCount = 0
  65. sky.Name = "GreenSpace"
  66. -------------Aimbient--------------
  67. local l = game.Lighting
  68. local sky = Instance.new("Sky",l)
  69. l.TimeOfDay = "13:00:00"
  70. l.Brightness = 1
  71. l.Ambient = Color3.new(0, 0, 0)
  72. -----------------------------------
  73.  
  74. --coolallball
  75. if game.Players.LocalPlayer.Character.Animate.Disabled==false then
  76. game.Players.LocalPlayer.Character.Animate.Disabled=true
  77. end
  78. wait()
  79. local Player=game.Players.LocalPlayer
  80. repeat wait()
  81. until Player
  82. local Char=Player.Character
  83. repeat wait()
  84. until Char
  85. local CurrentEffects={}
  86. local CurrentDamages={}
  87. local Human=Char.Humanoid
  88. local LArm=Char["Left Arm"]
  89. local RArm=Char["Right Arm"]
  90. local LLeg=Char["Left Leg"]
  91. local RLeg=Char["Right Leg"]
  92. local Torso=Char.Torso
  93. local RS=Torso["Right Shoulder"]
  94. local LS=Torso["Left Shoulder"]
  95. local RH=Torso["Right Hip"]
  96. local LH=Torso["Left Hip"]
  97. local Head=Char.Head
  98. local Neck=Torso.Neck
  99. local RootPart=Char.HumanoidRootPart
  100. local RootJoint=RootPart.RootJoint
  101. local equipped=false
  102. local Debounce=false
  103. local Anim="Idle"
  104. local chat = game:GetService("Chat")
  105. local Mouse=Player:GetMouse()
  106. local Lighting=game.Lighting
  107. local cf=CFrame.new
  108. local v3=Vector3.new
  109. local c3=Color3.new
  110. local it=Instance.new
  111. local angles=CFrame.Angles
  112. local rad=math.rad
  113. local ran=math.random
  114. local huge=math.huge
  115. local attacking=false
  116. local attacktype=1
  117. local Portalling=false
  118. local p = game.Players.LocalPlayer
  119. local char = p.Character
  120. local mouse = p:GetMouse()
  121. local larm = char["Left Arm"]
  122. local rarm = char["Right Arm"]
  123. local lleg = char["Left Leg"]
  124. local rleg = char["Right Leg"]
  125. local hed = char.Head
  126. local torso = char.Torso
  127. local hum = char.Humanoid
  128. local cam = game.Workspace.CurrentCamera
  129. local root = char.HumanoidRootPart
  130. local deb = false
  131. local shot = 0
  132. local debris=game:service"Debris"
  133. local l = game:GetService("Lighting")
  134. local rs = game:GetService("RunService").RenderStepped
  135. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  136. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  137. LSC0=cf(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  138. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  139. RSC0=cf(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  140. ROOTC0 = cf(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  141. r=game:service'RunService'.RenderStepped
  142. clerp=function(a,b,t)
  143. return a:lerp(b,t)
  144. end
  145.  
  146.  
  147. local Rainbow = { --This is the main color set. Try to use more than just a few, make it fade in order as well
  148. "Lime green",
  149. }
  150.  
  151. Debounces = {
  152. CanAttack = true;
  153. NoIdl = false;
  154. Slashing = false;
  155. Slashed = false;
  156. RPunch = false;
  157. Invisible = false;
  158. RPunched = false;
  159. LPunch = false;
  160. LPunched = false;
  161. }
  162. local Touche = {char.Name, }
  163.  
  164.  
  165. function genWeld(a,b)
  166. local w = Instance.new("Weld",a)
  167. w.Part0 = a
  168. w.Part1 = b
  169. return w
  170. end
  171. function weld(a, b)
  172. local weld = Instance.new("Weld")
  173. weld.Name = "W"
  174. weld.Part0 = a
  175. weld.Part1 = b
  176. weld.C0 = a.CFrame:inverse() * b.CFrame
  177. weld.Parent = a
  178. return weld;
  179. end
  180. ----------------------------------------------------
  181. function Lerp(c1,c2,al)
  182. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  183. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  184. for i,v in pairs(com1) do
  185. com1[i] = v+(com2[i]-v)*al
  186. end
  187. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  188. end
  189. ----------------------------------------------------
  190. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  191. local wld = Instance.new("Weld", wp1)
  192. wld.Part0 = wp0
  193. wld.Part1 = wp1
  194. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  195. end
  196. ----------------------------------------------------
  197. function weld5(part0, part1, c0, c1)
  198. weeld=Instance.new("Weld", part0)
  199. weeld.Part0=part0
  200. weeld.Part1=part1
  201. weeld.C0=c0
  202. weeld.C1=c1
  203. return weeld
  204. end
  205. ----------------------------------------------------
  206. function HasntTouched(plrname)
  207. local ret = true
  208. for _, v in pairs(Touche) do
  209. if v == plrname then
  210. ret = false
  211. end
  212. end
  213. return ret
  214. end
  215. ----------------------------------------------------
  216. newWeld(torso, larm, -1.5, 0.5, 0)
  217. larm.Weld.C1 = CFrame.new(0, 0.5, 0)
  218. newWeld(torso, rarm, 1.5, 0.5, 0)
  219. rarm.Weld.C1 = CFrame.new(0, 0.5, 0)
  220. newWeld(torso, hed, 0, 1.5, 0)
  221. newWeld(torso, lleg, -0.5, -1, 0)
  222. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  223. newWeld(torso, rleg, 0.5, -1, 0)
  224. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  225. newWeld(root, torso, 0, -1, 0)
  226. torso.Weld.C1 = CFrame.new(0, -1, 0)
  227.  
  228.  
  229.  
  230. p = Instance.new("Part")
  231. p.BrickColor = BrickColor.new("Lime green")
  232. p.Transparency = 1
  233. TorsoColor = p.BrickColor
  234.  
  235. local Transforming = true
  236. Human.WalkSpeed = 0
  237. local fx = Instance.new("Part",Torso)
  238. wit = p.BrickColor.Color
  239. wit2 = Color3.new(0,0,0)
  240. local glowz = Instance.new("ParticleEmitter",fx)
  241. glowz.LightEmission = 1
  242. glowz.Texture = "rbxassetid://42195336"
  243. glowz.Color = ColorSequence.new(wit)
  244. glowz.Size = NumberSequence.new(5)
  245. glowz.Speed = NumberRange.new(25,50)
  246. glowz.LockedToPart = false
  247. glowz.Transparency = NumberSequence.new(0.75)
  248. glowz.RotSpeed = NumberRange.new(-2000,2000)
  249. glowz.Lifetime = NumberRange.new(1)
  250. glowz.Rate = 50000
  251. glowz.VelocitySpread = 9001
  252. local glowz2 = Instance.new("ParticleEmitter",fx)
  253. glowz2.LightEmission = 0.5
  254. glowz.Texture = "rbxassetid://42195336"
  255. glowz2.Color = ColorSequence.new(wit2)
  256. glowz2.Size = NumberSequence.new(5)
  257. glowz2.Speed = NumberRange.new(25,50)
  258. glowz2.LockedToPart = false
  259. glowz2.Transparency = NumberSequence.new(0.75)
  260. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  261. glowz2.Lifetime = NumberRange.new(1)
  262. glowz2.Rate = 50000
  263. glowz2.VelocitySpread = 9001
  264. fx.Anchored = true
  265. fx.Material = "Neon"
  266. fx.CanCollide = false
  267. fx.Locked = true
  268. fx.Transparency = 1
  269. fx.Material = "Neon"
  270. fx.Size = Vector3.new(1,1,1)
  271. fx.TopSurface = "SmoothNoOutlines"
  272. fx.BottomSurface = "SmoothNoOutlines"
  273. fx.BrickColor = BrickColor.new("Lime green")
  274. fxm = Instance.new("SpecialMesh",fx)
  275. fxm.MeshType = "Sphere"
  276. local sa2 = Instance.new("Sound",Torso)
  277. sa2.SoundId = "rbxassetid://0"
  278. sa2.Pitch = 0.5
  279. sa2.Volume = 5
  280. sa2.Looped = false
  281. sa2:Play()
  282. local value = 1
  283. fxm.Scale = Vector3.new(1,1,1)
  284. for i = 1, 20 do rs:wait()
  285. value = value - 0.05
  286. fx.Transparency = fx.Transparency - (1/20)
  287. fx.CFrame = Torso.CFrame
  288. fxm.Scale = fxm.Scale + Vector3.new(value,value,value)
  289. rs:wait()
  290. end
  291. ----------------------------------------------------
  292. GroundWave1 = function()
  293. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  294. local Colors = {"Lime green", "Lime green"}
  295. local wave = Instance.new("Part", Torso)
  296. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  297. wave.Anchored = true
  298. wave.CanCollide = false
  299. wave.Locked = true
  300. wave.Size = Vector3.new(1, 1, 1)
  301. wave.TopSurface = "Smooth"
  302. wave.BottomSurface = "Smooth"
  303. wave.Transparency = 0.35
  304. wave.CFrame = HandCF
  305. wm = Instance.new("SpecialMesh", wave)
  306. wm.MeshId = "rbxassetid://3270017"
  307. coroutine.wrap(function()
  308. for i = 1, 30, 1 do
  309. wm.Scale = Vector3.new(50, 50, 1 + i*50)
  310. wave.Size = wm.Scale
  311. wave.CFrame = HandCF
  312. wave.Transparency = i/30
  313. wait()
  314. end
  315. wait()
  316. wave:Destroy()
  317. end)()
  318. end
  319. ----------------------------------------------------
  320.  
  321.  
  322. GroundWave3 = function()
  323. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  324. local Colors = {"Lime green", "Lime green"}
  325. local wave = Instance.new("Part", torso)
  326. wave.BrickColor = BrickColor.new(Colors[math.random(1,#Colors)])
  327. wave.Anchored = true
  328. wave.CanCollide = false
  329. wave.Locked = true
  330. wave.Size = Vector3.new(1, 1, 1)
  331. wave.TopSurface = "Smooth"
  332. wave.BottomSurface = "Smooth"
  333. wave.Transparency = 0.35
  334. wave.CFrame = HandCF
  335. wm = Instance.new("SpecialMesh", wave)
  336. wm.MeshId = "rbxassetid://3270017"
  337. coroutine.wrap(function()
  338. for i = 1, 14, 1 do
  339. wm.Scale = Vector3.new(1 + i*1.1, 1 + i*1.1, 1)
  340. wave.Size = wm.Scale
  341. wave.CFrame = HandCF
  342. wave.Transparency = i/14
  343. wait()
  344. end
  345. wait()
  346. wave:Destroy()
  347. end)()
  348. end
  349.  
  350.  
  351.  
  352.  
  353.  
  354. local acos = math.acos
  355. local sqrt = math.sqrt
  356. local Vec3 = Vector3.new
  357. local fromAxisAngle = CFrame.fromAxisAngle
  358.  
  359. local function toAxisAngle(CFr)
  360. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  361. local Angle = math.acos((R00+R11+R22-1)/2)
  362. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  363. A = A == 0 and 0.00001 or A
  364. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  365. B = B == 0 and 0.00001 or B
  366. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  367. C = C == 0 and 0.00001 or C
  368. local x = (R21-R12)/sqrt(A)
  369. local y = (R02-R20)/sqrt(B)
  370. local z = (R10-R01)/sqrt(C)
  371. return Vec3(x,y,z),Angle
  372. end
  373.  
  374. local acos = math.acos
  375. local sqrt = math.sqrt
  376. local Vec3 = Vector3.new
  377. local fromAxisAngle = CFrame.fromAxisAngle
  378.  
  379. local function toAxisAngle(CFr)
  380. local X,Y,Z,R00,R01,R02,R10,R11,R12,R20,R21,R22 = CFr:components()
  381. local Angle = math.acos((R00+R11+R22-1)/2)
  382. local A = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  383. A = A == 0 and 0.00001 or A
  384. local B = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  385. B = B == 0 and 0.00001 or B
  386. local C = (R21-R12)^2+(R02-R20)^2+(R10-R01)^2
  387. C = C == 0 and 0.00001 or C
  388. local x = (R21-R12)/sqrt(A)
  389. local y = (R02-R20)/sqrt(B)
  390. local z = (R10-R01)/sqrt(C)
  391. return Vec3(x,y,z),Angle
  392. end
  393.  
  394. function ApplyTrig(Num,Func)
  395. local Min,Max = Func(0),Func(1)
  396. local i = Func(Num)
  397. return (i-Min)/(Max-Min)
  398. --[[if Func == "sin" then
  399. return (math.sin((1-Num)*math.pi)+1)/2
  400. elseif Func == "cos" then
  401. return (math.cos((1-Num)*math.pi)+1)/2
  402. end]]
  403. end
  404.  
  405. function LerpCFrame(CFrame1,CFrame2,Num)
  406. local Vec,Ang = toAxisAngle(CFrame1:inverse()*CFrame2)
  407. return CFrame1*fromAxisAngle(Vec,Ang*Num) + (CFrame2.p-CFrame1.p)*Num
  408. end
  409.  
  410.  
  411.  
  412. function Crater(Torso,Radius)
  413. Spawn(function()
  414. local Ray = Ray.new(Torso.Position,Vector3.new(0,-1,0)*10)
  415. local Ignore = {}
  416. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  417. if v.Character ~= nil then
  418. Ignore[#Ignore+1] = v.Character
  419. end
  420. end
  421. local Hit,Pos,SurfaceNorm = workspace:FindPartOnRayWithIgnoreList(Ray,Ignore)
  422. if Hit == nil then return end
  423. local Parts = {}
  424. for i = 1,360,10 do
  425. local P = Instance.new("Part",Torso.Parent)
  426. P.Anchored = true
  427. P.FormFactor = "Custom"
  428. P.BrickColor = BrickColor.new("Lime green")
  429. P.Material = "Granite"
  430. P.TopSurface = "Smooth"
  431. P.BottomSurface = "Smooth"
  432. P.Size = Vector3.new(5,10,10)*(math.random(80,100)/100)
  433. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,7,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  434. Parts[#Parts+1] = {P,P.CFrame,((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,1,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius)*CFrame.Angles(math.rad(math.random(-50,-20)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),P.Size}
  435. if math.random(0,5) == 0 then -- rubble
  436. local P = Instance.new("Part",Torso.Parent)
  437. P.Anchored = true
  438. P.FormFactor = "Custom"
  439. P.BrickColor = BrickColor.new("Lime green")
  440. P.Material = Hit.Material
  441. P.TopSurface = "Smooth"
  442. P.BottomSurface = "Smooth"
  443. P.Size = Vector3.new(5,5,5)*(math.random(80,100)/100)
  444. P.CFrame = ((CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))-Vector3.new(0,2.5,0))*CFrame.Angles(math.rad(math.random(-50,50)),math.rad(math.random(-50,50)),math.rad(math.random(-50,50)))
  445. Parts[#Parts+1] = {P,P.CFrame,(CFrame.new(Pos,Pos+SurfaceNorm)*CFrame.Angles(math.rad(90),0,0))*CFrame.Angles(0,math.rad(i),0)*CFrame.new(0,0,-Radius-8)*CFrame.Angles(math.rad(math.random(-90,90)),math.rad(math.random(-90,90)),math.rad(math.random(-90,90))),P.Size}
  446. end
  447. end
  448. for i = 0,1,0.05 do
  449. for i2,v in pairs(Parts) do
  450. v[1].CFrame = LerpCFrame(v[2],v[3],ApplyTrig(i,math.cos))
  451. end
  452. wait(0.02)
  453. end
  454. for i,v in pairs(Parts) do
  455. if v[1].Size.X > 2.1 then
  456. v[1].CFrame = v[1].CFrame+Vector3.new(0,2,0)
  457. end
  458. v[1].Anchored = false
  459. end
  460. for i = 0,1,0.05 do
  461. for i2,v in pairs(Parts) do
  462. v[1].Transparency = i
  463. if i == 1 then
  464. v[1]:Destroy()
  465. elseif i >= 0.25 then
  466. v[1].CanCollide = false
  467. end
  468. end
  469. wait(0.02)
  470. end
  471. Parts = nil
  472. end)
  473. end
  474.  
  475.  
  476.  
  477. GroundWave = function()
  478. if Transforming == true then
  479. local value = 5
  480. local value2 = 10
  481. local value3 = 20
  482. local sa2 = Instance.new("Sound",Torso)
  483. sa2.SoundId = "rbxassetid://0"
  484. sa2.Pitch = 1
  485. sa2.Volume = 10
  486. sa2.Looped = false
  487. sa2:Play()
  488. local wave = Instance.new("Part", Torso)
  489. local glowz = Instance.new("ParticleEmitter",wave)
  490. glowz.LightEmission = 1
  491. glowz.Texture = "rbxassetid://42195336"
  492. glowz.Color = ColorSequence.new(wit)
  493. glowz.Size = NumberSequence.new(30)
  494. glowz.Speed = NumberRange.new(25,100)
  495. glowz.LockedToPart = false
  496. glowz.Transparency = NumberSequence.new(0.75)
  497. glowz.RotSpeed = NumberRange.new(-2000,2000)
  498. glowz.Lifetime = NumberRange.new(1)
  499. glowz.Rate = 50000
  500. glowz.VelocitySpread = 9001
  501. local glowz2 = Instance.new("ParticleEmitter",wave)
  502. glowz2.LightEmission = 1
  503. glowz.Texture = "rbxassetid://42195336"
  504. glowz2.Color = ColorSequence.new(wit)
  505. glowz2.Size = NumberSequence.new(30)
  506. glowz2.Speed = NumberRange.new(25,100)
  507. glowz2.LockedToPart = false
  508. glowz2.Transparency = NumberSequence.new(0.75)
  509. glowz2.RotSpeed = NumberRange.new(-2000,2000)
  510. glowz2.Lifetime = NumberRange.new(1)
  511. glowz2.Rate = 50000
  512. glowz2.VelocitySpread = 9001
  513. wave.BrickColor = BrickColor.new("Lime green")
  514. wave.Anchored = true
  515. wave.CanCollide = false
  516. wave.Locked = true
  517. wave.Size = Vector3.new(1, 1, 1)
  518. wave.TopSurface = "Smooth"
  519. wave.BottomSurface = "Smooth"
  520. wave.Transparency = 0.35
  521. wave.CFrame = fx.CFrame
  522. wave.Material = "Neon"
  523. wm = Instance.new("SpecialMesh", wave)
  524. wm.MeshType = "Sphere"
  525. wm.Scale = Vector3.new(1,1,1)
  526. local wave2 = Instance.new("Part", Torso)
  527. wave2.BrickColor = TorsoColor
  528. wave2.Anchored = true
  529. wave2.CanCollide = false
  530. wave2.Locked = true
  531. wave2.Size = Vector3.new(1, 1, 1)
  532. wave2.TopSurface = "Smooth"
  533. wave2.BottomSurface = "Smooth"
  534. wave2.Transparency = 0.35
  535. wave2.CFrame = fx.CFrame
  536. wave2.Material = "Neon"
  537. wm2 = Instance.new("SpecialMesh", wave2)
  538. wm2.MeshType = "FileMesh"
  539. wm2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  540. wm2.Scale = Vector3.new(1,1,1)
  541. local wave3 = Instance.new("Part", Torso)
  542. wave3.BrickColor = BrickColor.new("Lime green")
  543. wave3.Anchored = true
  544. wave3.CanCollide = false
  545. wave3.Locked = true
  546. wave3.Size = Vector3.new(1, 1, 1)
  547. wave3.TopSurface = "Smooth"
  548. wave3.BottomSurface = "Smooth"
  549. wave3.Transparency = 0.35
  550. wave3.CFrame = fx.CFrame
  551. wave3.Material = "Neon"
  552. wm3 = Instance.new("SpecialMesh", wave3)
  553. wm3.MeshType = "FileMesh"
  554. wm3.MeshId = "http://www.roblox.com/asset/?id=3270017"
  555. wm3.Scale = Vector3.new(1,1,1)
  556. coroutine.wrap(function()
  557. for i = 1, 18, 1 do
  558. value = value - 0.5
  559. value2 = value2 - 0.75*1.5
  560. value3 = value3 - 0.475*1.5
  561. wm.Scale = wm.Scale + Vector3.new(value*3.5,value*3.5,value*3.5)
  562. wm2.Scale = wm.Scale + Vector3.new(value2*3.5,value2*3.5,0.5)
  563. wm3.Scale = wm.Scale + Vector3.new(value3*3.5,value3*3.5,0.25)
  564. --wave.Size = wm.Scale
  565. wave.CFrame = fx.CFrame
  566. wave.Transparency = i/14
  567. --wave2.Size = wm2.Scale
  568. wave2.CFrame = fx.CFrame
  569. wave2.Rotation = Vector3.new(90, 0, 0)
  570. wave2.Transparency = i/14
  571. --wave3.Size = wm3.Scale
  572. wave3.CFrame = fx.CFrame
  573. wave3.Rotation = Vector3.new(90, 0, 0)
  574. wave3.Transparency = i/14
  575. wait()
  576. glowz.Rate = 0
  577. glowz2.Rate = 0
  578. end
  579. wait()
  580. wave:Destroy()
  581. wave2:Destroy()
  582. wave3:Destroy()
  583. end)()
  584. elseif Transforming == false then
  585. wait()
  586. end
  587. end
  588.  
  589. for i = 1, 100 do rs:wait()
  590. fx.CFrame = Torso.CFrame
  591. end
  592.  
  593. spawn(function()
  594. while wait(1) do
  595. GroundWave()
  596. end
  597. end)
  598.  
  599. wait(4)
  600.  
  601. Transforming = false
  602.  
  603.  
  604.  
  605. local value2 = 1
  606. for i = 1, 20 do rs:wait()
  607. value2 = value2 - 0.05
  608. glowz.Rate = 0
  609. glowz2.Rate = 0
  610. fx.Transparency = fx.Transparency + (1/20)
  611. fx.CFrame = torso.CFrame
  612. fxm.Scale = fxm.Scale + Vector3.new(value2,value2,value2)
  613. rs:wait()
  614. end
  615. glowz:Destroy()
  616. glowz2:Destroy()
  617.  
  618. local HandCF = CFrame.new(root.Position - Vector3.new(0,3,0)) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(0))
  619. local valuer = 5
  620. local valuer2 = 10
  621. local valuer3 = 15
  622. local sa2 = Instance.new("Sound",torso)
  623. sa2.SoundId = "rbxassetid://130972023"
  624. sa2.Pitch = 1
  625. sa2.Volume = 5
  626. sa2.Looped = false
  627. sa2:Play()
  628. local sar2 = Instance.new("Sound",torso)
  629. sar2.SoundId = "rbxassetid://153274423"
  630. sar2.Pitch = 1
  631. sar2.Volume = 5
  632. sar2.Looped = false
  633. sar2:Play()
  634. local Mus = Instance.new("Sound",torso)
  635. Mus.SoundId = "rbxassetid://"
  636. Mus.Pitch = 1
  637. Mus.Volume = 6
  638. Mus.Looped = true
  639. Mus:Play()
  640. Crater(torso,67)
  641. local wave = Instance.new("Part", torso)
  642. wave.BrickColor = TorsoColor
  643. wave.Anchored = true
  644. wave.CanCollide = false
  645. wave.Locked = true
  646. wave.Size = Vector3.new(1, 1, 1)
  647. wave.TopSurface = "Smooth"
  648. wave.BottomSurface = "Smooth"
  649. wave.Transparency = 0.35
  650. wave.CFrame = HandCF
  651. wm = Instance.new("SpecialMesh", wave)
  652. wm.MeshId = "rbxassetid://3270017"
  653. local wave2 = Instance.new("Part", torso)
  654. wave2.BrickColor = BrickColor.new("Lime green")
  655. wave2.Anchored = true
  656. wave2.CanCollide = false
  657. wave2.Locked = true
  658. wave2.Size = Vector3.new(1, 1, 1)
  659. wave2.TopSurface = "Smooth"
  660. wave2.BottomSurface = "Smooth"
  661. wave2.Transparency = 0.35
  662. wave2.CFrame = HandCF
  663. wm2 = Instance.new("SpecialMesh", wave2)
  664. wm2.MeshId = "rbxassetid://3270017"
  665. local wave3 = Instance.new("Part", torso)
  666. wave3.BrickColor = TorsoColor
  667. wave3.Anchored = true
  668. wave3.CanCollide = false
  669. wave3.Locked = true
  670. wave3.Size = Vector3.new(1, 1, 1)
  671. wave3.TopSurface = "Smooth"
  672. wave3.BottomSurface = "Smooth"
  673. wave3.Transparency = 0.35
  674. wave3.CFrame = HandCF
  675. wm3 = Instance.new("SpecialMesh", wave3)
  676. wm3.MeshId = "rbxassetid://3270017"
  677. coroutine.wrap(function()
  678. for i = 1, 14, 1 do
  679. valuer = valuer - 0.35
  680. valuer2 = valuer - 0.45
  681. valuer3 = valuer3 - 0.475
  682. wm.Scale = wm.Scale + Vector3.new(valuer*2.5,valuer*2.5, 1 + i*200)
  683. wave.Size = wm.Scale
  684. wave.CFrame = HandCF
  685. wave.Transparency = i/14
  686. wm2.Scale = wm2.Scale + Vector3.new(valuer2*2.5,valuer2*2.5, 0 + i*10)
  687. wave2.Size = wm2.Scale
  688. wave2.CFrame = HandCF
  689. wave2.Transparency = i/14
  690. wm3.Scale = wm3.Scale + Vector3.new(valuer3*2.5,valuer3*2.5, 1)
  691. wave3.Size = wm2.Scale
  692. wave3.CFrame = HandCF
  693. wave3.Transparency = i/14
  694. wait()
  695. end
  696. wait()
  697. wave:Destroy()
  698. wave2:Destroy()
  699. end)()
  700. hum.WalkSpeed = 50
  701.  
  702.  
  703.  
  704. local p = game.Players.LocalPlayer
  705. local HBill = Instance.new("BillboardGui",game.Players.LocalPlayer.Character.Head)
  706. local HMain, HBarBack, HBar = Instance.new("Frame", HBill), Instance.new("Frame"), Instance.new("Frame")
  707. local HHealth, HName = Instance.new("TextLabel", HBarBack), Instance.new("TextLabel")
  708. HBill.Size = UDim2.new(45,0,10.2,0)
  709. HBill.Name = "Health Display"
  710. HBill.StudsOffset = Vector3.new(2,30,2)
  711. HBill.AlwaysOnTop = true
  712. HBill.Enabled = true
  713. HMain.BackgroundColor3 = Color3.new(255, 255, 255)
  714. HMain.BackgroundTransparency = 1
  715. HMain.Size = UDim2.new(1,0,1,0)
  716. HBarBack.Parent = HMain
  717. HBarBack.BackgroundColor3 = Color3.new(0,0,0)
  718. HBarBack.BorderColor3 = Color3.new(0,0,0)
  719. HBarBack.BorderSizePixel = 2
  720. HBarBack.Position = UDim2.new(.025, 0, .55, 0)
  721. HBarBack.Size = UDim2.new(.95, 0, .3, 0)
  722. HBar.Parent = HBarBack
  723. HBar.BackgroundColor3 = Color3.new(0, 0, 0)
  724. HBar.BorderColor3 = Color3.new(0,0,0)
  725. HBar.Size = UDim2.new(.5,0,1,0)
  726. HHealth.BackgroundTransparency = 1
  727. HHealth.Size = UDim2.new(1,0,1,0)
  728. HHealth.Font = "Bodoni"
  729. HHealth.Text = " "
  730. HHealth.TextScaled = true
  731. HHealth.TextColor3 = Color3.new(1,1,1)
  732. HHealth.TextStrokeColor3 = BrickColor.new("Lime green").Color
  733. HHealth.TextStrokeTransparency = 0
  734. HName.Parent = HMain
  735. HName.BackgroundTransparency = 1
  736. HName.Size = UDim2.new(1,0,.5,0)
  737. HName.Font = "Bodoni"
  738. HName.Text = "The Deeps"
  739. HName.TextScaled = true
  740. HName.TextColor3 = BrickColor.new("Lime green").Color
  741. HName.TextStrokeColor3 = Color3.new(255,0,0)
  742. HName.TextStrokeTransparency = 0
  743. HName.TextYAlignment = "Top"
  744.  
  745. local char = p.Character
  746. local mouse = p:GetMouse()
  747. local larm = char["Left Arm"]
  748. local rarm = char["Right Arm"]
  749. local lleg = char["Left Leg"]
  750. local rleg = char["Right Leg"]
  751. local hed = char.Head
  752. local torso = char.Torso
  753. local hum = char.Humanoid
  754. local cam = game.Workspace.CurrentCamera
  755. local root = char.HumanoidRootPart
  756. local deb = false
  757. local shot = 0
  758. local l = game:GetService("Lighting")
  759. local rs = game:GetService("RunService").RenderStepped
  760. local stanceToggle = "Normal"
  761. hum.WalkSpeed = 39
  762. hum.MaxHealth = math.huge
  763. ----------------------------------------------------
  764. hed.face:Remove''
  765. hed.Transparency = 0
  766. local torsmesh = Instance.new("CharacterMesh", char)
  767. torsmesh.BodyPart = "Torso"
  768. torsmesh.MeshId = "48112070"
  769.  
  770. local meshx9 = Instance.new('SpecialMesh',hed)
  771. meshx9.MeshType = 'FileMesh'
  772. meshx9.MeshId = 'http://www.roblox.com/asset/?id=16150814'
  773. meshx9.TextureId = 'http://www.roblox.com/asset/?id=1338433023'
  774. meshx9.Scale = Vector3.new(11,11,11)
  775.  
  776.  
  777. lite = Instance.new("PointLight", torso)
  778. lite.Brightness = 14
  779. lite.Range = 10
  780. lite.Color = Color3.new(0, 0, 0)
  781. local hed2 = hed:Clone()
  782. hed2.CanCollide = false
  783. hed2.Parent = char
  784. hed2:ClearAllChildren()
  785. hed2.Transparency = 1
  786. hed2.Name = "DARP"
  787. local w = Instance.new("Weld",hed2)
  788. w.Part0 = hed
  789. w.Part1 = hed2
  790. w.C0 = CFrame.new(0,0,-0.175)
  791. z=Instance.new("SurfaceGui",hed2)
  792. z.Enabled = true
  793. z.Face = "Front"
  794. z.Adornee = hed2
  795. z.CanvasSize = Vector2.new(100,100)
  796. local face = Instance.new("ImageLabel",z)
  797. face.Size = UDim2.new(1,-30,1,0)
  798. face.Position = UDim2.new(0,15,0,0)
  799. face.BackgroundTransparency = 1
  800. face.Image='rbxassetid://42195336'
  801. ----------------------------------------------------
  802. z = Instance.new("Sound", char)
  803. z.SoundId = "rbxassetid://"--
  804. z.Looped = true
  805. z.Pitch = 1
  806. z.Volume = .5
  807. wait(.01)
  808. z:Play()
  809. ----------------------------------------------------
  810. CTB = {}
  811. fat = Instance.new("BindableEvent",script)
  812. fat.Name = "Heartbeat"
  813.  
  814. script:WaitForChild("Heartbeat")
  815.  
  816. frame = 1/30
  817. tf = 0
  818. allowframeloss = false --if set to true will fire every frame it possibly can. This will result in multiple events happening at the same time whenever delta returns frame*2 or greater.
  819. tossremainder = false --if set to true t will be set to 0 after Fire()-ing.
  820. lastframe = tick()
  821. script.Heartbeat:Fire() --ayy lmao
  822.  
  823. game:GetService("RunService").Heartbeat:connect(function(s,p) --herp derp
  824. tf = tf + s
  825. if tf >= frame then
  826. if allowframeloss then
  827. script.Heartbeat:Fire()
  828. lastframe=tick()
  829. else
  830. --print("FIRED "..math.floor(t/frame).." FRAME(S)","REMAINDER "..(t - frame*(math.floor(t/frame))))
  831. for i=1, math.floor(tf/frame) do
  832. script.Heartbeat:Fire()
  833. end
  834. lastframe=tick()
  835. end
  836. if tossremainder then
  837. tf = 0
  838. else
  839. tf = tf - frame * math.floor(tf/frame)
  840. end
  841. end
  842. end)
  843. ----------------------------------------------------
  844. pcall(function()char.Shirt:Destroy()
  845. char.Pants:Destroy()
  846. end)
  847. shirt = Instance.new("Shirt", char)
  848. shirt.Name = "Shirt"
  849. pants = Instance.new("Pants", char)
  850. pants.Name = "Pants"
  851. char.Shirt.ShirtTemplate = "rbxassetid://1338445065"
  852. char.Pants.PantsTemplate = "rbxassetid://1338445405"
  853. ----------------------------------------------------
  854. Debounces = {
  855. on = false;
  856. ks = false;
  857. CanAttack = true;
  858. CanJoke = true;
  859. NoIdl = false;
  860. Slashing = false;
  861. Slashed = false;
  862. Grabbing = false;
  863. Grabbed = false;
  864. }
  865. local Touche = {char.Name, }
  866. ----------------------------------------------------
  867. function lerp(a, b, t) -- Linear interpolation
  868. return a + (b - a)*t
  869. end
  870.  
  871. function slerp(a, b, t) --Spherical interpolation
  872. dot = a:Dot(b)
  873. if dot > 0.99999 or dot < -0.99999 then
  874. return t <= 0.5 and a or b
  875. else
  876. r = math.acos(dot)
  877. return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r)
  878. end
  879. end
  880.  
  881. function matrixInterpolate(a, b, t)
  882. local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components()
  883. local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components()
  884. local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position
  885. local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right
  886. local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up
  887. local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back
  888. local t = v1:Dot(v2)
  889. if not (t < 0 or t == 0 or t > 0) then -- Failsafe
  890. return CFrame.new()
  891. end
  892. return CFrame.new(
  893. v0.x, v0.y, v0.z,
  894. v1.x, v1.y, v1.z,
  895. v2.x, v2.y, v2.z,
  896. v3.x, v3.y, v3.z)
  897. end
  898. ----------------------------------------------------
  899. function genWeld(a,b)
  900. local w = Instance.new("Weld",a)
  901. w.Part0 = a
  902. w.Part1 = b
  903. return w
  904. end
  905. function weld(a, b)
  906. local weld = Instance.new("Weld")
  907. weld.Name = "W"
  908. weld.Part0 = a
  909. weld.Part1 = b
  910. weld.C0 = a.CFrame:inverse() * b.CFrame
  911. weld.Parent = a
  912. return weld;
  913. end
  914. ----------------------------------------------------
  915. function Lerp(c1,c2,al)
  916. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  917. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  918. for i,v in pairs(com1) do
  919. com1[i] = v+(com2[i]-v)*al
  920. end
  921. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  922. end
  923. ----------------------------------------------------
  924. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  925. local wld = Instance.new("Weld", wp1)
  926. wld.Part0 = wp0
  927. wld.Part1 = wp1
  928. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  929. end
  930. ----------------------------------------------------
  931. for i,v in pairs(char:children()) do
  932. if v:IsA("Hat") then
  933. v:Destroy()
  934. end
  935. end
  936. for i,v in pairs(hed:children()) do
  937. if v:IsA("Sound") then
  938. v:Destroy()
  939. end
  940. end
  941. ----------------------------------------------------
  942. function HasntTouched(plrname)
  943. local ret = true
  944. for _, v in pairs(Touche) do
  945. if v == plrname then
  946. ret = false
  947. end
  948. end
  949. return ret
  950. end
  951. ----------------------------------------------------
  952. larm.Size = larm.Size * 10
  953. rarm.Size = rarm.Size * 10
  954. lleg.Size = lleg.Size * 10
  955. rleg.Size = rleg.Size * 10
  956. torso.Size = torso.Size * 10
  957. hed.Size = hed.Size * 10
  958. root.Size = root.Size * 10
  959. ----------------------------------------------------
  960. newWeld(torso, larm, 5, 0.5, 0)
  961. larm.Weld.C1 = CFrame.new(20, 0.5, 0)
  962. newWeld(torso, rarm, -5, 0.5, 0)
  963. rarm.Weld.C1 = CFrame.new(-20, 0.5, 0)
  964. newWeld(torso, hed, 0, 15, 0)
  965. newWeld(torso, lleg, -5, -19, 0)
  966. lleg.Weld.C1 = CFrame.new(0, 1, 0)
  967. newWeld(torso, rleg, 5, -19, 0)
  968. rleg.Weld.C1 = CFrame.new(0, 1, 0)
  969. newWeld(root, torso, 0, -1, 0)
  970. torso.Weld.C1 = CFrame.new(0, -1, 0)
  971. ----------------------------------------------------
  972. mod4 = Instance.new("Model",char)
  973.  
  974. ptez = {0.7, 0.8, 0.9, 1}
  975.  
  976. function FindNearestTorso(Position,Distance,SinglePlayer)
  977. if SinglePlayer then return(SinglePlayer.Torso.CFrame.p -Position).magnitude < Distance end
  978. local List = {}
  979. for i,v in pairs(workspace:GetChildren())do
  980. if v:IsA("Model")then
  981. if v:findFirstChild("Torso")then
  982. if v ~= char then
  983. if(v.Torso.Position -Position).magnitude <= Distance then
  984. table.insert(List,v)
  985. end
  986. end
  987. end
  988. end
  989. end
  990. return List
  991. end
  992. ----------------------------------------------------
  993. local hand = Instance.new('Part', char) hand.Size = Vector3.new(0, 0, 0) hand.Transparency = 1 hand.CanCollide = false
  994. local weld = Instance.new('Weld', hand) weld.Part0 = hand weld.Part1 = larm weld.C0 = CFrame.new(0, 8.8, 0)
  995. ns = NumberSequenceKeypoint.new
  996. local hat_test = hand
  997. fire = Instance.new('ParticleEmitter', hat_test)
  998. fire.Color = ColorSequence.new(Color3.new(255, 0, 0,Color3.new(255, 0, 0)))
  999. fire.Size = NumberSequence.new({ns(0, 10), ns(1, 0)})
  1000. fire.Transparency = NumberSequence.new({ns(0, 0), ns(1,1)})
  1001. fire.LightEmission = 1
  1002. fire.Speed = NumberRange.new(5,5)
  1003. fire.VelocitySpread=200
  1004. fire.LockedToPart = true
  1005. fire.Acceleration = Vector3.new(0, 2, 0)
  1006. fire.Rate=100
  1007. fire.Lifetime=NumberRange.new(5,5)
  1008. fire.Texture = "rbxassetid://42195336"
  1009. local handd = Instance.new('Part', char) handd.Size = Vector3.new(0, 0, 0) handd.Transparency = 1 handd.CanCollide = false
  1010. local weldd = Instance.new('Weld', handd) weldd.Part0 = handd weldd.Part1 = rarm weldd.C0 = CFrame.new(0, 8.8, 0)
  1011. ns = NumberSequenceKeypoint.new
  1012. local hat_testt = handd
  1013. firee = Instance.new('ParticleEmitter', hat_testt)
  1014. firee.Color = ColorSequence.new(Color3.new(255, 0, 0,Color3.new(255, 0, 0)))
  1015. firee.Size = NumberSequence.new({ns(0, 10), ns(1, 0)})
  1016. firee.Transparency = NumberSequence.new({ns(0, 0), ns(1,1)})
  1017. firee.LightEmission = 1
  1018. firee.Speed = NumberRange.new(5,5)
  1019. firee.VelocitySpread=180
  1020. firee.LockedToPart=true
  1021. firee.Acceleration = Vector3.new(0, 2, 0)
  1022. firee.Rate=500
  1023. firee.Lifetime=NumberRange.new(5,5)
  1024. firee.Texture = "rbxasset://textures/particles/smoke_main.dds"
  1025. ----------------------------------------------------
  1026. ----------------------------------------------------
  1027. sidz = {"231917888", "231917845", "231917806"}
  1028. ptz = {0.65, 0.7, 0.75, 0.8, 0.95, 1}
  1029. mod3 = Instance.new("Model", char)
  1030. mouse.KeyDown:connect(function(key)
  1031.  
  1032. if key == "h" and Debounces.CanAttack == true then
  1033. Debounces.CanAttack = false
  1034. Debounces.on = true
  1035. Debounces.NoIdl = true
  1036. for i = 1, 20 do
  1037. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2)
  1038. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10)), 0.2)
  1039. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, -.2) * CFrame.Angles(math.rad(-30), math.rad(0), 0), 0.3)
  1040. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3)
  1041. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -12, -3) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.3)
  1042. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.3)
  1043. if Debounces.on == false then
  1044. break
  1045. end
  1046. fat.Event:wait()
  1047. end
  1048. do
  1049. z = Instance.new("Sound", char)
  1050. z.SoundId = "rbxassetid://" .. sidz[math.random(1, #sidz)]
  1051. z.Pitch = ptz[math.random(1, #ptz)]
  1052. z.Volume = 10
  1053. z1 = Instance.new("Sound", char)
  1054. z1.SoundId = z.SoundId
  1055. z1.Pitch = z.Pitch
  1056. z1.Volume = 1
  1057. z:Play()
  1058. z1:Play()
  1059. part = Instance.new("Part", mod3)
  1060. part.Anchored = true
  1061. part.CanCollide = false
  1062. part.FormFactor = "Custom"
  1063. part.Size = Vector3.new(0.2, 0.2, 0.2)
  1064. part.CFrame = root.CFrame * CFrame.new(-6, -22, -2.6) * CFrame.Angles(math.rad(90), 0, 0)
  1065. part.Transparency = 0.7
  1066. part.BrickColor = BrickColor.new("Really red")
  1067. mesh = Instance.new("SpecialMesh", part)
  1068. mesh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1069. mesh.Scale = Vector3.new(70, 70, 25)
  1070. part2 = part:clone()
  1071. part2.Parent = mod3
  1072. part2.BrickColor = BrickColor.new("Lime green")
  1073. mesh2 = mesh:clone()
  1074. mesh2.Parent = part2
  1075. mesh2.Scale = Vector3.new(60, 60, 15)
  1076. part4 = part:clone()
  1077. part4.Parent = mod3
  1078. part4.BrickColor = BrickColor.new("Lime green")
  1079. mesh4 = mesh:clone()
  1080. mesh4.Parent = part4
  1081. mesh4.Scale = Vector3.new(300, 300, 50)
  1082. part5 = part:clone()
  1083. part5.Parent = mod3
  1084. part5.BrickColor = BrickColor.new("Lime green")
  1085. mesh5 = mesh:clone()
  1086. mesh5.Parent = part5
  1087. mesh5.Scale = Vector3.new(130, 130, 15)
  1088. part3 = part:clone()
  1089. part3.Parent = mod3
  1090. part3.TopSurface = 0
  1091. part3.BottomSurface = 0
  1092. part3.CFrame = root.CFrame * CFrame.new(-6, -22, -2.6)
  1093. mesh3 = Instance.new("SpecialMesh", part3)
  1094. mesh3.MeshType = 3
  1095. mesh3.Scale = Vector3.new(45, 45, 45)
  1096. for i,v in pairs(FindNearestTorso(torso.CFrame.p, 268)) do
  1097. if v:FindFirstChild("Humanoid") then
  1098. v.Humanoid:TakeDamage(math.random(20, 60))
  1099. v.Humanoid.PlatformStand = true
  1100. v.Torso.Velocity = Vector3.new(math.random(-100, 100), 100, math.random(-100, -100))
  1101. end
  1102. end
  1103. coroutine.resume(coroutine.create(function()
  1104.  
  1105. for i = 1, 30 do
  1106. fat.Event:wait()
  1107. part.CFrame = part.CFrame
  1108. part.Transparency = i / 20
  1109. mesh.Scale = mesh.Scale + Vector3.new(8.8, 8.8, 8.8)
  1110. part2.CFrame = part2.CFrame
  1111. part2.Transparency = i / 30
  1112. mesh2.Scale = mesh2.Scale + Vector3.new(7, 7, 7)
  1113. part3.CFrame = part3.CFrame
  1114. part3.Transparency = i / 10
  1115. mesh3.Scale = mesh3.Scale + Vector3.new(10, 10, 10)
  1116. part4.CFrame = part4.CFrame
  1117. part4.Transparency = i / 25
  1118. mesh4.Scale = mesh4.Scale - Vector3.new(10, 10, -5)
  1119. part5.CFrame = part5.CFrame
  1120. part5.Transparency = i / 30
  1121. mesh5.Scale = mesh5.Scale + Vector3.new(30, 30, 0)
  1122. end
  1123. end
  1124. ))
  1125. for i = 1, 20 do
  1126. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2)
  1127. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20)), 0.2)
  1128. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, -.2) * CFrame.Angles(math.rad(20), math.rad(0), 0), 0.3)
  1129. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, -.1) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.3)
  1130. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18, -3) * CFrame.Angles(math.rad(0), 0, math.rad(0)), 0.3)
  1131. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(0)), 0.3)
  1132.  
  1133. if Debounces.on == false then
  1134. break
  1135. end
  1136. fat.Event:wait()
  1137. end
  1138. do
  1139. if Debounces.CanAttack == false then
  1140. Debounces.CanAttack = true
  1141. Debounces.on = false
  1142. Debounces.NoIdl = false
  1143. larm.BrickColor = BrickColor.new("Lime green")
  1144. rarm.BrickColor = BrickColor.new("Lime green")
  1145. end
  1146. end
  1147. end
  1148. end
  1149. end
  1150. )
  1151. mouse.KeyDown:connect(function(key)
  1152. if string.byte(key) == 52 then
  1153. char.Humanoid.WalkSpeed = 21
  1154. end
  1155. end)
  1156. mouse.KeyUp:connect(function(key)
  1157. if string.byte(key) == 52 then
  1158. char.Humanoid.WalkSpeed = 5
  1159. end
  1160. end)
  1161. ----------------------------------------------------
  1162. mouse.KeyDown:connect(function(key)
  1163. if key == "y" then
  1164. if Debounces.CanAttack == true then
  1165. Debounces.CanAttack = false
  1166. Debounces.on = true
  1167. Debounces.NoIdl = true
  1168. for i = 1, 15 do
  1169. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(30)), 0.2)
  1170. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-18,-10,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-87)), 0.6)
  1171. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,16,0)*CFrame.Angles(math.rad(-14),math.rad(90),0), 0.2)
  1172. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-90), 0), 0.4)
  1173. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2)
  1174. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -13, -3) * CFrame.Angles(0, 0, math.rad(10)), 0.2)
  1175. if Debounces.on == false then break end
  1176. rs:wait(2.7)
  1177. end
  1178. x = Instance.new("Sound",char)
  1179. x.SoundId = "rbxassetid://228343271"
  1180. x.Pitch = .5
  1181. x.Volume = 10
  1182. wait(.1)
  1183. x:Play()
  1184. Debounces.on = false
  1185. Debounces.Here = false
  1186. shot = shot + 1
  1187. local rng = Instance.new("Part", larm)
  1188. rng.Anchored = true
  1189. rng.BrickColor = BrickColor.new("Lime green")
  1190. rng.CanCollide = false
  1191. rng.FormFactor = 3
  1192. rng.Name = "Ring"
  1193. rng.Size = Vector3.new(1, 1, 1)
  1194. rng.Transparency = 0.35
  1195. rng.TopSurface = 0
  1196. rng.BottomSurface = 0
  1197. rng2 = rng:clone()
  1198. rng3 = rng2:clone()
  1199. rng4 = rng2:clone()
  1200. local rngm = Instance.new("SpecialMesh", rng)
  1201. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1202. rngm.Scale = Vector3.new(10, 10, 1)
  1203. rngm2 = rngm:clone()
  1204. rngm2.Scale = Vector3.new(5, 5, 3)
  1205. rngm3=rngm2:clone()
  1206. rngm3.Parent = rng3
  1207. rngm3.Scale = Vector3.new(8, 8, 1)
  1208. rngm4 = rngm2:clone()
  1209. rngm4.Parent = rng4
  1210. rngm4.Scale = Vector3.new(6, 6, 1)
  1211. local bem = Instance.new("Part", larm)
  1212. bem.Anchored = true
  1213. bem.BrickColor = BrickColor.new("Lime green")
  1214. bem.CanCollide = false
  1215. bem.FormFactor = 3
  1216. bem.Name = "Beam" .. shot
  1217. bem.Size = Vector3.new(1, 1, 1)
  1218. bem.Transparency = 0.35
  1219. bem.TopSurface = 0
  1220. bem.BottomSurface = 0
  1221. local bemm = Instance.new("SpecialMesh", bem)
  1222. bemm.MeshType = 4
  1223. bemm.Scale = Vector3.new(1, 10, 10)
  1224. local out = Instance.new("Part", larm)
  1225. out.Anchored = true
  1226. out.BrickColor = BrickColor.new("Lime green")
  1227. out.CanCollide = false
  1228. out.FormFactor = 3
  1229. out.Name = "Out"
  1230. out.Size = Vector3.new(4, 4, 4)
  1231. out.Transparency = 0.35
  1232. out.TopSurface = 0
  1233. out.BottomSurface = 0
  1234. local outm = Instance.new("SpecialMesh", out)
  1235. outm.MeshId = "http://www.roblox.com/asset/?id=1033714"
  1236. outm.Scale = Vector3.new(60, 4, 60)
  1237. local bnd = Instance.new("Part", larm)
  1238. bnd.Anchored = true
  1239. bnd.BrickColor = BrickColor.new("Lime green")
  1240. bnd.CanCollide = false
  1241. bnd.FormFactor = 3
  1242. bnd.Name = "Bend"
  1243. bnd.Size = Vector3.new(1, 1, 1)
  1244. bnd.Transparency = 1
  1245. bnd.TopSurface = 0
  1246. bnd.BottomSurface = 0
  1247. local bndm = Instance.new("SpecialMesh", bnd)
  1248. bndm.MeshType = 3
  1249. bndm.Scale = Vector3.new(8, 8, 8)
  1250. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1251. bem.CFrame = out.CFrame * CFrame.new(0, -2.5, 0) * CFrame.Angles(0, 0, math.rad(90))
  1252. bnd.CFrame = bem.CFrame * CFrame.new(0, 0, 0)
  1253. rng.CFrame = out.CFrame * CFrame.Angles(math.rad(90), 0, 0)
  1254. rng3.CFrame = rng.CFrame * CFrame.new(0, -.5, 0)
  1255. rng4.CFrame = rng.CFrame * CFrame.new(0, -1, 0)
  1256. Debounces.Shewt = true
  1257. coroutine.wrap(function()
  1258. for i = 1, 20, 0.2 do
  1259. rngm.Scale = Vector3.new(10 + i*10, 10 + i*10, 1)
  1260. rngm3.Scale = Vector3.new(8 + i*12, 8 + i*12, 1)
  1261. rngm4.Scale = Vector3.new(6 + i*13, 6 + i*13, 1)
  1262. rng.Transparency = i/20
  1263. rng3.Transparency = 1/24
  1264. rng4.Transparency = i/26
  1265. wait()
  1266. end
  1267. wait()
  1268. rng:Destroy()
  1269. end)()
  1270. if Debounces.Shewt == true then
  1271. for i,v in pairs(FindNearestTorso(bem.CFrame.p, 50)) do
  1272. if v:FindFirstChild("Humanoid") then
  1273. v.Humanoid:TakeDamage(math.random(1, 5))
  1274. end
  1275. end
  1276. larm:WaitForChild("Beam" .. shot).Touched:connect(function(ht)
  1277. hit = ht.Parent
  1278. if hit:IsA("Model") and hit:findFirstChild("Humanoid") then
  1279. if HasntTouched(hit.Name) == true and deb == false then
  1280. deb = true
  1281. coroutine.wrap(function()
  1282. hit:FindFirstChild("Humanoid").PlatformStand = true
  1283. hit:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1284. hit:FindFirstChild("Humanoid"):TakeDamage(math.random(24,73))
  1285. end)()
  1286. table.insert(Touche, hit.Name)
  1287. deb = false
  1288. end
  1289. elseif hit:IsA("Hat") and hit.Parent:findFirstChild("Humanoid") then
  1290. if HasntTouched(hit.Parent.Name) == true and deb == false then
  1291. deb = true
  1292. coroutine.wrap(function()
  1293. hit.Parent:FindFirstChild("Humanoid").PlatformStand = true
  1294. hit.Parent:FindFirstChild("Torso").Velocity = char.Head.CFrame.lookVector * 180
  1295. wait(1)
  1296. hit.Parent:FindFirstChild("Humanoid").PlatformStand = false
  1297. end)()
  1298. table.insert(Touche, hit.Parent.Name)
  1299. deb = false
  1300. for i, v in pairs(Touche) do
  1301. print(v)
  1302. end
  1303. end
  1304. end
  1305. end)
  1306. end
  1307. for i = 0, 260, 8 do
  1308. bem.Size = Vector3.new(i, 10, 10)
  1309. bem.Transparency = i/270
  1310. out.CFrame = larm.CFrame * CFrame.new(0, -2.7, 0)
  1311. outm.Scale = outm.Scale - Vector3.new(0.045, 0, 0.045)
  1312. out.Transparency = i/280
  1313. bem.CFrame = larm.CFrame * CFrame.new(0, -4.2 -(i/2), 0) * CFrame.Angles(0, 0, math.rad(90))
  1314. bnd.CFrame = bem.CFrame * CFrame.new(-i/2, 0, 1.2)
  1315. bnd.Size = Vector3.new(1,1,1)
  1316. bndm.Scale = Vector3.new(8,8,8)
  1317. if i % 10 == 0 then
  1318. local newRng = rng2:Clone()
  1319. newRng.Parent = larm
  1320. newRng.CFrame = larm.CFrame * CFrame.new(0, -4.2-i, 0) * CFrame.Angles(math.rad(90), 0, 0)
  1321. local newRngm = rngm2:clone()
  1322. newRngm.Parent=newRng
  1323. coroutine.wrap(function()
  1324. for i = 1, 30, 0.2 do
  1325. newRngm.Scale = Vector3.new(8 + i*16, 8 + i*16, 3)
  1326. newRng.Transparency = i/30
  1327. wait()
  1328. end
  1329. wait()
  1330. newRng:Destroy()
  1331. end)()
  1332. end
  1333. wait()
  1334. end
  1335. wait()
  1336. Debounces.Shewt = false
  1337. bem:Destroy()
  1338. out:Destroy()
  1339. bnd:Destroy()
  1340. Debounces.Ready = false
  1341. for i, v in pairs(Touche) do
  1342. table.remove(Touche, i)
  1343. end
  1344. wait()
  1345. table.insert(Touche, char.Name)
  1346. Debounces.NoIdl = false
  1347. if Debounces.CanAttack == false then
  1348. Debounces.CanAttack = true
  1349. end
  1350. end
  1351. end
  1352. end)
  1353. ----------------------------------------------------
  1354. local animpose = "Idle"
  1355. local lastanimpose = "Idle"
  1356. local sine = 0
  1357. local change = 1
  1358. local val = 0
  1359. local ffing = false
  1360. ----------------------------------------------------
  1361. --[[x = Instance.new("Sound", char)
  1362. x.SoundId = "http://www.roblox.com/asset/?id=187922823"
  1363. x.Looped = true
  1364. x.Volume = 1
  1365. x.Pitch = 1
  1366. local footsteps = false]]--
  1367. -------------------------------
  1368. game:GetService("RunService").RenderStepped:connect(function()
  1369. --[[if char.Humanoid.Jump == true then
  1370. jump = true
  1371. else
  1372. jump = false
  1373. end]]
  1374. char.Humanoid.FreeFalling:connect(function(f)
  1375. if f then
  1376. ffing = true
  1377. else
  1378. ffing = false
  1379. end
  1380. end)
  1381. sine = sine + change
  1382. if jumpn == true then
  1383. animpose = "Jumping"
  1384. elseif ffing == true then
  1385. animpose = "Freefalling"
  1386. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then
  1387. animpose = "Idle"
  1388. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then
  1389. animpose = "Walking"
  1390. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then
  1391. animpose = "Running"
  1392. end
  1393. if animpose ~= lastanimpose then
  1394. sine = 0
  1395. if Debounces.NoIdl == false then
  1396. if stanceToggle == "Normal" then
  1397. for i = 1, 2 do
  1398. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(40)), 0.2)
  1399. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65,0)*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(-20)), 0.2)
  1400. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14),math.rad(50),0), 0.2)
  1401. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(-50), 0), 0.2)
  1402. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(10), math.rad(30), math.rad(-20)), 0.2)
  1403. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0, -1.2, -0.5) * CFrame.Angles(math.rad(0), math.rad(-15), math.rad(20)), 0.2)
  1404. end
  1405. elseif stanceToggle == "Floating" then
  1406. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  1407. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  1408. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1409. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1410. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1411. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1412. wait()
  1413. end
  1414. else
  1415. end
  1416. end
  1417. lastanimpose = animpose
  1418. if Debounces.NoIdl == false then
  1419. if animpose == "Idle" then
  1420. if stanceToggle == "Normal" then
  1421. change = 0.5
  1422. --[[
  1423. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-3,0,0)*CFrame.Angles(math.rad(88+2*math.cos(sine/14)),math.rad(0),math.rad(0)), 0.2)
  1424. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-3,0+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(50),math.rad(-30),math.rad(-40-2*math.cos(sine/14))), 0.2)
  1425. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,15,0)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(40),0), 0.2)
  1426. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1.2, 0) * CFrame.Angles(0, math.rad(-40), 0), 0.2)
  1427. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1428. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1429. --cor.Weld.C0 = Lerp(cor.Weld.C0, CFrame.new(0, -1, -1.1) * CFrame.Angles(math.rad(-90), math.rad(-110), math.rad(-70)), 1)
  1430. ]]--
  1431.  
  1432. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4, -0.1 - 0.1 * math.sin(sine / 10), 0 - 0.01 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 3 * math.sin(sine / 10)), math.rad(-3 - 2 * math.cos(sine / 10)), math.rad(13 + 3 * math.cos(sine / 10))), 0.4)
  1433. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4, -0.1 - 0.1 * math.sin(sine / 10), 0 - 0.01 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 3 * math.sin(sine / 10)), math.rad(3 + 2 * math.cos(sine / 10)), math.rad(-13 - 3 * math.cos(sine / 10))), 0.4)
  1434. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1435. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  1436. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 15 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  1437. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  1438. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -18 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  1439. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -12 - 0.1 * math.sin(sine / 10), -3) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  1440. elseif stanceToggle == "Melee" then
  1441. change = 0.5
  1442. --[[
  1443. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20+2*math.cos(sine/14))), 0.2)
  1444. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.65+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-20-2*math.cos(sine/14))), 0.2)
  1445. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1446. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2)
  1447. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-10)), 0.2)
  1448. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(10)), 0.2)
  1449. ]]--
  1450. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.57 - 0.1 * math.sin(sine / 10), 0 - 0.05 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-3 + 2 * math.sin(sine / 10)), math.rad(-15 - 10 * math.cos(sine / 10)), math.rad(13 + 6 * math.cos(sine / 10))), 0.4)
  1451. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.57 - 0.1 * math.sin(sine / 10), 0 - 0.05 * math.sin(sine / 10)) * CFrame.Angles(math.rad(-4 - 2 * math.sin(sine / 10)), math.rad(15 + 10 * math.cos(sine / 10)), math.rad(-13 - 6 * math.cos(sine / 10))), 0.4)
  1452. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -0.2) * CFrame.Angles(math.rad(0), math.rad(0), 0), 0.4)
  1453. hed.Weld.C1 = Lerp(hed.Weld.C1, CFrame.new(0, 0, 0.1 - 0.05 * math.cos(sine / 10)) * CFrame.Angles(math.rad(14 - 5 * math.cos(sine / 10)), math.rad(20), 0), 0.4)
  1454. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 6 - 0.16 * math.cos(sine / 10), 0) * CFrame.Angles(0, math.rad(20), math.rad(0)), 0.05)
  1455. torso.Weld.C1 = Lerp(torso.Weld.C1, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(10 + 3 * math.cos(sine / 10)), math.rad(0), math.rad(0)), 0.05)
  1456. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1.05 - 0.05 * math.sin(sine / 10), 0) * CFrame.Angles(math.rad(-12 + 5 * math.sin(sine / 10)), math.rad(20 + 6 * math.sin(sine / 10)), math.rad(-12 - 2 * math.sin(sine / 10))), 0.4)
  1457. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, 3 - 0.1 * math.sin(sine / 10), -3) * CFrame.Angles(math.rad(-9 + 5 * math.sin(sine / 10)), math.rad(-9 - 6 * math.sin(sine / 10)), math.rad(4 + 3 * math.sin(sine / 10))), 0.4)
  1458. elseif stanceToggle == "Floating" then
  1459. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.4)
  1460. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.4)
  1461. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,-.2)*CFrame.Angles(math.rad(-14+1*math.cos(sine/14)),math.rad(0),0), 0.2)
  1462. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.05)
  1463. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(-8-2*math.cos(sine/14))), 0.4)
  1464. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(0, 0, math.rad(8+2*math.cos(sine/14))), 0.4)
  1465. end
  1466. elseif animpose == "Walking" then
  1467. if stanceToggle == "Normal" then
  1468. change = 1
  1469. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(3,-2.2, 0)*CFrame.Angles(math.rad(-20), math.rad(-20),math.rad(40)), 0.2)
  1470. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0, -math.sin(sine/8)/2.8)*CFrame.Angles(math.sin(sine/8)/4, -math.sin(sine/8)/2, math.rad(-10)), 0.2)
  1471. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1472. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.1*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+2*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1473. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1474. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1475. elseif stanceToggle == "Melee" then
  1476. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2)
  1477. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/4))), 0.2)
  1478. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-8+2*math.cos(sine/4)), math.rad(0), math.rad(0)),0.2)
  1479. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2)
  1480. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4)
  1481. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4)
  1482. elseif stanceToggle == "Floating" then
  1483. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1484. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1485. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 6.8, -.2) * CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0), 0.4)
  1486. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(0-8*math.cos(sine/14)), 0, math.rad(-8)), 0.4)
  1487. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(1-9*math.cos(sine/13)), 0, math.rad(8)), 0.4)
  1488. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.2*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-10),0, math.rad(0)), 0.05)
  1489. end
  1490. elseif animpose == "Running" then
  1491. if stanceToggle == "Normal" then
  1492. change = 1
  1493. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(-4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10+2*math.cos(sine/14))), 0.2)
  1494. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(4,0,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1495. hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 16, .2) * CFrame.Angles(math.rad(20),math.rad(10),0), 0.4)
  1496. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, 15-0.1*math.cos(sine/14), 0) * CFrame.Angles(math.rad(-40),math.rad(-10), math.rad(0)), 0.2)
  1497. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-6, -12, -1.2) * CFrame.Angles(math.rad(-20), math.rad(10), math.rad(0)), 0.4)
  1498. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(6, -18, 0) * CFrame.Angles(math.rad(-12), math.rad(10), math.rad(0)), 0.4)
  1499. elseif stanceToggle == "Floating" then
  1500. rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(-12),math.rad(10+2*math.cos(sine/14))), 0.2)
  1501. larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,-0.62+0.1*math.cos(sine/14),0)*CFrame.Angles(math.rad(-16),math.rad(12),math.rad(-10-2*math.cos(sine/14))), 0.2)
  1502. hed.Weld.C0 = CFrame.new(0,6.8,0)*CFrame.Angles(math.rad(-14-4*math.cos(sine/14)),0,0)
  1503. lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(-8)), 0.4)
  1504. rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.1, -1, 0) * CFrame.Angles(math.rad(-10-12*math.cos(sine/16)), 0, math.rad(8)), 0.4)
  1505. torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1-0.4*math.cos(sine/14), -.2) * CFrame.Angles(math.rad(-15),0, math.rad(0)), 0.05)
  1506. end
  1507. end
  1508. end
  1509. end)
  1510. mouse.KeyDown:connect(function(key)
  1511. if key == "l" then
  1512. if Debounces.CanJoke == true then
  1513. Debounces.CanJoke = false
  1514. z = Instance.new("Sound",char)
  1515. z.SoundId = "rbxassetid://415880409"
  1516. z.Pitch = 1
  1517. z.Volume = 100
  1518. wait()
  1519. z:Play()
  1520. wait(6)
  1521. z:Destroy()
  1522. if Debounces.CanJoke == false then
  1523. Debounces.CanJoke = true
  1524. end
  1525. end
  1526. end
  1527. end)
  1528. ----------------------------------------------------
  1529. mouse.KeyDown:connect(function(key)
  1530. if key == "j" then
  1531. if Debounces.CanJoke == true then
  1532. Debounces.CanJoke = false
  1533. z = Instance.new("Sound",char)
  1534. z.SoundId = "rbxassetid://291699665"
  1535. z.Pitch = .44
  1536. z.Volume = 6
  1537. wait()
  1538. z:Play()
  1539. wait(6)
  1540. z:Destroy()
  1541. if Debounces.CanJoke == false then
  1542. Debounces.CanJoke = true
  1543. end
  1544. end
  1545. end
  1546. end)
  1547. ----------------------------------------------------
  1548. mouse.KeyDown:connect(function(key)
  1549. if key == "k" then
  1550. if Debounces.CanJoke == true then
  1551. Debounces.CanJoke = false
  1552. z = Instance.new("Sound",char)
  1553. z.SoundId = "rbxassetid://135017578"
  1554. z.Pitch = .76
  1555. z.Volume = 6
  1556. wait()
  1557. z:Play()
  1558. wait(4)
  1559. z:Destroy()
  1560. if Debounces.CanJoke == false then
  1561. Debounces.CanJoke = true
  1562. end
  1563. end
  1564. end
  1565. end)
  1566.  
  1567.  
  1568. local mult = 4
  1569.  
  1570.  
  1571.  
  1572.  
  1573.  
  1574.  
  1575.  
  1576. Player=game:GetService('Players').LocalPlayer
  1577. Character=Player.Character
  1578. Mouse=Player:GetMouse()
  1579. m=Instance.new('Model',Character)
  1580.  
  1581.  
  1582. local function weldBetween(a, b)
  1583. local weldd = Instance.new("ManualWeld")
  1584. weldd.Part0 = a
  1585. weldd.Part1 = b
  1586. weldd.C0 = CFrame.new()
  1587. weldd.C1 = b.CFrame:inverse() * a.CFrame
  1588. weldd.Parent = a
  1589. return weldd
  1590. end
  1591.  
  1592. it=Instance.new
  1593.  
  1594. function nooutline(part)
  1595. part.TopSurface,part.BottomSurface,part.LeftSurface,part.RightSurface,part.FrontSurface,part.BackSurface = 10,10,10,10,10,10
  1596. end
  1597.  
  1598. function part(formfactor,parent,material,reflectance,transparency,brickcolor,name,size)
  1599. local fp=it("Part")
  1600. fp.formFactor=formfactor
  1601. fp.Parent=parent
  1602. fp.Reflectance=reflectance
  1603. fp.Transparency=transparency
  1604. fp.CanCollide=false
  1605. fp.Locked=true
  1606. fp.BrickColor=BrickColor.new(tostring(brickcolor))
  1607. fp.Name=name
  1608. fp.Size=size-- * mult
  1609. fp.Position=Character.Torso.Position
  1610. nooutline(fp)
  1611. fp.Material=material
  1612. fp:BreakJoints()
  1613. return fp
  1614. end
  1615.  
  1616. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1617. local mesh=it(Mesh)
  1618. mesh.Parent=part
  1619. if Mesh=="SpecialMesh" then
  1620. mesh.MeshType=meshtype
  1621. mesh.MeshId=meshid
  1622. end
  1623. mesh.Offset=offset
  1624. mesh.Scale=scale
  1625. return mesh
  1626. end
  1627.  
  1628. function weld(parent,part0,part1,c0,c1)
  1629. local weld=it("Weld")
  1630. weld.Parent=parent
  1631. weld.Part0=part0
  1632. weld.Part1=part1
  1633. weld.C0=c0
  1634. weld.C1=c1
  1635. return weld
  1636. end
  1637.  
  1638.  
  1639. maus.KeyDown:connect(function(kei)
  1640. if string.byte(kei)==48 and not otheranims then
  1641. runnin=true
  1642. end
  1643. if kei=='w' then fldb.w=true end
  1644. if kei=='a' then fldb.a=true end
  1645. if kei=='s' then fldb.s=true end
  1646. if kei=='d' then fldb.d=true end
  1647. end)
  1648. maus.KeyUp:connect(function(kei)
  1649. if string.byte(kei)==48 and not otheranims then
  1650. runnin=false
  1651. end
  1652. if kei=='w' then fldb.w=false end
  1653. if kei=='a' then fldb.a=false end
  1654. if kei=='s' then fldb.s=false end
  1655. if kei=='d' then fldb.d=false end
  1656. end)
  1657.  
  1658.  
  1659. game:service'RunService'.RenderStepped:connect(function()
  1660. if anim~=lastanim then
  1661. runtime=0
  1662. end
  1663. lastanim=anim
  1664. chr.Humanoid.CameraOffset=(rutprt.CFrame:toObjectSpace(hed.CFrame)).p+Vector3.new(0,-1.25,0)
  1665. syne=syne+.95
  1666. if not otheranims and not swimming then
  1667. if (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 1 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1668. anim="Idling"
  1669. elseif (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude > 1 and (rutprt.Velocity*Vector3.new(1, 0, 1)).magnitude < RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1670. anim="Walking"
  1671. elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > RunSpeed-10 and not chr.Humanoid.Jump then-- and torso.Velocity.y<5 and torso.Velocity.y>-5
  1672. anim="Sprinting"
  1673. elseif torso.Velocity.y>5 and chr.Humanoid.Jump then
  1674. anim='Jumping'
  1675. elseif (torso.Velocity.y < -5) and chr.Humanoid.Jump then
  1676. anim='Falling'
  1677. end
  1678. end
  1679.  
  1680. if anim ~= "Idling" then
  1681. GShandleweld.C0=Lerp(GShandleweld.C0,CFrame.new(0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1),.1)
  1682. end
  1683.  
  1684. if anim=="Idling" then
  1685. idlesineinc=35
  1686. GShandleweld.C0=Lerp(GShandleweld.C0,CFrame.new(0, -.5, .46)*CFrame.Angles(math.rad(75),math.rad(0),math.rad(0)),.1)
  1687. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 +math.cos(syne/idlesineinc)/25 ,0)*CFrame.Angles(math.rad(76),math.rad(12),math.rad(20)),.1)
  1688. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 +math.cos(syne/idlesineinc)/25 ,0 )*CFrame.Angles(0,0,math.rad(-3)),.1)
  1689. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.9 -math.cos(syne/idlesineinc)/20 ,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(-2.5)),.1)
  1690. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.9 -math.cos(syne/idlesineinc)/20 ,(math.cos(syne/idlesineinc)/35))*CFrame.Angles(-(math.cos(syne/idlesineinc)/35),0,math.rad(2.5)),.1)
  1691. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.5 +math.cos(syne/idlesineinc)/50 ,0)*CFrame.Angles(math.cos(syne/idlesineinc)/40,0,0),.1)
  1692.  
  1693.  
  1694.  
  1695. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0 ,-.1 +math.cos(syne/idlesineinc)/20 ,0 )*CFrame.Angles(math.cos(syne/idlesineinc)/35+math.rad(0),math.rad(0),math.rad(0)),.1)
  1696. end
  1697.  
  1698. if anim=="Walking" then
  1699. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 +math.cos(syne/15 )/25 ,0 )*CFrame.Angles(math.cos(syne/6)/1.25,math.rad(5),-(math.cos(syne/6.75)/15)+math.rad(3)),.1)
  1700. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 +math.cos(syne/15 )/25 ,0 )*CFrame.Angles(-(math.cos(syne/6)/1.25),0,-(math.cos(syne/6.75)/15)-math.rad(3)),.1)
  1701. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.9 -math.cos(syne/6)/10,-(math.cos(syne/6)/1.125 ))*CFrame.Angles(math.cos(syne/6)/1.125,0,math.rad(-2.5)),.1)
  1702. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.9 -math.cos(syne/6)/10,math.cos(syne/6)/1.125 )*CFrame.Angles(-(math.cos(syne/6)/1.125),0,math.rad(2.5)),.1)
  1703. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.5 +math.cos(syne/20 )/50 ,0 )*CFrame.Angles(-math.cos(syne/3)/20,0,0),.1)
  1704.  
  1705.  
  1706. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1+math.cos(syne/3.375)/20,math.cos(syne/3)/5)*CFrame.Angles(math.cos(syne/3)/20+math.rad(-3.5),math.cos(syne/6)/10,-math.cos(syne/6)/30+math.sin(rutprt.RotVelocity.y/2)/7.5),.1)
  1707. end
  1708.  
  1709. if anim=="Sprinting" then
  1710. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 ,0 )*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(12.5)),.1)
  1711. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 ,0 )*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(-55),0,math.rad(-12.5)),.1)
  1712. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.6 -math.cos(syne/4)/4,-(math.cos(syne/4)*2 )-math.rad(10))*CFrame.Angles(math.cos(syne/4)*2+math.rad(10),0,math.rad(-2.5)),.1)
  1713. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.6 -math.cos(syne/4)/4,math.cos(syne/4)*2 -math.rad(10))*CFrame.Angles(-(math.cos(syne/4)*2)+math.rad(10),0,math.rad(2.5)),.1)
  1714. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.55 +math.cos(syne/20 )/50 ,0 )*CFrame.Angles(-math.cos(syne/2.5)/10+math.rad(20),0,0),.1)
  1715.  
  1716.  
  1717. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.3+math.cos(syne/2.5)/15,math.cos(syne/2.5))*CFrame.Angles(math.cos(syne/2.5)/10+math.rad(-25),math.cos(syne/2.5)/10,math.cos(syne/4)/20+math.sin(rutprt.RotVelocity.y/2)/4),.1)
  1718. end
  1719.  
  1720. if anim=="Jumping" then
  1721. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(50)),.1)
  1722. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(-50)),.1)
  1723. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.4 ,0 )*CFrame.Angles(math.rad(-17.5),0,math.rad(-2.5)),.1)
  1724. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.4 ,0 )*CFrame.Angles(math.rad(-17.5),0,math.rad(2.5)),.1)
  1725. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.5 +math.cos(syne/20 )/50 ,0 )*CFrame.Angles(math.cos(syne/20)/40,0,0),.1)
  1726.  
  1727.  
  1728. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0,-.1 +math.cos(syne/20 )/20 ,0 )*CFrame.Angles(math.rad(-15),math.rad(0),math.rad(0)),.1)
  1729. end
  1730.  
  1731. if anim=="Falling" then
  1732. rarm.Weld.C0=Lerp(rarm.Weld.C0,CFrame.new(1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(70)),.035)
  1733. larm.Weld.C0=Lerp(larm.Weld.C0,CFrame.new(-1.5 ,.525 ,0 )*CFrame.Angles(math.rad(10),0,math.rad(-70)),.035)
  1734. lleg.Weld.C0=Lerp(lleg.Weld.C0,CFrame.new(-.55 ,-1.2 ,0 )*CFrame.Angles(math.rad(-14),0,math.rad(-2.5)),.035)
  1735. rleg.Weld.C0=Lerp(rleg.Weld.C0,CFrame.new(.55 ,-1.2 ,0 )*CFrame.Angles(math.rad(0),0,math.rad(2.5)),.035)
  1736. hed.Weld.C0=Lerp(hed.Weld.C0,CFrame.new(0 ,1.5 ,-.3 )*CFrame.Angles(math.rad(-40),0,0),.035)
  1737.  
  1738.  
  1739. rutprt.Weld.C0=Lerp(rutprt.Weld.C0,CFrame.new(0 ,-.1 +math.cos(syne/20 )/20 ,0 )*CFrame.Angles(math.rad(10),math.rad(0),math.rad(0)),.035)
  1740. end
  1741.  
  1742. if runnin and not otheranims and not swimming then
  1743. chr.Humanoid.WalkSpeed=RunSpeed
  1744. elseif not runnin and not otheranims and not swimming then
  1745. chr.Humanoid.WalkSpeed=WlkSpeed
  1746. end
  1747. end)
  1748. end)
  1749.  
  1750. S.Name = "S"
  1751. S.Parent = ScreenGui
  1752. S.BackgroundColor3 = Color3.new(0.427451, 0.4, 0.529412)
  1753. S.Position = UDim2.new(0, 507, 0, 0)
  1754. S.Size = UDim2.new(0, 24, 0, 29)
  1755. S.Font = Enum.Font.SourceSans
  1756. S.FontSize = Enum.FontSize.Size32
  1757. S.Text = "S"
  1758. S.TextColor3 = Color3.new(1, 0, 0)
  1759. S.TextSize = 30
  1760. S.MouseButton1Down:connect(function()
  1761. imageOne = "http://www.roblox.com/asset/?id=1338467900"
  1762. imageTwo = "http://www.roblox.com/asset/?id=1338468026"
  1763. imageThree = "http://www.roblox.com/asset/?id=1338468112"
  1764. imageFour = "http://www.roblox.com/asset/?id=1338468195"
  1765. imageFive = "http://www.roblox.com/asset/?id=1338467900"
  1766. imageSix = "http://www.roblox.com/asset/?id=1338468026"
  1767. imageSeven = "http://www.roblox.com/asset/?id=1338468112"
  1768. imageEight = "http://www.roblox.com/asset/?id=1338468195"
  1769.  
  1770. Spooky = Instance.new("Sound", workspace)
  1771. Spooky.Name = "Spooky"
  1772. Spooky.SoundId = "rbxassetid://0"
  1773. Spooky.Volume = 15
  1774. Spooky.Looped = true
  1775. Spooky:Play()
  1776.  
  1777. Sky = Instance.new("Sky", game.Lighting)
  1778. Sky.SkyboxBk = imageOne
  1779. Sky.SkyboxDn = imageOne
  1780. Sky.SkyboxFt = imageOne
  1781. Sky.SkyboxLf = imageOne
  1782. Sky.SkyboxRt = imageOne
  1783. Sky.SkyboxUp = imageOne
  1784.  
  1785.  
  1786. while true do
  1787. Sky.SkyboxBk = imageOne
  1788. Sky.SkyboxDn = imageOne
  1789. Sky.SkyboxFt = imageOne
  1790. Sky.SkyboxLf = imageOne
  1791. Sky.SkyboxRt = imageOne
  1792. Sky.SkyboxUp = imageOne
  1793. wait(0.15)
  1794. Sky.SkyboxBk = imageTwo
  1795. Sky.SkyboxDn = imageTwo
  1796. Sky.SkyboxFt = imageTwo
  1797. Sky.SkyboxLf = imageTwo
  1798. Sky.SkyboxRt = imageTwo
  1799. Sky.SkyboxUp = imageTwo
  1800. wait(0.15)
  1801. Sky.SkyboxBk = imageThree
  1802. Sky.SkyboxDn = imageThree
  1803. Sky.SkyboxFt = imageThree
  1804. Sky.SkyboxLf = imageThree
  1805. Sky.SkyboxRt = imageThree
  1806. Sky.SkyboxUp = imageThree
  1807. wait(0.15)
  1808. Sky.SkyboxBk = imageFour
  1809. Sky.SkyboxDn = imageFour
  1810. Sky.SkyboxFt = imageFour
  1811. Sky.SkyboxLf = imageFour
  1812. Sky.SkyboxRt = imageFour
  1813. Sky.SkyboxUp = imageFour
  1814. wait(0.15)
  1815. Sky.SkyboxBk = imageFive
  1816. Sky.SkyboxDn = imageFive
  1817. Sky.SkyboxFt = imageFive
  1818. Sky.SkyboxLf = imageFive
  1819. Sky.SkyboxRt = imageFive
  1820. Sky.SkyboxUp = imageFive
  1821. wait(0.15)
  1822. Sky.SkyboxBk = imageSix
  1823. Sky.SkyboxDn = imageSix
  1824. Sky.SkyboxFt = imageSix
  1825. Sky.SkyboxLf = imageSix
  1826. Sky.SkyboxRt = imageSix
  1827. Sky.SkyboxUp = imageSix
  1828. wait(0.15)
  1829. Sky.SkyboxBk = imageSeven
  1830. Sky.SkyboxDn = imageSeven
  1831. Sky.SkyboxFt = imageSeven
  1832. Sky.SkyboxLf = imageSeven
  1833. Sky.SkyboxRt = imageSeven
  1834. Sky.SkyboxUp = imageSeven
  1835. wait(0.15)
  1836. Sky.SkyboxBk = imageEight
  1837. Sky.SkyboxDn = imageEight
  1838. Sky.SkyboxFt = imageEight
  1839. Sky.SkyboxLf = imageEight
  1840. Sky.SkyboxRt = imageEight
  1841. Sky.SkyboxUp = imageEight
  1842. wait(0.15)
  1843.  
  1844. end
  1845. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement