subaru112g

me xd

Feb 5th, 2019
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.73 KB | None | 0 0
  1. local plr = owner
  2. wait(0.1)
  3.  
  4. local m = Instance.new("Model", game.Workspace)
  5. m.Name = "Subaru112"
  6.  
  7. local h = Instance.new("Part",m)
  8. h.Name = "Head"
  9. local me = plr.Character.Head.Mesh:Clone()
  10. me.Parent = h
  11. local facee = plr.Character.Head.face:Clone()
  12. facee.Parent = h
  13. h.Size = plr.Character.Head.Size
  14. h:BreakJoints()
  15. h.CanCollide = false
  16. h.Position = plr.Character.Head.Position
  17. h.Position = h.Position + Vector3.new(0, 10, 0)
  18. h.face.Texture = "http://www.roblox.com/asset/?id=115978221"
  19.  
  20. local t = Instance.new("Part",m)
  21. t.Name = "Torso"
  22. t.Size = plr.Character.Torso.Size
  23. t:BreakJoints()
  24. t.CanCollide = false
  25. t.Position = plr.Character.Torso.Position
  26. t.Position = t.Position + Vector3.new(0, 10, 0)
  27.  
  28. local ra = Instance.new("Part",m)
  29. ra.Name = "Right Arm"
  30. ra.Size = plr.Character["Right Arm"].Size
  31. ra:BreakJoints()
  32. ra.Position = plr.Character["Right Arm"].Position
  33. ra.Position = ra.Position + Vector3.new(0, 10, 0)
  34.  
  35. local la = Instance.new("Part",m)
  36. la.Name = "Left Arm"
  37. la.Size = plr.Character["Left Arm"].Size
  38. la:BreakJoints()
  39. la.Position = plr.Character["Left Arm"].Position
  40. la.Position = la.Position + Vector3.new(0, 10, 0)
  41.  
  42. local ll = Instance.new("Part",m)
  43. ll.Name = "Left Leg"
  44. ll.Size = plr.Character["Left Leg"].Size
  45. ll:BreakJoints()
  46. ll.Position = plr.Character["Left Leg"].Position
  47. ll.Position = ll.Position + Vector3.new(0, 10, 0)
  48.  
  49. local rl = Instance.new("Part",m)
  50. rl.Name = "Right Leg"
  51. rl.Size = plr.Character["Right Leg"].Size
  52. rl:BreakJoints()
  53. rl.Position = plr.Character["Right Leg"].Position
  54. rl.Position = rl.Position + Vector3.new(0, 10, 0)
  55.  
  56. for i,v in pairs(m:GetChildren()) do
  57. if not(v.ClassName == "Accessory" or v.ClassName == "ShirtGraphic" or v.ClassName == "Humanoid" or v.ClassName == "Pants" or v.ClassName == "Shirt") then
  58. v:BreakJoints()
  59. end
  60. end
  61.  
  62. local char = m
  63.  
  64. local torso = Instance.new("CharacterMesh", game.Workspace)
  65. torso.BodyPart = "Torso"
  66. torso.MeshId = "376169183"
  67. torso.Parent = char
  68.  
  69. local lleg = Instance.new("CharacterMesh", game.Workspace)
  70. lleg.BodyPart = "LeftLeg"
  71. lleg.MeshId = "319336109"
  72. lleg.Parent = char
  73.  
  74. local rleg = Instance.new("CharacterMesh", game.Workspace)
  75. rleg.BodyPart = "RightLeg"
  76. rleg.MeshId = "319336155"
  77. rleg.Parent = char
  78.  
  79. local larm = Instance.new("CharacterMesh", game.Workspace)
  80. larm.BodyPart = "LeftArm"
  81. larm.MeshId = "279174949"
  82. larm.Parent = char
  83.  
  84. local rarm = Instance.new("CharacterMesh", game.Workspace)
  85. rarm.BodyPart = "RightArm"
  86. rarm.MeshId = "279174886"
  87. rarm.Parent = char
  88.  
  89. local neck = Instance.new("Motor6D")
  90. neck.Name = "Neck"
  91. neck.Part0 = t
  92. neck.Part1 = h
  93. neck.Parent = t
  94. neck.C0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  95. neck.C1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, -0)
  96.  
  97. local rs = Instance.new("Motor6D")
  98. rs.Name = "Right Shoulder"
  99. rs.Part0 = t
  100. rs.Part1 = ra
  101. rs.Parent = t
  102. rs.C0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  103. rs.C1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  104.  
  105. local ls = Instance.new("Motor6D")
  106. ls.Name = "Left Shoulder"
  107. ls.Part0 = t
  108. ls.Part1 = la
  109. ls.Parent = t
  110. ls.C0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  111. ls.C1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  112.  
  113. local lh = Instance.new("Motor6D")
  114. lh.Name = "Left Hip"
  115. lh.Part0 = t
  116. lh.Part1 = ll
  117. lh.Parent = t
  118. lh.C0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  119. lh.C1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  120.  
  121. local rh = Instance.new("Motor6D")
  122. rh.Name = "Right Hip"
  123. rh.Part0 = t
  124. rh.Part1 = rl
  125. rh.Parent = t
  126. rh.C0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  127. rh.C1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, -0, -1, 0, 0)
  128.  
  129. local hair = Instance.new("Accessory")
  130. hair.AttachmentPos = Vector3.new(0, 0.8, 0)
  131. local ha = Instance.new("Part",hair)
  132. ha.Name = "Handle"
  133. ha.Size = Vector3.new(1, 1, 1)
  134. local me = Instance.new("SpecialMesh", ha)
  135. me.MeshId = "http://www.roblox.com/asset/?id=20637493"
  136. me.TextureId = "http://www.roblox.com/asset/?id=20637003"
  137. me.Scale = Vector3.new(1, 0.9, 1)
  138. me.VertexColor = Vector3.new(1, 1, 1)
  139.  
  140. local hair1 = Instance.new("Accessory")
  141. hair1.AttachmentPos = Vector3.new(0, -0.03, 0.05)
  142. local ha1 = Instance.new("Part",hair1)
  143. ha1.Name = "Handle"
  144. ha1.Size = Vector3.new(2.6, 2.2, 1.8)
  145. local me1 = Instance.new("SpecialMesh", ha1)
  146. me1.MeshId = "rbxassetid://135446047"
  147. me1.TextureId = "http://www.roblox.com/asset/?id=273374941"
  148. me1.Scale = Vector3.new(1, 1.1, 1)
  149. me1.VertexColor = Vector3.new(1, 1, 1)
  150.  
  151.  
  152. local sh = Instance.new("Shirt",m)
  153. sh.ShirtTemplate = "http://www.roblox.com/asset/?id=815836969"
  154. sh.Name = "Shirt"
  155.  
  156. local sh2 = Instance.new("Pants",m)
  157. sh2.PantsTemplate = "http://www.roblox.com/asset/?id=1035324237"
  158. sh2.Name = "Pants"
  159.  
  160. wait(0.000000000000001)
  161.  
  162. local hu = Instance.new("Humanoid", m)
  163. hu.MaxHealth = 0
  164. hu.Health = 0
  165. hu.WalkSpeed = 0
  166.  
  167. h.BrickColor = BrickColor.new("Light orange")
  168. ra.BrickColor = BrickColor.new("Light orange")
  169. la.BrickColor = BrickColor.new("Light orange")
  170. t.BrickColor = BrickColor.new("Light orange")
  171. rl.BrickColor = BrickColor.new("Light orange")
  172. ll.BrickColor = BrickColor.new("Light orange")
  173.  
  174. local animation = Instance.new("Animation", script)
  175. animation.AnimationId = "http://www.roblox.com/asset/?id=182436935"
  176.  
  177. local hum = m:WaitForChild("Humanoid")
  178. local anim = hum:LoadAnimation(script:FindFirstChildOfClass("Animation"))
  179. anim.Looped = true
  180. anim:Play()
  181.  
  182.  
  183. hair.Parent = m
  184. hair1.Parent = m
  185.  
  186.  
  187. --Converted with ttyyuu12345's model to script plugin v4
  188. function sandbox(var,func)
  189. local env = getfenv(func)
  190. local newenv = setmetatable({},{
  191. __index = function(self,k)
  192. if k=="script" then
  193. return var
  194. else
  195. return env[k]
  196. end
  197. end,
  198. })
  199. setfenv(func,newenv)
  200. return func
  201. end
  202. cors = {}
  203. mas = Instance.new("Model",game:GetService("Lighting"))
  204. Model0 = Instance.new("Model")
  205. Humanoid1 = Instance.new("Humanoid")
  206. Part2 = Instance.new("Part")
  207. CylinderMesh3 = Instance.new("CylinderMesh")
  208. Part4 = Instance.new("Part")
  209. CylinderMesh5 = Instance.new("CylinderMesh")
  210. Script6 = Instance.new("Script")
  211. Model0.Name = " "
  212. Model0.Parent = mas
  213. Humanoid1.Parent = Model0
  214. Humanoid1.Health = 0
  215. Humanoid1.MaxHealth = 0
  216. Part2.Parent = Model0
  217. Part2.BrickColor = BrickColor.new("Dark stone grey")
  218. Part2.Reflectance = 0.5
  219. Part2.Anchored = true
  220. Part2.Size = Vector3.new(5, 1.20000005, 5)
  221. Part2.CFrame = CFrame.new(-26.8999996, 0.600005269, -16.4399662, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  222. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  223. Part2.Position = Vector3.new(-26.8999996, 0.600005269, -16.4399662)
  224. Part2.Color = Color3.new(0.388235, 0.372549, 0.384314)
  225. CylinderMesh3.Parent = Part2
  226. Part4.Name = "Head"
  227. Part4.Parent = Model0
  228. Part4.BrickColor = BrickColor.new("Really red")
  229. Part4.Anchored = true
  230. Part4.Size = Vector3.new(5, 1.20000005, 5)
  231. Part4.CFrame = CFrame.new(-26.8999996, 1.80000603, -16.4399662, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  232. Part4.Color = Color3.new(1, 0, 0)
  233. Part4.Position = Vector3.new(-26.8999996, 1.80000603, -16.4399662)
  234. Part4.Color = Color3.new(1, 0, 0)
  235. CylinderMesh5.Parent = Part4
  236. CylinderMesh5.Scale = Vector3.new(0.75, 1, 0.75)
  237. CylinderMesh5.Scale = Vector3.new(0.75, 1, 0.75)
  238. Script6.Parent = Part4
  239. table.insert(cors,sandbox(Script6,function()
  240. local ONOES = Instance.new("Sound")
  241. ONOES.SoundId = "rbxassetid://199837904"
  242. ONOES.Volume = 10
  243. ONOES.EmitterSize = math.huge
  244. ONOES.Looped = false
  245. ONOES.archivable = false
  246. ONOES.Parent = workspace
  247.  
  248. --game:GetService("Debris").MaxItems = 350 -- Decrease if you have a laggy computer
  249. local s = Instance.new("Sound")
  250. s.Volume = 10
  251. s.EmitterSize = math.huge
  252. sounds = {"rbxasset://sounds\\rocket shot.wav", "rbxasset://sounds\\collide.wav"}
  253. local workspace = game.Workspace
  254.  
  255. function check(object)
  256.  
  257. if object.className == "Model" and object:findFirstChild("Humanoid") == nil then
  258. for i, v in ipairs(object:getChildren()) do
  259. check(v)
  260. wait()
  261. end
  262. end
  263. if object:IsA("Part") then
  264. local soundclone = s:Clone()
  265. soundclone.SoundId = sounds[math.random(1, 2)]
  266. game:GetService("Debris"):AddItem(object, 300)
  267. soundclone.Pitch = math.random(9, 12)/10
  268. soundclone.Parent = object
  269. delay(0.1, function() soundclone:Play() end)
  270. delay(0, function()
  271. for i = 1, 15*1.5 do
  272. local Model = Instance.new("Model",workspace)
  273. local Cloud1 = Instance.new("Part")
  274. local Cloud2 = Instance.new("Part")
  275. local Cloud1Mesh = Instance.new("SpecialMesh")
  276. local Cloud2Mesh = Instance.new("SpecialMesh")
  277. local Sound = Instance.new("Sound",workspace)
  278. local sky = Instance.new("Sky")
  279. NUKE_COLOR = 24 --Only BrickColor codes.
  280. CLOUD_TRANSPARENCY = 0.25
  281.  
  282. wait(0.001)
  283.  
  284. function radiation(hit)
  285. local h = hit.Parent:findFirstChild("Humanoid")
  286. local DAMAGE = 10
  287. if h~=nil then
  288. h.WalkSpeed = 5
  289. h.Parent["Right Leg"]:Destroy()
  290. h.Parent["Left Arm"]:Destroy()
  291. for i =1,h.MaxHealth do
  292. h.Health = h.Health - DAMAGE
  293. wait(1)
  294. end
  295. end
  296. end
  297. function unanchor (m)
  298. for _,i in pairs (m:GetChildren()) do
  299. if i:IsA("Part","Model","Union","WedgePart","CornerWedgePart") then
  300. -- i.Anchored = false
  301. local Fire = Instance.new("Fire")
  302. Fire.Parent = i
  303. Fire.Size = math.random(5,10)
  304. i.Material = "CorrodedMetal"
  305. i:BreakJoints()
  306. i.BrickColor = BrickColor.new(26)
  307. i.Touched:connect(radiation)
  308.  
  309. else
  310. unanchor(i)
  311. end
  312. end
  313. end
  314. unanchor(game.Workspace)
  315.  
  316. Sound.SoundId = "http://www.roblox.com/asset?id=2248511"
  317. Sound.PlaybackSpeed = 0.2
  318. Sound.Playing = true
  319. Sound.Volume = 10
  320.  
  321. Model.Name = "Mushroom Cloud"
  322. Cloud1.Parent = Model
  323. Cloud1.Anchored = true
  324. Cloud1.CanCollide = false
  325. Cloud1.Locked = true
  326. Cloud1Mesh.Parent = Cloud1
  327. Cloud1Mesh.MeshType = "FileMesh"
  328. Cloud1Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  329. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(95,300,195) --1999
  330. Cloud2.Parent = Model
  331. Cloud2.Anchored = true
  332. Cloud2.CanCollide = false
  333. Cloud2.Locked = true
  334. Cloud2.Position = Cloud2.Position + Vector3.new(0,587,0)
  335. Cloud2Mesh.Parent = Cloud2
  336. Cloud2Mesh.MeshType = "FileMesh"
  337. Cloud2Mesh.MeshId = "http://www.roblox.com/asset/?id=1095708"
  338. Cloud2Mesh.Scale = Cloud2Mesh.Scale + Vector3.new(399,399,649)
  339. Cloud1.Transparency = CLOUD_TRANSPARENCY
  340. Cloud2.Transparency = CLOUD_TRANSPARENCY
  341. Cloud1.BrickColor = BrickColor.new(NUKE_COLOR)
  342. Cloud2.BrickColor = BrickColor.new(NUKE_COLOR)
  343. sky.Parent = game.Lighting
  344. sky.Name = "NukeSky"
  345. sky.CelestialBodiesShown = true
  346. sky.SkyboxBk = "http://www.roblox.com/asset/?version=1&id=1012890"
  347. sky.SkyboxDn = "http://www.roblox.com/asset/?version=1&id=1012891"
  348. sky.SkyboxFt = "http://www.roblox.com/asset/?version=1&id=1012887"
  349. sky.SkyboxLf = "http://www.roblox.com/asset/?version=1&id=1012889"
  350. sky.SkyboxRt = "http://www.roblox.com/asset/?version=1&id=1012888"
  351. sky.SkyboxUp = "http://www.roblox.com/asset/?version=1&id=1014449"
  352. explosion = Instance.new("Explosion")
  353. explosion.Parent = game.Workspace
  354. explosion.BlastRadius = 9999999999999
  355. explosion.BlastPressure = 10000000
  356. game.Lighting.Brightness = 999
  357. game.Lighting.OutdoorAmbient = Color3.new(1,0,0)
  358. wait (1) --Fireball
  359. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --200
  360. wait (0.25)
  361. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --400
  362. wait (0.25)
  363. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --600
  364. wait (0.25)
  365. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --800
  366. wait (0.25)
  367. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1000
  368. wait (0.25)
  369. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1200
  370. wait (0.25)
  371. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1400
  372. wait (0.25)
  373. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,200,0) --1600
  374. wait (0.25)
  375. Cloud1Mesh.Scale = Cloud1Mesh.Scale + Vector3.new(0,100,0) --1700
  376. wait (30) --End phase of the nuke
  377. game.Lighting.Ambient = Color3.new(0,0,0)
  378. game.Lighting.OutdoorAmbient = Color3.new(127 / 255,127 / 255,127 / 255)
  379. sky:Destroy()
  380. game.Lighting.Brightness = 1
  381. Cloud1.BrickColor = BrickColor.new(1)
  382. Cloud2.BrickColor = BrickColor.new(1)
  383. Cloud1.Transparency = 0.6
  384. Cloud2.Transparency = 0.6
  385. wait (5)
  386. Cloud1.Transparency = 0.7
  387. Cloud2.Transparency = 0.7
  388. wait (5)
  389. Cloud1.Transparency = 0.8
  390. Cloud2.Transparency = 0.8
  391. wait (5)
  392. Cloud1.Transparency = 0.9
  393. Cloud2.Transparency = 0.9
  394. wait (120)
  395. Cloud1:Destroy()
  396. Cloud2:Destroy()
  397. --BrickColor codes: http://wiki.roblox.com/index.php?title=BrickColor_codes
  398. local e = Instance.new("Explosion")
  399. e.Parent = workspace
  400. e.BlastPressure = 1e4*object:getMass()
  401. e.Position = object.Position
  402. object.Anchored = true
  403. object:BreakJoints()
  404. wait(1.5)
  405. end
  406. end)
  407.  
  408. end
  409. end
  410.  
  411. local deb = true
  412. script.Parent.Touched:connect(function(hit)
  413. if not deb then return end
  414. deb = false
  415. ONOES:Play()
  416. script.Parent.Parent.Name = ""
  417. local c = script.Parent.CFrame
  418. for i = 0, 1, 0.05 do
  419. script.Parent.CFrame = c - Vector3.new(0, i, 0)
  420. wait()
  421. end
  422. local m = Instance.new("Message")
  423. m.Text = "TACTICAL NUKE INCOMING!!"
  424. m.Parent = workspace
  425. local color = game.Lighting.Ambient
  426. delay(0, function()
  427. while true do
  428. game.Lighting.Brightness = 2
  429. game.Lighting.Ambient = Color3.new(100, 0, 0)
  430. game.Lighting.ColorShift_Top = Color3.new(1, 0, 0)
  431. game.Lighting.ColorShift_Bottom = Color3.new(1, 0, 0)
  432. wait(1)
  433. game.Lighting.Brightness = 1
  434. game.Lighting.Ambient = color
  435. game.Lighting.ColorShift_Top = Color3.new(0, 0, 0)
  436. game.Lighting.ColorShift_Bottom = Color3.new(0, 0, 0)
  437. wait(1)
  438. end
  439. end)
  440. wait(5)
  441. m:remove()
  442. script.Parent.Parent.Name = "OOF"
  443. for i, v in ipairs(workspace:getChildren()) do
  444. check(v)
  445. wait()
  446. end
  447. end)
  448.  
  449. end))
  450. for i,v in pairs(mas:GetChildren()) do
  451. v.Parent = workspace
  452. pcall(function() v:MakeJoints() end)
  453. end
  454. mas:Destroy()
  455. for i,v in pairs(cors) do
  456. spawn(function()
  457. pcall(v)
  458. end)
  459. end
  460.  
  461. m.Parent = Model0
  462. wait(3)
  463. t.CFrame = Part4.CFrame
Add Comment
Please, Sign In to add comment