Advertisement
Ban43_GodOfEdits

ant man

Jun 14th, 2018
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.00 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. --Converted with ttyyuu12345's model to script plugin v4
  3. function sandbox(var,func)
  4. local env = getfenv(func)
  5. local newenv = setmetatable({},{
  6. __index = function(self,k)
  7. if k=="script" then
  8. return var
  9. else
  10. return env[k]
  11. end
  12. end,
  13. })
  14. setfenv(func,newenv)
  15. return func
  16. end
  17. cors = {}
  18. mas = Instance.new("Model",game:GetService("Lighting"))
  19. ScreenGui0 = Instance.new("ScreenGui")
  20. LocalScript1 = Instance.new("LocalScript")
  21. Sound2 = Instance.new("Sound")
  22. Sound3 = Instance.new("Sound")
  23. Sound4 = Instance.new("Sound")
  24. Animation5 = Instance.new("Animation")
  25. Animation6 = Instance.new("Animation")
  26. Frame7 = Instance.new("Frame")
  27. Frame8 = Instance.new("Frame")
  28. TextButton9 = Instance.new("TextButton")
  29. LocalScript10 = Instance.new("LocalScript")
  30. TextButton11 = Instance.new("TextButton")
  31. Model12 = Instance.new("Model")
  32. Script13 = Instance.new("Script")
  33. ScreenGui0.Name = "Antman"
  34. ScreenGui0.Parent = mas
  35. LocalScript1.Name = "SyringeScript"
  36. LocalScript1.Parent = ScreenGui0
  37. table.insert(cors,sandbox(LocalScript1,function()
  38. -- Made By SolarCrane
  39. wait(5)
  40. player=game.Players.LocalPlayer
  41. Char=player.Character
  42. alphaframe=script.Parent:WaitForChild('Frame1')
  43. gui=alphaframe.Frame2.TextButton
  44. model=Instance.new('Model')
  45. model.Name='LimbCloneBin'
  46. model.Parent=Char
  47. -- Waits for the child of the specified parent
  48.  
  49.  
  50. -- This may be less typing if we made this a table index by their part names
  51.  
  52. local Tool = script.Parent
  53. local Handle = script
  54.  
  55. local MyHumanoid
  56. local MyCharacter
  57.  
  58. local PlayersService = Game:GetService('Players')
  59.  
  60. local InjectTrack
  61. local EnrageTrack
  62.  
  63. local InjectSound
  64. local EnrageSound
  65. local SwooshSound
  66.  
  67.  
  68.  
  69. local function ParseBodyPartEnum(bodyPartName)
  70. local result = Enum.BodyPart.Head
  71. if bodyPartName == "Left Arm" then
  72. result = Enum.BodyPart.LeftArm
  73. elseif bodyPartName == "Right Arm" then
  74. result = Enum.BodyPart.RightArm
  75. elseif bodyPartName == "Left Leg" then
  76. result = Enum.BodyPart.LeftLeg
  77. elseif bodyPartName == "Right Leg" then
  78. result = Enum.BodyPart.RightLeg
  79. elseif bodyPartName == "Torso" then
  80. result = Enum.BodyPart.Torso
  81. end
  82. return result
  83. end
  84.  
  85.  
  86.  
  87. function FadeEffect()
  88. ct=Char.Torso:Clone()
  89. ct.BrickColor=BrickColor.new(" black")
  90. ct.Material=Enum.Material.Neon
  91. ct:ClearAllChildren()
  92. ct.CanCollide=false
  93. ct.Transparency=.95
  94. ct.Anchored=true
  95. ct.Parent=workspace
  96. game.Debris:AddItem(ct,.25)
  97. ch=Char.Head:Clone()
  98. ch.BrickColor=BrickColor.new(" black")
  99. ch.Material=Enum.Material.Neon
  100. ch:ClearAllChildren()
  101. ch.CanCollide=false
  102. ch.Transparency=.95
  103. ch.Anchored=true
  104. ch.Parent=workspace
  105. game.Debris:AddItem(ch,.25)
  106. cll=Char['Left Leg']:Clone()
  107. cll.BrickColor=BrickColor.new(" black")
  108. cll.Material=Enum.Material.Neon
  109. cll:ClearAllChildren()
  110. cll.CanCollide=false
  111. cll.Transparency=.95
  112. cll.Anchored=true
  113. cll.Parent=workspace
  114. game.Debris:AddItem(cll,.25)
  115. crl=Char['Right Leg']:Clone()
  116. crl.BrickColor=BrickColor.new(" black")
  117. crl.Material=Enum.Material.Neon
  118. crl:ClearAllChildren()
  119. crl.CanCollide=false
  120. crl.Transparency=.95
  121. crl.Anchored=true
  122. crl.Parent=workspace
  123. game.Debris:AddItem(crl,.25)
  124. cla=Char['Left Arm']:Clone()
  125. cla.Material=Enum.Material.Neon
  126. cla.BrickColor=BrickColor.new(" black")
  127. cla:ClearAllChildren()
  128. cla.CanCollide=false
  129. cla.Transparency=.95
  130. cla.Anchored=true
  131. cla.Parent=workspace
  132. game.Debris:AddItem(cla,.25)
  133. cra=Char['Right Arm']:Clone()
  134. cra.Material=Enum.Material.Neon
  135. cra.BrickColor=BrickColor.new("Really black")
  136. cra:ClearAllChildren()
  137. cra.CanCollide=false
  138. cra.Transparency=.95
  139. cra.Anchored=true
  140. cra.Parent=workspace
  141. game.Debris:AddItem(cra,.1)
  142. end
  143.  
  144. -------------------------------- AWESOME CODE EXCEPT FROM HOTTHOTH COMMANDS; MORE TO COME -------------------------
  145.  
  146. local foundObjectList = {}
  147. local foundObjectIndex = 1
  148. local function findObjectHelper(model, objectName, className, listOfFoundObjects)
  149. if not model then return end
  150. local findStart, findEnd = string.find(model.Name, objectName)
  151. if findStart == 1 and findEnd == #(model.Name) then -- must match entire name
  152. if not className or model.className == className or (pcall(model.IsA, model, className) and model:IsA(className)) then
  153. table.insert(listOfFoundObjects, model)
  154. end
  155. end
  156. if pcall(model.GetChildren, model) then
  157. local modelChildren = model:GetChildren()
  158. for i = 1, #modelChildren do
  159. -- make sure not to resize tools, things tend to get complicated if we do
  160. findObjectHelper(modelChildren[i], objectName, className, listOfFoundObjects)
  161. end
  162. end
  163. end
  164.  
  165. local function resizeModelInternal(model, resizeFactor)
  166. local modelCFrame = model:GetModelCFrame()
  167. local modelSize = model:GetModelSize()
  168. local baseParts = {}
  169. local basePartCFrames = {}
  170. local joints = {}
  171. local jointParents = {}
  172. local meshes = {}
  173.  
  174. findObjectHelper(model, ".*", "BasePart", baseParts)
  175. findObjectHelper(model, ".*", "JointInstance", joints)
  176.  
  177. -- meshes don't inherit from anything accessible?
  178. findObjectHelper(model, ".*", "FileMesh", meshes) -- base class for SpecialMesh and FileMesh
  179. findObjectHelper(model, ".*", "CylinderMesh", meshes)
  180. findObjectHelper(model, ".*", "BlockMesh", meshes)
  181.  
  182. -- store the CFrames, so our other changes don't rearrange stuff
  183. for _, basePart in pairs(baseParts) do
  184. basePartCFrames[basePart] = basePart.CFrame
  185. end
  186.  
  187. -- scale meshes
  188. for _,mesh in pairs(meshes) do
  189. -- This is a nasty hack because head meshes scale relative to the part's size
  190. -- thus scaling the mesh and the head gives u 2x the size
  191. if mesh.Parent.Name ~= "Head" then
  192. mesh.Scale = mesh.Scale * resizeFactor
  193. end
  194. end
  195.  
  196. -- scale joints
  197. for _, joint in pairs(joints) do
  198. joint.C0 = joint.C0 + (joint.C0.p) * (resizeFactor - 1)
  199. joint.C1 = joint.C1 + (joint.C1.p) * (resizeFactor - 1)
  200. jointParents[joint] = joint.Parent
  201. end
  202.  
  203. -- scale parts and reposition them within the model
  204. for _, basePart in pairs(baseParts) do
  205. if pcall(function() basePart.FormFactor = "Custom" end) then basePart.FormFactor = "Custom" end
  206. basePart.Size = basePart.Size * resizeFactor
  207. local oldCFrame = basePartCFrames[basePart]
  208. local oldPositionInModel = modelCFrame:pointToObjectSpace(oldCFrame.p)
  209. local distanceFromCorner = oldPositionInModel + modelSize/2
  210. distanceFromCorner = distanceFromCorner * resizeFactor
  211.  
  212. local newPositionInSpace = modelCFrame:pointToWorldSpace(distanceFromCorner - modelSize/2)
  213. basePart.CFrame = oldCFrame - oldCFrame.p + newPositionInSpace
  214. end
  215.  
  216. -- pop the joints back, because they prolly got borked
  217. for _, joint in pairs(joints) do
  218. joint.Parent = jointParents[joint]
  219. end
  220.  
  221. return model
  222. end
  223.  
  224. local function resizeImplementation(modelList, resizeFactor)
  225. if type(modelList) ~= "table" then modelList = {modelList} end
  226.  
  227. for _, model in pairs(modelList) do
  228. --if model.Name ~= "BackPack" then
  229. resizeModelInternal(model, resizeFactor)
  230. -- end
  231. end
  232. return modelList
  233. end
  234.  
  235. ------------------------------------------------------------------------------------------------------------------
  236. local attacking = false
  237. local HitCharacters = {}
  238.  
  239.  
  240. function OnActivate()
  241. if gui.Text=='Grow' then
  242. factor=(2^(1/4.32))
  243. elseif gui.Text=='Shrink' then
  244. factor=(.5^(1/4.32))
  245. end
  246. if (MyHumanoid and MyHumanoid.Health <= 0) or attacking or MyHumanoid.Parent.Head.Size.Z*(factor^10)<0.2 then return end
  247. attacking = true
  248. if InjectSound then
  249. InjectSound:Play()
  250. end
  251. if InjectTrack then
  252. InjectTrack:Play()
  253. end
  254. Delay(0.2, (function() if EnrageSound then EnrageSound:Play() end end))
  255.  
  256. local character = PlayersService.localPlayer.Character
  257. for i = 1, 10 do
  258. resizeImplementation(character, factor)
  259. FadeEffect()
  260. wait(0.02)
  261. end
  262. MyHumanoid.JumpPower=75
  263. MyHumanoid.WalkSpeed=32
  264. wait(0.03)
  265.  
  266. HitCharacters = {}
  267. wait(0.2)
  268. attacking = false
  269. end
  270.  
  271. local Equipping = false
  272.  
  273. MyHumanoid = Char:WaitForChild('Humanoid')
  274. InjectTrack = MyHumanoid:LoadAnimation(script:WaitForChild('Inject'))
  275. EnrageTrack = MyHumanoid:LoadAnimation(script:WaitForChild('Enrage'))
  276. InjectSound = Handle:WaitForChild('Absorb')
  277. EnrageSound = Handle:WaitForChild('Rage')
  278. SwooshSound = Handle:WaitForChild('Swoosh')
  279.  
  280. script.Parent.Frame1.Go.MouseButton1Click:connect(OnActivate)
  281.  
  282. end))
  283. Sound2.Name = "Absorb"
  284. Sound2.Parent = LocalScript1
  285. Sound2.SoundId = "http://www.roblox.com/asset/?id=181004943"
  286. Sound3.Name = "Rage"
  287. Sound3.Parent = LocalScript1
  288. Sound3.SoundId = "http://www.roblox.com/asset/?id=181004957"
  289. Sound4.Name = "Swoosh"
  290. Sound4.Parent = LocalScript1
  291. Sound4.Pitch = 1.2000000476837
  292. Sound4.SoundId = "rbxasset://sounds/swoosh.wav"
  293. Sound4.Volume = 1
  294. Animation5.Name = "Enrage"
  295. Animation5.Parent = LocalScript1
  296. Animation5.AnimationId = "http://www.roblox.com//Asset?ID=93648331"
  297. Animation6.Name = "Inject"
  298. Animation6.Parent = LocalScript1
  299. Animation6.AnimationId = "http://www.roblox.com/Asset?ID=93642075"
  300. Frame7.Name = "Frame1"
  301. Frame7.Parent = ScreenGui0
  302. Frame7.Transparency = 1
  303. Frame7.Size = UDim2.new(0, 300, 0, 250)
  304. Frame7.BackgroundColor3 = Color3.new(1, 1, 1)
  305. Frame7.BackgroundTransparency = 1
  306. Frame7.BorderSizePixel = 0
  307. Frame8.Name = "Frame2"
  308. Frame8.Parent = Frame7
  309. Frame8.Size = UDim2.new(1, 0, 0.800000012, 0)
  310. Frame8.Style = Enum.FrameStyle.RobloxRound
  311. Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
  312. Frame8.ZIndex = 2
  313. TextButton9.Parent = Frame8
  314. TextButton9.Size = UDim2.new(1, 0, 1, 0)
  315. TextButton9.Text = "Shrink"
  316. TextButton9.BackgroundColor3 = Color3.new(0, 0, 0)
  317. TextButton9.BorderColor3 = Color3.new(1, 0, 0)
  318. TextButton9.ZIndex = 3
  319. TextButton9.FontSize = Enum.FontSize.Size14
  320. TextButton9.TextColor3 = Color3.new(1, 0, 0)
  321. TextButton9.TextScaled = true
  322. TextButton9.TextWrapped = true
  323. LocalScript10.Parent = Frame8
  324.  
  325. table.insert(cors,sandbox(LocalScript10,function()
  326. c=1
  327. script.Parent.TextButton.MouseButton1Click:connect(function()
  328. if c==1 then
  329. c=2
  330. script.Parent.TextButton.Text='Grow'
  331. script.Parent.TextButton.TextColor3=Color3.new(0,0,255)
  332. script.Parent.TextButton.BorderColor3=Color3.new(0,0,255)
  333. elseif c==2 then
  334. c=1
  335. script.Parent.TextButton.Text='Shrink'
  336. script.Parent.TextButton.TextColor3=Color3.new(255,0,0)
  337. script.Parent.TextButton.BorderColor3=Color3.new(255,0,0)
  338. end
  339. end)
  340. end))
  341. TextButton11.Name = "Go"
  342. TextButton11.Parent = Frame7
  343. TextButton11.Size = UDim2.new(1, 0, 0.200000003, 0)
  344. TextButton11.Style = Enum.ButtonStyle.RobloxButton
  345. TextButton11.Text = "Activate"
  346. TextButton11.Position = UDim2.new(0, 0, 0.800000012, 0)
  347. TextButton11.BackgroundColor3 = Color3.new(1, 1, 1)
  348. TextButton11.Font = Enum.Font.SourceSans
  349. TextButton11.FontSize = Enum.FontSize.Size14
  350. TextButton11.TextColor3 = Color3.new(1, 1, 1)
  351. TextButton11.TextScaled = true
  352. TextButton11.TextWrapped = true
  353. Model12.Parent = ScreenGui0
  354. Script13.Parent = ScreenGui0
  355. table.insert(cors,sandbox(Script13,function()
  356. script.Parent["Antman"].Parent=game.StarterGui
  357. script.Parent.Display:Destroy()
  358. game.Debris:AddItem(script.Parent,.1)
  359. end))
  360. for i,v in pairs(mas:GetChildren()) do
  361. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  362. pcall(function() v:MakeJoints() end)
  363. end
  364. mas:Destroy()
  365. for i,v in pairs(cors) do
  366. spawn(function()
  367. pcall(v)
  368. end)
  369. end
  370. ----------------------Clothes-------------------------------
  371. --[Quicksilver edit by Bannaboy43 (only make edits cant stcipt ihml if this gets leaked tell people to send me scripts to make edits)
  372. wait(1 / 60)
  373. p = game.Players.LocalPlayer
  374. char = p.Character
  375. torso = char.Torso
  376. neck = char.Torso.Neck
  377. hum = char.Humanoid
  378.  
  379. wait()
  380. hum.Health =hum.MaxHealth
  381. char.Head.face.Texture = "rbxassetid://166951215"
  382.  
  383.  
  384.  
  385. z = Instance.new("Sound", char)
  386. z.SoundId = "rbxassetid://287533277" -- Put Music ID Here.
  387. z.Looped = true
  388. z.Volume = 2
  389. wait(.1)
  390. z:Play()
  391.  
  392.  
  393.  
  394. ----------------------------------------------------
  395. -------------Head---------------------------------
  396. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  397.  
  398. Head = Instance.new("Part", char)
  399. Head.Size = Vector3.new(1,1,1)
  400. Headmesh = Instance.new("SpecialMesh", Head)
  401. Headmesh.MeshId = "rbxassetid://1753337447"
  402. Headmesh.Scale = Vector3.new(0.275, 0.27, 0.27)
  403. Headmesh.TextureId = "rbxassetid://1753346813"
  404. Head.Transparency = 0
  405. Head.CanCollide = false
  406. Head.Name = "plrHead"
  407. Head.Anchored = false
  408. Head.BrickColor = BrickColor.new("Really black")
  409. Weld = Instance.new("Weld", char)
  410. Weld.Part0 = char["Head"]
  411. Weld.Part1 = Head
  412. Weld.C1 = CFrame.new(0,-.2,0)*CFrame.Angles(0,(0),0)
  413. ------------------------------------------------------------
  414. for _, a in pairs(char:children()) do
  415. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  416. a:Destroy()
  417. end
  418. end
  419. local s = Instance.new('Shirt', char)
  420. s.ShirtTemplate = "rbxassetid://713591443"
  421. local p = Instance.new('Pants', char)
  422. p.PantsTemplate = "rbxassetid://419694463"
  423. Instance.new("ForceField",char).Visible = false
  424. local poo = Instance.new("IntValue",char)
  425. poo.Name = "haha nope"
  426. char.Humanoid.MaxHealth = math.huge
  427. wait()
  428. char.Humanoid.Health = math.huge
  429. Instance.new("ForceField",char).Visible = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement