Advertisement
memberhero

Ruin 4

May 5th, 2018
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 77.33 KB | None | 0 0
  1. wait(1)
  2. --[[ -Ruin IV
  3. -By makhail07.
  4. -Discord: Superthumb#2958
  5. __- -__
  6. --_M_--
  7. --]]
  8.  
  9. print'By makhail07'
  10. print'Gauntlet by NoobyGames12'
  11. print'KillerDarkness0105 for basic attacks'
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20. function clerp(c1,c2,al)
  21. local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()}
  22. local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()}
  23. for i,v in pairs(com1) do
  24. com1[i] = v+(com2[i]-v)*al
  25. end
  26. return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1)))
  27. end
  28. Personality = "RUIN"
  29. vt = Vector3.new
  30. Effects = { }
  31. bc = BrickColor.new
  32. plr = game:service'Players'.LocalPlayer
  33. char = plr.Character
  34. Player = game.Players.LocalPlayer
  35. Character = Player.Character
  36. mouse = plr:GetMouse()
  37. humanoid = char:findFirstChild("Humanoid")
  38. torso = char:findFirstChild("Torso")
  39. head = char.Head
  40. Head = char.Head
  41. ra = char:findFirstChild("Right Arm")
  42. la = char:findFirstChild("Left Arm")
  43. rl = char:findFirstChild("Right Leg")
  44. ll = char:findFirstChild("Left Leg")
  45. rs = torso:findFirstChild("Right Shoulder")
  46. ls = torso:findFirstChild("Left Shoulder")
  47. rh = torso:findFirstChild("Right Hip")
  48. lh = torso:findFirstChild("Left Hip")
  49. neck = torso:findFirstChild("Neck")
  50. rss = game:GetService("RunService").RenderStepped
  51. rj = char:findFirstChild("HumanoidRootPart"):findFirstChild("RootJoint")
  52. RootPart = Character.HumanoidRootPart
  53. RootJoint = RootPart.RootJoint
  54. anim = char:findFirstChild("Animate")
  55. root = char.HumanoidRootPart
  56. rootpart = char:findFirstChild("HumanoidRootPart")
  57. RootPart = char:findFirstChild("HumanoidRootPart")
  58. attack = false
  59. drinks = 0
  60. local RbxUtility = LoadLibrary("RbxUtility")
  61. local Create = RbxUtility.Create
  62. Rmode = "1"
  63. local maincolor = torso.BrickColor
  64. local maincolor2 = BrickColor.new("Really black")
  65.  
  66.  
  67. New = function(Object, Parent, Name, Data)
  68. local Object = Instance.new(Object)
  69. for Index, Value in pairs(Data or {}) do
  70. Object[Index] = Value
  71. end
  72. Object.Parent = Parent
  73. Object.Name = Name
  74. return Object
  75. end
  76.  
  77. function newPart(Parent, brickcolor, transparency, anchored, cancollide, size, name)
  78. local fp = Instance.new("Part")
  79. fp.Parent = Parent
  80. fp.Transparency = transparency
  81. fp.Anchored = anchored
  82. fp.CanCollide = cancollide
  83. fp.Locked = true
  84. fp.BrickColor = brickcolor
  85. fp.Name = name
  86. fp.Size = size
  87. fp.Position = torso.Position
  88. NoOutline(fp)
  89. fp.Material = "SmoothPlastic"
  90. fp:BreakJoints()
  91. return fp
  92. end
  93. function mesh(Mesh, part, meshtype, meshid, offset, scale)
  94. local mesh = Instance.new(Mesh)
  95. mesh.Parent = part
  96. if Mesh == "SpecialMesh" then
  97. mesh.MeshType = meshtype
  98. if meshid then
  99. mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  100. end
  101. end
  102. if offset then
  103. mesh.Offset = offset
  104. end
  105. mesh.Scale = scale
  106. return mesh
  107. end
  108. function weld(parent, part0, part1, c0)
  109. local weld = Instance.new("Weld")
  110. weld.Parent = parent
  111. weld.Part0 = part0
  112. weld.Part1 = part1
  113. weld.C0 = c0
  114. return weld
  115. end
  116. function weld5(part0, part1, c0, c1)
  117. weeld=Instance.new("Weld", part0)
  118. weeld.Part0=part0
  119. weeld.Part1=part1
  120. weeld.C0=c0
  121. weeld.C1=c1
  122. return weeld
  123. end
  124. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  125. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  126. end
  127.  
  128. ArtificialHB = Instance.new("BindableEvent", script)
  129. ArtificialHB.Name = "Heartbeat"
  130. script:WaitForChild("Heartbeat")
  131. frame = 1 / 30
  132. tf = 0
  133. allowframeloss = true
  134. tossremainder = false
  135. lastframe = tick()
  136. script.Heartbeat:Fire()
  137. game:GetService("RunService").Heartbeat:connect(function(s, p)
  138.  
  139. tf = tf + s
  140. if frame <= tf then
  141. if allowframeloss then
  142. script.Heartbeat:Fire()
  143. lastframe = tick()
  144. else
  145. for i = 1, math.floor(tf / frame) do
  146. script.Heartbeat:Fire()
  147. end
  148. lastframe = tick()
  149. end
  150. if tossremainder then
  151. tf = 0
  152. else
  153. tf = tf - frame * math.floor(tf / frame)
  154. end
  155. end
  156. end
  157. )
  158. swait = function(num)
  159.  
  160. if num == 0 or num == nil then
  161. ArtificialHB.Event:wait()
  162. else
  163. for i = 0, num do
  164. ArtificialHB.Event:wait()
  165. end
  166. end
  167. end
  168. function thread(f)
  169. coroutine.resume(coroutine.create(f))
  170. end
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183. --Very important stuff--
  184. Player=game:GetService("Players").LocalPlayer
  185. Character=Player.Character
  186. PlayerGui=Player.PlayerGui
  187. Backpack=Player.Backpack
  188. Torso=Character.Torso
  189. Head=Character.Head
  190. Humanoid=Character.Humanoid
  191. m=Instance.new('Model',Character)
  192. LeftArm=Character["Left Arm"]
  193. LeftLeg=Character["Left Leg"]
  194. RightArm=Character["Right Arm"]
  195. RightLeg=Character["Right Leg"]
  196. LS=Torso["Left Shoulder"]
  197. LH=Torso["Left Hip"]
  198. RS=Torso["Right Shoulder"]
  199. RH=Torso["Right Hip"]
  200. Face = Head.face
  201. Neck=Torso.Neck
  202. it=Instance.new
  203. attacktype=1
  204. vt=Vector3.new
  205. cf=CFrame.new
  206. euler=CFrame.fromEulerAnglesXYZ
  207. angles=CFrame.Angles
  208. cloaked=false
  209. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  210. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  211. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  212. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  213. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  214. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  215. RootPart=Character.HumanoidRootPart
  216. RootJoint=RootPart.RootJoint
  217. RootCF=euler(-1.57,0,3.14)
  218. attack = false
  219. attackdebounce = false
  220. deb=false
  221. equipped=true
  222. hand=false
  223. MMouse=nil
  224. combo=0
  225. mana=0
  226. trispeed=.2
  227. attackmode=false
  228. local idle=0
  229. local Anim="Idle"
  230. local gun=false
  231. local shoot=false
  232. local sine = 0
  233. local change = 1
  234. player=nil
  235.  
  236. mouse=Player:GetMouse()
  237. --save shoulders
  238. RSH, LSH=nil, nil
  239. --welds
  240. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  241. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  242. LH=Torso["Left Hip"]
  243. RH=Torso["Right Hip"]
  244. TorsoColor=Torso.BrickColor
  245. function NoOutline(Part)
  246. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  247. end
  248. player=Player
  249. ch=Character
  250. RSH=ch.Torso["Right Shoulder"]
  251. LSH=ch.Torso["Left Shoulder"]
  252. --
  253. RSH.Parent=nil
  254. LSH.Parent=nil
  255. --
  256. RW.Name="Right Shoulder"
  257. RW.Part0=ch.Torso
  258. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  259. RW.C1=cf(0, 0.5, 0)
  260. RW.Part1=ch["Right Arm"]
  261. RW.Parent=ch.Torso
  262. --
  263. LW.Name="Left Shoulder"
  264. LW.Part0=ch.Torso
  265. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  266. LW.C1=cf(0, 0.5, 0)
  267. LW.Part1=ch["Left Arm"]
  268. LW.Parent=ch.Torso
  269.  
  270.  
  271. newWeld = function(wp0, wp1, wc0x, wc0y, wc0z)
  272. local wld = Instance.new("Weld", wp1)
  273. wld.Part0 = wp0
  274. wld.Part1 = wp1
  275. wld.C0 = CFrame.new(wc0x, wc0y, wc0z)
  276. end
  277.  
  278.  
  279. newWeld(RootPart, Torso, 0, -1, 0)
  280. Torso.Weld.C1 = CFrame.new(0, -1, 0)
  281. newWeld(Torso, LeftLeg, -0.5, -1, 0)
  282. LeftLeg.Weld.C1 = CFrame.new(0, 1, 0)
  283. newWeld(Torso, RightLeg, 0.5, -1, 0)
  284. RightLeg.Weld.C1 = CFrame.new(0, 1, 0)
  285.  
  286. Player=game:GetService('Players').LocalPlayer
  287. Character=Player.Character
  288. mouse=Player:GetMouse()
  289. m=Instance.new('Model',Character)
  290.  
  291.  
  292. local function weldBetween(a, b)
  293. local weldd = Instance.new("ManualWeld")
  294. weldd.Part0 = a
  295. weldd.Part1 = b
  296. weldd.C0 = CFrame.new()
  297. weldd.C1 = b.CFrame:inverse() * a.CFrame
  298. weldd.Parent = a
  299. return weldd
  300. end
  301.  
  302. ArtificialHB = Instance.new("BindableEvent", script)
  303. ArtificialHB.Name = "Heartbeat"
  304.  
  305. script:WaitForChild("Heartbeat")
  306.  
  307. frame = 1 / 60
  308. tf = 0
  309. allowframeloss = false
  310. tossremainder = false
  311. lastframe = tick()
  312. script.Heartbeat:Fire()
  313.  
  314. game:GetService("RunService").Heartbeat:connect(function(s, p)
  315. tf = tf + s
  316. if tf >= frame then
  317. if allowframeloss then
  318. script.Heartbeat:Fire()
  319. lastframe = tick()
  320. else
  321. for i = 1, math.floor(tf / frame) do
  322. script.Heartbeat:Fire()
  323. end
  324. lastframe = tick()
  325. end
  326. if tossremainder then
  327. tf = 0
  328. else
  329. tf = tf - frame * math.floor(tf / frame)
  330. end
  331. end
  332. end)
  333.  
  334.  
  335.  
  336.  
  337.  
  338. Damagefunc=function(hit,minim,maxim,knockback,Type,Property,Delay,KnockbackType,decreaseblock)
  339. if hit.Parent==nil then
  340. return
  341. end
  342. h=hit.Parent:FindFirstChild("Humanoid")
  343. for _,v in pairs(hit.Parent:children()) do
  344. if v:IsA("Humanoid") then
  345. h=v
  346. end
  347. end
  348. if hit.Parent.Parent:FindFirstChild("Torso")~=nil then
  349. h=hit.Parent.Parent:FindFirstChild("Humanoid")
  350. end
  351. if hit.Parent.className=="Hat" then
  352. hit=hit.Parent.Parent:findFirstChild("Head")
  353. end
  354. if h~=nil and hit.Parent.Name~=Character.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  355. if hit.Parent:findFirstChild("DebounceHit")~=nil then if hit.Parent.DebounceHit.Value==true then return end end
  356. --[[ if game.Players:GetPlayerFromCharacter(hit.Parent)~=nil then
  357. return
  358. end]]
  359. -- hs(hit,1.2)
  360. c=Instance.new("ObjectValue")
  361. c.Name="creator"
  362. c.Value=game:service("Players").LocalPlayer
  363. c.Parent=h
  364. game:GetService("Debris"):AddItem(c,.5)
  365. Damage=math.random(minim,maxim)
  366. -- h:TakeDamage(Damage)
  367. blocked=false
  368. block=hit.Parent:findFirstChild("Block")
  369. if block~=nil then
  370. print(block.className)
  371. if block.className=="NumberValue" then
  372. if block.Value>0 then
  373. blocked=true
  374. if decreaseblock==nil then
  375. block.Value=block.Value-1
  376. end
  377. end
  378. end
  379. if block.className=="IntValue" then
  380. if block.Value>0 then
  381. blocked=true
  382. if decreaseblock~=nil then
  383. block.Value=block.Value-1
  384. end
  385. end
  386. end
  387. end
  388. if blocked==false then
  389. -- h:TakeDamage(Damage)
  390. h.Health=h.Health-Damage
  391. showDamage(hit.Parent,Damage,3,TorsoColor)
  392. else
  393. h.Health=h.Health-(Damage/2)
  394. showDamage(hit.Parent,Damage/2,3,BrickColor.new("Bright red"))
  395. end
  396. if Type=="Knockdown" then
  397. hum=hit.Parent.Humanoid
  398. hum.PlatformStand=true
  399. coroutine.resume(coroutine.create(function(HHumanoid)
  400. swait(1)
  401. HHumanoid.PlatformStand=false
  402. end),hum)
  403. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  404. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  405. local bodvol=Instance.new("BodyVelocity")
  406. bodvol.velocity=angle*knockback
  407. bodvol.P=5000
  408. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  409. bodvol.Parent=hit
  410. rl=Instance.new("BodyAngularVelocity")
  411. rl.P=3000
  412. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  413. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  414. rl.Parent=hit
  415. game:GetService("Debris"):AddItem(bodvol,.5)
  416. game:GetService("Debris"):AddItem(rl,.5)
  417. elseif Type=="Normal" then
  418. vp=Instance.new("BodyVelocity")
  419. vp.P=500
  420. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  421. -- vp.velocity=Character.Torso.CFrame.lookVector*Knockback
  422. if KnockbackType==1 then
  423. vp.velocity=Property.CFrame.lookVector*knockback+Property.Velocity/1.05
  424. elseif KnockbackType==2 then
  425. vp.velocity=Property.CFrame.lookVector*knockback
  426. end
  427. if knockback>0 then
  428. vp.Parent=hit.Parent.Torso
  429. end
  430. game:GetService("Debris"):AddItem(vp,.5)
  431. elseif Type=="Up" then
  432. local bodyVelocity=Instance.new("BodyVelocity")
  433. bodyVelocity.velocity=vt(0,10,0)
  434. bodyVelocity.P=1000
  435. bodyVelocity.maxForce=Vector3.new(1e+009, 1e+009, 1e+009)
  436. bodyVelocity.Parent=hit
  437. game:GetService("Debris"):AddItem(bodyVelocity,1)
  438. rl=Instance.new("BodyAngularVelocity")
  439. rl.P=3000
  440. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  441. rl.angularvelocity=Vector3.new(math.random(-20,20),math.random(-20,20),math.random(-20,20))
  442. rl.Parent=hit
  443. game:GetService("Debris"):AddItem(rl,.5)
  444. elseif Type=="Snare" then
  445. bp=Instance.new("BodyPosition")
  446. bp.P=2000
  447. bp.D=100
  448. bp.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  449. bp.position=hit.Parent.Torso.Position
  450. bp.Parent=hit.Parent.Torso
  451. game:GetService("Debris"):AddItem(bp,1)
  452. elseif Type=="Target" then
  453. if Targetting==false then
  454. ZTarget=hit.Parent.Torso
  455. coroutine.resume(coroutine.create(function(Part)
  456. swait(5)
  457. end),ZTarget)
  458. TargHum=ZTarget.Parent:findFirstChild("Humanoid")
  459. targetgui=Instance.new("BillboardGui")
  460. targetgui.Parent=ZTarget
  461. targetgui.Size=UDim2.new(10,100,10,100)
  462. targ=Instance.new("ImageLabel")
  463. targ.Parent=targetgui
  464. targ.BackgroundTransparency=1
  465. targ.Image="rbxassetid://4834067"
  466. targ.Size=UDim2.new(1,0,1,0)
  467. cam.CameraType="Scriptable"
  468. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  469. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  470. workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  471. Targetting=true
  472. RocketTarget=ZTarget
  473. for i=1,Property do
  474. --while Targetting==true and Humanoid.Health>0 and Character.Parent~=nil do
  475. if Humanoid.Health>0 and Character.Parent~=nil and TargHum.Health>0 and TargHum.Parent~=nil and Targetting==true then
  476. swait()
  477. end
  478. --workspace.CurrentCamera.CoordinateFrame=CFrame.new(Head.CFrame.p,Head.CFrame.p+rmdir*100)
  479. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)
  480. dir=Vector3.new(cam.CoordinateFrame.lookVector.x,0,cam.CoordinateFrame.lookVector.z)
  481. cam.CoordinateFrame=CFrame.new(Head.CFrame.p,ZTarget.Position)*cf(0,5,10)*euler(-0.3,0,0)
  482. end
  483. Targetting=false
  484. RocketTarget=nil
  485. targetgui.Parent=nil
  486. cam.CameraType="Custom"
  487. end
  488. end
  489. debounce=Instance.new("BoolValue")
  490. debounce.Name="DebounceHit"
  491. debounce.Parent=hit.Parent
  492. debounce.Value=true
  493. game:GetService("Debris"):AddItem(debounce,Delay)
  494. c=Instance.new("ObjectValue")
  495. c.Name="creator"
  496. c.Value=Player
  497. c.Parent=h
  498. game:GetService("Debris"):AddItem(c,.5)
  499. CRIT=false
  500. hitDeb=true
  501. AttackPos=6
  502. end
  503. end
  504.  
  505. showDamage=function(Char,Dealt,du,Color)
  506. m=Instance.new("Model")
  507. m.Name=""
  508. h=Instance.new("Humanoid")
  509. h.Health=0
  510. h.MaxHealth=0
  511. h.Parent=m
  512. c=Instance.new("Part")
  513. c.Transparency=0
  514. c.Material = "Neon"
  515. c.BrickColor=bc("Bright red")
  516. c.Name="Head"
  517. c.TopSurface=0
  518. c.BottomSurface=0
  519. c.Shape = "Ball"
  520. end
  521.  
  522. function CreatePart(parent,transparency,reflectance,material,brickcolor)
  523. local p = Instance.new("Part")
  524. p.Parent = parent
  525. p.Size = Vector3.new(1,1,1)
  526. p.Transparency = transparency
  527. p.Reflectance = reflectance
  528. p.CanCollide = false
  529. p.BrickColor = brickcolor
  530. p.Material = material
  531. return p
  532. end
  533.  
  534.  
  535. function CreateMesh(parent,meshtype,x1,y1,z1)
  536. local mesh = Instance.new("SpecialMesh",parent)
  537. mesh.MeshType = meshtype
  538. mesh.Scale = Vector3.new(x1,y1,z1)
  539. return mesh
  540. end
  541.  
  542. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  543. local mesh = Instance.new("SpecialMesh",parent)
  544. mesh.MeshType = "SpecialMesh"
  545. mesh.MeshId = meshid
  546. mesh.Scale = Vector3.new(x1,y1,z1)
  547. return mesh
  548. end
  549.  
  550. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  551. local mesh = Instance.new("SpecialMesh",parent)
  552. mesh.MeshType = "FileMesh"
  553. mesh.MeshId = meshid
  554. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  555. mesh.Scale = Vector3.new(x1,y1,z1)
  556. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  557. return mesh
  558. end
  559.  
  560. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  561. local weld = Instance.new("Weld")
  562. weld.Parent = parent
  563. weld.Part0 = part0
  564. weld.Part1 = part1
  565. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  566. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  567. return weld
  568. end
  569.  
  570. local m = Instance.new("Model",char)
  571. m.Name = "GaunletModel"
  572.  
  573. local handle = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  574. CreateMesh(handle,"Brick",1.05,1.5,1.05)
  575. CreateWeld(handle,ra,handle,0,-0.265,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  576.  
  577.  
  578. local handleg = CreatePart(m,0,0,"Neon",maincolor)
  579. CreateMesh(handleg,"Brick",1.025,1.5,1.025)
  580. CreateWeld(handleg,handle,handleg,0,0.1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  581. local handleo = CreatePart(m,0,0,"Neon",maincolor)
  582. CreateMesh(handleo,"Brick",0.5,0.85,1.085)
  583. CreateWeld(handleo,handle,handleo,-0.315,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  584. local handleo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  585. CreateMesh(handleo2,"Brick",0.5,0.8,1.09)
  586. CreateWeld(handleo2,handle,handleo2,-0.3175,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  587. local zi = CreatePart(m,0,0,"Neon",maincolor)
  588. CreateMesh(zi,"Brick",0.025,1.525,1.1)
  589. CreateWeld(zi,handle,zi,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  590.  
  591.  
  592. local li1 = CreatePart(m,0,0,"Neon",maincolor)
  593. CreateMesh(li1,"Brick",0.275,0.825,0.025)
  594. CreateWeld(li1,handleo,li1,-0.125,0,0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  595. local li2 = CreatePart(m,0,0,"Neon",maincolor)
  596. CreateMesh(li2,"Brick",0.275,0.825,0.025)
  597. CreateWeld(li2,handleo,li2,-0.125,0,-0.225,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  598.  
  599. local di = CreatePart(m,0,0,"Neon",maincolor)
  600. CreateMesh(di,"Brick",0.3,0.3,0.3)
  601. CreateWeld(di,handleo,di,-0.125,0,0,math.rad(45),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  602.  
  603. local di1 = CreatePart(m,0,0,"Neon",maincolor)
  604. CreateMesh(di1,"Brick",0.3,0.15,0.15)
  605. CreateWeld(di1,di,di1,0,0.15,0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  606. local di2 = CreatePart(m,0,0,"Neon",maincolor)
  607. CreateMesh(di2,"Brick",0.3,0.15,0.15)
  608. CreateWeld(di2,di,di2,0,0.15,-0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  609. local di3 = CreatePart(m,0,0,"Neon",maincolor)
  610. CreateMesh(di3,"Brick",0.3,0.15,0.15)
  611. CreateWeld(di3,di,di3,0,-0.15,0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  612. local di4 = CreatePart(m,0,0,"Neon",maincolor)
  613. CreateMesh(di4,"Brick",0.3,0.15,0.15)
  614. CreateWeld(di4,di,di4,0,-0.15,-0.15,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  615. local dio = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  616. CreateMesh(dio,"Brick",0.325,0.275,0.275)
  617. CreateWeld(dio,di,dio,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  618. local dio1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  619. CreateMesh(dio1,"Brick",0.325,0.125,0.125)
  620. CreateWeld(dio1,di1,dio1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  621. local dio2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  622. CreateMesh(dio2,"Brick",0.325,0.125,0.125)
  623. CreateWeld(dio2,di2,dio2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  624. local dio3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  625. CreateMesh(dio3,"Brick",0.325,0.125,0.125)
  626. CreateWeld(dio3,di3,dio3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  627. local dio4 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  628. CreateMesh(dio4,"Brick",0.325,0.125,0.125)
  629. CreateWeld(dio4,di4,dio4,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  630.  
  631. local sq1 = CreatePart(m,0,0,"Neon",maincolor)
  632. CreateMesh(sq1,"Brick",0.3,0.125,0.125)
  633. CreateWeld(sq1,handleo,sq1,-0.125,0.25,0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  634. local sq2 = CreatePart(m,0,0,"Neon",maincolor)
  635. CreateMesh(sq2,"Brick",0.3,0.125,0.125)
  636. CreateWeld(sq2,handleo,sq2,-0.125,-0.25,0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  637. local sq3 = CreatePart(m,0,0,"Neon",maincolor)
  638. CreateMesh(sq3,"Brick",0.3,0.125,0.125)
  639. CreateWeld(sq3,handleo,sq3,-0.125,0.25,-0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  640. local sq4 = CreatePart(m,0,0,"Neon",maincolor)
  641. CreateMesh(sq4,"Brick",0.3,0.125,0.125)
  642. CreateWeld(sq4,handleo,sq4,-0.125,-0.25,-0.4,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  643.  
  644. local sqo1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  645. CreateMesh(sqo1,"Brick",0.3115,0.1115,0.1115)
  646. CreateWeld(sqo1,sq1,sqo1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  647. local sqo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  648. CreateMesh(sqo2,"Brick",0.3115,0.1115,0.1115)
  649. CreateWeld(sqo2,sq2,sqo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  650. local sqo3 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  651. CreateMesh(sqo3,"Brick",0.3115,0.1115,0.1115)
  652. CreateWeld(sqo3,sq3,sqo3,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  653. local sqo4 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  654. CreateMesh(sqo4,"Brick",0.3115,0.1115,0.1115)
  655. CreateWeld(sqo4,sq4,sqo4,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  656.  
  657. local locl = CreatePart(m,0,0,"Neon",maincolor)
  658. CreateMesh(locl,"Brick",0.1,0.1,0.1)
  659. CreateWeld(locl,handle,locl,0,0,0.435,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  660.  
  661. local dil = CreatePart(m,0,0,"Neon",maincolor)
  662. CreateMesh(dil,"Brick",0.45,0.45,0.3)
  663. CreateWeld(dil,locl,dil,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  664.  
  665. local dil1 = CreatePart(m,0,0,"Neon",maincolor)
  666. CreateMesh(dil1,"Brick",0.225,0.225,0.3)
  667. CreateWeld(dil1,dil,dil1,-0.225,0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  668. local dil2 = CreatePart(m,0,0,"Neon",maincolor)
  669. CreateMesh(dil2,"Brick",0.225,0.225,0.3)
  670. CreateWeld(dil2,dil,dil2,0.225,-0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  671.  
  672. local dilo = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  673. CreateMesh(dilo,"Brick",0.375,0.375,0.315)
  674. CreateWeld(dilo,dil,dilo,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  675. local dilo1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  676. CreateMesh(dilo1,"Brick",0.175,0.175,0.315)
  677. CreateWeld(dilo1,dil1,dilo1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  678. local dilo2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  679. CreateMesh(dilo2,"Brick",0.175,0.175,0.315)
  680. CreateWeld(dilo2,dil2,dilo2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  681.  
  682. local locr = CreatePart(m,0,0,"Neon",maincolor)
  683. CreateMesh(locr,"Brick",0.1,0.1,0.1)
  684. CreateWeld(locr,handle,locr,0,0,-0.435,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  685.  
  686. local dir = CreatePart(m,0,0,"Neon",maincolor)
  687. CreateMesh(dir,"Brick",0.45,0.45,0.3)
  688. CreateWeld(dir,locr,dir,0,0,0,math.rad(0),math.rad(0),math.rad(45),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  689.  
  690. local dir1 = CreatePart(m,0,0,"Neon",maincolor)
  691. CreateMesh(dir1,"Brick",0.225,0.225,0.3)
  692. CreateWeld(dir1,dir,dir1,-0.225,0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  693. local dir2 = CreatePart(m,0,0,"Neon",maincolor)
  694. CreateMesh(dir2,"Brick",0.225,0.225,0.3)
  695. CreateWeld(dir2,dir,dir2,0.225,-0.225,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  696.  
  697. local diro = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  698. CreateMesh(diro,"Brick",0.375,0.375,0.315)
  699. CreateWeld(diro,dir,diro,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  700. local diro1 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  701. CreateMesh(diro1,"Brick",0.175,0.175,0.315)
  702. CreateWeld(diro1,dir1,diro1,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  703. local diro2 = CreatePart(m,0,0,"SmoothPlastic",maincolor2)
  704. CreateMesh(diro2,"Brick",0.175,0.175,0.315)
  705. CreateWeld(diro2,dir2,diro2,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  706. print'Ruin IV 25%'
  707. wait(1)
  708.  
  709.  
  710.  
  711.  
  712. function RemoveOutlines(part)
  713. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  714. end
  715. CFuncs = {
  716. Part = {
  717. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  718. local Part = Create("Part")({
  719. Parent = Parent,
  720. Reflectance = Reflectance,
  721. Transparency = Transparency,
  722. CanCollide = false,
  723. Locked = true,
  724. BrickColor = BrickColor.new(tostring(BColor)),
  725. Name = Name,
  726. Size = Size,
  727. Material = Material
  728. })
  729. RemoveOutlines(Part)
  730. return Part
  731. end
  732. },
  733. Mesh = {
  734. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  735. local Msh = Create(Mesh)({
  736. Parent = Part,
  737. Offset = OffSet,
  738. Scale = Scale
  739. })
  740. if Mesh == "SpecialMesh" then
  741. Msh.MeshType = MeshType
  742. Msh.MeshId = MeshId
  743. end
  744. return Msh
  745. end
  746. },
  747. Mesh = {
  748. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  749. local Msh = Create(Mesh)({
  750. Parent = Part,
  751. Offset = OffSet,
  752. Scale = Scale
  753. })
  754. if Mesh == "SpecialMesh" then
  755. Msh.MeshType = MeshType
  756. Msh.MeshId = MeshId
  757. end
  758. return Msh
  759. end
  760. },
  761. Weld = {
  762. Create = function(Parent, Part0, Part1, C0, C1)
  763. local Weld = Create("Weld")({
  764. Parent = Parent,
  765. Part0 = Part0,
  766. Part1 = Part1,
  767. C0 = C0,
  768. C1 = C1
  769. })
  770. return Weld
  771. end
  772. },
  773. Sound = {
  774. Create = function(id, par, vol, pit)
  775. coroutine.resume(coroutine.create(function()
  776. local S = Create("Sound")({
  777. Volume = vol,
  778. Pitch = pit or 1,
  779. SoundId = id,
  780. Parent = par or workspace
  781. })
  782. wait()
  783. S:play()
  784. game:GetService("Debris"):AddItem(S, 6)
  785. end))
  786. end
  787. },
  788. ParticleEmitter = {
  789. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  790. local fp = Create("ParticleEmitter")({
  791. Parent = Parent,
  792. Color = ColorSequence.new(Color1, Color2),
  793. LightEmission = LightEmission,
  794. Size = Size,
  795. Texture = Texture,
  796. Transparency = Transparency,
  797. ZOffset = ZOffset,
  798. Acceleration = Accel,
  799. Drag = Drag,
  800. LockedToPart = LockedToPart,
  801. VelocityInheritance = VelocityInheritance,
  802. EmissionDirection = EmissionDirection,
  803. Enabled = Enabled,
  804. Lifetime = LifeTime,
  805. Rate = Rate,
  806. Rotation = Rotation,
  807. RotSpeed = RotSpeed,
  808. Speed = Speed,
  809. VelocitySpread = VelocitySpread
  810. })
  811. return fp
  812. end
  813. }
  814. }
  815.  
  816.  
  817.  
  818. Effects = {
  819. Block = {
  820. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type)
  821. local prt = CFuncs.Part.Create(m, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  822. prt.Anchored = true
  823. prt.CFrame = cframe
  824. local msh = CFuncs.Mesh.Create("BlockMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  825. game:GetService("Debris"):AddItem(prt, 10)
  826. if Type == 1 or Type == nil then
  827. table.insert(Effects, {
  828. prt,
  829. "Block1",
  830. delay,
  831. x3,
  832. y3,
  833. z3,
  834. msh
  835. })
  836. elseif Type == 2 then
  837. table.insert(Effects, {
  838. prt,
  839. "Block2",
  840. delay,
  841. x3,
  842. y3,
  843. z3,
  844. msh
  845. })
  846. else
  847. table.insert(Effects, {
  848. prt,
  849. "Block3",
  850. delay,
  851. x3,
  852. y3,
  853. z3,
  854. msh
  855. })
  856. end
  857. end
  858. },
  859. Sphere = {
  860. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  861. local prt = CFuncs.Part.Create(m, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  862. prt.Anchored = true
  863. prt.CFrame = cframe
  864. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  865. game:GetService("Debris"):AddItem(prt, 10)
  866. table.insert(Effects, {
  867. prt,
  868. "Cylinder",
  869. delay,
  870. x3,
  871. y3,
  872. z3,
  873. msh
  874. })
  875. end
  876. },
  877. Cylinder = {
  878. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  879. local prt = CFuncs.Part.Create(m, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  880. prt.Anchored = true
  881. prt.CFrame = cframe
  882. local msh = CFuncs.Mesh.Create("CylinderMesh", prt, "", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  883. game:GetService("Debris"):AddItem(prt, 10)
  884. table.insert(Effects, {
  885. prt,
  886. "Cylinder",
  887. delay,
  888. x3,
  889. y3,
  890. z3,
  891. msh
  892. })
  893. end
  894. },
  895. Wave = {
  896. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  897. local prt = CFuncs.Part.Create(m, "Neon", 0, 0, brickcolor, "Effect", Vector3.new())
  898. prt.Anchored = true
  899. prt.CFrame = cframe
  900. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://431164262", Vector3.new(0, 0, 0), Vector3.new(x1 / 60, y1 / 60, z1 / 60))
  901. game:GetService("Debris"):AddItem(prt, 10)
  902. table.insert(Effects, {
  903. prt,
  904. "Cylinder",
  905. delay,
  906. x3 / 60,
  907. y3 / 60,
  908. z3 / 60,
  909. msh
  910. })
  911. end
  912. },
  913. Ring = {
  914. Create = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  915. local prt = CFuncs.Part.Create(m, "SmoothPlastic", 0, 0, brickcolor, "Effect", Vector3.new())
  916. prt.Anchored = true
  917. prt.CFrame = cframe
  918. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "FileMesh", "rbxassetid://3270017", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  919. game:GetService("Debris"):AddItem(prt, 10)
  920. table.insert(Effects, {
  921. prt,
  922. "Cylinder",
  923. delay,
  924. x3,
  925. y3,
  926. z3,
  927. msh
  928. })
  929. end
  930. },
  931. Break = {
  932. Create = function(brickcolor, cframe, x1, y1, z1)
  933. local prt = CFuncs.Part.Create(m, "Neon", 0, 0, brickcolor, "Effect", Vector3.new(0.5, 0.5, 0.5))
  934. prt.Anchored = true
  935. prt.CFrame = cframe * CFrame.fromEulerAnglesXYZ(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  936. local msh = CFuncs.Mesh.Create("SpecialMesh", prt, "Sphere", "", Vector3.new(0, 0, 0), Vector3.new(x1, y1, z1))
  937. local num = math.random(10, 50) / 1000
  938. game:GetService("Debris"):AddItem(prt, 10)
  939. table.insert(Effects, {
  940. prt,
  941. "Shatter",
  942. num,
  943. prt.CFrame,
  944. math.random() - math.random(),
  945. 0,
  946. math.random(50, 100) / 100
  947. })
  948. end
  949. }
  950. }
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961. local cors = {}
  962. local mas = Instance.new("Model",game:GetService("Lighting"))
  963. local Model1 = Instance.new("Model")
  964. local Part1s = Instance.new("Part")
  965. local Part2s = Instance.new("Part")
  966. local Part3s = Instance.new("Part")
  967. local Part4s = Instance.new("Part")
  968. local Weld5s = Instance.new("Weld")
  969. local Weld6s = Instance.new("Weld")
  970. local Weld7s = Instance.new("Weld")
  971. local Weld8s = Instance.new("Weld")
  972. local Part9s = Instance.new("Part")
  973. Model1.Name = "/shrug"
  974. Model1.Parent = mas
  975. Part1s.Name = "d"
  976. Part1s.Parent = Model1
  977. Part1s.Material = "Metal"
  978. Part1s.BrickColor = BrickColor.new("Really black")
  979. Part1s.Rotation = Vector3.new(0, 90, 0)
  980. Part1s.Size = Vector3.new(0.454666376, 0.549333888, 0.0500000007)
  981. Part1s.CFrame = CFrame.new(-28.8698483, 11.4513311, -5.31685686, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  982. Part1s.Color = Color3.new(0.952941, 0.94902, 0.960784)
  983. Part1s.Position = Vector3.new(-28.8698483, 11.4513311, -5.31685686)
  984. Part1s.Orientation = Vector3.new(0, 90, 0)
  985. Part1s.Color = Color3.new(0.105882, 0.164706, 0.207843)
  986. Part2s.Name = "xp"
  987. Part2s.Parent = Model1
  988. Part2s.Material = "Metal"
  989. Part2s.BrickColor = BrickColor.new("Really black")
  990. Part2s.Rotation = Vector3.new(0, 90, 0)
  991. Part2s.Size = Vector3.new(0.359333158, 0.549333888, 0.0500000007)
  992. Part2s.CFrame = CFrame.new(-28.8698502, 11.7006636, -5.26919031, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  993. Part2s.Color = Color3.new(0.952941, 0.94902, 0.960784)
  994. Part2s.Position = Vector3.new(-28.8698502, 11.7006636, -5.26919031)
  995. Part2s.Orientation = Vector3.new(0, 90, 0)
  996. Part2s.Color = Color3.new(0.105882, 0.164706, 0.207843)
  997. Part3s.Name = "xdd"
  998. Part3s.Parent = Model1
  999. Part3s.BrickColor = BrickColor.new("Black") --Ignore thise pl0x
  1000. Part3s.Rotation = Vector3.new(0, 90, 0)
  1001. Part3s.Size = Vector3.new(0.810000014, 0.149999991, 0.300000012)
  1002. Part3s.CFrame = CFrame.new(-28.8630695, 10.2738171, -5.38322401, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1003. Part3s.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1004. Part3s.Position = Vector3.new(-28.8630695, 10.2738171, -5.38322401)
  1005. Part3s.Orientation = Vector3.new(0, 90, 0)
  1006. Part3s.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1007. Part3s.Transparency = 1
  1008. Part3s.Material = "Slate"
  1009. Part4s.Name = "xd"
  1010. Part4s.Parent = Model1
  1011. Part4s.BrickColor = BrickColor.new("Black") --Ignore thou pl0z
  1012. Part4s.Rotation = Vector3.new(0, 90, 0)
  1013. Part4s.Size = Vector3.new(0.370000064, 1, 0.300000012)
  1014. Part4s.CFrame = CFrame.new(-28.8630695, 9.6988163, -5.26322365, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1015. Part4s.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1016. Part4s.Position = Vector3.new(-28.8630695, 9.6988163, -5.26322365)
  1017. Part4s.Orientation = Vector3.new(0, 90, 0)
  1018. Part4s.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1019. Part4s.Material = "Slate"
  1020. Part4s.Transparency = 1
  1021. Weld5s.Parent = Part4s
  1022. Weld5s.C0 = CFrame.new(0.00596666336, 2.00184655, -0.00677967072, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1023. Weld5s.Part0 = Part4s
  1024. Weld5s.Part1 = Part2s
  1025. Weld6s.Parent = Part4s
  1026. Weld6s.C0 = CFrame.new(0.119999886, 0.575000107, 2.38418579e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1027. Weld6s.Part0 = Part4s
  1028. Weld6s.Part1 = Part3s
  1029. Weld7s.Parent = Part4s
  1030. Weld7s.C0 = CFrame.new(0.101300001, 1.13651657, -0.00677967072, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1031. Weld7s.Part0 = Part4s
  1032. Weld7s.Part1 = Part9s
  1033. Weld8s.Parent = Part4s
  1034. Weld8s.C0 = CFrame.new(0.053633213, 1.75251412, -0.0067782402, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1035. Weld8s.Part0 = Part4s
  1036. Weld8s.Part1 = Part1s
  1037. Part9s.Name = "x"
  1038. Part9s.Parent = Model1
  1039. Part9s.Material = "Metal"
  1040. Part9s.BrickColor = BrickColor.new("Really black")
  1041. Part9s.Rotation = Vector3.new(0, 90, 0)
  1042. Part9s.Size = Vector3.new(0.549999833, 0.582667089, 0.0500000007)
  1043. Part9s.CFrame = CFrame.new(-28.8698483, 10.8353338, -5.36452389, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1044. Part9s.Color = Color3.new(0.952941, 0.94902, 0.960784)
  1045. Part9s.Position = Vector3.new(-28.8698483, 10.8353338, -5.36452389)
  1046. Part9s.Orientation = Vector3.new(0, 90, 0)
  1047. Part9s.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1048. for i,v in pairs(mas:GetChildren()) do
  1049. v.Parent = game:GetService("Players").LocalPlayer.Character
  1050. pcall(function() v:MakeJoints() end)
  1051. end
  1052. mas:Destroy()
  1053. for i,v in pairs(cors) do
  1054. spawn(function()
  1055. pcall(v)
  1056. end)
  1057. end
  1058. local Sweld = Instance.new("Weld", Part4s)
  1059. Sweld.Part0 = game.Players.LocalPlayer.Character["Head"]
  1060. Sweld.Part1 = Part4s
  1061. Sweld.C1 = CFrame.new(.4, .7, .5)
  1062. Sweld.C0 = CFrame.Angles(0, math.rad(-90), math.rad(-35))
  1063.  
  1064.  
  1065.  
  1066.  
  1067.  
  1068. local cors = {}
  1069. local mas = Instance.new("Model",game:GetService("Lighting"))
  1070. local Model0 = Instance.new("Model")
  1071. local Part1 = Instance.new("Part")
  1072. local Part2 = Instance.new("Part")
  1073. local Part3 = Instance.new("Part")
  1074. local Part4 = Instance.new("Part")
  1075. local Weld5 = Instance.new("Weld")
  1076. local Weld6 = Instance.new("Weld")
  1077. local Weld7 = Instance.new("Weld")
  1078. local Weld8 = Instance.new("Weld")
  1079. local Part9 = Instance.new("Part")
  1080. Model0.Name = "/shrug"
  1081. Model0.Parent = mas
  1082. Part1.Name = "d"
  1083. Part1.Parent = Model0
  1084. Part1.Material = "Metal"
  1085. Part1.BrickColor = BrickColor.new("Really black")
  1086. Part1.Rotation = Vector3.new(0, 90, 0)
  1087. Part1.Size = Vector3.new(0.454666376, 0.949333888, 0.0500000007)
  1088. Part1.CFrame = CFrame.new(-28.8698483, 11.4513311, -5.31685686, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1089. Part1.Color = Color3.new(0.952941, 0.94902, 0.960784)
  1090. Part1.Position = Vector3.new(-28.8698483, 11.4513311, -5.31685686)
  1091. Part1.Orientation = Vector3.new(0, 90, 0)
  1092. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1093. Part2.Name = "xp"
  1094. Part2.Parent = Model0
  1095. Part2.Material = "Metal"
  1096. Part2.BrickColor = BrickColor.new("Really black")
  1097. Part2.Rotation = Vector3.new(0, 90, 0)
  1098. Part2.Size = Vector3.new(0.359333158, 0.949333888, 0.0500000007)
  1099. Part2.CFrame = CFrame.new(-28.8698502, 11.7006636, -5.26919031, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1100. Part2.Color = Color3.new(0.952941, 0.94902, 0.960784)
  1101. Part2.Position = Vector3.new(-28.8698502, 11.7006636, -5.26919031)
  1102. Part2.Orientation = Vector3.new(0, 90, 0)
  1103. Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1104. Part3.Name = "xdd"
  1105. Part3.Parent = Model0
  1106. Part3.BrickColor = BrickColor.new("Black") --Ignore thise pl0x
  1107. Part3.Rotation = Vector3.new(0, 90, 0)
  1108. Part3.Size = Vector3.new(0.810000014, 0.149999991, 0.300000012)
  1109. Part3.CFrame = CFrame.new(-28.8630695, 10.2738171, -5.38322401, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1110. Part3.Color = Color3.new(0.627451, 0.372549, 0.207843)
  1111. Part3.Position = Vector3.new(-28.8630695, 10.2738171, -5.38322401)
  1112. Part3.Orientation = Vector3.new(0, 90, 0)
  1113. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1114. Part3.Transparency = 1
  1115. Part3.Material = "Slate"
  1116. Part4.Name = "xd"
  1117. Part4.Parent = Model0
  1118. Part4.BrickColor = BrickColor.new("Black") --Ignore thou pl0z
  1119. Part4.Rotation = Vector3.new(0, 90, 0)
  1120. Part4.Size = Vector3.new(0.370000064, 1, 0.300000012)
  1121. Part4.CFrame = CFrame.new(-28.8630695, 9.6988163, -5.26322365, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1122. Part4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1123. Part4.Position = Vector3.new(-28.8630695, 9.6988163, -5.26322365)
  1124. Part4.Orientation = Vector3.new(0, 90, 0)
  1125. Part4.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1126. Part4.Material = "Slate"
  1127. Part4.Transparency = 1
  1128. Weld5.Parent = Part4
  1129. Weld5.C0 = CFrame.new(0.00596666336, 2.00184655, -0.00677967072, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1130. Weld5.Part0 = Part4
  1131. Weld5.Part1 = Part2
  1132. Weld6.Parent = Part4
  1133. Weld6.C0 = CFrame.new(0.119999886, 0.575000107, 2.38418579e-07, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1134. Weld6.Part0 = Part4
  1135. Weld6.Part1 = Part3
  1136. Weld7.Parent = Part4
  1137. Weld7.C0 = CFrame.new(0.101300001, 1.13651657, -0.00677967072, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1138. Weld7.Part0 = Part4
  1139. Weld7.Part1 = Part9
  1140. Weld8.Parent = Part4
  1141. Weld8.C0 = CFrame.new(0.053633213, 1.75251412, -0.0067782402, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  1142. Weld8.Part0 = Part4
  1143. Weld8.Part1 = Part1
  1144. Part9.Name = "x"
  1145. Part9.Parent = Model0
  1146. Part9.Material = "Metal"
  1147. Part9.BrickColor = BrickColor.new("Really black")
  1148. Part9.Rotation = Vector3.new(0, 90, 0)
  1149. Part9.Size = Vector3.new(0.549999833, 0.982667089, 0.0500000007)
  1150. Part9.CFrame = CFrame.new(-28.8698483, 10.8353338, -5.36452389, 1.77323818e-06, 0, 1.0000025, 0, 1.00000048, 2.16840434e-19, -1.00000298, 0, 1.77323909e-06)
  1151. Part9.Color = Color3.new(0.952941, 0.94902, 0.960784)
  1152. Part9.Position = Vector3.new(-28.8698483, 10.8353338, -5.36452389)
  1153. Part9.Orientation = Vector3.new(0, 90, 0)
  1154. Part9.Color = Color3.new(0.105882, 0.164706, 0.207843)
  1155. for i,v in pairs(mas:GetChildren()) do
  1156. v.Parent = game:GetService("Players").LocalPlayer.Character
  1157. pcall(function() v:MakeJoints() end)
  1158. end
  1159. mas:Destroy()
  1160. for i,v in pairs(cors) do
  1161. spawn(function()
  1162. pcall(v)
  1163. end)
  1164. end
  1165. local Sweld = Instance.new("Weld", Part4)
  1166. Sweld.Part0 = game.Players.LocalPlayer.Character["Head"]
  1167. Sweld.Part1 = Part4
  1168. Sweld.C1 = CFrame.new(.4, .7, .5)
  1169. Sweld.C0 = CFrame.Angles(0, math.rad(-90), math.rad(-55))
  1170. local EC2 = Instance.new("Part")
  1171. EC2.Parent = Character
  1172. EC2.Size = Vector3.new(0.2, 0.2, 0.2)
  1173. EC2.Archivable = true
  1174. EC2.Transparency = 0
  1175. EC2.Shape = "Ball"
  1176. EC2.BrickColor = maincolor
  1177. EC2.Material = "Neon"
  1178. EC2.CanCollide = false
  1179. local mesh = Instance.new("SpecialMesh", EC2)
  1180. mesh.MeshType = "Sphere"
  1181. mesh.Scale = Vector3.new(1.2, 1.2, 1)
  1182. local weld1en = Instance.new("Weld")
  1183. weld1en.Parent = Part9
  1184. weld1en.Part0 = Part9
  1185. weld1en.Part1 = EC2
  1186. weld1en.C1 = CFrame.new(0.1, -1, 0)
  1187.  
  1188. local EC = Instance.new("Part")
  1189. EC.Parent = Character
  1190. EC.Size = Vector3.new(0.2, 0.2, 0.2)
  1191. EC.Archivable = true
  1192. EC.Transparency = 0
  1193. EC.Shape = "Ball"
  1194. EC.BrickColor = maincolor
  1195. EC.Material = "Neon"
  1196. EC.CanCollide = false
  1197. local mesh = Instance.new("SpecialMesh", EC)
  1198. mesh.MeshType = "Sphere"
  1199. mesh.Scale = Vector3.new(1.2, 1.2, 1)
  1200. local weld1en = Instance.new("Weld")
  1201. weld1en.Parent = Part4
  1202. weld1en.Part0 = Part4
  1203. weld1en.Part1 = EC
  1204. weld1en.C1 = CFrame.new(.4, -1.7, 0)
  1205.  
  1206.  
  1207. local Core = Instance.new("Part")
  1208. Core.Parent = Character
  1209. Core.Size = Vector3.new(0.2, 0.2, 0.2)
  1210. Core.Archivable = true
  1211. Core.Transparency = 0
  1212. Core.Shape = "Ball"
  1213. Core.BrickColor = maincolor
  1214. Core.Material = "Neon"
  1215. Core.CanCollide = false
  1216. local mesh = Instance.new("SpecialMesh", Core)
  1217. mesh.MeshType = "Brick"
  1218. mesh.Scale = Vector3.new(5.2, 3.2, 6.3)
  1219. local weld1en = Instance.new("Weld")
  1220. weld1en.Parent = torso
  1221. weld1en.Part0 = torso
  1222. weld1en.Part1 = Core
  1223. weld1en.C1 = CFrame.new(0, -.6, 0)
  1224.  
  1225. local CoreInner = Instance.new("Part")
  1226. CoreInner.Parent = Character
  1227. CoreInner.Size = Vector3.new(0.2, 0.2, 0.2)
  1228. CoreInner.Archivable = true
  1229. CoreInner.Transparency = 0
  1230. CoreInner.Shape = "Ball"
  1231. CoreInner.BrickColor = BrickColor.new("Really black")
  1232. CoreInner.Material = "Neon"
  1233. CoreInner.CanCollide = false
  1234. local mesh = Instance.new("SpecialMesh", CoreInner)
  1235. mesh.MeshType = "Brick"
  1236. mesh.Scale = Vector3.new(6.2, 4.2, 6)
  1237. local weld1en = Instance.new("Weld")
  1238. weld1en.Parent = torso
  1239. weld1en.Part0 = torso
  1240. weld1en.Part1 = CoreInner
  1241. weld1en.C1 = CFrame.new(0, -.6, 0)
  1242. print'Ruin IV 50%'
  1243.  
  1244. wait(1)
  1245.  
  1246. ArmorColorParts = {}
  1247. NeonColorParts = {}
  1248. NeonColorParts2 = {}
  1249. local all, last = {}, nil
  1250. function scan(p) --Thank 123jl123 for this <3
  1251. for _, v in pairs(p:GetChildren()) do
  1252. if v:IsA("BasePart") then
  1253. if v.BrickColor == torso.BrickColor then
  1254. table.insert(ArmorColorParts, v)
  1255. end
  1256. if v.BrickColor == BrickColor.new("Really black") then
  1257. table.insert(NeonColorParts, v)
  1258. table.insert(NeonColorParts2, v)
  1259. end
  1260. if last then
  1261. local w = Instance.new("Weld")
  1262. w.Part0, w.Part1 = last, v
  1263. w.C0 = v.CFrame:toObjectSpace(last.CFrame):inverse()
  1264. w.Parent = last
  1265. end
  1266. table.insert(all, v)
  1267. last = v
  1268. end
  1269. scan(v)
  1270. end
  1271. end
  1272. scan(m)
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278. --Sounds/Music--
  1279. music = Instance.new("Sound",torso)
  1280. music.SoundId = "rbxassetid://858118327"
  1281. music.Volume = 1.5
  1282. music.Looped = true
  1283. music:Play()
  1284.  
  1285. function oldmode()
  1286. for i, v in pairs(ArmorColorParts) do
  1287. v.BrickColor = torso.BrickColor
  1288. v.Material = "Neon"
  1289. v.Transparency = 0
  1290. end
  1291. for i, v in pairs(NeonColorParts) do
  1292. maincolor = BrickColor.new("Really black")
  1293. v.BrickColor = maincolor
  1294. v.Material = "Glass"
  1295. v.Transparency = 0
  1296. end
  1297. EC.BrickColor = torso.BrickColor
  1298. EC2.BrickColor = torso.BrickColor
  1299. Core.BrickColor = torso.BrickColor
  1300. CoreInner.BrickColor = BrickColor.new("Really black")
  1301. CoreInner.Material = "Glass"
  1302. Rmode = "1"
  1303. music.SoundId = "rbxassetid://858118327"
  1304. music:Play()
  1305. end
  1306.  
  1307.  
  1308. mouse.KeyDown:connect(function(key)
  1309. if key == 'q' and attack == false and Rmode == "1" then
  1310. Rmode = "2"
  1311. for i, v in pairs(ArmorColorParts) do
  1312. v.BrickColor = BrickColor.new("Bright red")
  1313. v.Material = "Neon"
  1314. v.Transparency = 0
  1315. end
  1316. for i, v in pairs(NeonColorParts) do
  1317. maincolor = BrickColor.new("Dark stone grey")
  1318. v.BrickColor = maincolor
  1319. v.Material = "Slate"
  1320. v.Transparency = 0
  1321. end
  1322. EC.BrickColor = BrickColor.new("Bright red")
  1323. EC2.BrickColor = BrickColor.new("Bright red")
  1324. Core.BrickColor = BrickColor.new("Bright red")
  1325. CoreInner.BrickColor = BrickColor.new("Dark stone grey")
  1326. CoreInner.Material = "Slate"
  1327. music.SoundId = "http://www.roblox.com/asset/?id=665232687"
  1328. music:play()
  1329. elseif key == "q" and Rmode == "2" and attack == false then
  1330. Rmode = "1"
  1331. oldmode()
  1332. end
  1333. if key == "e" and Rmode == "1" and attack == false then
  1334. Rmode = "3"
  1335. for i, v in pairs(ArmorColorParts) do
  1336. v.BrickColor = BrickColor.new("White")
  1337. v.Material = "Neon"
  1338. v.Transparency = 0
  1339. end
  1340. for i, v in pairs(NeonColorParts) do
  1341. maincolor = BrickColor.new("Steel blue")
  1342. v.BrickColor = maincolor
  1343. v.Material = "Marble"
  1344. v.Transparency = 0
  1345. end
  1346. EC.BrickColor = BrickColor.new("White")
  1347. EC2.BrickColor = BrickColor.new("White")
  1348. Core.BrickColor = BrickColor.new("White")
  1349. CoreInner.Material = "Marble"
  1350. CoreInner.BrickColor = BrickColor.new("Steel blue")
  1351. music.SoundId = "http://www.roblox.com/asset/?id=860594509"
  1352. music:play()
  1353. elseif key == "e" and Rmode == "3" and attack == false then
  1354. Rmode = "1"
  1355. oldmode()
  1356. end
  1357. if key == "r" and Rmode == "1" and attack == false then --This one was for the old script ;(
  1358. Rmode ="4"
  1359. for i, v in pairs(ArmorColorParts) do
  1360. v.BrickColor = BrickColor.new("Really black")
  1361. v.Material = "Neon"
  1362. v.Transparency = 0
  1363. end
  1364. for i, v in pairs(NeonColorParts) do
  1365. maincolor = BrickColor.new("New Yeller")
  1366. v.BrickColor = maincolor
  1367. v.Material = "Neon"
  1368. v.Transparency = 0
  1369. end
  1370. EC.BrickColor = BrickColor.new("New Yeller")
  1371. EC2.BrickColor = BrickColor.new("New Yeller")
  1372. Core.BrickColor = BrickColor.new("Really black")
  1373. CoreInner.BrickColor = BrickColor.new("New Yeller")
  1374. CoreInner.Material = "Neon"
  1375. music.SoundId = "http://www.roblox.com/asset/?id=346175829"
  1376. music:play()
  1377. elseif key == "r" and Rmode == "4" and attack == false then
  1378. Rmode = "1"
  1379. oldmode()
  1380. end
  1381. if key == "t" and Rmode == "1" and attack == false then
  1382. Rmode = "5"
  1383. for i, v in pairs(ArmorColorParts) do
  1384. v.BrickColor = BrickColor.new("Really red")
  1385. v.Material = "Slate"
  1386. v.Transparency = 0
  1387. end
  1388. for i, v in pairs(NeonColorParts) do
  1389. maincolor = BrickColor.new("Bright red")
  1390. v.BrickColor = maincolor
  1391. v.Material = "Granite"
  1392. v.Transparency = 0
  1393. end
  1394. EC.BrickColor = BrickColor.new("Really red")
  1395. EC2.BrickColor = BrickColor.new("Really red")
  1396. Core.BrickColor = BrickColor.new("Really red")
  1397. CoreInner.BrickColor = BrickColor.new("Bright red")
  1398. CoreInner.Material = "Slate"
  1399. music.SoundId = "http://www.roblox.com/asset/?id=250923014"
  1400. music:play()
  1401. char["God Mode"].WalkSpeed = 8
  1402. elseif key == "t" and Rmode == "5" and attack == false then
  1403. Rmode = "1"
  1404. oldmode()
  1405. char["God Mode"].WalkSpeed = 16
  1406. end
  1407. end)
  1408.  
  1409.  
  1410.  
  1411.  
  1412. mouse.KeyDown:connect(function(key)
  1413. if key == 'c' and attack == false then
  1414. TheRuinsSacredWordsII()
  1415. end
  1416. if key == 'x' and attack == false and Rmode == "1" then
  1417. ROCKINBOI()
  1418. end
  1419. end)
  1420.  
  1421.  
  1422.  
  1423.  
  1424. function ROCKINBOI()
  1425. attack = true
  1426. local con5=Humanoid.Touched:connect(function(hit) Damagefunc(hit,10,14,math.random(1,1),"Normal",RootPart,.2,1) end)
  1427. for i = 0,1,0.10 do
  1428. swait()
  1429. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-45),math.rad(0),math.rad(0)),.3)
  1430. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.9, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.4)
  1431. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(4), math.rad(-5)), 0.8)
  1432. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(-4), math.rad(5)), 0.8)
  1433. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-3),math.rad(-10)),.3)
  1434. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0, 0) * angles(math.rad(-50), math.rad(-3), math.rad(-10)),.2)
  1435. end
  1436.  
  1437.  
  1438. for i = 0,1,0.10 do
  1439. swait()
  1440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  1441. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.9, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.4)
  1442. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(46), math.rad(4), math.rad(-5)), 0.8)
  1443. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(46), math.rad(-4), math.rad(5)), 0.8)
  1444. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(3),math.rad(10)),.3)
  1445. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0, 0) * angles(math.rad(-50), math.rad(-3), math.rad(-10)),.2)
  1446. end
  1447. for i = 0,1,0.10 do
  1448. swait()
  1449. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-45),math.rad(0),math.rad(0)),.3)
  1450. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.9, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.4)
  1451. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(4), math.rad(-5)), 0.8)
  1452. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(-4), math.rad(5)), 0.8)
  1453. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-3),math.rad(-10)),.3)
  1454. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0, 0) * angles(math.rad(-50), math.rad(-3), math.rad(-10)),.2)
  1455. end
  1456.  
  1457.  
  1458. for i = 0,1,0.10 do
  1459. swait()
  1460. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  1461. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.9, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.4)
  1462. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(46), math.rad(4), math.rad(-5)), 0.8)
  1463. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(46), math.rad(-4), math.rad(5)), 0.8)
  1464. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(3),math.rad(10)),.3)
  1465. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0, 0) * angles(math.rad(-50), math.rad(-3), math.rad(-10)),.2)
  1466. end
  1467. for i = 0,1,0.10 do
  1468. swait()
  1469. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-45),math.rad(0),math.rad(0)),.3)
  1470. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.9, 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.4)
  1471. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(4), math.rad(-5)), 0.8)
  1472. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(-4), math.rad(5)), 0.8)
  1473. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(-3),math.rad(-10)),.3)
  1474. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0, 0) * angles(math.rad(-50), math.rad(-3), math.rad(-10)),.2)
  1475. end
  1476.  
  1477.  
  1478. for i = 0,1,0.10 do
  1479. swait()
  1480. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(45),math.rad(0),math.rad(0)),.3)
  1481. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -.9, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)), 0.4)
  1482. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(46), math.rad(4), math.rad(-5)), 0.8)
  1483. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(46), math.rad(-4), math.rad(5)), 0.8)
  1484. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(50),math.rad(3),math.rad(10)),.3)
  1485. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0, 0) * angles(math.rad(-50), math.rad(-3), math.rad(-10)),.2)
  1486. end
  1487. con5:disconnect()
  1488. attack = false
  1489.  
  1490.  
  1491. end
  1492.  
  1493. function TheRuinsSacredWordsII()
  1494. attack = true
  1495. for i = 0,4,0.1 do
  1496. swait()
  1497. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -2.5, -2) * CFrame.Angles(math.rad(0), math.rad(0.05*math.cos(sine/60)), math.rad(0)), 0.4)
  1498. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(15+4*math.cos(sine/60)),math.rad(0),math.rad(0)),0.07)
  1499. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(90 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-70)), 0.1)
  1500. LW.C0=clerp(LW.C0,cf(-1.5,0.5+0.04*math.sin(sine/25),0)*angles(math.rad(0),math.rad(4*math.cos(sine/60)),math.rad(-5*math.cos(sine/60))),.3)
  1501. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(-90*math.cos(sine/60))), 0.8)
  1502. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, .5, -.6) * CFrame.Angles(math.rad(0), math.rad(-5*math.cos(sine/60)), math.rad(6)), 0.1)
  1503. end
  1504. wait(.5)
  1505. for i = 0,4,0.1 do
  1506. swait()
  1507. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.cos(sine/60)),math.rad(0),math.rad(0)),0.07)
  1508. end
  1509.  
  1510. local Ring = Instance.new("Part",workspace)
  1511. Ring.Size = Vector3.new(12, 12, 20)
  1512. Ring.BrickColor = BrickColor.new("Crimson")
  1513. local RingEffect = Instance.new("FileMesh",Ring)
  1514. RingEffect.MeshId = "rbxassetid://3270017"
  1515. RingEffect.Scale = Vector3.new(1.3, 1.3, 0.4)
  1516. Ring.CanCollide = false
  1517. Ring.Anchored = true
  1518. Ring.CFrame = Ring.CFrame:lerp(Ring.CFrame * CFrame.new(0, 0, -22), 0.4)
  1519. Ring.CFrame = Ring.CFrame * CFrame.Angles(math.rad(0), math.rad(0), math.rad(29))
  1520. Ring.CFrame = torso.CFrame * CFrame.new(0,-3,0)
  1521. Ring.CFrame = Ring.CFrame * CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1522. local con5=Ring.Touched:connect(function(hit) Damagefunc(hit,13,17,math.random(0,0),"Knockdown",RootPart,.2,1) end)
  1523. for i = 0.14,1,0.015 do
  1524. swait()
  1525. Ring.CFrame = Ring.CFrame * CFrame.fromEulerAnglesXYZ(0,0,0.2)
  1526. Ring.Transparency = Ring.Transparency + 0.03
  1527. RingEffect.Scale = RingEffect.Scale + Vector3.new(2,2,1.8)
  1528. end
  1529. wait(.5)
  1530. con5:disconnect()
  1531. attack = false
  1532. Ring:remove()
  1533. end
  1534.  
  1535.  
  1536.  
  1537.  
  1538. function attackone()
  1539. attack = true
  1540. for i = 0,1,0.12 do
  1541. swait()
  1542. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1543. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(90), math.rad(90)),.2)
  1544. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(90), math.rad(90)),.2)
  1545. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-4)), 0.8)
  1546. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(0)), 0.8)
  1547. end
  1548. local con5=LeftLeg.Touched:connect(function(hit) Damagefunc(hit,13,17,math.random(0,0),"Normal",RootPart,.2,1) end)
  1549. for i = 0,2,0.1 do
  1550. swait()
  1551. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(30), math.rad(-90), math.rad(0)), 0.4)
  1552. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(30),math.rad(0),math.rad(60)),.2)
  1553. RW.C0 = clerp(RW.C0, CFrame.new(.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(-90)),.2)
  1554. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1555. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(100), math.rad(40), math.rad(-90)), 0.8)
  1556. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -0.76, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(30)), 0.8)
  1557.  
  1558. end
  1559. attack = false
  1560.  
  1561. con5:disconnect()
  1562.  
  1563.  
  1564.  
  1565.  
  1566.  
  1567. end
  1568.  
  1569.  
  1570. function attacktwo()
  1571. attack = true
  1572. for i = 0,1,0.12 do
  1573. swait()
  1574. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1575. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(21), math.rad(97)),.2)
  1576. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1577. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-4)), 0.8)
  1578. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(0)), 0.8)
  1579. end
  1580. local con5=ra.Touched:connect(function(hit) Damagefunc(hit,13,17,math.random(0,0),"Normal",RootPart,.2,1) end)
  1581. for i = 0,2,0.1 do
  1582. swait()
  1583. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, -3) * CFrame.Angles(math.rad(-30), math.rad(0), math.rad(0)), 0.4)
  1584. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1585. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(-80), math.rad(-60)),.2)
  1586.  
  1587. end
  1588. attack = false
  1589.  
  1590. con5:disconnect()
  1591.  
  1592.  
  1593.  
  1594.  
  1595.  
  1596. end
  1597.  
  1598.  
  1599.  
  1600. function attackthree()
  1601. attack = true
  1602. for i = 0,1,0.12 do
  1603. swait()
  1604. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1605. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, 0.8) * angles(math.rad(90), math.rad(-10), math.rad(90)), 0.1)
  1606. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
  1607. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-4)), 0.8)
  1608. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(0)), 0.8)
  1609. end
  1610.  
  1611. local con5=la.Touched:connect(function(hit) Damagefunc(hit,13,17,math.random(2,5),"Normal",RootPart,.2,1) end)
  1612.  
  1613. for i = 0,2,0.1 do
  1614. swait()
  1615. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, -3) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1616. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(60)),.2)
  1617. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)),.2)
  1618. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, -.3) * angles(math.rad(20), math.rad(-40), math.rad(-90)),.2)
  1619. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(4), math.rad(-4)), 0.8)
  1620. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(4)), 0.8)
  1621.  
  1622. end
  1623. con5:disconnect()
  1624. attack = false
  1625. end
  1626.  
  1627. function attackfour()
  1628. attack = true
  1629. for i = 0,2,0.1 do
  1630. swait()
  1631. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-90), math.rad(0)), 0.4)
  1632. RW.C0 = clerp(RW.C0, CFrame.new(1.2, 0.7, 0.8) * angles(math.rad(90), math.rad(-10), math.rad(90)), 0.1)
  1633. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25), math.rad(0), math.rad(0)), 0.3)
  1634. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(50), math.rad(-4)), 0.8)
  1635. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(0)), 0.8)
  1636. end
  1637. local con5=ra.Touched:connect(function(hit) Damagefunc(hit,35,46,math.random(2,5),"Normal",RootPart,.2,1) end)
  1638. for i = 0,2,0.1 do
  1639. swait()
  1640. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(90), math.rad(0)), 0.4)
  1641. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, -.3) * angles(math.rad(0), math.rad(40), math.rad(90)),.2)
  1642. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)),.2)
  1643. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(0)), 0.8)
  1644. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-40), math.rad(4)), 0.8)
  1645.  
  1646. end
  1647. con5:disconnect()
  1648. attack = false
  1649. end
  1650.  
  1651.  
  1652.  
  1653.  
  1654.  
  1655. mouse.Button1Down:connect(function()
  1656. if attack==false then
  1657. if attacktype==1 then
  1658. attack=true
  1659. attacktype=2
  1660. attackone()
  1661. elseif attacktype==2 then
  1662. attack=true
  1663. attacktype=3
  1664. attacktwo()
  1665. elseif attacktype==3 then
  1666. attack=true
  1667. attacktype=4
  1668. attackthree()
  1669. elseif attacktype==4 then
  1670. attack=true
  1671. attacktype=1
  1672. attackfour()
  1673.  
  1674. end
  1675. end
  1676. end)
  1677.  
  1678. ff = Instance.new("ForceField", game.Players.LocalPlayer.Character)
  1679. ff.Visible = false
  1680. Humanoid.Name = "God Mode"
  1681. Humanoid.MaxHealth = 1.0E298
  1682. Humanoid.Health = 1.0E298
  1683. game:GetService("RunService"):BindToRenderStep("ew", 0, function()
  1684. if Humanoid.Health > 0.1 and Humanoid.Health < 1.0E298 then
  1685. Humanoid.MaxHealth = 1.0E298
  1686. Humanoid.Health = 1.0E298
  1687. end
  1688. end)
  1689.  
  1690.  
  1691. --animations--
  1692. local sine = 0
  1693. local change = 1
  1694. local val = 0
  1695. Humanoid.Animator.Parent = nil
  1696. idleanim=.4
  1697. print'Ruin IV 100%'
  1698. print'Ruin IV Loaded'
  1699. while true do
  1700. swait()
  1701. sine = sine + change
  1702. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  1703. local velderp=RootPart.Velocity.y
  1704. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  1705. if equipped==true or equipped==false then
  1706. if attack==false then
  1707. idle=idle+1
  1708. else
  1709. idle=0
  1710. end
  1711. if idle>=500 then
  1712. if attack==false then
  1713. --Sheath() xdxdxdxdxd
  1714. end
  1715. end
  1716. if RootPart.Velocity.y > 1 and hitfloor==nil then
  1717. Anim="Jump"
  1718. if attack==false then
  1719. change = 2
  1720. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1721. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0 + 360 * math.cos (sine / 30)),math.rad(0),math.rad(0)),.3)
  1722. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1723. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(10)), 0.3)
  1724. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20), math.rad(0), math.rad(-30)), 0.3)
  1725. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(-20)),.3)
  1726. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-60),math.rad(0)),.3)
  1727. elseif attack==false and Rmode=="4" then
  1728. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1729. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4)
  1730. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10+2.05*math.cos(sine/5)),math.rad(0),math.rad(0)),.3)
  1731. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(50-2.05*math.cos(sine/5))), 0.3)
  1732. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-20+2.05*math.cos(sine/5)), math.rad(-10), math.rad(-50+2.05*math.cos(sine/5))), 0.3)
  1733. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.47, -0.7) * CFrame.Angles(math.rad(-12+3.05*math.cos(sine/5)), math.rad(0), math.rad(0)), 0.8)
  1734. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-25+3.05*math.cos(sine/5)), math.rad(-3), math.rad(0)), 0.8)
  1735. end
  1736. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  1737. Anim="Fall"
  1738. change = 1
  1739. if attack==false then
  1740. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1741. RH.C0=clerp(RH.C0,cf(1,0.20,-0.25)*angles(math.rad(90),math.rad(90),math.rad(90))*angles(math.rad(90),math.rad(90),math.rad(90)),.3)
  1742. LH.C0=clerp(LH.C0,cf(-1,-0.70,-0.25)*angles(math.rad(90),math.rad(-90),math.rad(90))*angles(math.rad(90),math.rad(90),math.rad(90)),.3)
  1743. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1744. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3)
  1745. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(90)), 0.3)
  1746. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.65, 0) * angles(math.rad(-10), math.rad(0), math.rad(-90)), 0.3)
  1747. elseif attack==false and Rmode=="4" then
  1748. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1749. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(math.rad(-10), math.rad(0), math.rad(0)), 0.4)
  1750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(5), math.rad(10), math.rad(20)), 0.3)
  1751. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-5), math.rad(-10), math.rad(-20)), 0.3)
  1752. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1753. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(40),math.rad(0),math.rad(0)),.3)
  1754. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -.67, -0.4) * CFrame.Angles(math.rad(25), math.rad(0), math.rad(0)), 0.8)
  1755. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(0), math.rad(-3), math.rad(0)), 0.8)
  1756. end
  1757.  
  1758.  
  1759.  
  1760.  
  1761. --idle--
  1762. elseif torvel<1 and hitfloor~=nil then
  1763. Anim="Idle"
  1764. if attack==false and Rmode=="1" then
  1765. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1766. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/25)),math.rad(0),math.rad(0)),.2)
  1767. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1768. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1769. RW.C0=clerp(RW.C0,cf(1.5,0.5+0.04*math.sin(sine/25),0)*angles(math.rad(0),math.rad(-4),math.rad(5)),.3)
  1770. LW.C0=clerp(LW.C0,cf(-1.5,0.5+0.04*math.sin(sine/25),0)*angles(math.rad(0),math.rad(4),math.rad(-5)),.3)
  1771. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.05*math.cos(sine/25), 0.1) * CFrame.Angles(math.rad(-8), math.rad(5*math.cos(sine/60)), math.rad(-6)), 0.1)
  1772. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(8), math.rad(-5*math.cos(sine/60)), math.rad(6)), 0.1)
  1773. elseif attack==false and Rmode=="2" then
  1774. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1775. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1776. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/25)),math.rad(0),math.rad(0)),.2)
  1777. RW.C0 = clerp(RW.C0, CFrame.new(1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(90 - 1 * math.cos(sine / 25)), math.rad(0), math.rad(-50)), 0.1)
  1778. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5+0.04*math.sin(sine/25), -0.35) * angles(math.rad(70 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(70)), 0.1)
  1779. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.05*math.cos(sine/25), 0.1) * CFrame.Angles(math.rad(-8), math.rad(5*math.cos(sine/60)), math.rad(-6)), 0.1)
  1780. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(8), math.rad(-5*math.cos(sine/60)), math.rad(6)), 0.1)
  1781. elseif attack==false and Rmode=="3" then
  1782. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1783. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1784. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1785. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/25)),math.rad(0),math.rad(0)),.2)
  1786. RW.C0=clerp(RW.C0,cf(1.5,0.5+0.04*math.sin(sine/25),0)*angles(math.rad(0),math.rad(-15),math.rad(15)),.3)
  1787. LW.C0 = clerp(LW.C0, CFrame.new(-1, 0.5+0.04*math.sin(sine/25), -0.45) * angles(math.rad(70 - 1 * math.cos(sine / 25)), math.rad(-7), math.rad(70)), 0.1)
  1788. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.05*math.cos(sine/25), 0.1) * CFrame.Angles(math.rad(-8), math.rad(5*math.cos(sine/60)), math.rad(-6)), 0.1)
  1789. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(8), math.rad(-5*math.cos(sine/60)), math.rad(6)), 0.1)
  1790. elseif attack==false and Rmode=="4" then
  1791. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/25)),math.rad(5),math.rad(5)),.2)
  1792. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.8)
  1793. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-25), math.rad(0)), 0.8)
  1794. RW.C0=clerp(RW.C0,cf(1.5,0.5+0.04*math.sin(sine/25),0)*angles(math.rad(0),math.rad(-15),math.rad(25)),.3)
  1795. LW.C0=clerp(LW.C0,cf(-1.5,0.5+0.04*math.sin(sine/25),0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  1796. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1+0.05*math.cos(sine/25), 0.1) * CFrame.Angles(math.rad(0), math.rad(5*math.cos(sine/60)), math.rad(-6)), 0.1)
  1797. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.05*math.cos(sine/25), 0) * CFrame.Angles(math.rad(0), math.rad(-5*math.cos(sine/60)), math.rad(6)), 0.1)
  1798. elseif attack==false and Rmode=="5" then
  1799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-45),math.rad(5* math.cos(sine / 60)),math.rad(0)),.3)
  1800. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05* math.cos(sine / 60), 0) * CFrame.Angles(math.rad(50), math.rad(0), math.rad(0)), 0.4)
  1801. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(4), math.rad(-5)), 0.8)
  1802. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(math.rad(-46), math.rad(-4), math.rad(5)), 0.8)
  1803. RW.C0=clerp(RW.C0,cf(1.5,0.5+0.04* math.cos(sine / 60),0)*angles(math.rad(-50),math.rad(-3* math.cos(sine / 60)),math.rad(10)),.3)
  1804. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5+0.04* math.cos(sine / 60), 0) * angles(math.rad(-50), math.rad(-3* math.cos(sine / 60)), math.rad(-10)),.2)
  1805. end
  1806.  
  1807.  
  1808.  
  1809. --walk--
  1810. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  1811. Anim="Walk"
  1812. if attack==false and Rmode=="1" then
  1813. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1814. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1815. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05, 0) * CFrame.Angles(math.rad(0), math.rad(0.05) + math.sin(sine/8)/5.2, math.rad(0)), 0.8)
  1816. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/8)),math.rad(0),math.rad(0)),.2)
  1817. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10) + -math.sin(sine/8)/1.2,math.rad(5* math.cos(sine / 8)),math.rad(15 + 1.25 * math.cos(sine / 8))),.3)
  1818. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10) + math.sin(sine/8)/1.2,math.rad(5* math.cos(sine / 8)),math.rad(-15 - 1.25 * math.cos(sine / 8))),.3)
  1819. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/8)/2, 0 *math.sin(sine/8)/2) * CFrame.Angles(math.rad(-1) + -math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1820. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/8)/2,0 *-math.sin(sine/8)/2) * CFrame.Angles(math.rad(-1) + math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1821. elseif attack==false and Rmode=="2" then
  1822. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1823. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1824. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/7.5), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/15)), 0, 0), 0.8)
  1825. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/18)),math.rad(0),math.rad(0)),.2)
  1826. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  1827. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  1828. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/8)/2, 0 *math.sin(sine/8)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1829. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/8)/2,0 *-math.sin(sine/8)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1830. elseif attack==false and Rmode=="3" then
  1831. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1832. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,-0.2)* angles(math.rad(20),math.rad(0),math.rad(0)),.2)
  1833. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/8), 0) * CFrame.Angles(math.rad(-20+2*math.cos(sine/8)), math.rad(0.05) + math.sin(sine/8)/5.2, 0), 0.8)
  1834. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-12+5*math.cos(sine/8)),math.rad(0),math.rad(0)),.2)
  1835. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(25 * math.cos(sine / 7)) + math.sin(sine / 7) / 2.5, math.rad(0), math.rad(10)), 0.2)
  1836. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(-25 * math.cos(sine / 7)) + -math.sin(sine / 7) / 2.5, math.rad(0), math.rad(-10)), 0.2)
  1837. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/8)/2, 0 *math.sin(sine/8)/2) * CFrame.Angles(math.rad(-15) + -math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1838. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/8)/2,0 *-math.sin(sine/8)/2) * CFrame.Angles(math.rad(-15) + math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1839. elseif attack==false and Rmode=="4" then
  1840. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1841. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1842. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/8), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/8)), 0, 0), 0.8)
  1843. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/8)),math.rad(0),math.rad(0)),.2)
  1844. RW.C0 = clerp(RW.C0, CFrame.new(.9, 0.5, -0.5) * angles(math.rad(90), math.rad(-80), math.rad(-40)),.2)
  1845. LW.C0 = clerp(LW.C0, CFrame.new(-.7, 0.5, -0.7) * angles(math.rad(50), math.rad(0), math.rad(90)),.2)
  1846. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/8)/2, 0 *math.sin(sine/8)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1847. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/8)/2,0 *-math.sin(sine/8)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1848. elseif attack==false and Rmode=="5" then
  1849. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1850. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1851. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05, 0) * CFrame.Angles(math.rad(0), math.rad(10*math.cos(sine/15)), math.rad(0)), 0.8)
  1852. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/18)),math.rad(0),math.rad(0)),.2)
  1853. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 15 * math.cos(sine / 15)),math.rad(5* math.cos(sine / 15)),math.rad(10 + 1.25 * math.cos(sine / 15))),.3)
  1854. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 15 * math.cos(sine / 15)),math.rad(5* math.cos(sine / 15)),math.rad(-10 - 1.25 * math.cos(sine / 15))),.3)
  1855. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/15)/2, 0 *math.sin(sine/15)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/15)/1.2, math.rad(0), 0), .8)
  1856. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/15)/2,0 *-math.sin(sine/15)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/15)/1.2, math.rad(0), 0), .8)
  1857. end
  1858.  
  1859.  
  1860.  
  1861.  
  1862.  
  1863. elseif torvel>=9999999999999999999999 and hitfloor~=nil then
  1864. Anim="Run"
  1865. if attack==false then
  1866. Humanoid.CameraOffset = Vector3.new(0,0,0)
  1867. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(0)),.2)
  1868. Torso.Weld.C0 = clerp(Torso.Weld.C0, CFrame.new(0, -1-0.05*math.cos(sine/7.5), 0) * CFrame.Angles(math.rad(-10+2*math.cos(sine/15)), 0, 0), 0.8)
  1869. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-4+2*math.sin(sine/18)),math.rad(0),math.rad(0)),.2)
  1870. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  1871. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  1872. LeftLeg.Weld.C0 = clerp(LeftLeg.Weld.C0, CFrame.new(-0.5, -1-0.4*math.cos(sine/8)/2, 0 *math.sin(sine/8)/2) * CFrame.Angles(math.rad(0) + -math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1873. RightLeg.Weld.C0 = clerp(RightLeg.Weld.C0, CFrame.new(0.5, -1+0.4*math.cos(sine/8)/2,0 *-math.sin(sine/8)/2) * CFrame.Angles(math.rad(0) + math.sin(sine/8)/1.2, math.rad(0), 0), .8)
  1874. end
  1875. end
  1876. end
  1877. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement