Advertisement
Goo345

Untitled

Aug 8th, 2018
190
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 53.50 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Please run as a server script. Use h/ instead of hl/.") end
  2. print("FE Compatibility code by Mokiros")
  3. InternalData = {}
  4. do
  5. script.Parent = owner.Character
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput"
  8. local function NewFakeEvent()
  9. local Fake = {fakeEvent=true,Connect=function(self,Func)self.Function=Func end}Fake.connect = Fake.Connect
  10. return Fake
  11. end
  12. local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()}
  13. local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()}
  14. local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
  15. self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
  16. end};ContextActionService.UnBindAction = ContextActionService.BindAction
  17. local function TriggerEvent(self,Event,...)
  18. local Trigger = Mouse[Event]
  19. if Trigger and Trigger.fakeEvent and Trigger.Function then
  20. Trigger.Function(...)
  21. end
  22. end
  23. Mouse.TrigEvent = TriggerEvent
  24. UserInputService.TrigEvent = TriggerEvent
  25. Event.OnServerEvent:Connect(function(FiredBy,Input)
  26. if FiredBy.Name ~= owner.Name then end
  27. if Input.MouseEvent then
  28. Mouse.Target = Input.Target
  29. Mouse.Hit = Input.Hit
  30. else
  31. local Begin = Input.UserInputState == Enum.UserInputState.Begin
  32. if Input.UserInputType == Enum.UserInputType.MouseButton1 then
  33. return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up")
  34. end
  35. for _,Action in pairs(ContextActionService.Actions) do
  36. for _,Key in pairs(Action.Keys) do
  37. if Key==Input.KeyCode then
  38. Action.Function(Action.Name,Input.UserInputState,Input)
  39. end
  40. end
  41. end
  42. Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower())
  43. UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false)
  44. end
  45. end)
  46. InternalData["Mouse"] = Mouse
  47. InternalData["ContextActionService"] = ContextActionService
  48. InternalData["UserInputService"] = UserInputService
  49. Event.Parent = NLS([[
  50. local Player = owner
  51. local Event = script:WaitForChild("UserInput")
  52. local UserInputService = game:GetService("UserInputService")
  53. local Mouse = Player:GetMouse()
  54. local Input = function(Input,gameProcessedEvent)
  55. if gameProcessedEvent then return end
  56. Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
  57. end
  58. UserInputService.InputBegan:Connect(Input)
  59. UserInputService.InputEnded:Connect(Input)
  60. local Hit,Target
  61. while wait(1/30) do
  62. if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
  63. Hit,Target = Mouse.Hit,Mouse.Target
  64. Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
  65. end
  66. end
  67. ]],owner.Character)
  68. end
  69. RealGame = game;game = setmetatable({},{
  70. __index = function (self,Index)
  71. local Sandbox = function (Thing)
  72. if Thing:IsA("Player") then
  73. local RealPlayer = Thing
  74. return setmetatable({},{
  75. __index = function (self,Index)
  76. local Type = type(RealPlayer[Index])
  77. if Type == "function" then
  78. if Index:lower() == "getmouse" or Index:lower() == "mouse" then
  79. return function (self)
  80. return InternalData["Mouse"]
  81. end
  82. end
  83. return function (self,...)
  84. return RealPlayer[Index](RealPlayer,...)
  85. end
  86. else
  87. if Index == "PlrObj" then
  88. return RealPlayer
  89. end
  90. return RealPlayer[Index]
  91. end
  92. end;
  93. __tostring = function(self)
  94. return RealPlayer.Name
  95. end
  96. })
  97. end
  98. end
  99. if RealGame[Index] then
  100. local Type = type(RealGame[Index])
  101. if Type == "function" then
  102. if Index:lower() == "getservice" or Index:lower() == "service" then
  103. return function (self,Service)
  104. if Service:lower() == "players" then
  105. return setmetatable({},{
  106. __index = function (self2,Index2)
  107. local RealService = RealGame:GetService(Service)
  108. local Type2 = type(Index2)
  109. if Type2 == "function" then
  110. return function (self,...)
  111. return RealService[Index2](RealService,...)
  112. end
  113. else
  114. if Index2:lower() == "localplayer" then
  115. return Sandbox(owner)
  116. end
  117. return RealService[Index2]
  118. end
  119. end;
  120. __tostring = function(self)
  121. return RealGame:GetService(Service).Name
  122. end
  123. })
  124. elseif Service:lower() == "contextactionservice" then
  125. return InternalData["ContextActionService"]
  126. elseif Service:lower() == "contextactionservice" then
  127. return InternalData["UserInputService"]
  128. elseif Service:lower() == "runservice" then
  129. return setmetatable({},{
  130. __index = function(self2,Index2)
  131. local RealService = RealGame:GetService(Service)
  132. local Type2 = type(Index2)
  133. if Type2 == "function" then
  134. return function (self,...)
  135. return RealService[Index2](RealService,...)
  136. end
  137. else
  138. if Index2:lower() == "bindtorenderstep" then
  139. return function (self,Name,Priority,Function)
  140. return RealGame:GetService("RunService").Stepped:Connect(Function)
  141. end
  142. end
  143. if Index2:lower() == "renderstepped" then
  144. return RealService["Stepped"]
  145. end
  146. return RealService[Index2]
  147. end
  148. end
  149. })
  150. else
  151. return RealGame:GetService(Service)
  152. end
  153. end
  154. end
  155. return function (self,...)
  156. return RealGame[Index](RealGame,...)
  157. end
  158. else
  159. if game:GetService(Index) then
  160. return game:GetService(Index)
  161. end
  162. return RealGame[Index]
  163. end
  164. else
  165. return nil
  166. end
  167. end
  168. });Game = game;owner = game:GetService("Players").LocalPlayer;script = {}
  169. print("Complete! Running...")
  170.  
  171.  
  172. --//Paste script below this line.
  173.  
  174. wait(.25)--made by yoyyo75 :3
  175. run = game:GetService("RunService")
  176. local player = game.Players.LocalPlayer;char = player.Character;char.Archivable = true;
  177. hrp = char:findFirstChild("HumanoidRootPart");head = char:findFirstChild("Head");ra = char:findFirstChild("Right Arm");la = char:findFirstChild("Left Arm");t = char:findFirstChild("Torso");humanoid = char:findFirstChild("Humanoid");ll = char:findFirstChild("Left Leg");rl = char:findFirstChild("Right Leg");
  178. if player.Backpack:findFirstChild("WindKatana") then
  179. player.Backpack:findFirstChild("WindKatana").Parent = nil
  180. end
  181. local hb = Instance.new("HopperBin", player.Backpack)
  182. hb.Name = "WindKatana"
  183. sword = Instance.new("Model");sword.Name = "WindKatana"
  184. script.Parent = hb;idol = true
  185. if char:findFirstChild(hb.Name) then
  186. char:findFirstChild(hb.Name):Destroy()
  187. end
  188. equip=false;anim = false;banim=false;click=false;damageon=false;DMG=0;edown=false;canjump=true;running=false;don=false;Damag = 10;fell = true;lenormal=true;lerun=false;canjump=true;locanrun=false;ss=false;canboost = true
  189. if char:findFirstChild(hb.Name) then
  190. char:findFirstChild(hb.Name).Parent = nil
  191. end
  192. function weldIt(p1,p2,r1,r2,place)
  193. local w = Instance.new("Weld")
  194. if place then
  195. w.Parent = place
  196. else
  197. w.Parent = p1
  198. end
  199. w.Part0 = p1
  200. w.Part1 = p2
  201. w.C0 = r1
  202. if r2 then
  203. w.C1 = r2
  204. end
  205. return w
  206. end
  207.  
  208.  
  209.  
  210. Add = {
  211. part = function(color,size,pos, place, naym,scale, thing,mt,ccd,id,transparent,loool,ff,yos)
  212. if loool ~= nil then
  213. balleff = Instance.new(loool, place)
  214. else
  215. balleff = Instance.new("Part", place)
  216. balleff.Material = "SmoothPlastic"
  217. balleff.TopSurface = "SmoothNoOutlines"
  218. balleff.BottomSurface = "SmoothNoOutlines"
  219. balleff.RightSurface = "SmoothNoOutlines"
  220. balleff.LeftSurface = "SmoothNoOutlines"
  221. end
  222. balleff.Name = naym
  223. balleff.Anchored= true
  224. balleff.CFrame = pos
  225. if loool == nil then
  226. balleff.Shape = thing
  227. end
  228. if ff then
  229. balleff.FormFactor = ff
  230. end
  231. balleff.CanCollide = ccd;balleff.Transparency = transparent;
  232. balleff.TopSurface = 0
  233. balleff.BottomSurface = 0
  234. balleff.Size = size
  235. balleff.BrickColor = BrickColor.new(color)
  236. if not yos then
  237. mesh = Instance.new("SpecialMesh",balleff)
  238. mesh.MeshType = mt
  239. else
  240. mesh = Instance.new(yos,balleff)
  241. end
  242. mesh.Scale = scale
  243. if mt == "FileMesh" then
  244. mesh.MeshId = id
  245. end
  246. balleff.Parent = place
  247. return balleff
  248. end,
  249. bp = function(parent,num,p)
  250. lop = Instance.new("BodyPosition",parent)
  251. lop.Name = num
  252. lop.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  253. lop.position = p
  254. return lop
  255. end,
  256. BG = function(P,cf)
  257. local bg = Instance.new("BodyGyro",P)
  258. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  259. bg.P = 14000
  260. bg.cframe = cf
  261. return bg
  262. end
  263. }
  264.  
  265.  
  266.  
  267.  
  268.  
  269.  
  270.  
  271.  
  272. -- MAKING THE BLADE---
  273. Lite= Add.part("Mid gray",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-185.849991, 1.64999986, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Lite",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
  274. Dark= Add.part("Black",Vector3.new(0.400000066, 0.799999952, 0.49999997),CFrame.new(-185.991409, 1.50857925, -65.3999939, -0.707106709, -0.707106709, 0, 0.707106709, -0.707106709, 0, 0, 0, 1),sword,"Dark",Vector3.new(0.100000001, 0.949999988, 0.574999988),"Block","Brick",false,nil,0,Part,"Custom")
  275. Dark= Add.part("Black",Vector3.new(0.400000066, 0.399999976, 0.399999976),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
  276. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-183.909775, 3.94065022, -65.3999939, 0.500000119, -0.866025269, 0, 0.866025269, 0.500000119, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
  277. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-183.803696, 3.83458066, -65.3799896, 0.500000119, 0.866025269, 1.44789709e-007, 0.866025269, -0.500000119, -6.87506159e-008, 1.28551001e-008, 1.5976687e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  278. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-185.531784, 1.82677507, -65.3999939, 0.707106829, -0.707106709, 0, 0.707106709, 0.707106829, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
  279. Dark= Add.part("Black",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-185.849991, 1.64999986, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
  280. Dark= Add.part("Black",Vector3.new(0.200000077, 0.200000003, 0.5),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
  281. Lite= Add.part("Mid gray",Vector3.new(0.400000066, 0.399999976, 0.399999976),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Lite",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
  282. BPart= Add.part("Black",Vector3.new(0.5, 0.399999976, 0.399999976),CFrame.new(-187.087418, 0.412563771, -65.3999939, 0.707106769, -0.70710665, 0, 0.70710665, 0.707106769, 0, 0, 0, 1),sword,"BPart",Vector3.new(0.300000012, 1, 0.800000012),"Block","Cylinder",false,nil,0,Part,"Custom")
  283. Dark= Add.part("Black",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-186.132828, 1.36715674, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Dark",Vector3.new(1, 1, 0.600000024),"Block","Brick",false,nil,0,Part,"Custom")
  284. Blade= Add.part("Medium stone grey",Vector3.new(1, 0.200000003, 0.399999976),CFrame.new(-185.461075, 1.68535447, -65.4199982, -0.707106948, 0.70710659, 4.49529054e-008, -0.70710659, -0.707106948, -1.68587405e-007, -8.74227553e-008, -1.50995817e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  285. Blade= Add.part("Medium stone grey",Vector3.new(0.450000018, 0.200000003, 0.399999976),CFrame.new(-183.487625, 4.42047977, -65.4199982, -0.42261827, 0.906307817, 6.54755326e-008, -0.906307817, -0.42261827, -1.5063398e-007, -1.08849591e-007, -1.23001655e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  286. Lite= Add.part("Mid gray",Vector3.new(0.300000042, 0.299999982, 0.399999976),CFrame.new(-186.132828, 1.36715674, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Lite",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
  287. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.824173, 2.3771975, -65.4199982, -0.642787755, 0.766044319, 4.49529054e-008, -0.766044319, -0.642787755, -1.68587405e-007, -1.00250247e-007, -1.42801824e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  288. Blade= Add.part("Medium stone grey",Vector3.new(0.200000048, 0.400000006, 0.399999976),CFrame.new(-183.458023, 4.85696697, -65.3999939, -4.58588154e-008, 0.34202069, -0.939692378, -1.01666373e-008, 0.939692378, 0.34202069, 1, 2.52381778e-008, -3.96159798e-008),sword,"Blade",Vector3.new(0.400000006, 1, 0.5),"Block","Wedge",false,nil,0,Part,"Custom")
  289. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.28212, 3.08361006, -65.3799896, 0.57357651, 0.819151938, 1.44790121e-007, 0.819151938, -0.57357651, -6.87501966e-008, 2.67313585e-008, 1.58038603e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  290. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.824173, 2.3771956, -65.3799896, 0.642787695, 0.766044378, 1.25616637e-007, 0.766044378, -0.642787695, -8.79236737e-008, 1.33913973e-008, 1.52744178e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  291. Blade= Add.part("Medium stone grey",Vector3.new(1, 0.200000003, 0.399999976),CFrame.new(-185.461075, 1.68535447, -65.3799896, 0.707106829, 0.707106709, 1.06770145e-007, 0.707106709, -0.707106829, -1.06770166e-007, 0, 1.50995803e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  292. Blade= Add.part("Medium stone grey",Vector3.new(0.5, 0.200000003, 0.399999976),CFrame.new(-183.40889, 4.83704281, -65.3799896, -0.0871555209, 0.99619472, 2.72493907e-007, 0.99619472, 0.0871555209, 5.89535674e-008, 3.49798697e-008, 2.76595131e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  293. Blade= Add.part("Medium stone grey",Vector3.new(0.400000036, 0.200000003, 0.399999976),CFrame.new(-183.604263, 4.50388622, -65.3999939, 0.42261833, -0.906307757, 0, 0.906307757, 0.42261833, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
  294. Handle= Add.part("Medium stone grey",Vector3.new(1.20000005, 0.399999976, 0.399999976),CFrame.new(-186.627823, 0.872184277, -65.3999939, 0.707106769, -0.70710665, 0, 0.70710665, 0.707106769, 0, 0, 0, 1),sword,"Handle",Vector3.new(1, 1, 0.600000024),"Block","Cylinder",false,nil,0,Part,"Custom")
  295. Blade= Add.part("Medium stone grey",Vector3.new(0.450000018, 0.200000003, 0.399999976),CFrame.new(-183.487625, 4.4204855, -65.3799896, 0.422614396, 0.906309605, 1.64295614e-007, 0.906309605, -0.422614396, -4.92447079e-008, 2.48027376e-008, 1.69714212e-007, -1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  296. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.930252, 2.48326516, -65.3999939, 0.642787695, -0.766044378, 0, 0.766044378, 0.642787695, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
  297. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.28212, 3.08361387, -65.4199982, -0.57357657, 0.819151938, 4.49529622e-008, -0.819151938, -0.57357657, -1.6858732e-007, -1.12314666e-007, -1.33521056e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  298. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-183.803696, 3.83458257, -65.4199982, -0.500000179, 0.866025329, 6.55408243e-008, -0.866025329, -0.500000179, -1.5046507e-007, -9.75361445e-008, -1.31992579e-007, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  299. Blade= Add.part("Medium stone grey",Vector3.new(0.5, 0.200000003, 0.399999976),CFrame.new(-183.40889, 4.83704853, -65.4199982, 0.0871553719, 0.99619472, 6.76225653e-008, -0.99619472, 0.0871553719, -1.49568123e-007, -1.54892646e-007, -5.43295755e-008, 1),sword,"Blade",Vector3.new(1, 0.5, 0.100000001),"Block","Wedge",false,nil,0,Part,"Custom")
  300. Core= Add.part("Bright red",Vector3.new(0.200000077, 0.200000003, 0.5),CFrame.new(-185.991409, 1.50857735, -65.3999939, 0, -1, 0, 1, 0, -0, 0, 0, 1),sword,"Core",Vector3.new(0.800000012, 0.800000012, 0.699999988),"Block","Brick",false,nil,0,Part,"Custom")
  301. Blade= Add.part("Medium stone grey",Vector3.new(0.900000036, 0.200000003, 0.399999976),CFrame.new(-184.388199, 3.18968129, -65.3999939, 0.57357651, -0.819151998, 0, 0.819151998, 0.57357651, 0, 0, 0, 1),sword,"Blade",Vector3.new(1, 1, 0.200000003),"Block","Brick",false,nil,0,Part,"Custom")
  302. hitbox= Add.part("Medium stone grey",Vector3.new(1, 3.46000004, 1),CFrame.new(-184.459076, 3.10561037, -65.4410172, 0.060511604, 0.598099828, -0.799133182, -0.0353691019, 0.801382124, 0.597104728, 0.997539937, -0.0078676939, 0.0696469769),sword,"hitbox",Vector3.new(1, 1, 1),"Block","Brick",false,nil,1,Part,"Brick")
  303.  
  304. while not ra or not la or not t or not humanoid or not head or not ll or not rl or not hrp do
  305. wait()
  306. end
  307. hrpw = hrp:findFirstChild("RootJoint");lh = t:findFirstChild("Left Hip");rh = t:findFirstChild("Right Hip");rs = t:findFirstChild("Right Shoulder");ls = t:findFirstChild("Left Shoulder");neck = t:findFirstChild("Neck");
  308. while not ls or not rs or not neck or not hrpw do
  309. wait()
  310. end
  311. co = hrpw.C0
  312. moop = {}
  313. function Hit(p)
  314. if don then
  315. Damagefunc(p,Damag-5,Damag+5,math.random(10,30),"Normal") end
  316. if QHIT then
  317. if not checkintable(p.Parent, moop) then
  318. Damagefunc(p,Damag+5,Damag+15,math.random(10,30),"Normal");
  319. table.insert(moop, p.Parent);else print("herena") end
  320. end
  321. end
  322.  
  323.  
  324. nu = sword:GetChildren()
  325. for i = 1, #nu do
  326. if nu[i].Name ~= "Handle" then
  327. if nu[i].Name == "Blade" or nu[i].Name == "hitbox" then
  328. nu[i].Touched:connect(Hit)
  329. end
  330. w = Instance.new("Weld", sword.Handle)
  331. w.Part0 = sword.Handle
  332. w.Part1 = nu[i]
  333. w.C0 = sword.Handle.CFrame:toObjectSpace(nu[i].CFrame)
  334. nu[i].Anchored = false
  335. end
  336. end
  337. sword.Handle.Anchored = false;sword.Parent = char
  338. function backweld()
  339. bw = weldIt(t,Handle,CFrame.new(1.15,-0.85,-1)*CFrame.Angles(math.rad(25),math.rad(-90),0),nil)
  340. return bw
  341. end
  342.  
  343. backweld()
  344.  
  345. function checkintable(chek, tabl)
  346. for i = 1, #tabl do
  347. if tabl[i] == check then
  348. return true
  349. end
  350. end
  351. return false
  352. end
  353. ------function of le splash-------------
  354.  
  355. function splash()
  356. local blcf = hitbox.CFrame*CFrame.new(-.125,.2,0)
  357. if scfr and (hitbox.Position-scfr.p).magnitude > .1 then
  358. local h = 4.7
  359. local a,b = Triangle((scfr*CFrame.new(0,h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p,(blcf*CFrame.new(0,h/2,0)).p)
  360. if a then game.Debris:AddItem(a,.1) end if b then game.Debris:AddItem(b,.1) end
  361. local a,b = Triangle((blcf*CFrame.new(0,h/2,0)).p,(blcf*CFrame.new(0,-h/2,0)).p,(scfr*CFrame.new(0,-h/2,0)).p)
  362. if a then game.Debris:AddItem(a,.1) end if b then game.Debris:AddItem(b,.1) end
  363. scfr = blcf
  364. elseif not scfr then
  365. scfr = blcf
  366. end
  367. end
  368. function rest(num)
  369. for i = 0, 1, 0.13 do
  370. if combo ~= num then
  371. return
  372. end
  373. normal(i)
  374. wait()
  375. end
  376. if combo ~= num then
  377. return
  378. end
  379. scfr=nil;anim = false;running=false;canslash=false;combo=4;runit()
  380. end
  381. -------------------------slashr------------------------------------------------------slashr------------------------------------------------------slashr-----------------------------
  382. slash ={
  383. function()
  384. anim = true
  385.  
  386. for i = 0, 1, 0.23 do
  387. animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(170),i);
  388. animate("rr",CFrame.new(1.5,0.5,0),0,math.rad(95),math.rad(110),i);animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-45),0,math.rad(-25),i)
  389. animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
  390. animate("hr",CFrame.new(0,1,0),0,math.rad(-90),0,i)
  391. animate("reg",CFrame.new(0.5,-1.1,-0.65),math.rad(-15),0,0,i)
  392. animate("leg",CFrame.new(-0.5,-1.2,0),math.rad(-25),0,0,i)
  393. wait()
  394. end
  395. wait()
  396. don = true;attackdebounce = false;scfr = nil
  397. for i = 0, 1, 0.16 do
  398. wait()
  399. splash()
  400. animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(20),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-20),0,i)
  401. animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,0,i)
  402. animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,0,i)
  403. animate("rr",CFrame.new(1.5,0.5,0),0,math.rad(-60),math.rad(110),i);
  404. end
  405. scfr = nil;don = false;canslash=true;
  406. rest(1)
  407. end,
  408.  
  409.  
  410.  
  411. function()
  412. anim = true
  413. for i = 0, 1, 0.24 do
  414. animate("bw",CFrame.new(0,-1,0),math.rad(20),math.rad(90),math.rad(0),i)
  415. animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(-50),i);animate("hr",CFrame.new(0,1,0),0,math.rad(10),0,i)
  416. animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,math.rad(10),i)
  417. animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,0,i)
  418. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(0),math.rad(110),i);
  419. wait()
  420. end
  421. wait();don = true;attackdebounce = false;scfr=nil;
  422. for i = 0, 1, 0.2 do
  423. wait()
  424. splash()
  425. animate("bw",CFrame.new(0,-1,0),math.rad(-60),math.rad(90),math.rad(0),i)
  426. animate("Toso",(co-Vector3.new(0,0.3,0)),math.rad(40),math.rad(0),math.rad(0),i);animate("hr",CFrame.new(0,1,0),math.rad(40),math.rad(10),0,i)
  427. animate("reg",CFrame.new(0.5,-1.2,-0.2),math.rad(10),0,math.rad(10),i)
  428. animate("leg",CFrame.new(-0.5,-1.2,-0.6),math.rad(30),0,0,i)
  429. animate("rr",CFrame.new(1.2,0.5,-0.3),math.rad(75),math.rad(0),math.rad(-40),i);
  430. end
  431. scfr = nil;don = false;canslash=true
  432. rest(2)
  433. end,
  434. function()
  435. anim = true;
  436. for i = 0, 1, 0.24 do
  437. wait();
  438. animate("bw",CFrame.new(0,-1,0),math.rad(0),math.rad(90),math.rad(0),i)
  439. animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(30),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-30),0,i)
  440. animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,math.rad(15),i)
  441. animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,math.rad(-15),i)
  442. animate("rr",CFrame.new(1,0.6,-0.25),math.rad(180),math.rad(40),math.rad(-70),i);
  443. end;don = true;attackdebounce = false;scfr=nil
  444. for i = 0, 1, 0.2 do
  445. wait()
  446. splash()
  447. animate("bw",CFrame.new(0,-1,0),math.rad(-40),math.rad(90),math.rad(0),i)
  448. animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(-50),i);animate("hr",CFrame.new(0,1,0),0,math.rad(50),0,i)
  449. animate("reg",CFrame.new(0.5,-1.5,0),math.rad(20),0,math.rad(6),i)
  450. animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(-10),0,math.rad(-10),i)
  451. animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(60),math.rad(50),i);
  452. end
  453. scfr = nil;don = false;canslash=true
  454. rest(3)
  455. end,
  456. function()
  457. anim = true
  458. for i = 0, 1, 0.24 do
  459. animate("bw",CFrame.new(0,-1,0),math.rad(-100),math.rad(90),math.rad(0),i)
  460. animate("Toso",(co-Vector3.new(0,0.6,0)),0,math.rad(0),math.rad(-40),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-30),0,i)
  461. animate("reg",CFrame.new(0.5,-0.9,-0.5),math.rad(0),0,math.rad(15),i)
  462. animate("leg",CFrame.new(-0.5,-0.9,0.15),math.rad(-45),0,math.rad(0),i)
  463. animate("rr",CFrame.new(1.4,0.5,0),math.rad(0),math.rad(0),math.rad(75),i);
  464. wait()
  465. end;wait();don = true;attackdebounce = false;scfr=nil
  466. for i = 0, 1, 0.24 do
  467. wait();splash()
  468. animate("bw",CFrame.new(0,-1,0),math.rad(0),math.rad(90),math.rad(0),i)
  469. animate("Toso",(co-Vector3.new(0,0,0)),0,math.rad(0),math.rad(30),i);animate("hr",CFrame.new(0,1,0),0,math.rad(-30),0,i)
  470. animate("reg",CFrame.new(0.5,-1.5,0),math.rad(0),0,math.rad(15),i)
  471. animate("leg",CFrame.new(-0.5,-1.5,0),math.rad(0),0,math.rad(-15),i)
  472. animate("rr",CFrame.new(1,0.6,-0.25),math.rad(180),math.rad(40),math.rad(-70),i);
  473. end;scfr = nil;don = false;canslash=true;rest(4)
  474. end
  475. }
  476. -------------------------slashr------------------------------------------------------slashr------------------------------------------------------slashr-----------------------------
  477.  
  478. combo = 4;canslash=false
  479.  
  480.  
  481. function clik()
  482. if not anim or canslash then
  483. canslash=false;scfr = nil
  484. if combo == 4 then
  485. combo=1;slash[1]();
  486. elseif combo == 1 then
  487. combo=2;slash[2]()
  488. elseif combo == 2 then
  489. combo=3;slash[3]()
  490. elseif combo == 3 then
  491. combo=4;slash[4]()
  492. end
  493. end
  494. end
  495. QHIT = false;
  496. skills = {
  497. function(mouse)
  498. anim = true;locanrun=true;canjump=false
  499. normal(1)
  500. mh = mouse.Hit.p
  501. x,y,z = (CFrame.new(char.Torso.Position,Vector3.new(mh.X,char.Torso.Position.Y,mh.Z))):toEulerAnglesXYZ()
  502. char.Torso.CFrame = CFrame.new(char.Torso.Position,Vector3.new(mh.X,char.Torso.Position.Y,mh.Z))
  503. wait();QHIT = true
  504. for i = 0, 1, 0.333333 do
  505. animate("bw",CFrame.new(0,-1,0),math.rad(-90),math.rad(90),math.rad(0),i)
  506. animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(-90),i);animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(90),0,i)
  507. animate("rr",CFrame.new(1.2,0.5,-1),math.rad(90),math.rad(0),math.rad(-90),i);
  508. wait()
  509. end
  510. wait();moop={};
  511. for i = 0, 1, 0.333333 do
  512. animate("bw",CFrame.new(0,-1,0),math.rad(-90),math.rad(90),math.rad(0),i)
  513. animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(90),i); animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(-70),0,i)
  514. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(0),math.rad(90),i);
  515. wait()
  516. end;mufu={}
  517. wind1= Add.part("Institutional white",Vector3.new(4, 1.2, 1),(hitbox.CFrame-Vector3.new(0,1,0))*CFrame.Angles(math.rad(-10),0,math.rad(90)),sword,"wind",Vector3.new(1.6, 1.1, 1.1),"Block","Sphere",false,nil,0.69999998807907,Part,"Brick")
  518. wind2= Add.part("Really black",Vector3.new(4, 1.2, 1),(hitbox.CFrame-Vector3.new(0,1,0))*CFrame.Angles(math.rad(-10),0,math.rad(90)),sword,"wind",Vector3.new(1.6, 1.1, 1.1),"Block","Sphere",false,nil,0.60000002384186,Part,"Brick");wind2.Mesh.Offset = Vector3.new(0.4,0,0)
  519. wind3= Add.part("Medium stone grey",Vector3.new(4, 1.2, 1),(hitbox.CFrame-Vector3.new(0,1,0))*CFrame.Angles(math.rad(-10),0,math.rad(90)),sword,"wind",Vector3.new(1.6, 1.1, 1.1),"Block","Sphere",false,nil,0.5,Part,"Brick");wind3.Mesh.Offset = Vector3.new(0.6,0,0)
  520. wind1.CFrame = hitbox.CFrame*CFrame.Angles(math.rad(-10),0,math.rad(90))-Vector3.new(0,0.3,0);wind2.CFrame = hitbox.CFrame*CFrame.Angles(math.rad(-10),0,math.rad(90))-Vector3.new(0,0.3,0);wind3.CFrame = hitbox.CFrame*CFrame.Angles(math.rad(-10),0,math.rad(90))-Vector3.new(0,0.3,0)
  521. eff2 = Add.part("Medium stone grey", Vector3.new(), hitbox.CFrame*CFrame.Angles(1,1,1),char,"effect",Vector3.new(1,1,1),"Block","Brick",false,nil,0.4,Part,"Brick")
  522. eff1 = Add.part("Medium stone grey", Vector3.new(1,1,1), hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360)),char,"effect",Vector3.new(1,1,1),"Block","Brick",false,nil,0.4,Part,"Brick")
  523. eff3= Add.part("White",Vector3.new(1, 1, 1),hitbox.CFrame*CFrame.new(0,0,-1),char,"effect",Vector3.new(1.5, 1.5, 1),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=3270017",0.8,Part,"Symmetric")
  524. eff4= Add.part("Black",Vector3.new(1, 1, 1),hitbox.CFrame*CFrame.new(0,0,-1.5),char,"effect",Vector3.new(1.25, 1.25, 1),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=3270017",0.8,Part,"Symmetric")
  525. eff1.CFrame = hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360));eff2.CFrame = hitbox.CFrame*CFrame.Angles(math.random(-360,360),math.random(-360,360),math.random(-360,360))
  526. eff3.CFrame = (hitbox.CFrame*CFrame.new(0,-1,0))*CFrame.Angles(math.rad(90),0,0);eff4.CFrame=(hitbox.CFrame*CFrame.new(0,-1.5,0))*CFrame.Angles(math.rad(90),0,0)
  527. table.insert(mufu,wind1);table.insert(mufu,wind2);table.insert(mufu,wind3);
  528. coroutine.resume(coroutine.create(function(p1,p2,p3,p4,cf1)
  529. for i = 0,1,1/13 do
  530. p1.CFrame = (cf1*CFrame.new(0,3*i,-.5*i))*CFrame.Angles(math.rad(math.random(-400,400)),math.rad(math.random(-400,400)),math.rad(math.random(-400,400)));p1.Transparency=p1.Transparency+(0.6*(1/13))
  531. p2.CFrame = (cf1*CFrame.new(0,3*i,-.5*i))*CFrame.Angles(math.rad(math.random(-400,400)),math.rad(math.random(-400,400)),math.rad(math.random(-400,400)));p2.Transparency=p2.Transparency+(0.6*(1/13))
  532. p3.CFrame = (cf1*CFrame.new(0,-1+8*i,0.17-(8*(0.5/3))*i)*CFrame.Angles(math.rad(90),0,0));p3.Mesh.Scale = Vector3.new(1.5+1*i,1.5+1*i,1);p3.Transparency = 0.8+0.3*i
  533. p4.CFrame = (cf1*CFrame.new(0,-1.5+7.5*i,0.17-(7.5*(0.5/3))*i)*CFrame.Angles(math.rad(90),0,0));p4.Mesh.Scale = Vector3.new(1.25+1*i,1.25+1*i,1);p4.Transparency = 0.8+0.3*i
  534. wait();
  535. end;p1.Parent=nil;p2.Parent=nil;p3.Parent=nil;p4.Parent=nil
  536. end),eff1,eff2,eff3,eff4,hitbox.CFrame)
  537. for x = 1, #mufu do
  538. coroutine.resume(coroutine.create(function(wind,hey,trans,mehx)
  539. for i = 0, 1, (1/13) do
  540. wind.Mesh.Scale = Vector3.new(hey.X+1*i,hey.Y-hey.Y*i,hey.Z-hey.Z*i)
  541. wind.Mesh.Offset = Vector3.new(mehx+1*i,0,0)
  542. wind.Transparency = trans+(1-trans)*i
  543. wait()
  544. end;wind.Parent=nil
  545. end),mufu[x],mufu[x].Mesh.Scale,mufu[x].Transparency,mufu[x].Mesh.Offset.X)
  546. end
  547.  
  548.  
  549.  
  550. QHIT = false;locanrun=false;canjump=true;lerun=false
  551. anim = false;
  552. end,
  553. function()
  554. anim = true;canjump = false
  555. bodyp = Add.bp(t,"Stay",t.Position);
  556. for i = 0, 1, 1/7 do
  557. animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
  558. animate("Toso",(co-Vector3.new(0,0.5,0)),math.rad(30),math.rad(0),math.rad(0),i)
  559. animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(0),0,i)
  560. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(35),math.rad(-25),i)
  561. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-15),0,math.rad(-45),i)
  562. animate("reg",CFrame.new(0.5,-1,-0.65),math.rad(25),0,0,i)
  563. animate("leg",CFrame.new(-0.5,-1.3,0),math.rad(5),0,0,i)
  564. wait()
  565. end;logic = Add.BG(hrp,hrp.CFrame)
  566. for i = 1, 10 do
  567. boost= Add.part("White",Vector3.new(1, 1, 1),t.CFrame*CFrame.new(0,0,-1),char,"effect",Vector3.new(3, 3, 3),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=20329976",0.3,Part,"Symmetric")
  568. boost.CFrame = CFrame.new(t.Position-Vector3.new(0,1.2,0))*CFrame.Angles(0,math.rad(math.random(-360,360)),0)
  569. coroutine.resume(coroutine.create(function(mama)
  570. for i = 0, 1, 1/12 do
  571. mama.CFrame = mama.CFrame*CFrame.Angles(0,math.rad(math.random(-360,360)),0);mama.Transparency = 0.3+0.5*i;mama.Mesh.Scale = Vector3.new(3+1*i,3+1*i,3+1*i);
  572. wait()
  573. end;mama.Parent=nil
  574. end),boost)
  575. wait()
  576. end;
  577.  
  578. for i = 0, 1, 1/7 do
  579. animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
  580. animate("Toso",(co-Vector3.new(0,0,0)),math.rad(0),math.rad(0),math.rad(0),i)
  581. animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(0),0,i)
  582. animate("rr",CFrame.new(1.5,0.5,0),math.rad(0),math.rad(90),math.rad(90),i)
  583. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-15),0,math.rad(-45),i)
  584. animate("reg",CFrame.new(0.5,-1,-0),math.rad(0),0,math.rad(25),i)
  585. animate("leg",CFrame.new(-0.5,-1,0),math.rad(0),0,math.rad(-25),i)
  586. wait()
  587. end;
  588.  
  589. ball = Add.part("White", Vector3.new(1,1,1), t.CFrame, char, "Effect", Vector3.new(20,20,20), "Block", "Sphere",false,nil,0.7,Part,"Custom")ball.Anchored = false
  590. anchor = Add.part("White",Vector3.new(5,5,5),t.CFrame,char,"anchor",Vector3.new(20,20,20),"Block","Sphere",false,nil,1,Part,"Custom");anchor.Anchored = false
  591. wind = Add.part("White",Vector3.new(5,5,5),t.CFrame,char,"anchor",Vector3.new(20,20,20),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=1051557",0.6,Part,"Custom");wind.Anchored = false
  592. a=weldIt(t,anchor,CFrame.new(0,0,0),CFrame.new(0,0,0),nil);b=weldIt(t,wind,CFrame.new(0,0,0),CFrame.new(0,0,0),nil);c=weldIt(t,ball,CFrame.new(0,0,0),CFrame.new(0,0,0),nil)
  593. already = {};weldos={};lepeepz=checkdist(t,17);gage = b.C0
  594.  
  595. for i = 1, #lepeepz do
  596. if lepeepz[i] then
  597. haw = weldIt(anchor,lepeepz[i].Torso,anchor.CFrame:toObjectSpace(lepeepz[i].Torso.CFrame),nil,nil)
  598. table.insert(weldos,haw);
  599. end
  600. end
  601. for i = 0,1, 1/120 do
  602. if math.floor((i*120)%30) == 1 then
  603. for x = 1,#lepeepz do
  604. if lepeepz[x] and lepeepz[x]:findFirstChild("Humanoid") and lepeepz[x]:findFirstChild("Torso") then
  605. attackdebounce = false
  606. Damagefunc(lepeepz[x].Torso,(humanoid.MaxHealth/10),(humanoid.MaxHealth/10),math.random(10,30),"Normal")
  607. end
  608. end
  609. end
  610. if math.floor((i*120)%4) == 1 then
  611. lolbob = Add.part("White",Vector3.new(5,5,5),t.CFrame*CFrame.Angles(math.rad(math.random(-100,100)),math.rad(math.random(-100,100)),math.rad(math.random(-100,100))),char,"anchor",Vector3.new(2.5,2.5,2.5),"Block","FileMesh",false,"rbxassetid://168892432 ",0.4,Part,"Custom")
  612. lolbob.CFrame = t.CFrame*CFrame.Angles(0,math.rad(-360,360),0)
  613. coroutine.resume(coroutine.create(function(clone)
  614. for i = 0, 1, 0.1 do
  615. clone.Mesh.Scale = Vector3.new(2.5+5*i,2.5+5*i,2.5+5*i);clone.Transparency = 0.4+0.4*i
  616. wait()
  617. end;clone.Parent = nil
  618. end),lolbob)
  619. end
  620. animate("Toso",(co-Vector3.new(0,0,0)),math.rad(0),math.rad(0),math.rad((360*16)*i),i);b.C0 = gage*CFrame.Angles(0,math.rad(100*i),0);ball.Transparency = 0.6-0.4*i;wind.Transparency = 0.6-0.4*i
  621. for i = 1,#weldos do
  622. weldos[i].C0 = weldos[i].C0*CFrame.new(0,0.0625,0)
  623. end
  624. wait()
  625. end;logic.Parent=nil
  626. coroutine.resume(coroutine.create(function(a1,a2,a3,ws,w)
  627. for i = 0, 1, 0.1 do
  628. w.C0 = ws*CFrame.Angles(0,math.rad(100*i),0)
  629. a1.Mesh.Scale = Vector3.new(20+3*i,20+3*i,20+3*i);a1.Transparency = 0.2+0.8*i
  630. a2.Mesh.Scale = Vector3.new(20+3*i,20+3*i,20+3*i);a2.Transparency = 0.2+0.8*i
  631. wait()
  632. end;a1.Parent=nil;a2.Parent=nil;a3.Parent=nil;
  633. end),wind,ball,anchor,b.C0,b)
  634. for i = 1,#weldos do if weldos[i] then weldos[i].Parent = nil end end
  635. wait()
  636. anim = false;bodyp.Parent=nil;canjump=true;
  637. end,
  638. function()
  639. niye = sword:GetChildren();guard=true;br = BrickColor.new("Institutional white")
  640. if ss then
  641. br = BrickColor.new("Medium stone grey");guard = false
  642. end
  643. for i = 1,# niye do
  644. if niye[i].Name == "Blade" then
  645. niye[i].BrickColor = br;ss = guard
  646. end
  647. end
  648. end,
  649. function(bik,rotate)
  650. if not canboost then return end
  651. coroutine.resume(coroutine.create(function(ilan,ratat)
  652. yolo = Add.bp(hrp,"BOPOLS",hrp.Position);canboost=false;
  653. boosts= Add.part("White",Vector3.new(5,5,5),hrp.CFrame,char,"boom",Vector3.new(2.5,2.5,2.5),"Block","FileMesh",false,"http://www.roblox.com/asset/?id=20329976",0.4,Part,"Custom")
  654. boosts.CFrame = (t.CFrame-Vector3.new(0,1.5,0))*CFrame.Angles(0,0,math.rad(ratat))
  655. coroutine.resume(coroutine.create(function(thing)
  656. print("yo")
  657. for i = 0, 1, 0.05 do
  658. thing.Mesh.Scale = Vector3.new(2.5+1*i,2.5+1*i,2.5+1*i);thing.Transparency = 0.4+0.5*i
  659. wait()
  660. end;thing.Parent=nil
  661. end),boosts)
  662. for i = 0, 1, 0.1 do
  663. yolo.position = (hrp.CFrame*CFrame.new(0,0,ilan)).p
  664. wait()
  665. end
  666. yolo.Parent = nil;canboost=true
  667. end),bik,rotate)
  668. end
  669. }
  670. function led(key, mouse)
  671. key = key:lower()
  672. if anim then return end
  673. if key == "z" then
  674. skills[1](mouse)
  675. elseif key == "x" then
  676. skills[2](mouse)
  677. elseif key == "r" then
  678. skills[3]()
  679. elseif key == "c" then
  680. skills[4](-15,120)
  681. elseif key == "v" then
  682. skills[4](10,-120)
  683. end
  684. end
  685. function normal(i)
  686. animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
  687. animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(90),i)
  688. animate("hr",CFrame.new(0,1,0),math.rad(-10),math.rad(-70),0,i)
  689. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(115),math.rad(-25),i)
  690. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(35),0,math.rad(-25),i)
  691. animate("reg",CFrame.new(0.5,-1.1,-0.65),math.rad(-15),0,0,i)
  692. animate("leg",CFrame.new(-0.5,-1.2,0),math.rad(-25),0,0,i)
  693. end
  694. function Equip(mouse)
  695. print("yup")
  696. if equip then return end
  697. while anim do wait() end
  698. rh.Parent=nil;rs.Parent=nil;lh.Parent=nil;neck.Parent=nil;ls.Parent=nil;rlw = weldIt(t,rl, CFrame.new(0.5,-1.5,0),CFrame.new(0,0.5,0));llw = weldIt(t,ll, CFrame.new(-0.5,-1.5,0),CFrame.new(0,0.5,0));
  699. rw = weldIt(t,ra,CFrame.new(1.5,0.5,0),CFrame.new(0,0.5,0),nil);lw = weldIt(t,la,CFrame.new(-1.5,0.5,0),CFrame.new(0,0.5,0));nw = weldIt(t,head,CFrame.new(0, 1, 0),CFrame.new(0,-0.5,0))
  700. anim = true
  701. bw.Parent = nil;running=false;idol=true;
  702. hw = weldIt(ra,Handle,CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),0),nil)
  703. for i = 0,1,0.1 do
  704. normal(i)
  705. wait(0.0001)
  706. end
  707. mouse.Button1Down:connect(clik)
  708. mouse.KeyDown:connect(function(k) led(k, mouse) end)
  709. equip = true;anim = false;
  710. end
  711. function unequip(mouse)
  712. if not equip then return end
  713. while anim do wait() end
  714. anim = true;ss=false
  715. for i = 0,1,0.1 do
  716. animate("Toso",co-Vector3.new(0,0.4-0.4*i,0),0,0,0,i)
  717. animate("hr",CFrame.new(0,1,0),0,0,0,i)
  718. animate("rr",CFrame.new(1.5,0.5,0),0,0,0,i)
  719. animate("lr",CFrame.new(-1.5,0.5,0),0,0,0,i)
  720. animate("reg",CFrame.new(0.5,-1.5,0),0,0,0,i)
  721. animate("leg",CFrame.new(-0.5,-1.5,0),0,0,0,i)
  722. wait(0.0001)
  723. end
  724. hw.Parent = nil;backweld()
  725. rw.Parent=nil;lw.Parent=nil;hrpw.C0 = co;rlw.Parent=nil;llw.Parent=nil;rh.Parent=t;lh.Parent=t;rs.Parent=t;ls.Parent=t;neck.Parent=t;
  726. equip=false;anim=false
  727. end
  728. canrun=false
  729. function runit()
  730. if(t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 and not anim and equip and fell then
  731. running = true;
  732. for i = 0, 1,(1/7) do
  733. if not anim and equip and running and fell then
  734. animate("bw",CFrame.new(0,-1,0),0,math.rad(90),0,i)
  735. animate("Toso",(co-Vector3.new(0,0.4,0)),0,math.rad(5),math.rad(80),i)
  736. animate("hr",CFrame.new(0,1,0),math.rad(0),math.rad(-80),0,i)
  737. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(45),math.rad(-25),i)
  738. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-35),0,math.rad(-30),i)
  739. --[[animate("reg",CFrame.new(0.5,-1.1,0.2),math.rad(5),math.rad(-80),0,i)
  740. animate("leg",CFrame.new(-0.5,-1.2,-0.2),math.rad(-2),math.rad(-80),0,i)]]
  741. animate("reg",CFrame.new(0.6,-1.2,0),math.rad(5+35*math.cos((inf-7)/4)),math.rad(-40),0,i)
  742. animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(-2-35*math.cos((inf-7)/4)),math.rad(-40),0,i)
  743. wait()
  744. else
  745. if hw then
  746. hw.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),0) end
  747. break
  748. end
  749. end
  750.  
  751. end
  752. end
  753. --[[function run(speed)
  754. if speed>0 then
  755.  
  756. if (t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 then
  757. runit()
  758. end
  759. else
  760. running = false
  761. for i = 0, 1, 0.142 do
  762. if not anim and equip and not running then
  763. normal(i)
  764. wait()
  765. else
  766. if hw then
  767. hw.C0 = CFrame.new(0,-1,0)*CFrame.Angles(0,math.rad(90),0) end
  768. break
  769. end
  770. end
  771. idol = true
  772. end
  773. inf = 0
  774. end]]
  775.  
  776.  
  777.  
  778.  
  779. --to[mem
  780.  
  781.  
  782. function Lerp(x,y,inc) return x + (y - x) * inc end
  783.  
  784. function animate(mem,cfr,x,y,z,e)
  785. To[mem].X=Lerp(To[mem].X,x,e);To[mem].Y=Lerp(To[mem].Y,y,e);To[mem].Z=Lerp(To[mem].Z,z,e)
  786. To[mem].cf=(cfr-Vector3.new(cfr.X,cfr.Y,cfr.Z))+Vector3.new(Lerp(To[mem].cf.X,cfr.X,e),Lerp(To[mem].cf.Y,cfr.Y,e),Lerp(To[mem].cf.Z,cfr.Z,e))
  787. end
  788. To={
  789. rr={X=0;Y=0;Z=0;cf=CFrame.new(1.5,0.5,0)};bw={X=math.rad(5);Y=math.rad(90);Z=0;cf=CFrame.new(0,-1,0)};lr={X=0;Y=0;Z=0;cf=CFrame.new(-1.5,0.5,0)};hr={X=0;Y=0;Z=0;cf=CFrame.new(0,1.5,0)};leg={X=0;Y=0;Z=0;cf=CFrame.new(-0.5,-1,0)};reg={X=0;Y=0;Z=0;cf=CFrame.new(0.5,-1,0)};Toso={X=0;Y=0;Z=0;cf=co}
  790. }
  791. game:service'RunService'.RenderStepped:connect(function()
  792. if rw then rw.C0=To["rr"].cf*CFrame.Angles((To["rr"].X),(To["rr"].Y),(To["rr"].Z)); end
  793. if hw and equip then hw.C0=To["bw"].cf*CFrame.Angles((To["bw"].X),(To["bw"].Y),(To["bw"].Z)) end
  794. if lw then lw.C0=To["lr"].cf*CFrame.Angles((To["lr"].X),(To["lr"].Y),(To["lr"].Z));end
  795. if nw then nw.C0=To["hr"].cf*CFrame.Angles((To["hr"].X),To["hr"].Y,To["hr"].Z);end
  796. if rlw then rlw.C0=To["reg"].cf*CFrame.Angles(To["reg"].X,To["reg"].Y,To["reg"].Z);end
  797. if llw then llw.C0=To["leg"].cf*CFrame.Angles(To["leg"].X,To["leg"].Y,To["leg"].Z);end
  798. if hrpw then hrpw.C0=To["Toso"].cf*CFrame.Angles(To["Toso"].X,To["Toso"].Y,To["Toso"].Z) end
  799. end)
  800. function NoOutline(Part)
  801. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  802. end
  803. ---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
  804. ---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
  805. ---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
  806. local ppart = Instance.new("Part")
  807. ppart.Material = "SmoothPlastic"
  808. ppart.TopSurface,ppart.BottomSurface = 0,0
  809. ppart.FormFactor = "Custom"
  810. ppart.Size = Vector3.new(.2,.2,.2)
  811. ppart:BreakJoints()
  812. ppart.TopSurface = "SmoothNoOutlines"
  813. ppart.BottomSurface = "SmoothNoOutlines"
  814. ppart.RightSurface = "SmoothNoOutlines"
  815. ppart.LeftSurface = "SmoothNoOutlines"
  816. ppart.CanCollide = false
  817.  
  818. local function CFrameFromTopBack(at, top, back)
  819. local right = top:Cross(back)
  820. return CFrame.new(at.x, at.y, at.z,
  821. right.x, top.x, back.x,
  822. right.y, top.y, back.y,
  823. right.z, top.z, back.z)
  824. end
  825.  
  826. function Triangle(a, b, c)
  827. local edg1 = (c-a):Dot((b-a).unit)
  828. local edg2 = (a-b):Dot((c-b).unit)
  829. local edg3 = (b-c):Dot((a-c).unit)
  830. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  831. a, b, c = a, b, c
  832. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  833. a, b, c = b, c, a
  834. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  835. a, b, c = c, a, b
  836. else
  837. assert(false, "unreachable")
  838. end
  839.  
  840. local len1 = (c-a):Dot((b-a).unit)
  841. local len2 = (b-a).magnitude - len1
  842. local width = (a + (b-a).unit*len1 - c).magnitude
  843.  
  844. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  845.  
  846. local list = {}
  847.  
  848. if len1 > 0.01 then
  849. local w1 = Instance.new('WedgePart', m)
  850. w1.Material = "SmoothPlastic"
  851. w1.FormFactor = 'Custom'
  852. if Mode=="Unactive" then
  853. w1.BrickColor = ppart.BrickColor
  854. elseif Mode=="Hero" then
  855. w1.BrickColor = BrickColor.new("Bright blue")
  856. elseif Mode=="Infamous" then
  857. w1.BrickColor = BrickColor.new("Bright red")
  858. end
  859. w1.Transparency = ppart.Transparency
  860. w1.Reflectance = ppart.Reflectance
  861. w1.Material = ppart.Material
  862. w1.CanCollide = ppart.CanCollide
  863. NoOutline(w1)
  864. local sz = Vector3.new(0.2, width, len1)
  865. w1.Size = sz
  866. local sp = Instance.new("SpecialMesh",w1)
  867. sp.MeshType = "Wedge"
  868. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  869. w1:BreakJoints()
  870. w1.Anchored = true
  871. w1.Parent = workspace
  872. w1.Transparency = 0.8
  873. coroutine.resume(coroutine.create(function(Part)
  874. for i=0,1,0.1 do
  875. wait()
  876. Part.Transparency=Part.Transparency+0.02
  877. end
  878. end),w1)
  879. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  880. table.insert(list,w1)
  881. end
  882.  
  883. if len2 > 0.01 then
  884. local w2 = Instance.new('WedgePart', m)
  885. w2.Material = "SmoothPlastic"
  886. w2.FormFactor = 'Custom'
  887. if Mode=="Unactive" then
  888. w2.BrickColor = ppart.BrickColor
  889. elseif Mode=="Hero" then
  890. w2.BrickColor = BrickColor.new("Bright blue")
  891. elseif Mode=="Infamous" then
  892. w2.BrickColor = BrickColor.new("Bright red")
  893. end
  894. w2.Transparency = ppart.Transparency
  895. w2.Reflectance = ppart.Reflectance
  896. w2.Material = ppart.Material
  897. w2.CanCollide = ppart.CanCollide
  898. NoOutline(w2)
  899. local sz = Vector3.new(0.2, width, len2)
  900. w2.Size = sz
  901. local sp = Instance.new("SpecialMesh",w2)
  902. sp.MeshType = "Wedge"
  903. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  904. w2:BreakJoints()
  905. w2.Anchored = true
  906. w2.Parent = workspace
  907. w2.Transparency = 0.8
  908. coroutine.resume(coroutine.create(function(Part)
  909. for i=0,1,0.1 do
  910. wait()
  911. Part.Transparency=Part.Transparency+0.02
  912. end
  913. end),w2)
  914. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  915. table.insert(list,w2)
  916. end
  917. return unpack(list)
  918. end
  919. ---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
  920. ---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
  921. ---------------------1274182751856210985126509218u8071894718946189406194189410-------------------------------------------
  922.  
  923.  
  924.  
  925.  
  926. ------------------------------
  927. Damagefunc=function(hit,minim,maxim,knockback,Type,Property)
  928. if hit.Parent==nil then
  929. return
  930. end
  931. CPlayer=Bin
  932. h=hit.Parent:FindFirstChild("Humanoid")
  933. for _,v in pairs(hit.Parent:children()) do
  934. if v:IsA("Humanoid") then
  935. h=v
  936. end
  937. end
  938. if h~=nil and hit.Parent.Name~=char.Name and hit.Parent:FindFirstChild("Torso")~=nil then
  939. if attackdebounce == false then
  940. attackdebounce = true
  941. coroutine.resume(coroutine.create(function()
  942. wait(0.2)
  943. attackdebounce = false
  944. end))
  945.  
  946. c=Instance.new("ObjectValue")
  947. c.Name="creator"
  948. c.Value=game:service("Players").LocalPlayer
  949. c.Parent=h
  950. game:GetService("Debris"):AddItem(c,.5)
  951. Damage=math.random(minim,maxim)
  952. blocked=false
  953. block=hit.Parent:findFirstChild("Block")
  954. if block~=nil then
  955. if block.Value>0 then
  956. blocked=true
  957. block.Value=block.Value-1
  958. print(block.Value)
  959. end
  960. end
  961. if blocked==false then
  962. print("NOOOOP")
  963. h.Health=h.Health-Damage
  964. showDamage(hit.Parent,Damage,.5,BrickColor:Red())
  965. else
  966. print("NOOOOP")
  967. h.Health=h.Health-(Damage/2)
  968. showDamage(hit.Parent,Damage/2,.5,BrickColor.new("Bright blue"))
  969. end
  970. if Type=="Knockdown" then
  971. hum=hit.Parent.Humanoid
  972. hum.PlatformStand=true
  973. coroutine.resume(coroutine.create(function(HHumanoid)
  974. wait(1)
  975. HHumanoid.PlatformStand=false
  976. end),hum)
  977. local angle=(hit.Position-(Property.Position+Vector3.new(0,0,0))).unit
  978. print(angle)
  979. --hit.CFrame=CFrame.new(hit.Position,Vector3.new(angle.x,hit.Position.y,angle.z))*CFrame.fromEulerAnglesXYZ(math.pi/4,0,0)
  980. local bodvol=Instance.new("BodyVelocity")
  981. bodvol.velocity=angle*knockback
  982. bodvol.P=5000
  983. bodvol.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  984. bodvol.Parent=hit
  985. rl=Instance.new("BodyAngularVelocity")
  986. rl.P=3000
  987. rl.maxTorque=Vector3.new(500000,500000,500000)*50000000000000
  988. rl.angularvelocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))
  989. rl.Parent=hit
  990. game:GetService("Debris"):AddItem(bodvol,.5)
  991. game:GetService("Debris"):AddItem(rl,.5)
  992. elseif Type=="Normal" then
  993. vp=Instance.new("BodyVelocity")
  994. vp.P=500
  995. vp.maxForce=Vector3.new(math.huge,0,math.huge)
  996. if Rootpart then
  997. vp.velocity=RootPart.CFrame.lookVector*knockback+RootPart.Velocity/1.05
  998. end
  999. if knockback>0 then
  1000. vp.Parent=hit.Parent.Torso
  1001. end
  1002. game:GetService("Debris"):AddItem(vp,.5)
  1003. elseif Type=="Up" then
  1004. local bodyVelocity=Instance.new("BodyVelocity")
  1005. bodyVelocity.velocity=vt(0,20,0)
  1006. bodyVelocity.P=5000
  1007. bodyVelocity.maxForce=Vector3.new(8e+003, 8e+003, 8e+003)
  1008. bodyVelocity.Parent=hit
  1009. game:GetService("Debris"):AddItem(bodyVelocity,.5)
  1010. elseif Type=="Freeze" then
  1011. BodPos=Instance.new("BodyPosition")
  1012. BodPos.P=50000
  1013. BodPos.D=1000
  1014. BodPos.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1015. BodPos.position=hit.Parent.Torso.Position
  1016. BodPos.Parent=hit.Parent.Torso
  1017. BodGy = it("BodyGyro")
  1018. BodGy.maxTorque = Vector3.new(4e+005,4e+005,4e+005)*math.huge
  1019. BodGy.P = 20e+003
  1020. BodGy.Parent=hit.Parent.Torso
  1021. BodGy.cframe = hit.Parent.Torso.CFrame
  1022. hit.Parent.Torso.Anchored=true
  1023. coroutine.resume(coroutine.create(function(Part)
  1024. wait(1.5)
  1025. Part.Anchored=false
  1026. end),hit.Parent.Torso)
  1027. game:GetService("Debris"):AddItem(BodPos,3)
  1028. game:GetService("Debris"):AddItem(BodGy,3)
  1029. end
  1030. c=Instance.new("ObjectValue")
  1031. c.Name="creator"
  1032. c.Value=Player
  1033. c.Parent=h
  1034. game:GetService("Debris"):AddItem(c,.5)
  1035. CRIT=false
  1036. hitDeb=true
  1037. AttackPos=6
  1038. end
  1039. end
  1040. end
  1041.  
  1042. showDamage=function(Char,Dealt,du,Color)
  1043. m=Instance.new("Model")
  1044. m.Name=tostring(Dealt)
  1045. h=Instance.new("Humanoid")
  1046. h.Health=0
  1047. h.MaxHealth=0
  1048. h.Parent=m
  1049. c=Instance.new("Part")
  1050. c.Transparency=0
  1051. c.BrickColor=Color
  1052. c.Name="Head"
  1053. c.TopSurface=0
  1054. c.BottomSurface=0
  1055. c.formFactor="Plate"
  1056. c.Size=Vector3.new(1,.4,1)
  1057. ms=Instance.new("CylinderMesh")
  1058. ms.Scale=Vector3.new(.8,.8,.8)
  1059. if CRIT==true then
  1060. ms.Scale=Vector3.new(1,1.25,1)
  1061. end
  1062. ms.Parent=c
  1063. c.Reflectance=0
  1064. Instance.new("BodyGyro").Parent=c
  1065. c.Parent=m
  1066. c.CFrame=CFrame.new(Char["Head"].CFrame.p+Vector3.new(0,1.5,0))
  1067. f=Instance.new("BodyPosition")
  1068. f.P=2000
  1069. f.D=100
  1070. f.maxForce=Vector3.new(math.huge,math.huge,math.huge)
  1071. f.position=c.Position+Vector3.new(0,3,0)
  1072. f.Parent=c
  1073. game:GetService("Debris"):AddItem(m,.5+du)
  1074. c.CanCollide=false
  1075. m.Parent=workspace
  1076. c.CanCollide=false
  1077. end
  1078.  
  1079. function humang()
  1080. if not canjump then
  1081. humanoid.Jump = false
  1082. end
  1083. end
  1084.  
  1085. function checkint(tabl,thing)
  1086. for i = 1,#tabl do
  1087. if tabl[i] == thing then
  1088. return true
  1089. end
  1090. end
  1091. return false
  1092. end
  1093. ------------------------------------------------------
  1094.  
  1095. --humanoid.Running:connect(run)
  1096. humanoid.Changed:connect(humang)
  1097. hb.Deselected:connect(unequip)
  1098. hb.Selected:connect(Equip)
  1099.  
  1100.  
  1101. function checkdist(Part,magni)
  1102. tabol = {}
  1103. for _,c in pairs(workspace:children()) do
  1104. local hum=c:findFirstChild("Humanoid")
  1105. if hum~=nil then
  1106. local head=c:findFirstChild("Torso")
  1107. if head~=nil then
  1108. local targ=head.Position-Part.Position
  1109. local mag=targ.magnitude
  1110. if mag<=magni and c.Name~=player.Name then
  1111. table.insert(tabol, c)
  1112. end
  1113. end
  1114. end
  1115. end
  1116.  
  1117. return tabol
  1118. end
  1119.  
  1120.  
  1121.  
  1122. inf = 0;lejump = false;
  1123. while true do
  1124. if inf == 1000 then
  1125. inf = 0
  1126. end
  1127. if (t.Velocity*Vector3.new(1, 0, 1)).magnitude <= 2 and not anim and equip and (fell and (t.Velocity.Y <= 1 and t.Velocity.Y >= -1)) then
  1128. lerun=false;if rlw and hrpw and llw then
  1129. if lenormal then
  1130. for i = 0, 1, 0.2 do
  1131. if (t.Velocity*Vector3.new(1, 0, 1)).magnitude <= 2 and not anim and equip and (fell and (t.Velocity.Y <= 1 and t.Velocity.Y >= -1)) then
  1132. normal(i)
  1133. wait()
  1134. else
  1135. break
  1136. end
  1137. end
  1138. lenormal = false
  1139. end
  1140. animate("Toso",co-Vector3.new(0,0.4-0.2*math.cos(inf/23),0),0,math.rad(5),math.rad(90),1)
  1141. animate("reg",CFrame.new(0.5,-1.1-0.2*math.cos(inf/23),-0.65),math.rad(-15),0,0,1)
  1142. animate("leg",CFrame.new(-0.5,-1.2,0),math.rad(-25-15*(-1*math.cos(inf/23))),0,0,1)
  1143. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(115),math.rad(-25+5*math.cos(inf/23)),1)
  1144. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(35),0,math.rad(-25-10*math.cos(inf/23)),1)
  1145. end
  1146. elseif(t.Velocity*Vector3.new(1, 0, 1)).magnitude > 2 and not anim and equip and (fell and (t.Velocity.Y <= 1 and t.Velocity.Y >= -1)) or locanrun then
  1147. lenormal=true;
  1148. if not lerun and not locanrun then
  1149. runit()
  1150. lerun=true
  1151. end
  1152. animate("reg",CFrame.new(0.6,-1.2,0),math.rad(5+35*math.cos(inf/4)),math.rad(-40),0,1)
  1153. animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(-2-35*math.cos(inf/4)),math.rad(-40),0,1)
  1154. elseif t.Velocity.Y > 1 and not anim and equip and not lejump then
  1155. lejump=true;lenormal=true;lerun=false
  1156. for i = 0, 1, 1/4 do
  1157. if not anim and equip and lejump then
  1158. animate("hr",CFrame.new(0,1,0),math.rad(15),math.rad(0),0,i)
  1159. animate("reg",CFrame.new(0.6,-1.2,0),math.rad(35),math.rad(-40),0,i)
  1160. animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(-35),math.rad(-40),0,i)
  1161. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(75),math.rad(-25),i)
  1162. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(-35),0,math.rad(-30),i)
  1163. wait()
  1164. else
  1165. break
  1166. end
  1167. end
  1168. lejump=false
  1169. if t.Velocity.Y > 1 and not anim and equip and not lejump then
  1170. fell = false
  1171. end
  1172. elseif t.Velocity.Y < -1 and not anim and equip and not lejump and not crosh then
  1173. fell = false;lenormal=true;lerun=false
  1174. for i = 0, 1, 1/4 do
  1175. if not anim and equip and (crosh == nil or (crosh and crosh.CanCollide == false)) then
  1176. animate("hr",CFrame.new(0,1,0),math.rad(-5),math.rad(0),0,i)
  1177. animate("reg",CFrame.new(0.6,-1.2,0),math.rad(-25),math.rad(-40),0,i)
  1178. animate("leg",CFrame.new(-0.6,-1.2,0),math.rad(15),math.rad(-40),0,i)
  1179. animate("rr",CFrame.new(1.5,0.5,0),math.rad(90),math.rad(100),math.rad(-25),i)
  1180. animate("lr",CFrame.new(-1.5,0.5,0),math.rad(46),0,math.rad(-30),i)
  1181. wait()
  1182. else
  1183. print('break')
  1184. break
  1185. end
  1186. end
  1187. lejump = false
  1188. else
  1189. idol = true;lenormal=true;lerun=false
  1190. end
  1191.  
  1192. ray = Ray.new(t.Position,(((t.CFrame*CFrame.new(0,-1.5,0)).p)-t.Position).unit*3)
  1193. crosh, endPoint = Workspace:FindPartOnRay(ray,char)
  1194. if (crosh) then
  1195. lejump=false
  1196. fell = true
  1197. end
  1198. if ss then
  1199. windy= Add.part("Institutional white",Vector3.new(4, 1.2, 1),(hitbox.CFrame),sword,"wind",Vector3.new(math.random(50,110)/100, 0.3, 0.3),"Block","Sphere",false,nil,0.69999998807907,Part,"Brick");windy.Anchored = false; windyweld=weldIt(hitbox,windy,CFrame.new(math.random(-100,100)/130,-2,math.random(-100,100)/130)*CFrame.Angles(0,0,math.rad(90)),nil,nil)
  1200. coroutine.resume(coroutine.create(function(w,was,cu)
  1201. for i = 0, 1, 0.2 do
  1202. was.C0 = cu+Vector3.new(0,4*i,0)
  1203. wait()
  1204. end;was.Parent=nil;w.Parent = nil;print("yomama")
  1205. end),windy,windyweld,windyweld.C0)
  1206. end
  1207. inf =inf+1
  1208. wait()
  1209. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement