Advertisement
TheUnknownDiscord

buggy ass axe

Dec 4th, 2022 (edited)
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 28.08 KB | None | 0 0
  1. owner.Character.Humanoid.MaxHealth = 250
  2. local sound = Instance.new("Sound")
  3. sound.PlayOnRemove = true
  4. sound.Volume = 2
  5. local rayblacklist = {}
  6. local p = Instance.new("SpawnLocation")
  7. p.Enabled = false
  8. p.Transparency = 1
  9. p.Size = Vector3.new(0.25,0.25,0.25)
  10. p.Name = "bloodyhujijahuyugtfvfyh"
  11. local attachment0 = Instance.new("Attachment",p)
  12. local attachment1 = Instance.new("Attachment",p)
  13. attachment1.CFrame = CFrame.new(-0.1,0.1,0.1)
  14. attachment0.CFrame = CFrame.new(0.1,-0.1,-0.1)
  15. local trail = Instance.new("Trail",p)
  16. trail.Attachment0 = attachment0
  17. trail.Attachment1 = attachment1
  18. trail.Lifetime = 0.15
  19. trail.Transparency = NumberSequence.new{NumberSequenceKeypoint.new(0, 0.2),NumberSequenceKeypoint.new(1, 1)}
  20. trail.WidthScale = NumberSequence.new{NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(1, 0)}
  21. trail.MaxLength = 0
  22. trail.LightEmission = 0
  23. trail.LightInfluence = 1
  24. trail.TextureLength = 1
  25. trail.TextureMode = "Stretch"
  26. trail.Color = ColorSequence.new(Color3.fromRGB(85,0,0))
  27. trail.MinLength = 0.1
  28. trail.FaceCamera = true
  29. local min = -15
  30. local max = 15
  31. function splat(whatpart,times)
  32. pcall(function()
  33. for i = 1,(2 * times) do
  34. wait()
  35. coroutine.wrap(function()
  36. pcall(function()
  37. local b = p:Clone()
  38. b.Parent = script
  39. b.Position = whatpart.Position
  40. b.Velocity = Vector3.new(Random.new():NextNumber(min,max),Random.new():NextNumber(min,max) + 30,Random.new():NextNumber(min,max))
  41. table.insert(rayblacklist,b)
  42. b.Touched:Connect(function(what)
  43. if not (what:FindFirstAncestorWhichIsA("Model") and what:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid")) and not table.find(rayblacklist,what) and what.CanCollide == true then
  44. local params = RaycastParams.new()
  45. params.FilterDescendantsInstances = {rayblacklist,whatpart:FindFirstAncestorWhichIsA("Model"):GetDescendants()}
  46. params.FilterType = Enum.RaycastFilterType.Blacklist
  47. local result = workspace:Raycast(b.Position,b.Velocity + Vector3.new(0,-3,0), params)
  48. if result then
  49. if result.Instance.Name ~= "imbloodaaaa" then
  50. local bloodpartfloor = Instance.new("SpawnLocation")
  51. bloodpartfloor.Enabled = false
  52. bloodpartfloor.CanCollide = false
  53. bloodpartfloor.Anchored = true
  54. bloodpartfloor.Name = "imbloodaaaa"
  55. bloodpartfloor.Size = Vector3.new(0.05,0.005,0.005)
  56. bloodpartfloor.CanCollide = false
  57. bloodpartfloor.Material = "Ice"
  58. bloodpartfloor.Transparency = 0.3
  59. local s = Instance.new("SpecialMesh",bloodpartfloor)
  60. s.MeshType = "Sphere"
  61. b:Destroy()
  62. bloodpartfloor.Position = result.Position
  63. local whathit = result.Instance
  64. local currentRightVector = whathit.CFrame.RightVector
  65. local upVector = result.Normal
  66. local newFacialVector = currentRightVector:Cross(upVector)
  67. bloodpartfloor.CFrame = CFrame.fromMatrix(bloodpartfloor.Position, currentRightVector, upVector, newFacialVector) * CFrame.Angles(0,0,math.rad(90))
  68. bloodpartfloor.Color = Color3.fromRGB(85, 0,0)
  69. game:GetService("Debris"):AddItem(bloodpartfloor,15)
  70. bloodpartfloor.Parent = workspace
  71. local random = Random.new():NextNumber(0.25,3)
  72. local tweenService = game:GetService("TweenService")
  73. local timeToFade = random/3
  74. local object = bloodpartfloor
  75. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  76. local goal = {}
  77. goal.Size = Vector3.new(random/20,random,random)
  78. goal.Transparency = 0.3 + random/10
  79. local groww = tweenService:Create(object, tweenInfo, goal)
  80. groww:Play()
  81. local tweenService = game:GetService("TweenService")
  82. local timeToFade = 5
  83. local object = bloodpartfloor
  84. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  85. local goal = {}
  86. goal.Transparency = 1
  87. local gone = tweenService:Create(object, tweenInfo, goal)
  88. delay(10,function()
  89. gone:Play()
  90. end)
  91. else
  92. local random = Random.new():NextNumber(0.25,3)/10
  93. local tweenService = game:GetService("TweenService")
  94. local timeToFade = random/3
  95. local object = result.Instance
  96. local tweenInfo = TweenInfo.new(timeToFade,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  97. local goal = {}
  98. goal.Size = object.Size + Vector3.new(random/20,random,random)
  99. local groww = tweenService:Create(object, tweenInfo, goal)
  100. groww:Play()
  101. end
  102. end
  103. end
  104. end)
  105. end)
  106. end)()
  107. end
  108. end)
  109. end
  110. tool = Instance.new("Tool",owner.Backpack)
  111. tool.Grip = CFrame.new(0,-0.45,0) * CFrame.Angles(0,math.rad(-90),math.rad(10))
  112. tool.Name = "a"
  113. local part = Instance.new("Part",tool)
  114. part.Name = "Handle"
  115. part.Size = Vector3.new(173.645, 561.276, 21.766) * 0.009
  116. local m = Instance.new("SpecialMesh",part)
  117. m.MeshId = "rbxassetid://584242807"
  118. m.TextureId = "rbxassetid://584242810"
  119. m.Scale = m.Scale * 0.009
  120. local par2 = Instance.new("Part",owner.Character)
  121. par2.CanCollide = false
  122. par2.Transparency = 1
  123. par2.Size = Vector3.new()
  124. par2.Name = "the"
  125. local wel = Instance.new("Weld",owner.Character.Torso)
  126. wel.Part0 = par2
  127. wel.Part1 = wel.Parent
  128. local hed = Instance.new("Weld",owner.Character.Torso)
  129. hed.Part0 = owner.Character.Head
  130. hed.Part1 = hed.Parent
  131. hed.C0 = CFrame.new(0,-0.5,0)
  132. hed.C1 = CFrame.new(0,1,0)
  133. hed.Enabled = false
  134. local rarm = Instance.new("Weld",par2)
  135. rarm.Part0 = owner.Character["Right Arm"]
  136. rarm.Part1 = rarm.Parent
  137. rarm.C0 = CFrame.new(0,0.25,0) * CFrame.Angles(math.rad(-78.2135),math.rad(-13.2138),math.rad(27.2138))
  138. rarm.C1 = CFrame.new(1,0.2895,-0.581285)
  139. rarm.Enabled = false
  140. rarm.Name = "r"
  141. local larm = Instance.new("Weld",par2)
  142. larm.Part0 = owner.Character["Left Arm"]
  143. larm.Part1 = larm.Parent
  144. larm.C0 = CFrame.new(0,0.5,0) * CFrame.Angles(math.rad(-84.2135),math.rad(65.2138),math.rad(27.2138))
  145. larm.C1 = CFrame.new(-1,0.4,-(1.389 - 0.35))
  146. larm.Enabled = false
  147. larm.Name = "l"
  148. local tweenService = game:GetService("TweenService")
  149. local tweenInfo = TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0.1,true)
  150. local goal = {}
  151. goal.C0 = CFrame.new(0,0.5,0) * CFrame.Angles(math.rad(-140.2135),math.rad(-10.2138),math.rad(23.2138))
  152. local tween = tweenService:Create(rarm, tweenInfo, goal)
  153. local goal = {}
  154. goal.C0 = CFrame.new(0.4,0.9,-0.7) * CFrame.Angles(math.rad(-146.2135),math.rad(67.2138),math.rad(23.2138))
  155. goal.C1 = CFrame.new(-1,0.4,-(1.389 - 0.5))
  156. local tween3 = tweenService:Create(larm, tweenInfo, goal)
  157. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Linear,Enum.EasingDirection.Out)
  158. local goal = {}
  159. goal.C0 = CFrame.new(0,0.8,0) * CFrame.Angles(math.rad(-34.2135),math.rad(-13.2138),math.rad(37.2138))
  160. local tween2 = tweenService:Create(rarm, tweenInfo, goal)
  161. local goal = {}
  162. goal.C0 = CFrame.new(-0.4,0.4,-0.2) * CFrame.Angles(math.rad(-96.2135),math.rad(65.2138),math.rad(57.2138))
  163. local tween4 = tweenService:Create(larm, tweenInfo, goal)
  164. local welll = Instance.new("Weld",owner.Character.HumanoidRootPart)
  165. welll.Part0 = owner.Character.Torso
  166. welll.Part1 = owner.Character.HumanoidRootPart
  167. welll.Enabled = false
  168. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out)
  169. local goa = {}
  170. goa.C1 = welll.C1 * CFrame.Angles(math.rad(10),math.rad(-15),0)
  171. local twee = tweenService:Create(welll, tweenInfo, goa)
  172. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out)
  173. local goa = {}
  174. goa.C1 = welll.C1 * CFrame.Angles(math.rad(-10),math.rad(15),0)
  175. local twee2 = tweenService:Create(welll, tweenInfo, goa)
  176. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  177. local goa = {}
  178. goa.C1 = welll.C1
  179. local twee3 = tweenService:Create(welll, tweenInfo, goa)
  180. local goal = {}
  181. goal.C0 = rarm.C0
  182. local tweenn = tweenService:Create(rarm, tweenInfo, goal)
  183. local goal = {}
  184. goal.C0 = larm.C0
  185. goal.C1 = larm.C1
  186. local tweenn2 = tweenService:Create(larm, tweenInfo, goal)
  187. tool.Equipped:Connect(function()
  188. rarm.Enabled = true
  189. larm.Enabled = true
  190. welll.Enabled = true
  191. hed.Enabled = true
  192. owner.Character.Humanoid.WalkSpeed = 20
  193. end)
  194. tool.Unequipped:Connect(function()
  195. rarm.Enabled = false
  196. larm.Enabled = false
  197. welll.Enabled = false
  198. hed.Enabled = false
  199. owner.Character.Humanoid.WalkSpeed = 16
  200. end)
  201. local db = false
  202. local hit = false
  203. local active = false
  204. local e = Instance.new("RemoteEvent",owner.Character)
  205. local e2 = Instance.new("RemoteEvent",owner.Character)
  206. e2.Name = "what we doin"
  207. e2.OnServerEvent:Connect(function(_,okwhat,hu)
  208. if okwhat == "dUCKING KILL" then
  209. active = hu
  210. elseif okwhat == "im ducking throwing that stuff bru" then
  211. if not db then
  212. db = true
  213. e:FireClient(owner,"throw shit at people")
  214. coroutine.wrap(function()
  215. for i = 1,4 do
  216. wel.C0 = wel.C0:Lerp(CFrame.Angles(math.rad(math.random(-50,50)/5),math.rad(math.random(-50,50)/2),math.rad(math.random(-150,150)/2)),0.3)
  217. wait(0.0285)
  218. end
  219. end)()
  220. tween:Play()
  221. tween3:Play()
  222. twee:Play()
  223. tween.Completed:Wait()
  224. part.Transparency = 1
  225. coroutine.wrap(function()
  226. local bullet = Instance.new("Part",script)
  227. bullet.Size = Vector3.new(173.645, 561.276, 21.766) * 0.009
  228. local m = Instance.new("SpecialMesh",bullet)
  229. m.MeshId = "rbxassetid://584242807"
  230. m.TextureId = "rbxassetid://584242810"
  231. m.Scale = m.Scale * 0.009
  232. bullet.CanCollide = false
  233. bullet.Anchored = true
  234. bullet.CFrame = part.CFrame
  235. bullet.Position = bullet.Position + owner.Character.Head.Velocity * owner:GetNetworkPing()
  236. local x,_,_ = ((CFrame.Angles(owner.Character.Head.CFrame:ToEulerAnglesXYZ()):ToObjectSpace(CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ())) * CFrame.Angles(math.rad(10),0,0))):ToOrientation()
  237. local _,_,z = ((CFrame.Angles(part.CFrame:ToEulerAnglesXYZ()):ToObjectSpace(CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ())))):ToOrientation()
  238. local lookvector = (CFrame.new(owner.Character.Head.Position + owner.Character.Head.Velocity * owner:GetNetworkPing()) * CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ()) * CFrame.Angles(-x,0,0) * CFrame.new(-0.5,0,0))
  239. local params = RaycastParams.new()
  240. params.FilterDescendantsInstances = {script,bullet,owner.Character}
  241. params.FilterType = Enum.RaycastFilterType.Blacklist
  242. local sped = 30
  243. local x,_,_ = (CFrame.Angles(owner.Character.Head.CFrame:ToEulerAnglesXYZ()):ToObjectSpace(CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ())) * CFrame.Angles(math.rad(10),0,0)):ToOrientation()
  244. local oghedcf = CFrame.new(owner.Character.Head.Position + owner.Character.Head.Velocity * owner:GetNetworkPing()) * CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ()) * CFrame.Angles(-x,0,-z) * CFrame.new(0,0,0)
  245. local c = 0
  246. local shootybang
  247. shootybang = game:GetService("RunService").Stepped:Connect(function(_,b)
  248. local resulttt
  249. c = c + 1
  250. if c ~= 1 then
  251. resulttt = workspace:Raycast(bullet.Position, lookvector.lookVector*((part.Size.Y * 4)*b*15), params)
  252. else
  253. bullet.CFrame = CFrame.new(oghedcf.Position) * CFrame.Angles(oghedcf:ToEulerAnglesXYZ()) * CFrame.new(0,0,(-part.Size.Y * 8)*b*15)
  254. resulttt = workspace:Raycast(bullet.Position, lookvector.lookVector*((part.Size.Y * 4)*b*15), params)
  255. end
  256. if not resulttt then
  257. resulttt = workspace:Raycast(bullet.Position, (lookvector * CFrame.Angles(math.rad(15),0,0)).lookVector *((part.Size.Y * 3)*b*15), params)
  258. if not resulttt then
  259. resulttt = workspace:Raycast(bullet.Position, (lookvector * CFrame.Angles(math.rad(-15),0,0)).lookVector *((part.Size.Y * 3)*b*15), params)
  260. end
  261. end
  262. if not resulttt then
  263. bullet.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(oghedcf:ToEulerAnglesXYZ()) * CFrame.new(0,0,(-part.Size.Y * 4)*b*15)
  264. bullet.CFrame = bullet.CFrame * CFrame.Angles(math.rad(-c * 25),math.rad(90),0)
  265. sped = sped - (15*b)
  266. if sped < 0 then
  267. bullet:Destroy()
  268. shootybang:Disconnect()
  269. end
  270. else
  271. if resulttt.Instance:FindFirstAncestorWhichIsA("Model") and resulttt.Instance:FindFirstAncestorWhichIsA("Model"):FindFirstChild("Humanoid") then
  272. coroutine.wrap(function()
  273. bullet.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(oghedcf:ToEulerAnglesXYZ()) * CFrame.new(0,0,(-part.Size.Y)*b*15)
  274. bullet.CFrame = bullet.CFrame * CFrame.Angles(math.rad(-c * 25),math.rad(90),0)
  275. local weldwhar = Instance.new("WeldConstraint",resulttt.Instance)
  276. weldwhar.Part0 = bullet
  277. weldwhar.Part1 = resulttt.Instance
  278. bullet.Anchored = false
  279. bullet.Massless = true
  280. game:GetService("Debris"):AddItem(bullet,10)
  281. pcall(function()
  282. splat(resulttt.Instance,math.random(6,7))
  283. end)
  284. e:FireClient(owner,"BLOOD FOR THE BLOOD GOD ASHUYIDUYIA")
  285. sound.SoundId = "rbxassetid://3521554607"
  286. sound.Pitch = 1 + math.random(-20,20)/100
  287. sound.Volume = 2
  288. sound.Parent = bullet
  289. sound.Parent = nil
  290. resulttt.Instance:FindFirstAncestorWhichIsA("Model"):FindFirstChild("Humanoid").Health -= 35
  291. end)()
  292. shootybang:Disconnect()
  293. else
  294. coroutine.wrap(function()
  295. bullet.CFrame = CFrame.new(bullet.Position) * CFrame.Angles(oghedcf:ToEulerAnglesXYZ()) * CFrame.new(0,0,(-part.Size.Y)*b*15)
  296. bullet.CFrame = bullet.CFrame * CFrame.Angles(math.rad(-c * 25),math.rad(90),0)
  297. local weldwhar = Instance.new("WeldConstraint",resulttt.Instance)
  298. weldwhar.Part0 = bullet
  299. weldwhar.Part1 = resulttt.Instance
  300. bullet.Anchored = false
  301. bullet.Massless = true
  302. game:GetService("Debris"):AddItem(bullet,10)
  303. end)()
  304. shootybang:Disconnect()
  305. end
  306. end
  307. end)
  308. end)()
  309. tween2:Play()
  310. tween4:Play()
  311. twee2:Play()
  312. twee2.Completed:Wait()
  313. twee3:Play()
  314. tweenn:Play()
  315. tweenn2:Play()
  316. tweenn2.Completed:Wait()
  317. coroutine.wrap(function()
  318. for i = 1,4 do
  319. wel.C0 = wel.C0:Lerp(CFrame.new(),0.3)
  320. wait(0.0285)
  321. end
  322. end)()
  323. delay(0.5,function()
  324. db = false
  325. part.Transparency = 0
  326. end)
  327. end
  328.  
  329. end
  330. end)
  331. e.OnServerEvent:Connect(function(_,cam,c1,alpha,hitcf,sw,wcs,shift,dt)
  332. local lookvector = owner.Character.HumanoidRootPart.CFrame:toObjectSpace(cam).lookVector.unit
  333. local y = lookvector.y
  334. local x = 0
  335. hed.C0 = hed.C0:Lerp(CFrame.new(0,-0.5,0) * CFrame.Angles(-y,0,0),dt*15)
  336. hed.C0 = hed.C0 * CFrame.Angles(sw.y,0,0)
  337. if y > 0 then
  338. wel.C1 = wel.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles((y) + sw.y,-(x * 0.25) + sw.x,0) * CFrame.new(0,-0.25 * y,-0.25 * y),dt*15)
  339. wel.C1 = wel.C1:Lerp(wel.C1 * CFrame.new(wcs.y / 3, wcs.x / 3,0) * CFrame.Angles(wcs.y / 3, wcs.x / 3,0),dt*15)
  340. else
  341. wel.C1 = wel.C1:Lerp(CFrame.new(0,0,0) * CFrame.Angles((y) + sw.y,-(x * 0.25) + sw.x,0) * CFrame.new(0,0.25 * y,-0.25 * y),dt*15)
  342. wel.C1 = wel.C1:Lerp(wel.C1 * CFrame.new(wcs.y / 3, wcs.x / 3,0) * CFrame.Angles(wcs.y / 3, wcs.x / 3,0),dt*15)
  343. end
  344. end)
  345. coroutine.wrap(function()
  346. while task.wait() do
  347. if active then
  348. if not db then
  349. db = true
  350. e:FireClient(owner)
  351. coroutine.wrap(function()
  352. for i = 1,4 do
  353. wel.C0 = wel.C0:Lerp(CFrame.Angles(math.rad(math.random(-50,50)/5),math.rad(math.random(-50,50)/2),math.rad(math.random(-150,150)/2)),0.3)
  354. wait(0.0285)
  355. end
  356. end)()
  357. tween:Play()
  358. tween3:Play()
  359. twee:Play()
  360. coroutine.wrap(function()
  361. local hit2 = false
  362. local params = OverlapParams.new()
  363. params.FilterDescendantsInstances = {owner.Character:GetDescendants(), script}
  364. params.FilterType = Enum.RaycastFilterType.Blacklist
  365. local x,_,_ = CFrame.Angles(owner.Character.Head.CFrame:ToEulerAnglesXYZ()):ToObjectSpace(CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ())):ToOrientation()
  366. for _, what in pairs(workspace:GetPartBoundsInBox(CFrame.new(owner.Character.Head.Position + owner.Character.Head.Velocity * owner:GetNetworkPing()) * CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ()) * CFrame.Angles(-x,0,0) * CFrame.new(0,-1,-4), Vector3.new(7,3,7), params)) do
  367. if what:FindFirstAncestorWhichIsA("Model") and what:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid") and what:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health ~= 0 and not hit then
  368. hit = true
  369. local params = RaycastParams.new()
  370. params.FilterDescendantsInstances = {owner.Character:GetDescendants(),what:FindFirstAncestorWhichIsA("Model"):GetDescendants()}
  371. params.FilterType = Enum.RaycastFilterType.Blacklist
  372. local res = workspace:Raycast(owner.Character.Head.Position,what.Position, params)
  373. if not res then
  374. pcall(function()
  375. splat(what,math.random(6,7))
  376. end)
  377. e:FireClient(owner,"BLOOD FOR THE BLOOD GOD ASHUYIDUYIA")
  378. if (what:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health - 62) <= 0 and what:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health ~= 0 then
  379. owner.Character.Humanoid.Health += 0.28 * owner.Character.Humanoid.MaxHealth
  380. end
  381. what:FindFirstAncestorWhichIsA("Model"):FindFirstChildWhichIsA("Humanoid").Health -= 62
  382. else
  383. hit2 = true
  384. end
  385. end
  386. end
  387. if not hit then
  388. local x,_,_ = CFrame.Angles(owner.Character.Head.CFrame:ToEulerAnglesXYZ()):ToObjectSpace(CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ())):ToOrientation()
  389. local params = RaycastParams.new()
  390. params.FilterDescendantsInstances = {owner.Character:GetDescendants(),rayblacklist}
  391. params.FilterType = Enum.RaycastFilterType.Blacklist
  392. local res = workspace:Raycast(CFrame.new(owner.Character.Head.Position + owner.Character.Head.Velocity * owner:GetNetworkPing()).Position,(CFrame.Angles(owner.Character.HumanoidRootPart.CFrame:ToEulerAnglesXYZ()) * CFrame.Angles(-x,0,0)).lookVector * 14, params)
  393. if not res then
  394. sound.Parent = part
  395. sound.SoundId = "rbxassetid://5917819729"
  396. sound.Pitch = 1 + math.random(-20,20)/100
  397. sound.Volume = 2
  398. sound.Parent = nil
  399. else
  400. sound.Parent = part
  401. sound.SoundId = "rbxassetid://247879481"
  402. sound.Pitch = 1 + math.random(-20,20)/100
  403. sound.Volume = 2
  404. sound.Parent = nil
  405. end
  406. elseif hit and not hit2 then
  407. sound.Parent = part
  408. sound.SoundId = "rbxassetid://3521554607"
  409. sound.Pitch = 1 + math.random(-20,20)/100
  410. sound.Volume = 2
  411. sound.Parent = nil
  412. elseif hit and hit2 then
  413. sound.Parent = part
  414. sound.SoundId = "rbxassetid://247879481"
  415. sound.Pitch = 1 + math.random(-20,20)/100
  416. sound.Volume = 2
  417. sound.Parent = nil
  418. end
  419. end)()
  420. tween.Completed:Wait()
  421. tween2:Play()
  422. tween4:Play()
  423. twee2:Play()
  424. twee2.Completed:Wait()
  425. twee3:Play()
  426. tweenn:Play()
  427. tweenn2:Play()
  428. tweenn2.Completed:Wait()
  429. coroutine.wrap(function()
  430. for i = 1,4 do
  431. wel.C0 = wel.C0:Lerp(CFrame.new(),0.3)
  432. wait(0.0285)
  433. end
  434. end)()
  435. delay(0.1,function()
  436. db = false
  437. hit = false
  438. end)
  439. end
  440. end
  441. end
  442. end)()
  443. NLS([[
  444. local e = script.Parent
  445. local e2 = owner.Character["what we doin"]
  446. local tool = owner.Backpack.a or owner.Character.a
  447. local ITERATIONS = 8
  448. local SPRING = {}
  449. function SPRING.create(self, mass, force, damping, speed)
  450. local spring = {
  451. Target = Vector3.new();
  452. Position = Vector3.new();
  453. Velocity = Vector3.new();
  454. Mass = mass or 5;
  455. Force = force or 50;
  456. Damping = damping or 4;
  457. Speed = speed or 4;
  458. }
  459. function spring.shove(self, force)
  460. local x, y, z = force.X, force.Y, force.Z
  461. if x ~= x or x == math.huge or x == -math.huge then
  462. x = 0
  463. end
  464. if y ~= y or y == math.huge or y == -math.huge then
  465. y = 0
  466. end
  467. if z ~= z or z == math.huge or z == -math.huge then
  468. z = 0
  469. end
  470. self.Velocity = self.Velocity + Vector3.new(x, y, z)
  471. end
  472. function spring.update(self, dt)
  473. local scaledDeltaTime = math.min(dt,1) * self.Speed / ITERATIONS
  474. for i = 1, ITERATIONS do
  475. local iterationForce = self.Target - self.Position
  476. local acceleration = (iterationForce * self.Force) / self.Mass
  477. acceleration = acceleration - (self.Velocity * self.Damping)
  478. self.Velocity = self.Velocity + (acceleration * scaledDeltaTime)
  479. self.Position = self.Position + (self.Velocity * scaledDeltaTime)
  480. end
  481. return self.Position
  482. end
  483. return spring
  484. end
  485. local wc = SPRING.create()
  486. local sway = SPRING.create()
  487. local bobspeed = 1
  488. local bobmod = .1
  489. local alpha = .25
  490. local hitcf = CFrame.new()
  491. local function gb(addition, speed, modifier)
  492. return math.sin(tick() * addition * speed) * modifier
  493. end
  494. c1 = CFrame.new(0,0,0)
  495. c2 = CFrame.new(0,0,0)
  496. owner.Character.Archivable = true
  497. local a = owner.Character:Clone()
  498. owner.Character.Archivable = false
  499. a["Right Arm"].Size = a["Right Arm"].Size * 0.45
  500. a["Left Arm"].Size = a["Right Arm"].Size
  501. a.Parent = workspace.CurrentCamera
  502. a["Right Arm"]:BreakJoints()
  503. a["Left Arm"]:BreakJoints()
  504. a:BreakJoints()
  505. for i,v in pairs(a:GetDescendants()) do
  506. if (v.Name ~= "Right Arm" and v.Name ~= "Left Arm") and not v:IsA("Clothing") and not v:IsA("SpecialMesh") then
  507. v:Destroy()
  508. end
  509. end
  510. local s = Instance.new("Part",workspace.CurrentCamera)
  511. s.CanCollide = false
  512. s.Size = Vector3.new(0,0,0)
  513. s.Anchored = true
  514. s.Transparency = 1
  515. local s2 = Instance.new("Part",workspace.CurrentCamera)
  516. s2.CanCollide = false
  517. s2.Size = Vector3.new(0,0,0)
  518. s2.Transparency = 1
  519. local UIS = game:GetService("UserInputService")
  520. local mouse = owner:GetMouse()
  521. local active = false
  522. mouse.Button1Down:Connect(function()
  523. if tool.Parent == owner.Character then
  524. active = true
  525. e2:FireServer("dUCKING KILL",active)
  526. end
  527. end)
  528. --
  529. --
  530. mouse.Button1Up:Connect(function()
  531. if tool.Parent == owner.Character then
  532. active = false
  533. e2:FireServer("dUCKING KILL",active)
  534. end
  535. end)
  536. mouse.KeyDown:Connect(function(key)
  537. key = key:lower()
  538. if key == "q" then
  539. e2:FireServer("im ducking throwing that stuff bru")
  540. end
  541. end)
  542. time = 5
  543. correction = Instance.new("ColorCorrectionEffect", workspace.CurrentCamera)
  544. correction.TintColor = Color3.fromRGB(255,50,50)
  545. correction.Contrast = 0
  546. correction.Saturation = 0.5
  547. correction.Enabled = false
  548. coroutine.wrap(function()
  549. while true do
  550. repeat
  551. wait(0.1)
  552. time = time - 0.1
  553. correction.Saturation = math.clamp(correction.Saturation - (80/255),0,0.5)
  554. correction.TintColor = Color3.new(correction.TintColor.R,math.clamp(correction.TintColor.G + 5/255,0,255),math.clamp(correction.TintColor.G + 5/255,0,255))
  555. correction.Brightness = math.clamp(correction.Brightness - 0.03,-0.2,0)
  556. until time <= 0
  557. correction.Enabled = false
  558. time = time + 0.1
  559. end
  560. end)()
  561. local part = Instance.new("Part",workspace.CurrentCamera)
  562. part.Size = (Vector3.new(173.645, 561.276, 21.766) * 0.009) * 0.45
  563. part.CanCollide = false
  564. local w = Instance.new("Weld",a["Right Arm"])
  565. w.Part0 = part
  566. w.Part1 = a["Right Arm"]
  567. w.C0 = CFrame.new(0,-0.45 * 0.45,0) * CFrame.Angles(0,math.rad(-90),math.rad(10))
  568. w.C1 = CFrame.new(0,-1 * 0.45,0) * CFrame.Angles(math.rad(-90),0,0)
  569. local m = Instance.new("SpecialMesh",part)
  570. m.MeshId = "rbxassetid://584242807"
  571. m.TextureId = "rbxassetid://584242810"
  572. m.Scale = (m.Scale * 0.009) * 0.45
  573. local rarm = Instance.new("Weld",s2)
  574. rarm.Part0 = a["Right Arm"]
  575. rarm.Part1 = rarm.Parent
  576. rarm.C0 = CFrame.new(0,0.25 * 0.45,0) * CFrame.Angles(math.rad(-78.2135),math.rad(-13.2138),math.rad(27.2138))
  577. rarm.C1 = CFrame.new(1 * 0.45,0.2895 * 0.45,-0.581285 * 0.45)
  578. rarm.Name = "r"
  579. local larm = Instance.new("Weld",s2)
  580. larm.Part0 = a["Left Arm"]
  581. larm.Part1 = larm.Parent
  582. larm.C0 = CFrame.new(0,0.5 * 0.45,0) * CFrame.Angles(math.rad(-84.2135),math.rad(65.2138),math.rad(27.2138))
  583. larm.C1 = CFrame.new(-1 * 0.45,0.4 * 0.45,-(1.389 - 0.35) * 0.45)
  584. larm.Name = "l"
  585. local tweenService = game:GetService("TweenService")
  586. local tweenInfo = TweenInfo.new(0.1,Enum.EasingStyle.Sine,Enum.EasingDirection.Out,0.1,true)
  587. local goal = {}
  588. goal.C0 = CFrame.new(0,0.5 * 0.45,0) * CFrame.Angles(math.rad(-140.2135),math.rad(-10.2138),math.rad(23.2138))
  589. local tween = tweenService:Create(rarm, tweenInfo, goal)
  590. local goal = {}
  591. goal.C0 = CFrame.new(0.4 * 0.45,0.9 * 0.45,-0.7 * 0.45) * CFrame.Angles(math.rad(-146.2135),math.rad(67.2138),math.rad(23.2138))
  592. goal.C1 = CFrame.new(-1 * 0.45,0.4 * 0.45,-(1.389 - 0.5) * 0.45)
  593. local tween3 = tweenService:Create(larm, tweenInfo, goal)
  594. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Linear,Enum.EasingDirection.Out)
  595. local goal = {}
  596. goal.C0 = CFrame.new(0,0.8 * 0.45,0) * CFrame.Angles(math.rad(-34.2135),math.rad(-13.2138),math.rad(37.2138))
  597. local tween2 = tweenService:Create(rarm, tweenInfo, goal)
  598. local goal = {}
  599. goal.C0 = CFrame.new(-0.4 * 0.45,0.4 * 0.45,-0.2 * 0.45) * CFrame.Angles(math.rad(-96.2135),math.rad(65.2138),math.rad(57.2138))
  600. local tween4 = tweenService:Create(larm, tweenInfo, goal)
  601. local welll = Instance.new("Weld",s)
  602. welll.Part0 = s2
  603. welll.Part1 = s
  604. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out)
  605. local goa = {}
  606. goa.C1 = welll.C1 * CFrame.Angles(math.rad(10),math.rad(-15),0)
  607. local twee = tweenService:Create(welll, tweenInfo, goa)
  608. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Back,Enum.EasingDirection.Out)
  609. local goa = {}
  610. goa.C1 = welll.C1 * CFrame.Angles(math.rad(-20),math.rad(25),0)
  611. local twee2 = tweenService:Create(welll, tweenInfo, goa)
  612. local tweenInfo = TweenInfo.new(0.15,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
  613. local goa = {}
  614. goa.C1 = welll.C1
  615. local twee3 = tweenService:Create(welll, tweenInfo, goa)
  616. local goal = {}
  617. goal.C0 = rarm.C0
  618. local tweenn = tweenService:Create(rarm, tweenInfo, goal)
  619. local goal = {}
  620. goal.C0 = larm.C0
  621. goal.C1 = larm.C1
  622. local tweenn2 = tweenService:Create(larm, tweenInfo, goal)
  623. e.OnClientEvent:Connect(function(wha)
  624. if wha ~= "throw shit at people" and wha ~= "BLOOD FOR THE BLOOD GOD ASHUYIDUYIA" then
  625. coroutine.wrap(function()
  626. for i = 1,4 do
  627. welll.C0 = welll.C0:Lerp(CFrame.Angles(math.rad(math.random(-50,50)/5),math.rad(math.random(-50,50)/2),math.rad(math.random(-150,150)/2)),0.3)
  628. wait(0.0285)
  629. end
  630. end)()
  631. tween:Play()
  632. tween3:Play()
  633. twee:Play()
  634. tween.Completed:Wait()
  635. tween2:Play()
  636. tween4:Play()
  637. twee2:Play()
  638. twee2.Completed:Wait()
  639. twee3:Play()
  640. tweenn:Play()
  641. tweenn2:Play()
  642. tweenn2.Completed:Wait()
  643. coroutine.wrap(function()
  644. for i = 1,4 do
  645. welll.C0 = welll.C0:Lerp(CFrame.new(),0.3)
  646. wait(0.0285)
  647. end
  648. end)()
  649. delay(0.1,function()
  650. db = false
  651. end)
  652. elseif wha == "throw shit at people" then
  653. coroutine.wrap(function()
  654. for i = 1,4 do
  655. welll.C0 = welll.C0:Lerp(CFrame.Angles(math.rad(math.random(-50,50)/5),math.rad(math.random(-50,50)/2),math.rad(math.random(-150,150)/2)),0.3)
  656. wait(0.0285)
  657. end
  658. end)()
  659. tween:Play()
  660. tween3:Play()
  661. twee:Play()
  662. tween.Completed:Wait()
  663. m.Scale = Vector3.new()
  664. tool.Handle:FindFirstChildWhichIsA("SpecialMesh").Scale = m.Scale
  665. tween2:Play()
  666. tween4:Play()
  667. twee2:Play()
  668. twee2.Completed:Wait()
  669. twee3:Play()
  670. tweenn:Play()
  671. tweenn2:Play()
  672. tweenn2.Completed:Wait()
  673. coroutine.wrap(function()
  674. for i = 1,4 do
  675. welll.C0 = welll.C0:Lerp(CFrame.new(),0.3)
  676. wait(0.0285)
  677. end
  678. end)()
  679. delay(0.5,function()
  680. db = false
  681. m.Scale = (Vector3.new(1,1,1) * 0.009) * 0.45
  682. tool.Handle:FindFirstChildWhichIsA("SpecialMesh").Scale = (Vector3.new(1,1,1) * 0.009)
  683. end)
  684. elseif wha == "BLOOD FOR THE BLOOD GOD ASHUYIDUYIA" then
  685. correction.TintColor = Color3.fromRGB(255,50,50)
  686. correction.Contrast = 0
  687. correction.Saturation = 0.5
  688. correction.Brightness = -0.2
  689. correction.Enabled = true
  690. time = 5
  691. end
  692. end)
  693. local handle = owner.Backpack.a.Handle or owner.Character.a.Handle
  694. game:GetService("RunService").RenderStepped:Connect(function(dt)
  695. delta = game:GetService("UserInputService"):GetMouseDelta()
  696. local vel = owner.Character.HumanoidRootPart.Velocity
  697. s.CFrame = workspace.CurrentCamera.CFrame * CFrame.new(0,-1.5 * 0.7,-3 * 0.2)
  698. local msway = Vector3.new(gb(10, bobspeed, bobmod), gb(5, bobspeed, bobmod), gb(5, bobspeed, bobmod))
  699. sway:shove(Vector3.new(delta.X / 500, delta.Y / 500))
  700. wc:shove((msway / 25) * dt * 60 * math.clamp(vel.Magnitude,0,30))
  701. local sw = sway:update(dt)
  702. local wcs = wc:update(dt)
  703. if (workspace.CurrentCamera.CFrame.Position - owner.Character.Head.Position).Magnitude <= 1.5 then
  704. owner.Character.Humanoid.CameraOffset = CFrame.new():Lerp(CFrame.new() * CFrame.new(wcs.y / 3, wcs.x / 3,0),dt*15).Position + Vector3.new(0,0,0.25)
  705. a["Left Arm"].LocalTransparencyModifier = 0
  706. a["Right Arm"].LocalTransparencyModifier = 0
  707. a["Right Arm"].Transparency = 0
  708. a["Left Arm"].Transparency = 0
  709. s.CFrame = s.CFrame * CFrame.new():Lerp(CFrame.new() * CFrame.new(wcs.y / 3, wcs.x / 3,0),dt*15)
  710. s.CFrame = s.CFrame * CFrame.Angles(sw.y,-(sw.x), 0)
  711. s.CFrame = s.CFrame * CFrame.new(sw.y,-sw.x,0)
  712. handle.Transparency = 1
  713. part.Transparency = 0
  714. workspace.CurrentCamera.FieldOfView = 80
  715. else
  716. handle.Transparency = 0
  717. part.Transparency = 1
  718. owner.Character.Humanoid.CameraOffset = Vector3.new()
  719. workspace.CurrentCamera.FieldOfView = 70
  720. a["Left Arm"].LocalTransparencyModifier = 1
  721. a["Right Arm"].LocalTransparencyModifier = 1
  722. a["Right Arm"].Transparency = 1
  723. a["Left Arm"].Transparency = 1
  724. end
  725. e:FireServer(workspace.CurrentCamera.CFrame,c1,alpha,hitcf,sw,wcs,false,dt)
  726. end)
  727. ]],e)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement