Advertisement
cubanmixed2

RUIN XD

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