Advertisement
DylanD2003

Untitled

Sep 17th, 2017
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.09 KB | None | 0 0
  1. script.Parent = workspace.CurrentCamera
  2. local plr = game:GetService("Players").LocalPlayer
  3.  
  4. local tool = Instance.new("Tool",plr:WaitForChild("Backpack"))
  5. tool.Grip = CFrame.new(-.5,-1,0) * CFrame.Angles(math.rad(0),math.rad(180),math.rad(0))
  6. tool.Name = "Fucking Axe"
  7.  
  8. local part = Instance.new("Part",tool)
  9. part.Name = "Handle"
  10. part.Size = Vector3.new(4,6,4)
  11. part.TopSurface = "Smooth"
  12. part.BottomSurface = "Smooth"
  13. part.CanCollide = false
  14. part:BreakJoints()
  15.  
  16. local mesh = Instance.new("SpecialMesh",part)
  17. mesh.MeshId = "rbxassetid://507710302" --mesh.MeshId = "rbxassetid://132920499"
  18. mesh.TextureId = "rbxassetid://1053165516" --"http://www.roblox.com/asset/?id=134479421"
  19. mesh.Scale = Vector3.new(.023,.023,.023)
  20.  
  21. local sound = Instance.new("Sound",part)
  22. sound.SoundId = "rbxassetid://890556513"
  23. sound.Volume = 3
  24.  
  25. local sound2 = Instance.new("Sound",part)
  26. sound2.SoundId = "rbxassetid://280667448"
  27. sound2.Volume = 5
  28.  
  29. local sound3 = Instance.new("Sound",part)
  30. sound3.SoundId = "rbxassetid://447492777"
  31. sound3.Volume = 10
  32. sound3.TimePosition = 22.5
  33.  
  34. local sound4 = Instance.new("Sound",part)
  35. sound4.SoundId = "rbxassetid://138499093"
  36. sound4.Volume = 10
  37.  
  38. local sound5 = Instance.new("Sound",part)
  39. sound5.SoundId = "rbxassetid://330010786"
  40. sound5.Volume = 1000
  41. sound5.TimePosition = 0
  42.  
  43. local sound6 = Instance.new("Sound",part)
  44. sound6.SoundId = "rbxassetid://1016708777"
  45. sound6.Volume = 10
  46. sound6.TimePosition = 12
  47.  
  48. function firstHum(target)
  49. for i,v in pairs(target:GetChildren()) do
  50. if v:IsA("Humanoid") then
  51. return v
  52. end
  53. end
  54. return nil
  55. end
  56.  
  57. local slap = false
  58. local cd = false
  59.  
  60. plr:GetMouse().Button1Down:connect(function()
  61. if tool.Parent == plr.Character then
  62. if slap == false then
  63. slap = true
  64. sound2:Play()
  65. local str = Instance.new("StringValue")
  66. str.Name = "toolanim"
  67. str.Value = "Slash"
  68. str.Parent = tool
  69. wait(1)
  70. slap = false
  71. end
  72. end
  73. end)
  74.  
  75. part.Touched:connect(function(hit)
  76. if slap == true then
  77. if cd == false then
  78. if not hit:IsDescendantOf(plr.Character) then
  79. if hit.Parent:IsA("Model") then
  80. local fhum = firstHum(hit.Parent)
  81. if fhum then
  82. cd = true
  83. fhum.PlatformStand = true
  84. sound:Play()
  85. local con1
  86. con1 = game:GetService("RunService").Heartbeat:connect(function()
  87. fhum.PlatformStand = true
  88. end)
  89. wait(0.1)
  90. local vel = Instance.new("BodyVelocity",hit)
  91. vel.Velocity = ((hit.Position - plr.Character:WaitForChild("HumanoidRootPart").Position).unit + Vector3.new(0,0.5,0))*50
  92. vel.MaxForce = Vector3.new(10000000,10000000,10000000)
  93. wait(1)
  94. cd = false
  95. vel:Destroy()
  96. local vel2 = Instance.new("BodyVelocity",hit)
  97. vel2.Velocity = Vector3.new(0,12.5,0)
  98. vel2.MaxForce = Vector3.new(10000000,10000000,10000000)
  99. local p2 = Instance.new("Part",hit)
  100. p2.Anchored = true
  101. p2.Transparency = 0.6
  102. p2.CanCollide = false
  103. p2.Size = Vector3.new(0.2,0.2,0.2)
  104. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  105. p2.BrickColor = BrickColor.new("Baby Blue")
  106. p2.Material = "Neon"
  107. local m2 = Instance.new("CylinderMesh",p2)
  108. m2.Scale = Vector3.new(60,10000,60)
  109. local scln = sound3:Clone()
  110. scln.Parent = hit
  111. scln:Play()
  112. local con2
  113. con2 = game:GetService("RunService").Heartbeat:connect(function()
  114. p2.CFrame = CFrame.new(hit.CFrame.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(0))
  115. end)
  116. wait(7)
  117. vel2.Velocity = Vector3.new(0,0,0)
  118. wait(0.5)
  119. scln:Stop()
  120. local scln3 = sound5:Clone()
  121. scln3.Parent = hit
  122. scln3:Play()
  123. wait(1)
  124. local bav = Instance.new("BodyAngularVelocity",hit)
  125. bav.AngularVelocity = Vector3.new(math.random(0,360),math.random(0,360),math.random(0,360))
  126. vel2.Velocity = Vector3.new(0,-250,0)
  127. p2.Transparency = 1
  128. p2.BrickColor = BrickColor.new("Really red")
  129. local scln6 = sound6:Clone()
  130. scln6.Parent = hit
  131. scln6:Play()
  132. local continue = false
  133. local htc
  134. htc = hit.Touched:connect(function(hitp)
  135. if not hitp:IsDescendantOf(hit.Parent) then
  136. continue = true
  137. scln6:Stop()
  138. vel2:Destroy()
  139. con2:Disconnect()
  140. con1:Disconnect()
  141. htc:Disconnect()
  142. p2:Destroy()
  143. end
  144. end)
  145. repeat wait() until continue == true
  146. local ctab = {}
  147. for i=1,4 do
  148. local p = Instance.new("Part",hit)
  149. p.Size = Vector3.new(30,30,30)
  150. p.Anchored = true
  151. p.CanCollide = false
  152. p.TopSurface = "Smooth"
  153. p.BottomSurface = "Smooth"
  154. p.Color = Color3.fromRGB(255,math.random(0,255),0)
  155. p.CFrame = hit.CFrame
  156. local con
  157. con = game:GetService("RunService").Heartbeat:connect(function()
  158. p.CFrame = p.CFrame * CFrame.Angles(math.rad(math.random(0,360)),math.rad(math.random(0,360)),math.rad(math.random(0,360)))
  159. p.Transparency = p.Transparency + 0.01
  160. if p.Transparency >= 1 then
  161. con:Disconnect()
  162. end
  163. end)
  164. table.insert(ctab,con)
  165. end
  166. Instance.new("Explosion",workspace).Position = hit.Position
  167. local scln2 = sound4:Clone()
  168. scln2.Parent = hit
  169. scln2:Play()
  170. vel2:Destroy()
  171. hit.Parent:BreakJoints()
  172. repeat wait() until not hit:IsDescendantOf(workspace)
  173. con2:Disconnect()
  174. end
  175. end
  176. end
  177. end
  178. end
  179. end)
  180. --[[
  181. local vel = Instance.new("BodyVelocity", game.Players.LocalPlayer.Character.Torso)
  182. vel.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector * -5
  183. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  184. --]]
  185. --By Rufus14 (FINALLY I KNOW HOW TO MAKE A RAGDOLL :D)
  186. --die plz
  187. mouse = game.Players.LocalPlayer:GetMouse()
  188. function ragdoll()
  189. game.Players.LocalPlayer.Character.Archivable = true
  190. clone = game.Players.LocalPlayer.Character:Clone()
  191. clone.Parent = workspace
  192. for i,v in pairs(clone:GetChildren()) do
  193. if v.ClassName == "Script" or v.ClassName == "LocalScript" then
  194. v:destroy()
  195. end
  196. for i,p in pairs(v:GetChildren()) do
  197. if p.ClassName == "Weld" or p.ClassName == "Motor6D" or p.ClassName == "BodyVelocity" then
  198. p:destroy()
  199. end
  200. end
  201. end
  202. for i,t in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  203. if t.ClassName == "Accessory" or t.ClassName == "ForceField" then
  204. t:destroy()
  205. end
  206. end
  207. vel = Instance.new("BodyVelocity", clone.Torso)
  208. vel.Velocity = clone.Torso.CFrame.lookVector * -5
  209. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  210. clone.Head.face.Texture = "http://www.roblox.com/asset/?id=121559691"
  211. using = false
  212. hit = Instance.new("Sound", clone.Torso)
  213. hit.SoundId = "rbxassetid://546029423"
  214. hit.Volume = 5
  215. hit1 = Instance.new("Sound", clone.Torso)
  216. hit1.SoundId = "rbxassetid://138087186"
  217. hit1.Volume = 5
  218. hit2 = Instance.new("Sound", clone.Torso)
  219. hit2.SoundId = "rbxassetid://131237241"
  220. hit2.Volume = 5
  221. hit3 = Instance.new("Sound", clone.Torso)
  222. hit3.SoundId = "rbxassetid://278062209"
  223. hit3.Volume = 5
  224. hit3.TimePosition = 0.33
  225. ded = Instance.new("Sound", clone.Torso)
  226. ded.SoundId = "rbxassetid://906084456"
  227. ded.Volume = 10
  228. ded.TimePosition = 5
  229. local leftarm = clone:findFirstChild("Left Arm")
  230. local rightrm = clone:findFirstChild("Right Arm")
  231. local leftleg = clone:findFirstChild("Left Leg")
  232. local rightleg = clone:findFirstChild("Right Leg")
  233. local head = clone:findFirstChild("Head")
  234. local welding = Instance.new("Weld", clone.Torso)
  235. welding.Part0 = clone.Torso
  236. welding.Part1 = head
  237. welding.C0 = welding.C0 * CFrame.new(0,1.5,0)
  238. for i, g in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  239. if g.ClassName == "Part" then
  240. g:destroy()
  241. end
  242. end
  243. for i, h in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  244. if h.ClassName == "Accesory" then
  245. h:destroy()
  246. end
  247. end
  248. game.Workspace.CurrentCamera.CameraSubject = head
  249. if leftleg ~= nil then
  250. local glue = Instance.new("Glue", clone.Torso)
  251. glue.Part0 = clone.Torso
  252. glue.Part1 = leftleg
  253. glue.Name = "Left leg"
  254. local collider = Instance.new("Part", leftleg)
  255. collider.Position = Vector3.new(0,999,0)
  256. collider.Size = Vector3.new(1.7, 1, 1)
  257. collider.Shape = "Cylinder"
  258. local weld = Instance.new("Weld", collider)
  259. weld.Part0 = leftleg
  260. weld.Part1 = collider
  261. weld.C0 = CFrame.Angles(0, 0, 80)
  262. collider.TopSurface = "Smooth"
  263. collider.BottomSurface = "Smooth"
  264. collider.formFactor = "Symmetric"
  265. glue.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  266. glue.C1 = CFrame.new(-0, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  267. collider.Transparency = 1
  268. end
  269. ------------
  270. if rightleg ~= nil then
  271. local glue1 = Instance.new("Glue", clone.Torso)
  272. glue1.Part0 = clone.Torso
  273. glue1.Part1 = rightleg
  274. glue1.Name = "Right leg"
  275. local collider1 = Instance.new("Part", rightleg)
  276. collider1.Position = Vector3.new(0,999,0)
  277. collider1.Size = Vector3.new(1.7, 1, 1)
  278. collider1.Shape = "Cylinder"
  279. local weld1 = Instance.new("Weld", collider1)
  280. weld1.Part0 = rightleg
  281. weld1.Part1 = collider1
  282. weld1.C0 = CFrame.Angles(0, 0, 80)
  283. collider1.TopSurface = "Smooth"
  284. collider1.BottomSurface = "Smooth"
  285. collider1.formFactor = "Symmetric"
  286. glue1.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  287. glue1.C1 = CFrame.new(0, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  288. collider1.Transparency = 1
  289. end
  290. ------------
  291. if rightrm ~= nil then
  292. local glue11 = Instance.new("Glue", clone.Torso)
  293. glue11.Part0 = clone.Torso
  294. glue11.Part1 = rightrm
  295. glue11.Name = "Right shoulder"
  296. local collider11 = Instance.new("Part", rightrm)
  297. collider11.Position = Vector3.new(0,9999,0)
  298. collider11.Size = Vector3.new(1.8,1,1)
  299. collider11.Shape = "Cylinder"
  300. local weld11 = Instance.new("Weld", collider11)
  301. weld11.Part0 = rightrm
  302. weld11.Part1 = collider11
  303. weld11.C0 = CFrame.Angles(0, 0, 80)
  304. collider11.TopSurface = "Smooth"
  305. collider11.BottomSurface = "Smooth"
  306. collider11.formFactor = "Symmetric"
  307. glue11.C0 = CFrame.new(1.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  308. glue11.C1 = CFrame.new(0, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  309. collider11.Transparency = 1
  310. end
  311. ------------
  312. if leftarm ~= nil then
  313. local glue111 = Instance.new("Glue", clone.Torso)
  314. glue111.Part0 = clone.Torso
  315. glue111.Part1 = leftarm
  316. glue111.Name = "Left shoulder"
  317. local collider111 = Instance.new("Part", leftarm)
  318. collider111.Position = Vector3.new(0,9999,0)
  319. collider111.Size = Vector3.new(1.8,1,1)
  320. collider111.Shape = "Cylinder"
  321. local weld111 = Instance.new("Weld", collider111)
  322. weld111.Part0 = leftarm
  323. weld111.Part1 = collider111
  324. weld111.C0 = CFrame.Angles(0, 0, 80)
  325. collider111.TopSurface = "Smooth"
  326. collider111.BottomSurface = "Smooth"
  327. collider111.formFactor = "Symmetric"
  328. glue111.C0 = CFrame.new(-1.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  329. glue111.C1 = CFrame.new(0, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  330. collider111.Transparency = 1
  331. ----------------
  332. sensoring = Instance.new("Part", clone.Torso)
  333. sensoring.Size = Vector3.new(1.2,1.1,0.8)
  334. sensoring.CanCollide = false
  335. sensoring.Position = clone.Torso.Position
  336. local welder = Instance.new("Weld", sensoring)
  337. welder.Part0 = clone.Torso
  338. welder.Part1 = sensoring
  339. welder.C0 = welder.C0 * CFrame.new(0,0,1.05)
  340. sensoring.Transparency = 1
  341. -----------------
  342. sensoring1 = Instance.new("Part", clone.Torso)
  343. sensoring1.Size = Vector3.new(1.2,1.1,0.8)
  344. sensoring1.CanCollide = false
  345. sensoring1.Position = clone.Torso.Position
  346. local welder1 = Instance.new("Weld", sensoring)
  347. welder1.Part0 = clone.Torso
  348. welder1.Part1 = sensoring1
  349. welder1.C0 = welder1.C0 * CFrame.new(0,0,-1.05)
  350. sensoring1.Transparency = 1
  351. end
  352. clone.Name = game.Players.LocalPlayer.Character.Name.." (Got Rekt by a nub. ;-;)"
  353. ded:Play()
  354. vel:destroy()
  355. wait(0.5)
  356. local function touch()
  357. if not using then
  358. using = true
  359. local Math = math.random(1,4)
  360. if Math == 1 then
  361. hit:Play()
  362. end
  363. if Math == 2 then
  364. hit1:Play()
  365. end
  366. if Math == 3 then
  367. hit2:Play()
  368. end
  369. if Math == 4 then
  370. hit3:Play()
  371. end
  372. wait(0.1)
  373. using = false
  374. end
  375. end
  376. sensoring.Touched:connect(touch)
  377. sensoring1.Touched:connect(touch)
  378. wait(4.47)
  379. hit1.Volume = 0
  380. hit2.Volume = 0
  381. hit3.Volume = 0
  382. hit.Volume = 0
  383. end
  384.  
  385. game.Players.LocalPlayer.Character.Humanoid.Died:connect(ragdoll)
  386.  
  387. --di ent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement