Dark_EccentricYT

Untitled

Apr 17th, 2018
4,997
-1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.52 KB | None | 0 1
  1. plr = game.Players.LocalPlayer
  2. char = plr.Character
  3.  
  4. wait(1)
  5. local player = game.Players.LocalPlayer
  6.  
  7.  
  8. local chara = workspace:WaitForChild(player.Name)
  9. local human = chara.Humanoid
  10. local rhandclone = game.Players.LocalPlayer.Character.Torso["Right Shoulder"]:Clone()
  11. local rhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  12. rhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  13. rhandweld.Part1 = game.Players.LocalPlayer.Character["Right Arm"]
  14. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  15. local lhandclone = game.Players.LocalPlayer.Character.Torso["Left Shoulder"]:Clone()
  16. local lhandweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  17. lhandweld.Part0 = game.Players.LocalPlayer.Character.Torso
  18. lhandweld.Part1 = game.Players.LocalPlayer.Character["Left Arm"]
  19. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  20. local llegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  21. llegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  22. llegweld.Part1 = game.Players.LocalPlayer.Character["Left Leg"]
  23. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) * CFrame.new(0,-1,0)
  24. local rlegclone = game.Players.LocalPlayer.Character.Torso["Right Hip"]:Clone()
  25. game.Players.LocalPlayer.Character.Torso["Right Hip"]:Remove()
  26. local rlegweld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  27. rlegweld.Part0 = game.Players.LocalPlayer.Character.Torso
  28. rlegweld.Part1 = game.Players.LocalPlayer.Character["Right Leg"]
  29. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) * CFrame.new(0,-1,0)
  30. local gui = Instance.new("ScreenGui",plr.PlayerGui)
  31. local image = Instance.new("ImageButton",gui)
  32. image.Image = "rbxasset://Textures/Bomb.png"
  33. image.BackgroundTransparency = 0.3
  34. image.BorderSizePixel = 0
  35. image.Position = UDim2.new(0.003, 0, 0.798, 0)
  36. image.Size = UDim2.new(0, 100, 0, 100)
  37. image.MouseButton1Click:connect(function() -- Spawn bomb function
  38. local bomb = Instance.new("Part",workspace)
  39. bomb.Size = Vector3.new(2, 2, 2)
  40. bomb.CFrame = char.Torso.CFrame
  41. local m = Instance.new("FileMesh",bomb)
  42. m.MeshId = "rbxasset://fonts/timebomb.mesh"
  43. m.TextureId = "rbxasset://textures/bombtex.png"
  44. bomb.Name = "b0mb"
  45. local updateInterval = .4
  46.  
  47. local currentColor = 1
  48. local colors = {26, 21}
  49.  
  50. local ticksound = Instance.new("Sound")
  51. ticksound.SoundId = "rbxasset://sounds\\clickfast.wav"
  52. ticksound.Parent = bomb
  53.  
  54. function update()
  55. updateInterval = updateInterval * .9
  56. bomb.BrickColor = BrickColor.new(colors[currentColor])
  57. currentColor = currentColor + 1
  58. if (currentColor > 2) then currentColor = 1 end
  59. end
  60.  
  61.  
  62. function blowUp()
  63. local sound = Instance.new("Sound")
  64. sound.SoundId = "rbxasset://sounds\\Rocket shot.wav"
  65. sound.Parent = bomb
  66. sound.Volume = 1
  67. sound:play()
  68. explosion = Instance.new("Explosion")
  69. explosion.BlastRadius = 12
  70. explosion.BlastPressure = 1000000 -- these are really wussy units
  71.  
  72. -- find instigator tag
  73. local creator = char:findFirstChild("creator")
  74. if creator ~= nil then
  75. explosion.Hit:connect(function(part, distance) onPlayerBlownUp(part, distance, creator) end)
  76. end
  77.  
  78. explosion.Position = bomb.Position
  79. explosion.Parent = game.Workspace
  80. bomb.Transparency = 1
  81. end
  82.  
  83. function onPlayerBlownUp(part, distance, creator)
  84. if part.Name == "Head" then
  85. local humanoid = part.Parent.Humanoid
  86. tagHumanoid(humanoid, creator)
  87. end
  88. end
  89.  
  90. function tagHumanoid(humanoid, creator)
  91. -- tag does not need to expire iff all explosions lethal
  92. if creator ~= nil then
  93. local new_tag = creator:clone()
  94. new_tag.Parent = humanoid
  95. end
  96. end
  97.  
  98. function untagHumanoid(humanoid)
  99. if humanoid ~= nil then
  100. local tag = humanoid:findFirstChild("creator")
  101. if tag ~= nil then
  102. tag.Parent = nil
  103. end
  104. end
  105. end
  106.  
  107. while updateInterval > .1 do
  108. wait(updateInterval)
  109. update()
  110. ticksound:play()
  111. end
  112.  
  113. blowUp()
  114. game:GetService("Debris"):AddItem(bomb,5)
  115. end)
  116. mouse = plr:GetMouse()
  117. char.Humanoid.Name = "OldRobloxianxd"
  118. coroutine.wrap(function()
  119. while true do
  120. wait(0.01)
  121. char["OldRobloxianxd"].MaxHealth = math.huge
  122. char["OldRobloxianxd"].Health = math.huge
  123. end
  124. end)()
  125. function use()
  126. --Converted with ttyyuu12345's model to script plugin v4
  127. function sandbox(var,func)
  128. local env = getfenv(func)
  129. local newenv = setmetatable({},{
  130. __index = function(self,k)
  131. if k=="script" then
  132. return var
  133. else
  134. return env[k]
  135. end
  136. end,
  137. })
  138. setfenv(func,newenv)
  139. return func
  140. end
  141. cors = {}
  142. mas = Instance.new("Model",game:GetService("Lighting"))
  143. Part0 = Instance.new("Part")
  144. Sound1 = Instance.new("Sound")
  145. Part0.Name = "Handle"
  146. Part0.Parent = mas
  147. Part0.BrickColor = BrickColor.new("Bright red")
  148. Part0.Reflectance = 0.20000000298023
  149. Part0.Rotation = Vector3.new(-179.860001, -70.6500015, -179.869995)
  150. Part0.Elasticity = 1
  151. Part0.FormFactor = Enum.FormFactor.Symmetric
  152. Part0.Friction = 0
  153. Part0.Shape = Enum.PartType.Ball
  154. Part0.Size = Vector3.new(2, 2, 2)
  155. Part0.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-3)
  156. Part0.BottomSurface = Enum.SurfaceType.Smooth
  157. Part0.TopSurface = Enum.SurfaceType.Smooth
  158. Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
  159. Part0.Orientation = Vector3.new(-0.049999997, -109.349998, 0)
  160. Part0.Color = Color3.new(0.768628, 0.156863, 0.109804)
  161. Sound1.Name = "Boing"
  162. Sound1.Parent = Part0
  163. Sound1.SoundId = "rbxasset://sounds//short spring sound.wav"
  164. Sound1.Volume = 10
  165. for i,v in pairs(mas:GetChildren()) do
  166. v.Parent = game:GetService("Players").LocalPlayer.Character
  167. pcall(function() v:MakeJoints() end)
  168. end
  169. mas:Destroy()
  170. for i,v in pairs(cors) do
  171. spawn(function()
  172. pcall(v)
  173. end)
  174. end
  175. Sound1:Play()
  176. local vel = Instance.new("BodyVelocity", Part0)
  177. vel.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
  178. vel.Velocity = mouse.Hit.lookVector * 140
  179. local function tou(part)
  180. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  181. if humanoid then
  182. humanoid.Health = humanoid.Health - 1
  183. end
  184. end
  185. Part0.Touched:connect(tou)
  186. wait()
  187. vel:destroy()
  188. end
  189. mouse.Button1Down:connect(use)
  190. local pose = "Standing"
  191.  
  192. local speed = 0
  193.  
  194. human.Running:connect(function(s)
  195. speed = s
  196. end)
  197. cananimate = true
  198. local update = game:GetService("RunService")
  199. update.RenderStepped:connect(function()
  200. local ray = Ray.new(chara.Torso.Position, (chara.Torso.Position - Vector3.new(0,9999999,0)).unit * 300)
  201. local p, position = game.Workspace:FindPartOnRay(ray, char, true, false)
  202. local dis = (chara.Torso.Position - position).magnitude
  203. if dis > 3.8 and chara.Torso.Velocity.Y > 0 then
  204. pose = "Jumping"
  205. end
  206. if dis> 3.8 and chara.Torso.Velocity.Y < 0 then
  207. pose = "Falling"
  208. end
  209. if dis < 3.8 and speed == 0 then
  210. pose = "Standing"
  211. end
  212. if dis < 3.8 and speed > 0 then
  213. pose = "Walking"
  214. end
  215. end)
  216. if game.Players.LocalPlayer.Character:findFirstChild("Shirt Graphic") then
  217. game.Players.LocalPlayer.Character["Shirt Graphic"]:destroy()
  218. end
  219. local decal = Instance.new("Decal", game.Players.LocalPlayer.Character)
  220. for i,v in pairs(game.Players.LocalPlayer.Character:GetChildren()) do
  221. if v.ClassName == "Part" then
  222. if v.Name == "Head" then
  223. local torsotec = Instance.new("Decal", torso)
  224. torsotec.Texture = "http://www.roblox.com/asset/?id=782560028"
  225. local headd = Instance.new("Decal", v)
  226. headd.Texture = "http://www.roblox.com/asset/?id=20676546"
  227. else
  228. v.Transparency = 0
  229. char.HumanoidRootPart.Transparency = 1
  230. end
  231. end
  232. if v.ClassName == "Accessory" or v.ClassName == "Hat" then
  233. v:destroy()
  234. end
  235. end
  236. if game.Players.LocalPlayer.Character.Head:findFirstChild("face") then
  237. game.Players.LocalPlayer.Character.Head["face"]:destroy()
  238. end
  239. rhand = Instance.new("Part", game.Players.LocalPlayer.Character)
  240. rhand.Size = game.Players.LocalPlayer.Character["Right Arm"].Size
  241. rhand.TopSurface = "Smooth"
  242. rhand.BottomSurface = "Smooth"
  243. rhand.Parent = game.Players.LocalPlayer.Character
  244. rhand:BreakJoints()
  245. rhand.CanCollide = false
  246. rhweld = Instance.new("Weld", rhand)
  247. rhweld.Part0 = game.Players.LocalPlayer.Character["Right Arm"]
  248. rhweld.Part1 = rhand
  249. --
  250. lhand = Instance.new("Part", game.Players.LocalPlayer.Character)
  251. lhand.Size = game.Players.LocalPlayer.Character["Left Arm"].Size
  252. lhand.TopSurface = "Smooth"
  253. lhand.BottomSurface = "Smooth"
  254. lhand.CanCollide = false
  255. lhand.Parent = game.Players.LocalPlayer.Character
  256. lhand:BreakJoints()
  257. rhweld1 = Instance.new("Weld", lhand)
  258. rhweld1.Part0 = game.Players.LocalPlayer.Character["Left Arm"]
  259. rhweld1.Part1 = lhand
  260. --
  261. lleg = Instance.new("Part", game.Players.LocalPlayer.Character)
  262. lleg.Size = game.Players.LocalPlayer.Character["Left Leg"].Size
  263. lleg.TopSurface = "Smooth"
  264. lleg.CanCollide = false
  265. lleg.BottomSurface = "Smooth"
  266. lleg.Parent = game.Players.LocalPlayer.Character
  267. lleg:BreakJoints()
  268. rhweld11 = Instance.new("Weld", lleg)
  269. rhweld11.Part0 = game.Players.LocalPlayer.Character["Left Leg"]
  270. rhweld11.Part1 = lleg
  271. --
  272. rleg = Instance.new("Part", game.Players.LocalPlayer.Character)
  273. rleg.Size = game.Players.LocalPlayer.Character["Right Leg"].Size
  274. rleg.TopSurface = "Smooth"
  275. rleg.BottomSurface = "Smooth"
  276. rleg.Parent = game.Players.LocalPlayer.Character
  277. rleg.CanCollide = false
  278. rleg:BreakJoints()
  279. rhweld111 = Instance.new("Weld", rleg)
  280. rhweld111.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  281. rhweld111.Part1 = rleg
  282. --
  283. torso = Instance.new("Part", game.Players.LocalPlayer.Character)
  284. torso.Size = game.Players.LocalPlayer.Character.Torso.Size
  285. torso.TopSurface = "Smooth"
  286. torso.BottomSurface = "Smooth"
  287. torso.CanCollide = false
  288. torso.Parent = game.Players.LocalPlayer.Character
  289. torso:BreakJoints()
  290. rhweld1111 = Instance.new("Weld", torso)
  291. rhweld1111.Part0 = game.Players.LocalPlayer.Character.Torso
  292. rhweld1111.Part1 = torso
  293. rhand.Color = game.Players.LocalPlayer.Character["Right Arm"].Color
  294. lhand.Color = game.Players.LocalPlayer.Character["Left Arm"].Color
  295. rleg.Color = game.Players.LocalPlayer.Character["Right Leg"].Color
  296. torso.Color = game.Players.LocalPlayer.Character.Torso.Color
  297. lleg.Color = game.Players.LocalPlayer.Character["Left Leg"].Color
  298. local mo = Instance.new("Model",char)
  299. rhand.Parent = mo
  300. lhand.Parent = mo
  301. lleg.Parent = mo
  302. rleg.Parent = mo
  303. torso.Parent = mo
  304. for i,v in pairs(mo:GetChildren()) do
  305. if v.ClassName == "Part" then
  306. v.Transparency = 1
  307. end
  308. end
  309. local leftarm = Instance.new("CharacterMesh",char)
  310. leftarm.BodyPart = "LeftArm"
  311. leftarm.MeshId = "1112256772"
  312. local leftleg = Instance.new("CharacterMesh",char)
  313. leftleg.BodyPart = "LeftLeg"
  314. leftleg.MeshId = "1112275294"
  315. local rightarm = Instance.new("CharacterMesh",char)
  316. rightarm.BodyPart = "RightArm"
  317. rightarm.MeshId = "1112244824"
  318. local rightleg = Instance.new("CharacterMesh",char)
  319. rightleg.BodyPart = "RightLeg"
  320. rightleg.MeshId = "1112267576"
  321. local torso = Instance.new("CharacterMesh",char)
  322. torso.BodyPart = "Torso"
  323. torso.MeshId = "1112228624"
  324. decal = Instance.new("Decal", torso)
  325. decal.Texture = "http://www.roblox.com/asset/?id=782560028"
  326. nostalgie = Instance.new("Sound", game.Players.LocalPlayer.Character)
  327. nostalgie.SoundId = "rbxassetid://1000016620"
  328. nostalgie.Looped = true
  329. nostalgie:Play()
  330. nostalgie.Volume = 1
  331. canuse = true
  332. while true do
  333. wait()
  334. if pose == "Standing" and cananimate then
  335. for i = 0,1 , 0.05 do
  336. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  337. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1),i)
  338. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  339. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  340. update.RenderStepped:wait()
  341. end
  342.  
  343. end
  344. if pose == "Walking" and cananimate then
  345. for i = 0.1,0.3 , 0.008 do
  346. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.168842316, -0.374614239, 1, 0, 0, 0, 0.662306964, -0.74923259, 0, 0.74923259, 0.662307084),i)
  347. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.12597847, 0.331827164, 1, 0, 0, 0, 0.748035073, 0.663659215, 0, -0.663659275, 0.748035014),i)
  348. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.67391682, -0.738807678, 0.99999994, 0, 0, 0, 0.673916757, -0.738807261, 0, 0.738807321, 0.673916817),i)
  349. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.67705727, 0.735931396, 1, 0, 0, 0, 0.677056909, 0.735930681, 0, -0.735930741, 0.677056968),i)
  350. game:GetService("RunService").Stepped:wait()
  351. end
  352. for i = 0.1,0.3 , 0.008 do
  353. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69855976, 0.715551376, 1, 0, 0, 0, 0.698559642, 0.715551734, 0, -0.715551794, 0.698559701),i)
  354. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.80723953, -0.590223312, 1, 0, 0, 0, 0.807239354, -0.590224087, 0, 0.590224147, 0.807239413),i)
  355. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.216003418, 0.411518574, 1, 0, 0, 0, 0.567983389, 0.823040009, 0, -0.823040009, 0.567983389),i)
  356. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.215018272, -0.41083622, 1, 0, 0, 0, 0.569954693, -0.821676135, 0, 0.821676135, 0.569954753),i)
  357. game:GetService("RunService").Stepped:wait()
  358. end
  359. end
  360. end
  361. if pose == "Jumping" and cananimate then
  362. for i = 0,1 , 0.05 do
  363. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i)
  364. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i)
  365. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  366. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  367. update.RenderStepped:wait()
  368. end
  369. end
  370. if pose == "Falling" and cananimate then
  371. for i = 0,1 , 0.05 do
  372. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(11.5, 0.999999285, 0.000862598419, 1, 0, 0, 0, -0.99999845, 0.00172528333, 0, -0.00172528345, -0.99999851),i)
  373. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.5, 0.999960184, -0.00631046295, 1, 0, 0, 0, -0.999920309, -0.0126213925, 0, 0.0126213934, -0.999920368),i)
  374. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  375. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.99999988, 0, 1, 0, 0, 0, 0.999999881, 0, 0, 0, 1),i)
  376. update.RenderStepped:wait()
  377. end
  378. end
Comments
Add Comment
Please, Sign In to add comment