Advertisement
The_God_M8

Katana Safe

Apr 19th, 2019
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 66.88 KB | None | 0 0
  1. --[[
  2. THE MURDERER
  3. Created by Quil_Cyndaquil (ROBLOX)
  4. MintyLatios (V3rmillion)
  5. Minty Latios#1938
  6.  
  7. Credit to CKbackup for the knife
  8. Credit to Rufus14 for the ragdolls
  9.  
  10.  
  11. --]]
  12. --//====================================================\\--
  13. --|| CREATED BY SHACKLUSTER
  14. --\\====================================================//--
  15. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  16. local Player,game,owner = owner,game
  17. local RealPlayer = Player
  18. do
  19. print("FE Compatibility code by Mokiros")
  20. local rp = RealPlayer
  21. script.Parent = rp.Character
  22.  
  23. --RemoteEvent for communicating
  24. local Event = Instance.new("RemoteEvent")
  25. Event.Name = "UserInput_Event"
  26.  
  27. --Fake event to make stuff like Mouse.KeyDown work
  28. local function fakeEvent()
  29. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  30. t.connect = t.Connect
  31. return t
  32. end
  33.  
  34. --Creating fake input objects with fake variables
  35. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  36. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  37. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  38. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  39. end}
  40. --Merged 2 functions into one by checking amount of arguments
  41. CAS.UnbindAction = CAS.BindAction
  42.  
  43. --This function will trigger the events that have been :Connect()'ed
  44. local function te(self,ev,...)
  45. local t = m[ev]
  46. if t and t._fakeEvent then
  47. for _,f in pairs(t.Functions) do
  48. f(...)
  49. end
  50. end
  51. end
  52. m.TrigEvent = te
  53. UIS.TrigEvent = te
  54.  
  55. Event.OnServerEvent:Connect(function(plr,io)
  56. if plr~=rp then return end
  57. m.Target = io.Target
  58. m.Hit = io.Hit
  59. if not io.isMouse then
  60. local b = io.UserInputState == Enum.UserInputState.Begin
  61. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  62. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  63. end
  64. for _,t in pairs(CAS.Actions) do
  65. for _,k in pairs(t.Keys) do
  66. if k==io.KeyCode then
  67. t.Function(t.Name,io.UserInputState,io)
  68. end
  69. end
  70. end
  71. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  72. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  73. end
  74. end)
  75. Event.Parent = NLS([==[
  76. local Player = game:GetService("Players").LocalPlayer
  77. local Event = script:WaitForChild("UserInput_Event")
  78.  
  79. local Mouse = Player:GetMouse()
  80. local UIS = game:GetService("UserInputService")
  81. local input = function(io,a)
  82. if a then return end
  83. --Since InputObject is a client-side instance, we create and pass table instead
  84. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  85. end
  86. UIS.InputBegan:Connect(input)
  87. UIS.InputEnded:Connect(input)
  88.  
  89. local h,t
  90. --Give the server mouse data 30 times every second, but only if the values changed
  91. --If player is not moving their mouse, client won't fire events
  92. while wait(1/30) do
  93. if h~=Mouse.Hit or t~=Mouse.Target then
  94. h,t=Mouse.Hit,Mouse.Target
  95. Event:FireServer({isMouse=true,Target=t,Hit=h})
  96. end
  97. end]==],Player.Character)
  98.  
  99. ----Sandboxed game object that allows the usage of client-side methods and services
  100. --Real game object
  101. local _rg = game
  102.  
  103. --Metatable for fake service
  104. local fsmt = {
  105. __index = function(self,k)
  106. local s = rawget(self,"_RealService")
  107. if s then return s[k] end
  108. end,
  109. __newindex = function(self,k,v)
  110. local s = rawget(self,"_RealService")
  111. if s then s[k]=v end
  112. end,
  113. __call = function(self,...)
  114. local s = rawget(self,"_RealService")
  115. if s then return s(...) end
  116. end
  117. }
  118. local function FakeService(t,RealService)
  119. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  120. return setmetatable(t,fsmt)
  121. end
  122.  
  123. --Fake game object
  124. local g = {
  125. GetService = function(self,s)
  126. return self[s]
  127. end,
  128. Players = FakeService({
  129. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  130. },"Players"),
  131. UserInputService = FakeService(UIS,"UserInputService"),
  132. ContextActionService = FakeService(CAS,"ContextActionService"),
  133. }
  134. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  135. g.service = g.GetService
  136.  
  137. g.RunService = FakeService({
  138. RenderStepped = _rg:GetService("RunService").Heartbeat,
  139. BindToRenderStep = function(self,name,_,fun)
  140.  
  141. end,
  142. UnbindFromRenderStep = function(self,name)
  143. self._btrs[name]:Disconnect()
  144. end,
  145. },"RunService")
  146.  
  147. setmetatable(g,{
  148. __index=function(self,s)
  149. return _rg:GetService(s) or typeof(_rg[s])=="function"
  150. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  151. end,
  152. __newindex = fsmt.__newindex,
  153. __call = fsmt.__call
  154. })
  155. --Changing owner to fake player object to support owner:GetMouse()
  156. game,owner = g,g.Players.LocalPlayer
  157. end
  158.  
  159. wait(1)
  160. plr = owner
  161. char = plr.Character
  162. torso = char.Torso
  163. eq = false
  164. mouse = owner:GetMouse()
  165. Effects = {}
  166. nen = false
  167. lifetime = 6
  168. amnt = 5
  169. divinesword = false
  170. equipped = false
  171. enabled = false
  172. rs = torso["Right Shoulder"]
  173. ls = torso["Left Shoulder"]
  174. attacking = false
  175. usage = false
  176. active = false
  177. chatscript = false
  178. char.Humanoid.WalkSpeed = 25
  179.  
  180. deca = false
  181. grabbing = false
  182. grabbed = false
  183. count = 0
  184. local rightclone = Instance.new("Motor6D")
  185. rightclone.Name = "Right Shoulder"
  186. rightclone.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  187. rightclone.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  188. local leftclone = Instance.new("Motor6D")
  189. leftclone.Name = "Left Shoulder"
  190. leftclone.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  191. leftclone.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  192. local torsoclone = Instance.new("Motor6D")
  193. torsoclone.Name = "RootJoint"
  194. torsoclone.C0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  195. torsoclone.C1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  196. local killcount = Instance.new("ScreenGui")
  197. local kills = Instance.new("TextLabel")
  198. killcount.Name = "killcount"
  199. killcount.Parent = plr.PlayerGui
  200. kills.Name = "kills"
  201. kills.Parent = killcount
  202. kills.BackgroundColor3 = Color3.new(0, 1, 0)
  203. kills.BorderColor3 = Color3.new(0, 0, 0)
  204. kills.BorderSizePixel = 2
  205. kills.Position = UDim2.new(0, 0, 0.380952388, 0)
  206. kills.Size = UDim2.new(0, 200, 0, 50)
  207. kills.Font = Enum.Font.SourceSans
  208. kills.FontSize = Enum.FontSize.Size24
  209. kills.Text = "Kills:"
  210. kills.TextColor3 = Color3.new(1, 1, 1)
  211. kills.TextScaled = true
  212. kills.TextSize = 20
  213. kills.TextWrapped = true
  214. function remgui()
  215. for i, v in pairs(plr.PlayerGui:GetChildren()) do
  216. if v.ClassName == "ScreenGui" and v.Name == "Noti" then
  217. v:Destroy()
  218. end
  219. end
  220. end
  221. function inform(txt, del)
  222. local cor = coroutine.wrap(function()
  223. local Noti = Instance.new("ScreenGui")
  224. local text = Instance.new("TextLabel")
  225. local bar = Instance.new("Frame")
  226. Noti.Name = "Noti"
  227. Noti.Parent = plr.PlayerGui
  228. text.Name = "text"
  229. text.Parent = Noti
  230. text.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  231. text.BorderSizePixel = 0
  232. text.Position = UDim2.new(0.111111112, 0, 0.111904763, 0)
  233. text.Size = UDim2.new(0, 640, 0, 64)
  234. text.Font = Enum.Font.SourceSans
  235. text.FontSize = Enum.FontSize.Size14
  236. text.Text = txt
  237. text.TextColor3 = Color3.new(1, 1, 1)
  238. text.TextScaled = true
  239. text.TextSize = 14
  240. text.TextWrapped = true
  241. bar.Name = "bar"
  242. bar.Parent = text
  243. bar.BackgroundColor3 = Color3.new(0.0784314, 0.0784314, 0.0784314)
  244. bar.BorderSizePixel = 0
  245. bar.Position = UDim2.new(0, 0, 1, 0)
  246. bar.Size = UDim2.new(0, 640, 0, 8)
  247. wait(del)
  248. remgui()
  249. end)
  250. cor()
  251. end
  252. CV="Crimson"
  253. local txt = Instance.new("BillboardGui", char)
  254. txt.Adornee = char.Head
  255. txt.Name = "_status"
  256. txt.Size = UDim2.new(2, 0, 1.2, 0)
  257. txt.StudsOffset = Vector3.new(-9, 8, 0)
  258. local text = Instance.new("TextLabel", txt)
  259. text.Size = UDim2.new(10, 0, 7, 0)
  260. text.FontSize = "Size24"
  261. text.TextScaled = true
  262. text.TextTransparency = 0
  263. text.BackgroundTransparency = 1
  264. text.TextTransparency = 0
  265. text.TextStrokeTransparency = 0
  266. text.Font = "Fantasy"
  267. text.TextStrokeColor3 = Color3.new(0,0,0)
  268. v=Instance.new("Part")
  269. v.Name = "ColorBrick"
  270. v.Parent=owner.Character
  271. v.FormFactor="Symmetric"
  272. v.Anchored=true
  273. v.CanCollide=false
  274. v.BottomSurface="Smooth"
  275. v.TopSurface="Smooth"
  276. v.Size=Vector3.new(10,5,3)
  277. v.Transparency=1
  278. v.CFrame=char.Torso.CFrame
  279. v.BrickColor=BrickColor.new(CV)
  280. v.Transparency=1
  281. text.TextColor3 = Color3.new(255, 0, 0)
  282. v.Shape="Block"
  283. text.Text = "Murder"
  284. inform("Katana V2 by Mitu_Andrei and RazerOfficial-, press C to equip.", 2)
  285. char.Humanoid.MaxHealth = math.huge
  286. local ff = Instance.new("ForceField", char)
  287. ff.Visible = false
  288. ff.Name = "AAAAAAAAA"
  289. o1 = Instance.new("Model")
  290. o2 = Instance.new("WedgePart")
  291. o3 = Instance.new("Part")
  292. o4 = Instance.new("Part")
  293. o5 = Instance.new("Part")
  294. o6 = Instance.new("Part")
  295. o7 = Instance.new("WedgePart")
  296. o1.Name = "katana"
  297. o1.Parent = char
  298. o1.PrimaryPart = o5
  299. o2.Name = "blade"
  300. o2.Parent = o1
  301. o2.Transparency = 1
  302. o2.Material = Enum.Material.Metal
  303. o2.BrickColor = BrickColor.new("Dark stone grey")
  304. o2.Position = Vector3.new(-1.41889954, 0.568201602, 35.4738998)
  305. o2.Rotation = Vector3.new(63.8199997, -76.5999985, 63.1800003)
  306. o2.Size = Vector3.new(0.170001268, 0.280000448, 0.930000186)
  307. o2.CFrame = CFrame.new(-1.41889954, 0.568201602, 35.4738998, 0.104519971, -0.206772178, -0.972791672, 3.79876219E-8, 0.978147924, -0.207910955, 0.99452281, 0.021730829, 0.102236226)
  308. o2.BottomSurface = Enum.SurfaceType.Smooth
  309. o2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  310. o2.Position = Vector3.new(-1.41889954, 0.568201602, 35.4738998)
  311. o3.Name = "topcap"
  312. o3.Parent = o1
  313. o3.BrickColor = BrickColor.new("Really black")
  314. o3.Position = Vector3.new(-5.86900711, 0.455011994, 35.550087)
  315. o3.Shape = Enum.PartType.Cylinder
  316. o3.Size = Vector3.new(0.189999998, 0.890000105, 1)
  317. o3.CFrame = CFrame.new(-5.86900711, 0.455011994, 35.550087, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  318. o3.BottomSurface = Enum.SurfaceType.Smooth
  319. o3.TopSurface = Enum.SurfaceType.Smooth
  320. o3.Transparency = 1
  321. o3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  322. o3.Position = Vector3.new(-5.86900711, 0.455011994, 35.550087)
  323. o4.Name = "blade"
  324. o4.Parent = o1
  325. o4.Material = Enum.Material.Metal
  326. o4.BrickColor = BrickColor.new("Dark stone grey")
  327. o4.Position = Vector3.new(-3.78600883, 0.425012141, 35.5000877)
  328. o4.Size = Vector3.new(4.01999998, 0.350000054, 0.17000033)
  329. o4.CFrame = CFrame.new(-3.78600883, 0.425012141, 35.5000877, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  330. o4.BottomSurface = Enum.SurfaceType.Smooth
  331. o4.Transparency = 1
  332. o4.TopSurface = Enum.SurfaceType.Smooth
  333. o4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  334. o4.Position = Vector3.new(-3.78600883, 0.425012141, 35.5000877)
  335. o5.Name = "handle"
  336. o5.Parent = o1
  337. o5.Material = Enum.Material.SmoothPlastic
  338. o5.BrickColor = BrickColor.new("Really black")
  339. o5.Position = Vector3.new(-6.68501282, 0.412755281, 35.5199966)
  340. o5.Shape = Enum.PartType.Cylinder
  341. o5.Size = Vector3.new(1.67000186, 0.400000423, 1)
  342. o5.CFrame = CFrame.new(-6.68501282, 0.412755281, 35.5199966, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  343. o5.BottomSurface = Enum.SurfaceType.Smooth
  344. o5.TopSurface = Enum.SurfaceType.Smooth
  345. o5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  346. o5.Position = Vector3.new(-6.68501282, 0.412755281, 35.5199966)
  347. o6.Name = "blade"
  348. o6.Parent = o1
  349. o6.Material = Enum.Material.Metal
  350. o6.BrickColor = BrickColor.new("Pearl")
  351. o6.Position = Vector3.new(-3.68737984, 0.361644179, 35.5102768)
  352. o6.Size = Vector3.new(4.23000383, 0.300000042, 0.130000442)
  353. o6.CFrame = CFrame.new(-3.68737984, 0.361644179, 35.5102768, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  354. o6.BottomSurface = Enum.SurfaceType.Smooth
  355. o6.TopSurface = Enum.SurfaceType.Smooth
  356. o6.Color = Color3.new(0.905882, 0.905882, 0.92549)
  357. o6.Transparency = 1
  358. o6.Position = Vector3.new(-3.68737984, 0.361644179, 35.5102768)
  359. o7.Name = "blade"
  360. o7.Parent = o1
  361. o7.Material = Enum.Material.Metal
  362. o7.BrickColor = BrickColor.new("Pearl")
  363. o7.Position = Vector3.new(-1.31419945, 0.486169487, 35.4697533)
  364. o7.Rotation = Vector3.new(76.7900009, -65.2999954, 75.5099945)
  365. o7.Size = Vector3.new(0.07, 0.28, 0.93)
  366. o7.CFrame = CFrame.new(-1.31419945, 0.486169487, 35.4697533, 0.104519621, -0.404509038, -0.908541679, -1.11847829E-8, 0.91354543, -0.406736791, 0.994522929, 0.042511981, 0.0954833925)
  367. o7.BottomSurface = Enum.SurfaceType.Smooth
  368. o7.Color = Color3.new(0.905882, 0.905882, 0.92549)
  369. o7.Position = Vector3.new(-1.31419945, 0.486169487, 35.4697533)
  370. o7.Transparency = 1
  371. knife = Instance.new("Model")
  372. knifepart = Instance.new("Part")
  373. knifepart2 = Instance.new("WedgePart")
  374. knifepart3 = Instance.new("Part")
  375. knifepart4 = Instance.new("Part")
  376. knifepart5 = Instance.new("Part")
  377. knife.Name = "knife"
  378. knife.PrimaryPart = knifepart2
  379. knife.Parent = char
  380. knifepart.Name = "hit"
  381. knifepart.Parent = knife
  382. knifepart.Transparency = 9
  383. knifepart.Position = Vector3.new(-3.64290094, 0.138375998, -32.6240005)
  384. knifepart.Anchored = true
  385. knifepart.Size = Vector3.new(1.99439991, 0.27670002, 0.48179999)
  386. knifepart.CFrame = CFrame.new(-3.64290094, 0.138375998, -32.6240005, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  387. knifepart.Position = Vector3.new(-3.64290094, 0.138375998, -32.6240005)
  388. knifepart2.Name = "blade"
  389. knifepart2.Parent = knife
  390. knifepart2.Material = Enum.Material.Metal
  391. knifepart2.Position = Vector3.new(-4.524755, 0.141372442, -32.631443)
  392. knifepart2.Rotation = Vector3.new(0, 90, 0)
  393. knifepart2.Anchored = true
  394. knifepart2.Size = Vector3.new(0.122299999, 0.171500012, 0.265900016)
  395. knifepart2.CFrame = CFrame.new(-4.524755, 0.141372442, -32.631443, -4.37113883E-8, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883E-8)
  396. knifepart2.Position = Vector3.new(-4.524755, 0.141372442, -32.631443)
  397. knifepart3.Name = "blade"
  398. knifepart3.Parent = knife
  399. knifepart3.Material = Enum.Material.Metal
  400. knifepart3.Position = Vector3.new(-3.52325106, 0.108675718, -32.6366501)
  401. knifepart3.Anchored = true
  402. knifepart3.Size = Vector3.new(1.75509989, 0.0987000093, 0.153300002)
  403. knifepart3.CFrame = CFrame.new(-3.52325106, 0.108675718, -32.6366501, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  404. knifepart3.Position = Vector3.new(-3.52325106, 0.108675718, -32.6366501)
  405. knifepart4.Name = "blade"
  406. knifepart4.Parent = knife
  407. knifepart4.Material = Enum.Material.Metal
  408. knifepart4.BrickColor = BrickColor.new("Dark stone grey")
  409. knifepart4.Position = Vector3.new(-3.52325106, 0.188175917, -32.6366501)
  410. knifepart4.Anchored = true
  411. knifepart4.Size = Vector3.new(1.75509989, 0.0637000054, 0.153300002)
  412. knifepart4.CFrame = CFrame.new(-3.52325106, 0.188175917, -32.6366501, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  413. knifepart4.Color = Color3.new(0.388235, 0.372549, 0.384314)
  414. knifepart4.Position = Vector3.new(-3.52325106, 0.188175917, -32.6366501)
  415. knifepart5.Name = "hold"
  416. knifepart5.Parent = knife
  417. knifepart5.Material = Enum.Material.SmoothPlastic
  418. knifepart5.BrickColor = BrickColor.new("Black")
  419. knifepart5.Position = Vector3.new(-2.84210014, 0.141077757, -32.6371498)
  420. knifepart5.Anchored = true
  421. knifepart5.Size = Vector3.new(1.44639993, 0.265300006, 0.213100001)
  422. knifepart5.CFrame = CFrame.new(-2.84210014, 0.141077757, -32.6371498, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  423. knifepart5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  424. knifepart5.Position = Vector3.new(-2.84210014, 0.141077757, -32.6371498)
  425. knifep = knife.PrimaryPart
  426. knifech = knife:GetChildren()
  427. for i = 1, #knifech do
  428. if knifech[i]:IsA("BasePart") then
  429. local weld = Instance.new("Weld", knifep)
  430. weld.Part0 = knifep
  431. weld.Part1 = knifech[i]
  432. weld.C0 = knifep.CFrame:inverse()
  433. weld.C1 = knifech[i].CFrame:inverse()
  434. weld.Parent = knifep
  435. end
  436. end
  437. for _, b in pairs(knife:GetChildren()) do
  438. if b.ClassName == "Part" then
  439. b.Transparency = 1
  440. end
  441. end
  442. knife.Parent = nil
  443. local equipsound = Instance.new("Sound")
  444. equipsound.SoundId = "rbxassetid://608709870"
  445. equipsound.Volume = 1
  446. local unequipsound = Instance.new("Sound")
  447. unequipsound.SoundId = "rbxassetid://608714098"
  448. unequipsound.Volume = 1
  449. local swordeq = Instance.new("Sound")
  450. local att1 = Instance.new("Attachment", o5)
  451. local att2 = Instance.new("Attachment", o7)
  452. local trail = Instance.new("Trail", o5)
  453. trail.Color = ColorSequence.new({
  454. ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 255)),
  455. ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))
  456. })
  457. trail.LightEmission = 0.25
  458. trail.Transparency = NumberSequence.new({
  459. NumberSequenceKeypoint.new(0, 0.75),
  460. NumberSequenceKeypoint.new(1, 1)
  461. })
  462. trail.Lifetime = 0.1
  463. trail.MinLength = 0.05
  464. trail.Attachment0 = att1
  465. trail.Attachment1 = att2
  466. trail.Enabled = false
  467. function ragdoll(victim)
  468. for _, t in pairs(victim:GetChildren()) do
  469. if t.ClassName == "Humanoid" then
  470. t.Died:connect(function()
  471. victim.Archivable = true
  472. local Ragdoll = victim:Clone()
  473. Ragdoll.Name = victim.Name .. " (Dead)"
  474. victim.Archivable = false
  475. for _, Object in pairs(Ragdoll:GetChildren()) do
  476. if Object.ClassName == "Script" or Object.ClassName == "LocalScript" then
  477. Object:Destroy()
  478. end
  479. for _, Weld in pairs(Object:GetChildren()) do
  480. if Weld.ClassName == "Weld" or Weld.ClassName == "Motor6D" then
  481. Weld:Destroy()
  482. end
  483. end
  484. end
  485. for _, v in pairs(Ragdoll:GetChildren()) do
  486. if v.ClassName == "Humanoid" then
  487. local RagdollHumanoid = v
  488. RagdollHumanoid.Name = "Ragdoll Humanoid"
  489. RagdollHumanoid.PlatformStand = true
  490. RagdollHumanoid.Sit = true
  491. RagdollHumanoid.MaxHealth = 0
  492. RagdollHumanoid.Health = 0
  493. end
  494. end
  495. local Torso, MoveVector
  496. if Ragdoll:FindFirstChild("Torso") and victim:FindFirstChild("Torso") then
  497. Torso = Ragdoll.Torso
  498. MoveVector = Ragdoll.Torso.CFrame.lookVector
  499. do
  500. local Limb = Torso
  501. Limb.Anchored = false
  502. coroutine.wrap(function()
  503. for i = 1, 20 do
  504. local blood = Instance.new("Part", Ragdoll)
  505. local vel = Instance.new("BodyVelocity", blood)
  506. vel.MaxForce = Vector3.new(99999, 99999, 9999999)
  507. vel.Velocity = Vector3.new(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  508. blood.BrickColor = BrickColor.new("Maroon")
  509. blood.Anchored = false
  510. blood.CanCollide = false
  511. blood.Size = Vector3.new(0.3, 0.3, 0.3)
  512. blood.Transparency = 1
  513. blood.CFrame = Limb.CFrame
  514. wait()
  515. vel:Destroy()
  516. end
  517. end)()
  518. coroutine.wrap(function()
  519. coroutine.wrap(function()
  520. for i = 1, 3 do
  521. coroutine.wrap(function()
  522. local pool = Instance.new("Part", Ragdoll)
  523. pool.CFrame = Limb.CFrame * CFrame.new(math.random(-1, 4), -2.9, math.random(-1, 4))
  524. pool.BrickColor = BrickColor.new("Crimson")
  525. pool.Material = "SmoothPlastic"
  526. pool.Size = Vector3.new(1, 0.05, 1)
  527. pool.Anchored = true
  528. local mesh = Instance.new(pool)
  529. wait(0.1)
  530. for i = 1, math.random(20, 30) do
  531. wait()
  532. end
  533. end)()
  534. end
  535. end)()
  536. local pool = Instance.new("Part", Ragdoll)
  537. pool.CFrame = Limb.CFrame * CFrame.new(0, -2.9, 0)
  538. pool.BrickColor = BrickColor.new("Crimson")
  539. pool.Material = "SmoothPlastic"
  540. pool.Anchored = true
  541. pool.CanCollide = false
  542. pool.Name = "Bloodpool"
  543. pool.Transparency = 1
  544. local mesh = Instance.new(pool)
  545. wait(0.1)
  546. for i = 1, 20 do
  547. mesh.Scale = mesh.Scale + Vector3.new(0.2, 0, 0.2)
  548. wait()
  549. end
  550. end)()
  551. end
  552. end
  553. if Ragdoll:FindFirstChild("Head") ~= nil then
  554. do
  555. local Limb = Ragdoll.Head
  556. if Limb:FindFirstChild("face") then
  557. Limb.face.Texture = "http://www.roblox.com/asset/?id=145854465"
  558. end
  559. local cor = coroutine.wrap(function()
  560. local vel = Instance.new("BodyVelocity", Limb)
  561. vel.MaxForce = Vector3.new(999999, 9999999999, 99999999)
  562. vel.Velocity = Vector3.new(0, 50, -20)
  563. wait(0.1)
  564. vel:Destroy()
  565. end)
  566. local Neck = Instance.new("Weld")
  567. Neck.Name = "Neck"
  568. Neck.Part0 = Torso
  569. Neck.Part1 = Limb
  570. Neck.C0 = CFrame.new(0, 1.5, 0)
  571. Neck.C1 = CFrame.new()
  572. Neck.Parent = Torso
  573. if deca == true then
  574. Neck:Destroy()
  575. cor()
  576. end
  577. end
  578. end
  579. if Ragdoll:FindFirstChild("Left Arm") ~= nil then
  580. local Limb = Ragdoll["Left Arm"]
  581. Limb.CFrame = Torso.CFrame * CFrame.new(-1.5, 0, 0)
  582. local Joint = Instance.new("Glue")
  583. Joint.Name = "Left Shoulder"
  584. Joint.Part0 = Torso
  585. Joint.Part1 = Limb
  586. Joint.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  587. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  588. Joint.Parent = Torso
  589. local AttachLimb = Instance.new("Part")
  590. AttachLimb.Name = "Attach Limb"
  591. AttachLimb.TopSurface = "Smooth"
  592. AttachLimb.BottomSurface = "Smooth"
  593. AttachLimb.formFactor = "Symmetric"
  594. AttachLimb.Size = Vector3.new(1, 1, 1)
  595. AttachLimb.Transparency = 1
  596. AttachLimb.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  597. AttachLimb.Parent = Ragdoll
  598. local Weld = Instance.new("Weld")
  599. Weld.Part0 = Limb
  600. Weld.Part1 = AttachLimb
  601. Weld.C0 = CFrame.new(0, -0.5, 0)
  602. Weld.Parent = Limb
  603. end
  604. if Ragdoll:FindFirstChild("Right Arm") ~= nil then
  605. local Limb = Ragdoll["Right Arm"]
  606. Limb.CFrame = Torso.CFrame * CFrame.new(1.5, 0, 0)
  607. local Joint = Instance.new("Glue")
  608. Joint.Name = "Right Shoulder"
  609. Joint.Part0 = Torso
  610. Joint.Part1 = Limb
  611. Joint.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  612. Joint.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  613. Joint.Parent = Torso
  614. local AttachLimb = Instance.new("Part")
  615. AttachLimb.Name = "Attach Limb"
  616. AttachLimb.TopSurface = "Smooth"
  617. AttachLimb.BottomSurface = "Smooth"
  618. AttachLimb.formFactor = "Symmetric"
  619. AttachLimb.Size = Vector3.new(1, 1, 1)
  620. AttachLimb.Transparency = 1
  621. AttachLimb.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  622. AttachLimb.Parent = Ragdoll
  623. local Weld = Instance.new("Weld")
  624. Weld.Part0 = Limb
  625. Weld.Part1 = AttachLimb
  626. Weld.C0 = CFrame.new(0, -0.5, 0)
  627. Weld.Parent = Limb
  628. end
  629. if Ragdoll:FindFirstChild("Left Leg") ~= nil then
  630. local Limb = Ragdoll["Left Leg"]
  631. Limb.CFrame = Torso.CFrame * CFrame.new(-0.5, -2, 0)
  632. local Joint = Instance.new("Glue")
  633. Joint.Name = "Left Hip"
  634. Joint.Part0 = Torso
  635. Joint.Part1 = Limb
  636. Joint.C0 = CFrame.new(-0.5, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  637. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  638. Joint.Parent = Torso
  639. local AttachLimb = Instance.new("Part")
  640. AttachLimb.Name = "Attach Limb"
  641. AttachLimb.TopSurface = "Smooth"
  642. AttachLimb.BottomSurface = "Smooth"
  643. AttachLimb.formFactor = "Symmetric"
  644. AttachLimb.Size = Vector3.new(1, 1, 1)
  645. AttachLimb.Transparency = 1
  646. AttachLimb.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  647. AttachLimb.Parent = Ragdoll
  648. local Weld = Instance.new("Weld")
  649. Weld.Part0 = Limb
  650. Weld.Part1 = AttachLimb
  651. Weld.C0 = CFrame.new(0, -0.5, 0)
  652. Weld.Parent = Limb
  653. end
  654. if Ragdoll:FindFirstChild("Right Leg") ~= nil then
  655. local Limb = Ragdoll["Right Leg"]
  656. Limb.CFrame = Torso.CFrame * CFrame.new(0.5, -2, 0)
  657. local Joint = Instance.new("Glue")
  658. Joint.Name = "Right Hip"
  659. Joint.Part0 = Torso
  660. Joint.Part1 = Limb
  661. Joint.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  662. Joint.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0)
  663. Joint.Parent = Torso
  664. local AttachLimb = Instance.new("Part")
  665. AttachLimb.Name = "Attach Limb"
  666. AttachLimb.TopSurface = "Smooth"
  667. AttachLimb.BottomSurface = "Smooth"
  668. AttachLimb.formFactor = "Symmetric"
  669. AttachLimb.Size = Vector3.new(1, 1, 1)
  670. AttachLimb.Transparency = 1
  671. AttachLimb.CFrame = Limb.CFrame * CFrame.new(0, -0.5, 0)
  672. AttachLimb.Parent = Ragdoll
  673. local Weld = Instance.new("Weld")
  674. Weld.Part0 = Limb
  675. Weld.Part1 = AttachLimb
  676. Weld.C0 = CFrame.new(0, -0.5, 0)
  677. Weld.Parent = Limb
  678. end
  679. local Bar = Instance.new("Part")
  680. Bar.TopSurface = "Smooth"
  681. Bar.BottomSurface = "Smooth"
  682. Bar.formFactor = "Symmetric"
  683. Bar.Size = Vector3.new(1, 1, 1)
  684. Bar.Transparency = 1
  685. Bar.CFrame = Torso.CFrame * CFrame.new(0, 0.5, 0)
  686. Bar.Parent = Ragdoll
  687. local Weld = Instance.new("Weld")
  688. Weld.Part0 = Torso
  689. Weld.Part1 = Bar
  690. Weld.C0 = CFrame.new(0, 0.5, 0)
  691. Weld.Parent = Torso
  692. Ragdoll.Parent = game.Workspace
  693. for _, Object in pairs(victim:GetChildren()) do
  694. if Object.ClassName == "Part" or Object.ClassName == "Hat" then
  695. Object:Destroy()
  696. end
  697. end
  698. for i = 1, 10 do
  699. Torso.Velocity = MoveVector * -20
  700. wait(0.01)
  701. end
  702. if divinesword == true then
  703. for _, v in pairs(Ragdoll:GetChildren()) do
  704. if v.ClassName == "Part" then
  705. if v.Name == "Bloodpool" then
  706. wait()
  707. else
  708. local parti = Instance.new("ParticleEmitter")
  709. parti.Parent = v
  710. parti.Rotation = NumberRange.new(99, 99)
  711. parti.Color = ColorSequence.new(Color3.new(0, 0.0666667, 1), Color3.new(0.701961, 0.701961, 0.0666667), Color3.new(0.827451, 0.231373, 0.878431), Color3.new(1, 1, 1))
  712. parti.LightEmission = 3
  713. parti.Lifetime = NumberRange.new(0.1, 0.1)
  714. parti.Rate = 10000
  715. parti.RotSpeed = NumberRange.new(500, 500)
  716. parti.VelocitySpread = 20
  717. parti.Enabled = true
  718. parti.LockedToPart = true
  719. end
  720. end
  721. end
  722. end
  723. wait(10)
  724. for _, v in pairs(Ragdoll:GetChildren()) do
  725. if v.ClassName == "Part" then
  726. v.CanCollide = false
  727. if v.Name == "Bloodpool" then
  728. wait()
  729. else
  730. v.Anchored = false
  731. end
  732. if v.Name ~= "Torso" then
  733. end
  734. v:Destroy()
  735. for _, t in pairs(v:GetChildren()) do
  736. if t.ClassName ~= "Weld" then
  737. end
  738. t:Destroy()
  739. end
  740. end
  741. end
  742. end)
  743. end
  744. end
  745. end
  746. local parti = Instance.new("ParticleEmitter")
  747. parti.Parent = o2
  748. parti.Rotation = NumberRange.new(99, 99)
  749. parti.Color = ColorSequence.new(Color3.new(0, 0.0666667, 1), Color3.new(0.701961, 0.701961, 0.0666667), Color3.new(0.827451, 0.231373, 0.878431), Color3.new(1, 1, 1))
  750. parti.LightEmission = 3
  751. parti.Lifetime = NumberRange.new(0.1, 0.1)
  752. parti.Rate = 100
  753. parti.RotSpeed = NumberRange.new(500, 500)
  754. parti.VelocitySpread = 20
  755. parti.Enabled = false
  756. parti.LockedToPart = true
  757. bloodparti = Instance.new("ParticleEmitter")
  758. bloodparti.Parent = o2
  759. bloodparti.Enabled = false
  760. bloodparti.Rate = 100
  761. bloodparti.Acceleration = Vector3.new(0, -50, 0)
  762. bloodparti.Size = NumberSequence.new(0.10000000149012, 0.10000000149012)
  763. bloodparti.Color = ColorSequence.new(Color3.new(0.666667, 0, 0), Color3.new(0.666667, 0, 0))
  764. bloodparti.Texture = "rbxassetid://3419963"
  765. bloodparti.LockedToPart = false
  766. bloodparti.Lifetime = NumberRange.new(0.69999998807907, 0.69999998807907)
  767. local parti2 = Instance.new("ParticleEmitter")
  768. parti2.Parent = o3
  769. parti2.Rotation = NumberRange.new(99, 99)
  770. parti2.Color = ColorSequence.new(Color3.new(0, 0.0666667, 1), Color3.new(0.701961, 0.701961, 0.0666667), Color3.new(0.827451, 0.231373, 0.878431), Color3.new(1, 1, 1))
  771. parti2.LightEmission = 3
  772. parti2.Lifetime = NumberRange.new(0.1, 0.1)
  773. parti2.Rate = 100
  774. parti2.RotSpeed = NumberRange.new(500, 500)
  775. parti2.VelocitySpread = 20
  776. parti2.Enabled = false
  777. parti2.LockedToPart = true
  778. local parti3 = Instance.new("ParticleEmitter")
  779. parti3.Parent = o4
  780. parti3.Rotation = NumberRange.new(99, 99)
  781. parti3.Color = ColorSequence.new(Color3.new(0, 0.0666667, 1), Color3.new(0.701961, 0.701961, 0.0666667), Color3.new(0.827451, 0.231373, 0.878431), Color3.new(1, 1, 1))
  782. parti3.LightEmission = 3
  783. parti3.Lifetime = NumberRange.new(0.1, 0.1)
  784. parti3.Rate = 100
  785. parti3.RotSpeed = NumberRange.new(500, 500)
  786. parti3.VelocitySpread = 20
  787. parti3.Enabled = false
  788. parti3.LockedToPart = true
  789. local parti4 = Instance.new("ParticleEmitter")
  790. parti4.Parent = o6
  791. parti4.Rotation = NumberRange.new(99, 99)
  792. parti4.Color = ColorSequence.new(Color3.new(0, 0.0666667, 1), Color3.new(0.701961, 0.701961, 0.0666667), Color3.new(0.827451, 0.231373, 0.878431), Color3.new(1, 1, 1))
  793. parti4.LightEmission = 3
  794. parti4.Lifetime = NumberRange.new(0.1, 0.1)
  795. parti4.Rate = 100
  796. parti4.RotSpeed = NumberRange.new(500, 500)
  797. parti4.VelocitySpread = 20
  798. parti4.Enabled = false
  799. parti4.LockedToPart = true
  800. local parti5 = Instance.new("ParticleEmitter")
  801. parti5.Parent = o7
  802. parti5.Rotation = NumberRange.new(99, 99)
  803. parti5.Color = ColorSequence.new(Color3.new(0, 0.0666667, 1), Color3.new(0.701961, 0.701961, 0.0666667), Color3.new(0.827451, 0.231373, 0.878431), Color3.new(1, 1, 1))
  804. parti5.LightEmission = 3
  805. parti5.Lifetime = NumberRange.new(0.1, 0.1)
  806. parti5.Rate = 100
  807. parti5.RotSpeed = NumberRange.new(500, 500)
  808. parti5.VelocitySpread = 20
  809. parti5.Enabled = false
  810. parti5.LockedToPart = true
  811. local prim = o1.PrimaryPart
  812. local parts = o1:GetChildren()
  813. for i = 1, #parts do
  814. if parts[i]:IsA("BasePart") then
  815. local weld = Instance.new("Weld")
  816. weld.Part0 = prim
  817. weld.Part1 = parts[i]
  818. weld.C0 = prim.CFrame:inverse()
  819. weld.C1 = parts[i].CFrame:inverse()
  820. weld.Parent = prim
  821. end
  822. end
  823. for _, v in pairs(o1:GetChildren()) do
  824. if v.ClassName ~= "Part" then
  825. end
  826. v.CanCollide = false
  827. end
  828. local weldrs = Instance.new("Part", char)
  829. weldrs.Name = "rsweldpart"
  830. weldrs.Transparency = 1
  831. weldrs.Size = Vector3.new(0.4, 0.4, 0.4)
  832. local we = Instance.new("Weld", weldrs)
  833. we.Part0 = weldrs
  834. we.Part1 = char["Right Arm"]
  835. we.C0 = CFrame.new(0, 1, 0)
  836. o1:SetPrimaryPartCFrame(char["Right Arm"].CFrame)
  837. o1.Parent = char
  838. local handweld = Instance.new("Weld", weldrs)
  839. handweld.Part0 = weldrs
  840. handweld.Part1 = o5
  841. handweld.C0 = CFrame.new(-0.4, 0, 0)
  842. handweld.C1 = CFrame.Angles(0, 4.5, -0.1)
  843. mainc1 = handweld.C1
  844. rs0 = rs.C0
  845. ls0 = ls.C0
  846. char.Animate.idle.Animation1.AnimationId = "rbxassetid://0"
  847. char.Animate.idle.Animation2.AnimationId = "rbxassetid://0"
  848.  
  849. neckc0 = torso.Neck.C0
  850. mouse.KeyDown:connect(function(k)
  851. k = k:lower()
  852. if k == "z" and eq == true then
  853. if equipped == false then
  854. equipped = true
  855. for i = 1, 5 do
  856. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.05)
  857. wait()
  858. end
  859. inform("Katana equipped, click to perform an action.", 2)
  860. swordeq:Play()
  861. parti.Enabled = true
  862. parti2.Enabled = true
  863. parti3.Enabled = true
  864. parti4.Enabled = true
  865. parti5.Enabled = true
  866. for _, v in pairs(o1:GetChildren()) do
  867. if v.ClassName ~= "Part" then
  868. end
  869. coroutine.wrap(function()
  870. for i = 1, 10 do
  871. v.Transparency = v.Transparency - 0.1
  872. wait()
  873. end
  874. end)()
  875. end
  876. wait(0.5)
  877. parti.Enabled = false
  878. parti2.Enabled = false
  879. parti3.Enabled = false
  880. parti4.Enabled = false
  881. parti5.Enabled = false
  882. else
  883. for i = 1, 5 do
  884. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.05)
  885. wait()
  886. end
  887. inform("Katana unequipped", 2)
  888. equipped = false
  889. parti.Enabled = true
  890. parti2.Enabled = true
  891. parti3.Enabled = true
  892. parti4.Enabled = true
  893. parti5.Enabled = true
  894. for _, v in pairs(o1:GetChildren()) do
  895. if v.ClassName ~= "Part" then
  896. end
  897. coroutine.wrap(function()
  898. for i = 1, 10 do
  899. v.Transparency = v.Transparency + 0.1
  900. wait()
  901. end
  902. end)()
  903. end
  904. wait(0.5)
  905. parti.Enabled = false
  906. parti2.Enabled = false
  907. parti3.Enabled = false
  908. parti4.Enabled = false
  909. parti5.Enabled = false
  910. end
  911. end
  912. if k == "c" then
  913. if eq == false then
  914. eq = true
  915. equipsound:Play()
  916. inform("Equipped", 2)
  917. for i = 1, 5 do
  918. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0.08, 0, 0)
  919. wait()
  920. end
  921. handweld.C0 = CFrame.new(0, 0, 0)
  922. handweld.Part0 = weldrs
  923. wait(0.13)
  924. for i = 1, 5 do
  925. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(-0.08, 0, 0)
  926. wait()
  927. end
  928. else
  929. unequipsound:Play()
  930. inform("Unequipped", 2)
  931. if equipped == true then
  932. equipped = false
  933. for i = 1, 20 do
  934. o2.Transparency = o2.Transparency + 0.05
  935. wait()
  936. end
  937. for i = 1, 20 do
  938. o3.Transparency = o3.Transparency + 0.05
  939. wait()
  940. end
  941. for i = 1, 20 do
  942. o4.Transparency = o4.Transparency + 0.05
  943. wait()
  944. end
  945. for i = 1, 20 do
  946. o6.Transparency = o6.Transparency + 0.05
  947. wait()
  948. end
  949. for i = 1, 20 do
  950. o7.Transparency = o7.Transparency + 0.05
  951. wait()
  952. end
  953. end
  954. eq = false
  955. for i = 1, 5 do
  956. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0.08, 0, 0)
  957. wait()
  958. end
  959. handweld.Part0 = torso
  960. handweld.C0 = CFrame.new(1, -1, 0)
  961. wait(0.13)
  962. for i = 1, 5 do
  963. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(-0.08, 0, 0)
  964. wait()
  965. end
  966. end
  967. end
  968.  
  969. if k == "l" then
  970. if usage == false and equipped == true then
  971. usage = true
  972. inform("Katana usage off", 2)
  973. equipped = false
  974. handweld.C1 = CFrame.Angles(0, -4.5, -0.1)
  975. else
  976. usage = false
  977. inform("Katana usage on", 2)
  978. equipped = true
  979. handweld.C1 = CFrame.Angles(0, 4.5, -0.1)
  980. end
  981. end
  982. if k:byte() == 8 then
  983. o1.Parent = workspace
  984. for _, v in pairs(o1:GetChildren()) do
  985. if v.ClassName ~= "Part" then
  986. end
  987. v.CanCollide = true
  988. for _, p in pairs(o5:GetChildren()) do
  989. if p.ClassName == "Weld" then
  990. p:Destroy()
  991. end
  992. end
  993. weldrs:Destroy()
  994. end
  995. for i = 1, #parts do
  996. if parts[i]:IsA("BasePart") then
  997. local weld = Instance.new("Weld")
  998. weld.Part0 = prim
  999. weld.Part1 = parts[i]
  1000. weld.C0 = prim.CFrame:inverse()
  1001. weld.C1 = parts[i].CFrame:inverse()
  1002. weld.Parent = prim
  1003. end
  1004. end
  1005. script:Destroy()
  1006. end
  1007. if k == "r" and equipped == true and attacking == false then
  1008. attacking = true
  1009. char.Humanoid.WalkSpeed = 0
  1010. char.Humanoid.JumpPower = 0
  1011. for i = 1, 5 do
  1012. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0.1, 0, 0.2)
  1013. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0 * CFrame.Angles(0.1, 0, -0.2)
  1014. wait()
  1015. end
  1016. handweld.Part0 = torso
  1017. handweld.C0 = CFrame.new(0, 0, -2)
  1018. for i = 1, 8 do
  1019. handweld.C1 = handweld.C1 * CFrame.Angles(0.2, 0, 0)
  1020. wait()
  1021. end
  1022. handweld.C1 = handweld.C1 * CFrame.Angles(0, 4.5, 0)
  1023. do
  1024. local sound = Instance.new("Sound", o5)
  1025. sound.SoundId = "http://www.roblox.com/asset/?id=199145446"
  1026. sound.Volume = 2
  1027. sound:Play()
  1028. local wavez = coroutine.wrap(function()
  1029. table.insert(Effects, "rbxassetid://20329976")
  1030. for i = 1, 20 do
  1031. coroutine.wrap(function()
  1032. local wa = Instance.new("Part", char)
  1033. local wm = Instance.new("FileMesh", wa)
  1034. wa.Anchored = true
  1035. wa.CanCollide = false
  1036. wa.CFrame = torso.CFrame * CFrame.new(0, -1, -2)
  1037. wa.BrickColor = BrickColor.new("Dark stone grey")
  1038. wm.MeshId = Effects[1]
  1039. coroutine.wrap(function()
  1040. for i = 1, 20 do
  1041. wm.Scale = wm.Scale + Vector3.new(1, 0.5, 1)
  1042. wa.Transparency = wa.Transparency + 0.05
  1043. wait()
  1044. end
  1045. end)()
  1046. wait(2)
  1047. wa:Destroy()
  1048. end)()
  1049. wait(0.1)
  1050. end
  1051. end)
  1052. wavez()
  1053. wait(2.5)
  1054. table.insert(Effects, "rbxassetid://20329976")
  1055. coroutine.wrap(function()
  1056. local wa = Instance.new("Part", char)
  1057. local wm = Instance.new("FileMesh", wa)
  1058. wa.Anchored = true
  1059. wa.CanCollide = false
  1060. wa.CFrame = torso.CFrame * CFrame.new(0, -1, -2)
  1061. wa.BrickColor = BrickColor.new("Dark stone grey")
  1062. wm.MeshId = Effects[1]
  1063. coroutine.wrap(function()
  1064. for i = 1, 20 do
  1065. wm.Scale = wm.Scale + Vector3.new(2, 1, 2)
  1066. wait()
  1067. end
  1068. end)()
  1069. wait(0.1)
  1070. for i = 1, 20 do
  1071. wa.Transparency = wa.Transparency + 0.05
  1072. wait()
  1073. end
  1074. wa:Destroy()
  1075. end)()
  1076. local sound2 = Instance.new("Sound", char)
  1077. sound2.SoundId = "http://www.roblox.com/asset/?id=280247455"
  1078. sound2.Volume = 2
  1079. sound2:Play()
  1080. wait(1.5)
  1081. table.insert(Effects, "rbxassetid://3270017")
  1082. local shockwave = Instance.new("Part", workspace)
  1083. shockwave.Anchored = true
  1084. shockwave.CanCollide = false
  1085. shockwave.CFrame = torso.CFrame * CFrame.new(0, -1, -2)
  1086. local id = Effects[3]
  1087. shockwave.BrickColor = BrickColor.new("Really red")
  1088. local mesh = Instance.new("FileMesh", shockwave)
  1089. mesh.MeshId = id
  1090. shockwave.Rotation = Vector3.new(-90, 0, 0)
  1091. mesh.Scale = Vector3.new(1, 1, 1)
  1092. coroutine.wrap(function()
  1093. for i = 1, 50 do
  1094. mesh.Scale = mesh.Scale + Vector3.new(4, 4, 20)
  1095. shockwave.Transparency = shockwave.Transparency + 0.02
  1096. wait()
  1097. end
  1098. shockwave:Destroy()
  1099. end)()
  1100. coroutine.wrap(function()
  1101. for i = 1, 50 do
  1102. shockwave.Size = shockwave.Size + Vector3.new(4, 4, 4)
  1103. wait()
  1104. end
  1105. end)()
  1106. shockwave.Touched:connect(function(h)
  1107. if h.Parent.Name == char.Name then
  1108. wait()
  1109. else
  1110. for _, v in pairs(h.Parent:GetChildren()) do
  1111. if v.ClassName == "Humanoid" then
  1112. if v.Health == 0 then
  1113. wait()
  1114. else
  1115. v.Health = 0
  1116. count = count + 1
  1117. kills.Text = "Kills: " .. count
  1118. ragdoll(h.Parent)
  1119. end
  1120. end
  1121. end
  1122. end
  1123. end)
  1124. for i = 1, 5 do
  1125. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(-0.1, 0, -0.2)
  1126. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0 * CFrame.Angles(-0.1, 0, 0.2)
  1127. wait()
  1128. end
  1129. attacking = false
  1130. handweld.Part0 = weldrs
  1131. handweld.C0 = handweld.C0 * CFrame.new(0, 0, 2)
  1132. handweld.C1 = mainc1
  1133. char.Humanoid.WalkSpeed = 25
  1134. char.Humanoid.JumpPower = 60
  1135. table.remove(Effects, 3, "rbxassetid://3270017")
  1136. table.remove(Effects, 2, "rbxassetid://20329976")
  1137. table.remove(Effects, 1, "rbxassetid://20329976")
  1138. end
  1139. end
  1140. function GoInvisible()
  1141. char.Humanoid.WalkSpeed = 70
  1142. char.Head.face.Transparency = 1
  1143. char["Left Leg"].Transparency = 1
  1144. char["Head"].Transparency = 1
  1145. char["Right Leg"].Transparency = 1
  1146. char["Torso"].Transparency = 1
  1147. char["Left Arm"].Transparency = 1
  1148. char["Right Arm"].Transparency = 1
  1149. text.TextTransparency = 1
  1150. text.TextStrokeTransparency = 1
  1151. o2.Transparency = 1
  1152. end
  1153. function GoVisible()
  1154. char.Humanoid.WalkSpeed = 25
  1155. char.Head.face.Transparency = 0
  1156. char["Left Leg"].Transparency = 0
  1157. char["Head"].Transparency = 0
  1158. char["Right Leg"].Transparency = 0
  1159. char["Torso"].Transparency = 0
  1160. char["Left Arm"].Transparency = 0
  1161. char["Right Arm"].Transparency = 0
  1162. text.TextTransparency = 0
  1163. text.TextStrokeTransparency = 0
  1164. o2.Transparency = 0
  1165. end
  1166. mouse.KeyDown:connect(function(key)
  1167. if key == "q" then
  1168. if char.Head.Transparency == 0 then
  1169. GoInvisible()
  1170.  
  1171. elseif char.Head.Transparency == 1 then
  1172. GoVisible()
  1173. end
  1174. end end)
  1175. if k == "" and equipped == true and divinesword == true and attacking == false then
  1176. attacking = true
  1177. do
  1178. local lighnting = Instance.new("Sound", o5)
  1179. lighnting.SoundId = "rbxassetid://821439273"
  1180. lighnting.Volume = 5
  1181. handweld.Part0 = torso
  1182. handweld.C0 = CFrame.new(0, 0, -2)
  1183. for i = 1, 8 do
  1184. handweld.C1 = handweld.C1 * CFrame.Angles(-0.2, 0.06, 0)
  1185. wait()
  1186. end
  1187. char.Humanoid.WalkSpeed = 0
  1188. char.Humanoid.JumpPower = 0
  1189. for i = 1, 5 do
  1190. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, -0.3)
  1191. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.3)
  1192. wait()
  1193. end
  1194. local p1 = Instance.new("Part", workspace)
  1195. p1.BrickColor = BrickColor.new("New Yeller")
  1196. p1.Anchored = true
  1197. p1.CanCollide = false
  1198. p1.Position = Vector3.new(0, 150, 0)
  1199. p1.Material = "Neon"
  1200. p1.Size = Vector3.new(15, 15, 15)
  1201. local p2 = Instance.new("Part", workspace)
  1202. p2.BrickColor = BrickColor.new("Institutional white")
  1203. p2.Anchored = true
  1204. p2.CanCollide = false
  1205. p2.Position = Vector3.new(0, 150, 0)
  1206. p2.Material = "Neon"
  1207. p2.Size = Vector3.new(15, 15, 15)
  1208. local cor = coroutine.wrap(function()
  1209. for i = 1, 40 do
  1210. p1.CFrame = p1.CFrame * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1211. p2.CFrame = p2.CFrame * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1212. wait()
  1213. end
  1214. end)
  1215. cor()
  1216. for i = 1, 20 do
  1217. handweld.C0 = handweld.C0 * CFrame.new(0, 0.2, 0)
  1218. wait()
  1219. end
  1220. local dhit = Instance.new("Part", workspace)
  1221. dhit.CFrame = mouse.Hit
  1222. dhit.Transparency = 1
  1223. dhit.Anchored = true
  1224. dhit.CanCollide = false
  1225. wait(1)
  1226. p2:Destroy()
  1227. p1:Destroy()
  1228. local be = Instance.new("Part", workspace)
  1229. be.Name = "Effect"
  1230. be.Shape = "Cylinder"
  1231. be.Size = Vector3.new(5000, 10, 10)
  1232. be.Transparency = 0.1
  1233. be.BrickColor = BrickColor.new("Dark stone grey")
  1234. be.Material = "Neon"
  1235. be.CFrame = dhit.CFrame
  1236. be.Rotation = Vector3.new(0, 0, -90)
  1237. be.Anchored = true
  1238. be.CanCollide = false
  1239. coroutine.wrap(function()
  1240. local bottom = Instance.new("Part", workspace)
  1241. local exploparti = Instance.new("ParticleEmitter")
  1242. lighnting.Parent = bottom
  1243. lighnting:Play()
  1244. exploparti.Parent = bottom
  1245. exploparti.Size = NumberSequence.new(0.60000002384186, 0.60000002384186)
  1246. exploparti.Color = ColorSequence.new(Color3.new(0, 0.0392157, 0.85098), Color3.new(0.252912, 0.282209, 0.888669), Color3.new(1, 1, 1))
  1247. exploparti.Enabled = false
  1248. exploparti.LightEmission = 0.69999998807907
  1249. exploparti.Texture = "rbxassetid://3419963"
  1250. exploparti.Lifetime = NumberRange.new(10, 10)
  1251. exploparti.Rate = 5000
  1252. exploparti.Speed = NumberRange.new(10, 10)
  1253. exploparti.VelocitySpread = 200
  1254. coroutine.wrap(function()
  1255. exploparti.Enabled = true
  1256. wait(0.6)
  1257. exploparti.Enabled = false
  1258. end)()
  1259. bottom.Size = Vector3.new(1, 1, 1)
  1260. bottom.BrickColor = BrickColor.new("Dark stone grey")
  1261. bottom.Shape = "Ball"
  1262. bottom.Anchored = true
  1263. bottom.CanCollide = false
  1264. bottom.CFrame = dhit.CFrame * CFrame.new(0, 3, 0)
  1265. bottom.Material = "Neon"
  1266. coroutine.wrap(function()
  1267. for i = 1, 150 do
  1268. coroutine.wrap(function()
  1269. local rand = Instance.new("Part", bottom)
  1270. rand.Anchored = true
  1271. rand.CanCollide = false
  1272. rand.Size = Vector3.new(1, 1, 1)
  1273. rand.Material = "Neon"
  1274. rand.BrickColor = BrickColor.new("Dark stone grey")
  1275. rand.CFrame = rand.CFrame * CFrame.Angles(math.random(-360, 360), math.random(-360, 360), math.random(-360, 360))
  1276. rand.CFrame = bottom.CFrame * CFrame.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  1277. for i = 1, 20 do
  1278. rand.Size = rand.Size + Vector3.new(1, 0, 0)
  1279. rand.Transparency = rand.Transparency + 0.05
  1280. wait()
  1281. end
  1282. end)()
  1283. wait(math.random(0, 0.4))
  1284. end
  1285. end)()
  1286. for i = 1, 50 do
  1287. bottom.Size = bottom.Size + Vector3.new(0.4, 0.4, 0.4)
  1288. wait()
  1289. end
  1290. for i = 1, 20 do
  1291. bottom.Transparency = bottom.Transparency + 0.05
  1292. wait()
  1293. end
  1294. wait(4)
  1295. bottom:Destroy()
  1296. end)()
  1297. local ex = Instance.new("Explosion", dhit)
  1298. ex.ExplosionType = "Craters"
  1299. ex.BlastPressure = 2500000
  1300. ex.BlastRadius = 30
  1301. ex.Position = dhit.Position
  1302. ex.Visible = false
  1303. coroutine.wrap(function()
  1304. wait(1.5)
  1305. for i = 1, 20 do
  1306. be.Transparency = be.Transparency + 0.05
  1307. wait()
  1308. end
  1309. end)()
  1310. for i = 1, 20 do
  1311. handweld.C0 = handweld.C0 * CFrame.new(0, -0.2, 0)
  1312. wait()
  1313. end
  1314. handweld.C0 = handweld.C0 * CFrame.new(0, 0, 2)
  1315. handweld.Part0 = weldrs
  1316. handweld.C1 = mainc1
  1317. char.Humanoid.WalkSpeed = 15
  1318. char.Humanoid.JumpPower = 50
  1319. attacking = false
  1320. dhit:Destroy()
  1321. for i = 1, 5 do
  1322. torso["Left Shoulder"].C0 = torso["Left Shoulder"].C0 * CFrame.Angles(0, 0, 0.3)
  1323. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, -0.3)
  1324. wait()
  1325. end
  1326. end
  1327. end
  1328. if k == "" and equipped == true and attacking == false then
  1329. attacking = true
  1330. table.insert(Effects, "Brick")
  1331. do
  1332. local soun = Instance.new("Sound", o5)
  1333. soun.SoundId = "rbxassetid://392838370"
  1334. soun.Volume = 1.2
  1335. char.Humanoid.WalkSpeed = 0
  1336. for i = 1, 5 do
  1337. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(-0.1, 0.1, -0.2)
  1338. wait()
  1339. end
  1340. local kapew = coroutine.wrap(function()
  1341. coroutine.wrap(function()
  1342. for i = 1, amnt do
  1343. coroutine.wrap(function()
  1344. local lol = Instance.new("Part", char)
  1345. local mesh = Instance.new("SpecialMesh", lol)
  1346. mesh.MeshType = Effects[1]
  1347. lol.Anchored = true
  1348. lol.CanCollide = false
  1349. lol.CFrame = char["Right Arm"].CFrame
  1350. lol.Material = "Neon"
  1351. lol.Name = "Effect"
  1352. lol.CFrame = char["Right Arm"].CFrame * CFrame.new(0, -1.6, 0)
  1353. lol.Size = Vector3.new(1.4, 1.4, 1.4)
  1354. lol.BrickColor = BrickColor.new("Black")
  1355. coroutine.wrap(function()
  1356. while true do
  1357. lol.CFrame = lol.CFrame * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1358. lol.Size = lol.Size + Vector3.new(0.03, 0.03, 0.03)
  1359. wait()
  1360. end
  1361. end)()
  1362. coroutine.wrap(function()
  1363. for i = 1, 30 do
  1364. lol.Transparency = lol.Transparency + 0.03333333333333333
  1365. wait()
  1366. end
  1367. lol:Destroy()
  1368. end)()
  1369. end)()
  1370. wait(0.1)
  1371. end
  1372. end)()
  1373. soun:Play()
  1374. wait(0.5)
  1375. for i = 1, 8 do
  1376. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.3)
  1377. wait()
  1378. end
  1379. local blast = Instance.new("Part", char)
  1380. blast.Anchored = false
  1381. blast.CanCollide = false
  1382. blast.BrickColor = BrickColor.Black()
  1383. blast.Shape = "Ball"
  1384. blast.CFrame = char["Right Arm"].CFrame * CFrame.new(0, -5, 0)
  1385. blast.Size = Vector3.new(1.5, 1.5, 1.5)
  1386. blast.Material = "Neon"
  1387. local vel = Instance.new("BodyVelocity", blast)
  1388. vel.MaxForce = Vector3.new(999999999, 9999999999, 9999999999)
  1389. vel.Velocity = torso.CFrame.lookVector * 99
  1390. coroutine.wrap(function()
  1391. while true do
  1392. coroutine.wrap(function()
  1393. local trail = Instance.new("Part", blast)
  1394. local mesh = Instance.new("SpecialMesh", trail)
  1395. mesh.MeshType = Effects[1]
  1396. trail.Size = Vector3.new(0.1, 0.1, 0.1)
  1397. trail.BrickColor = BrickColor.Black()
  1398. trail.CanCollide = false
  1399. trail.Anchored = true
  1400. trail.Name = "Trail"
  1401. trail.CFrame = blast.CFrame * CFrame.new(0, 0, 0.7)
  1402. trail.Material = "Neon"
  1403. for i = 1, 30 do
  1404. trail.CFrame = trail.CFrame * CFrame.Angles(math.random(0, 360), math.random(0, 360), math.random(0, 360))
  1405. trail.Size = trail.Size + Vector3.new(0.1, 0.1, 0.1)
  1406. trail.Transparency = trail.Transparency + 0.03333333333333333
  1407. wait()
  1408. end
  1409. trail:Destroy()
  1410. end)()
  1411. wait()
  1412. end
  1413. end)()
  1414. coroutine.wrap(function()
  1415. wait(lifetime)
  1416. blast:Destroy()
  1417. soun:Destroy()
  1418. end)()
  1419. blast.Touched:connect(function(h)
  1420. print(h.Name)
  1421. if h.Name == "Trail" then
  1422. wait()
  1423. end
  1424. for _, v in pairs(h.Parent:GetChildren()) do
  1425. if v.ClassName == "Humanoid" then
  1426. v.Health = 0
  1427. coroutine.wrap(function()
  1428. local ex = Instance.new("Part", workspace)
  1429. ex.Name = "Effect"
  1430. ex.Anchored = true
  1431. ex.CanCollide = false
  1432. ex.Shape = "Ball"
  1433. ex.CFrame = blast.CFrame
  1434. ex.BrickColor = BrickColor.new("Black")
  1435. ex.Material = "Neon"
  1436. for i = 1, 45 do
  1437. ex.Size = ex.Size + Vector3.new(1, 1, 1)
  1438. ex.Transparency = ex.Transparency + 0.022222222222222223
  1439. wait()
  1440. end
  1441. ex:Destroy()
  1442. end)()
  1443. blast:Destroy()
  1444. ragdoll(h.Parent)
  1445. end
  1446. end
  1447. end)
  1448. wait(0.5)
  1449. torso["Right Shoulder"].C0 = rs0
  1450. attacking = false
  1451. char.Humanoid.WalkSpeed = 15
  1452. end)
  1453. kapew()
  1454. wait(lifetime)
  1455. table.remove(Effects, 1, "Brick")
  1456. end
  1457. end
  1458. if k == "" and equipped == true and attacking == false then
  1459. attacking = true
  1460. rayLaser(BrickColor.new("Black"))
  1461. end
  1462. end)
  1463. function lerp(weld, startpos, endpos, amntime, longatend)
  1464. local waited = 0
  1465. for i = 1, amntime * 100 do
  1466. if longatend == true then
  1467. startpos = weld.C0
  1468. end
  1469. weld.C0 = startpos:lerp(endpos, i / (amntime * 100))
  1470. wait(0.01)
  1471. waited = waited + 0.01
  1472. end
  1473. end
  1474. local sounds = Instance.new("Model", o5)
  1475. local hit1 = Instance.new("Sound", sounds)
  1476. local hit2 = Instance.new("Sound", sounds)
  1477. local swing = Instance.new("Sound", sounds)
  1478. swing.SoundId = "rbxassetid://608537390"
  1479. swing.Volume = 1
  1480. swordeq.Parent = sounds
  1481. swordeq.SoundId = "rbxassetid://608618332"
  1482. swordeq.Volume = 1
  1483. equipsound.Parent = sounds
  1484. unequipsound.Parent = sounds
  1485. hit1.SoundId = "rbxassetid://566593606"
  1486. hit1.Volume = 1
  1487. hit2.SoundId = "rbxassetid://978055110"
  1488. hit2.Volume = 1
  1489. mouse.Button1Down:connect(function()
  1490. if equipped == true and attacking == false then
  1491. attacking = true
  1492. deca = true
  1493. trail.Enabled = true
  1494. do
  1495. local rweld = Instance.new("Weld", char["Right Arm"])
  1496. local lweld = Instance.new("Weld", char["Left Arm"])
  1497. local tweld = Instance.new("Weld", char.HumanoidRootPart)
  1498. rweld.Part0 = char.Torso
  1499. rweld.Part1 = char["Right Arm"]
  1500. rweld.C0 = CFrame.new(1.5, 0, 0)
  1501. lweld.Part0 = char.Torso
  1502. lweld.Part1 = char["Left Arm"]
  1503. lweld.C0 = CFrame.new(-1.5, 0, 0)
  1504. tweld.Part0 = char.HumanoidRootPart
  1505. tweld.Part1 = char.Torso
  1506. local cor = coroutine.wrap(function()
  1507. lerp(tweld, tweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(45), 0), 0.08)
  1508. end)
  1509. cor()
  1510. lerp(rweld, rweld.C0, CFrame.new(1.35, 0.5, -1.2) * CFrame.Angles(0, math.rad(110), math.rad(90)), 0.08)
  1511. wait(0.2)
  1512. swing:Play()
  1513. active = true
  1514. local cor = coroutine.wrap(function()
  1515. lerp(tweld, tweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, math.rad(-45), 0), 0.04)
  1516. end)
  1517. cor()
  1518. lerp(rweld, rweld.C0, CFrame.new(2, 0.5, 0) * CFrame.Angles(0, math.rad(0), math.rad(90)), 0.04)
  1519. active = false
  1520. wait(0.2)
  1521. local cor = coroutine.wrap(function()
  1522. lerp(tweld, tweld.C0, CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0), 0.08)
  1523. end)
  1524. cor()
  1525. lerp(rweld, rweld.C0, CFrame.new(1.5, 0, 0) * CFrame.Angles(0, math.rad(0), math.rad(0)), 0.08)
  1526. rweld:Destroy()
  1527. lweld:Destroy()
  1528. tweld:Destroy()
  1529. if rightclone and char:FindFirstChild("Right Arm") and char:FindFirstChild("Torso") then
  1530. local clone = rightclone:Clone()
  1531. clone.Part0 = char.Torso
  1532. clone.Part1 = char["Right Arm"]
  1533. clone.Parent = char.Torso
  1534. end
  1535. if leftclone and char:FindFirstChild("Left Arm") and char:FindFirstChild("Torso") then
  1536. local clone = leftclone:Clone()
  1537. clone.Part0 = char.Torso
  1538. clone.Part1 = char["Left Arm"]
  1539. clone.Parent = char.Torso
  1540. end
  1541. if torsoclone and char:FindFirstChild("Torso") and char:FindFirstChild("HumanoidRootPart") then
  1542. local clone = torsoclone:Clone()
  1543. clone.Part0 = char.HumanoidRootPart
  1544. clone.Part1 = char.Torso
  1545. clone.Parent = char.HumanoidRootPart
  1546. end
  1547. for i = 1, 5 do
  1548. torso["Right Shoulder"].C0 = torso["Right Shoulder"].C0 * CFrame.Angles(0, 0, 0.05)
  1549. wait()
  1550. end
  1551. attacking = false
  1552. trail.Enabled = false
  1553. deca = false
  1554. end
  1555. end
  1556. if divinesword == false and divinesword == false and divinesword == false then
  1557. divinesword = false
  1558. end
  1559. end)
  1560. o4.Touched:Connect(function(h)
  1561. if active == true then
  1562. if h.Parent.Name == char.Name then
  1563. wait()
  1564. elseif grabbing ~= true then
  1565. for _, v in pairs(h.Parent:GetChildren()) do
  1566. if v.ClassName == "Humanoid" and v ~= nil then
  1567. if v.Name == "Ragdoll Humanoid" then
  1568. wait()
  1569. else
  1570. v.Health = 0
  1571. local blo = coroutine.wrap(function()
  1572. bloodparti.Enabled = true
  1573. o2.BrickColor = BrickColor.new("Maroon")
  1574. o2.Material = "SmoothPlastic"
  1575. wait(4)
  1576. o2.BrickColor = BrickColor.new("Dark stone grey")
  1577. o2.Material = "Metal"
  1578. bloodparti.Enabled = false
  1579. end)
  1580. blo()
  1581. ragdoll(h.Parent)
  1582. count = count + 1
  1583. kills.Text = "Kills: " .. count
  1584. local Math = math.random(1, 2)
  1585. if Math == 1 then
  1586. hit1:Play()
  1587. else
  1588. hit2:Play()
  1589. end
  1590. ragdoll(h.Parent)
  1591. end
  1592. end
  1593. end
  1594. end
  1595. end
  1596. end)
  1597. char.Humanoid.Died:connect(function()
  1598. o1.Parent = workspace
  1599. for _, v in pairs(o1:GetChildren()) do
  1600. if v.ClassName == "Part" then
  1601. v.CanCollide = true
  1602. end
  1603. end
  1604. for i = 1, #parts do
  1605. if parts[i]:IsA("BasePart") then
  1606. local weld = Instance.new("Weld")
  1607. weld.Part0 = prim
  1608. weld.Part1 = parts[i]
  1609. weld.C0 = prim.CFrame:inverse()
  1610. weld.C1 = parts[i].CFrame:inverse()
  1611. weld.Parent = prim
  1612. end
  1613. end
  1614. o5.Name = "Handle"
  1615. o4.Parent = o5
  1616. o3.Parent = o5
  1617. o2.Parent = o5
  1618. o6.Parent = o5
  1619. o7.Parent = o5
  1620. o5.Parent = workspace
  1621. o1:Destroy()
  1622. local tool = Instance.new("Tool", workspace)
  1623. tool.Name = "Broken Katana"
  1624. o5.Parent = tool
  1625. tool.GripForward = Vector3.new(0.087, -0.003, -0.996)
  1626. tool.GripPos = Vector3.new(0, 0, 0.048)
  1627. tool.GripRight = Vector3.new(-0.031, -1, 0)
  1628. tool.GripUp = Vector3.new(0.996, -0.031, 0.087)
  1629. ragdoll(char)
  1630. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement