Advertisement
DylanD2003

Untitled

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