Advertisement
Goo345

cfgh

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