Advertisement
Ban43_GodOfEdits

antsrnkj

Aug 4th, 2018
238
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.52 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. g.RunService = FakeService({
  124. RenderStepped = _rg:GetService("RunService").Heartbeat,
  125. BindToRenderStep = function(self,name,_,fun)
  126. self._btrs[name] = self.Heartbeat:Connect(fun)
  127. end,
  128. UnbindFromRenderStep = function(self,name)
  129. self._btrs[name]:Disconnect()
  130. end,
  131. },"RunService")
  132.  
  133. setmetatable(g,{
  134. __index=function(self,s)
  135. return _rg:GetService(s) or typeof(_rg[s])=="function"
  136. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  137. end,
  138. __newindex = fsmt.__newindex,
  139. __call = fsmt.__call
  140. })
  141. --Changing owner to fake player object to support owner:GetMouse()
  142. game,owner = g,g.Players.LocalPlayer
  143. end
  144. --Converted with ttyyuu12345's model to script plugin v4
  145. --Converted with ttyyuu12345's model to script plugin v4
  146. function sandbox(var,func)
  147. local env = getfenv(func)
  148. local newenv = setmetatable({},{
  149. __index = function(self,k)
  150. if k=="script" then
  151. return var
  152. else
  153. return env[k]
  154. end
  155. end,
  156. })
  157. setfenv(func,newenv)
  158. return func
  159. end
  160. cors = {}
  161. mas = Instance.new("Model",game:GetService("Lighting"))
  162. ScreenGui0 = Instance.new("ScreenGui")
  163. LocalScript1 = Instance.new("LocalScript")
  164. Sound2 = Instance.new("Sound")
  165. Sound3 = Instance.new("Sound")
  166. Sound4 = Instance.new("Sound")
  167. Animation5 = Instance.new("Animation")
  168. Animation6 = Instance.new("Animation")
  169. Frame7 = Instance.new("Frame")
  170. Frame8 = Instance.new("Frame")
  171. TextButton9 = Instance.new("TextButton")
  172. LocalScript10 = Instance.new("LocalScript")
  173. TextButton11 = Instance.new("TextButton")
  174. Model12 = Instance.new("Model")
  175. Script13 = Instance.new("Script")
  176. ScreenGui0.Name = "Antman"
  177. ScreenGui0.Parent = mas
  178. LocalScript1.Name = "SyringeScript"
  179. LocalScript1.Parent = ScreenGui0
  180. table.insert(cors,sandbox(LocalScript1,function()
  181. -- Made By SolarCrane
  182. wait(5)
  183. player=game.Players.LocalPlayer
  184. Char=player.Character
  185. alphaframe=script.Parent:WaitForChild('Frame1')
  186. gui=alphaframe.Frame2.TextButton
  187. model=Instance.new('Model')
  188. model.Name='LimbCloneBin'
  189. model.Parent=Char
  190. -- Waits for the child of the specified parent
  191.  
  192.  
  193. -- This may be less typing if we made this a table index by their part names
  194.  
  195. local Tool = script.Parent
  196. local Handle = script
  197.  
  198. local MyHumanoid
  199. local MyCharacter
  200.  
  201. local PlayersService = Game:GetService('Players')
  202.  
  203. local InjectTrack
  204. local EnrageTrack
  205.  
  206. local InjectSound
  207. local EnrageSound
  208. local SwooshSound
  209.  
  210.  
  211.  
  212. local function ParseBodyPartEnum(bodyPartName)
  213. local result = Enum.BodyPart.Head
  214. if bodyPartName == "Left Arm" then
  215. result = Enum.BodyPart.LeftArm
  216. elseif bodyPartName == "Right Arm" then
  217. result = Enum.BodyPart.RightArm
  218. elseif bodyPartName == "Left Leg" then
  219. result = Enum.BodyPart.LeftLeg
  220. elseif bodyPartName == "Right Leg" then
  221. result = Enum.BodyPart.RightLeg
  222. elseif bodyPartName == "Torso" then
  223. result = Enum.BodyPart.Torso
  224. end
  225. return result
  226. end
  227.  
  228.  
  229.  
  230. function FadeEffect()
  231. ct=Char.Torso:Clone()
  232. ct.BrickColor=BrickColor.new(" black")
  233. ct.Material=Enum.Material.Neon
  234. ct:ClearAllChildren()
  235. ct.CanCollide=false
  236. ct.Transparency=.95
  237. ct.Anchored=true
  238. ct.Parent=workspace
  239. game.Debris:AddItem(ct,.25)
  240. ch=Char.Head:Clone()
  241. ch.BrickColor=BrickColor.new(" black")
  242. ch.Material=Enum.Material.Neon
  243. ch:ClearAllChildren()
  244. ch.CanCollide=false
  245. ch.Transparency=.95
  246. ch.Anchored=true
  247. ch.Parent=workspace
  248. game.Debris:AddItem(ch,.25)
  249. cll=Char['Left Leg']:Clone()
  250. cll.BrickColor=BrickColor.new(" black")
  251. cll.Material=Enum.Material.Neon
  252. cll:ClearAllChildren()
  253. cll.CanCollide=false
  254. cll.Transparency=.95
  255. cll.Anchored=true
  256. cll.Parent=workspace
  257. game.Debris:AddItem(cll,.25)
  258. crl=Char['Right Leg']:Clone()
  259. crl.BrickColor=BrickColor.new(" black")
  260. crl.Material=Enum.Material.Neon
  261. crl:ClearAllChildren()
  262. crl.CanCollide=false
  263. crl.Transparency=.95
  264. crl.Anchored=true
  265. crl.Parent=workspace
  266. game.Debris:AddItem(crl,.25)
  267. cla=Char['Left Arm']:Clone()
  268. cla.Material=Enum.Material.Neon
  269. cla.BrickColor=BrickColor.new(" black")
  270. cla:ClearAllChildren()
  271. cla.CanCollide=false
  272. cla.Transparency=.95
  273. cla.Anchored=true
  274. cla.Parent=workspace
  275. game.Debris:AddItem(cla,.25)
  276. cra=Char['Right Arm']:Clone()
  277. cra.Material=Enum.Material.Neon
  278. cra.BrickColor=BrickColor.new("Really black")
  279. cra:ClearAllChildren()
  280. cra.CanCollide=false
  281. cra.Transparency=.95
  282. cra.Anchored=true
  283. cra.Parent=workspace
  284. game.Debris:AddItem(cra,.1)
  285. end
  286.  
  287. -------------------------------- AWESOME CODE EXCEPT FROM HOTTHOTH COMMANDS; MORE TO COME -------------------------
  288.  
  289. local foundObjectList = {}
  290. local foundObjectIndex = 1
  291. local function findObjectHelper(model, objectName, className, listOfFoundObjects)
  292. if not model then return end
  293. local findStart, findEnd = string.find(model.Name, objectName)
  294. if findStart == 1 and findEnd == #(model.Name) then -- must match entire name
  295. if not className or model.className == className or (pcall(model.IsA, model, className) and model:IsA(className)) then
  296. table.insert(listOfFoundObjects, model)
  297. end
  298. end
  299. if pcall(model.GetChildren, model) then
  300. local modelChildren = model:GetChildren()
  301. for i = 1, #modelChildren do
  302. -- make sure not to resize tools, things tend to get complicated if we do
  303. findObjectHelper(modelChildren[i], objectName, className, listOfFoundObjects)
  304. end
  305. end
  306. end
  307.  
  308. local function resizeModelInternal(model, resizeFactor)
  309. local modelCFrame = model:GetModelCFrame()
  310. local modelSize = model:GetModelSize()
  311. local baseParts = {}
  312. local basePartCFrames = {}
  313. local joints = {}
  314. local jointParents = {}
  315. local meshes = {}
  316.  
  317. findObjectHelper(model, ".*", "BasePart", baseParts)
  318. findObjectHelper(model, ".*", "JointInstance", joints)
  319.  
  320. -- meshes don't inherit from anything accessible?
  321. findObjectHelper(model, ".*", "FileMesh", meshes) -- base class for SpecialMesh and FileMesh
  322. findObjectHelper(model, ".*", "CylinderMesh", meshes)
  323. findObjectHelper(model, ".*", "BlockMesh", meshes)
  324.  
  325. -- store the CFrames, so our other changes don't rearrange stuff
  326. for _, basePart in pairs(baseParts) do
  327. basePartCFrames[basePart] = basePart.CFrame
  328. end
  329.  
  330. -- scale meshes
  331. for _,mesh in pairs(meshes) do
  332. -- This is a nasty hack because head meshes scale relative to the part's size
  333. -- thus scaling the mesh and the head gives u 2x the size
  334. if mesh.Parent.Name ~= "Head" then
  335. mesh.Scale = mesh.Scale * resizeFactor
  336. end
  337. end
  338.  
  339. -- scale joints
  340. for _, joint in pairs(joints) do
  341. joint.C0 = joint.C0 + (joint.C0.p) * (resizeFactor - 1)
  342. joint.C1 = joint.C1 + (joint.C1.p) * (resizeFactor - 1)
  343. jointParents[joint] = joint.Parent
  344. end
  345.  
  346. -- scale parts and reposition them within the model
  347. for _, basePart in pairs(baseParts) do
  348. if pcall(function() basePart.FormFactor = "Custom" end) then basePart.FormFactor = "Custom" end
  349. basePart.Size = basePart.Size * resizeFactor
  350. local oldCFrame = basePartCFrames[basePart]
  351. local oldPositionInModel = modelCFrame:pointToObjectSpace(oldCFrame.p)
  352. local distanceFromCorner = oldPositionInModel + modelSize/2
  353. distanceFromCorner = distanceFromCorner * resizeFactor
  354.  
  355. local newPositionInSpace = modelCFrame:pointToWorldSpace(distanceFromCorner - modelSize/2)
  356. basePart.CFrame = oldCFrame - oldCFrame.p + newPositionInSpace
  357. end
  358.  
  359. -- pop the joints back, because they prolly got borked
  360. for _, joint in pairs(joints) do
  361. joint.Parent = jointParents[joint]
  362. end
  363.  
  364. return model
  365. end
  366.  
  367. local function resizeImplementation(modelList, resizeFactor)
  368. if type(modelList) ~= "table" then modelList = {modelList} end
  369.  
  370. for _, model in pairs(modelList) do
  371. --if model.Name ~= "BackPack" then
  372. resizeModelInternal(model, resizeFactor)
  373. -- end
  374. end
  375. return modelList
  376. end
  377.  
  378. ------------------------------------------------------------------------------------------------------------------
  379. local attacking = false
  380. local HitCharacters = {}
  381.  
  382.  
  383. function OnActivate()
  384. if gui.Text=='Grow' then
  385. factor=(2^(1/4.32))
  386. elseif gui.Text=='Shrink' then
  387. factor=(.5^(1/4.32))
  388. end
  389. if (MyHumanoid and MyHumanoid.Health <= 0) or attacking or MyHumanoid.Parent.Head.Size.Z*(factor^10)<0.2 then return end
  390. attacking = true
  391. if InjectSound then
  392. InjectSound:Play()
  393. end
  394. if InjectTrack then
  395. InjectTrack:Play()
  396. end
  397. Delay(0.2, (function() if EnrageSound then EnrageSound:Play() end end))
  398.  
  399. local character = localPlayer.Character
  400. for i = 1, 10 do
  401. resizeImplementation(character, factor)
  402. FadeEffect()
  403. wait(0.02)
  404. end
  405. MyHumanoid.JumpPower=75
  406. MyHumanoid.WalkSpeed=32
  407. wait(0.03)
  408.  
  409. HitCharacters = {}
  410. wait(0.2)
  411. attacking = false
  412. end
  413.  
  414. local Equipping = false
  415.  
  416. MyHumanoid = Char:WaitForChild('Humanoid')
  417. InjectTrack = MyHumanoid:LoadAnimation(script:WaitForChild('Inject'))
  418. EnrageTrack = MyHumanoid:LoadAnimation(script:WaitForChild('Enrage'))
  419. InjectSound = Handle:WaitForChild('Absorb')
  420. EnrageSound = Handle:WaitForChild('Rage')
  421. SwooshSound = Handle:WaitForChild('Swoosh')
  422.  
  423. script.Parent.Frame1.Go.MouseButton1Click:connect(OnActivate)
  424.  
  425. end))
  426. Sound2.Name = "Absorb"
  427. Sound2.Parent = LocalScript1
  428. Sound2.SoundId = "http://www.roblox.com/asset/?id=181004943"
  429. Sound3.Name = "Rage"
  430. Sound3.Parent = LocalScript1
  431. Sound3.SoundId = "http://www.roblox.com/asset/?id=181004957"
  432. Sound4.Name = "Swoosh"
  433. Sound4.Parent = LocalScript1
  434. Sound4.Pitch = 1.2000000476837
  435. Sound4.SoundId = "rbxasset://sounds/swoosh.wav"
  436. Sound4.Volume = 1
  437. Animation5.Name = "Enrage"
  438. Animation5.Parent = LocalScript1
  439. Animation5.AnimationId = "http://www.roblox.com//Asset?ID=93648331"
  440. Animation6.Name = "Inject"
  441. Animation6.Parent = LocalScript1
  442. Animation6.AnimationId = "http://www.roblox.com/Asset?ID=93642075"
  443. Frame7.Name = "Frame1"
  444. Frame7.Parent = ScreenGui0
  445. Frame7.Transparency = 1
  446. Frame7.Size = UDim2.new(0, 300, 0, 250)
  447. Frame7.BackgroundColor3 = Color3.new(1, 1, 1)
  448. Frame7.BackgroundTransparency = 1
  449. Frame7.BorderSizePixel = 0
  450. Frame8.Name = "Frame2"
  451. Frame8.Parent = Frame7
  452. Frame8.Size = UDim2.new(1, 0, 0.800000012, 0)
  453. Frame8.Style = Enum.FrameStyle.RobloxRound
  454. Frame8.BackgroundColor3 = Color3.new(1, 1, 1)
  455. Frame8.ZIndex = 2
  456. TextButton9.Parent = Frame8
  457. TextButton9.Size = UDim2.new(1, 0, 1, 0)
  458. TextButton9.Text = "Shrink"
  459. TextButton9.BackgroundColor3 = Color3.new(0, 0, 0)
  460. TextButton9.BorderColor3 = Color3.new(1, 0, 0)
  461. TextButton9.ZIndex = 3
  462. TextButton9.FontSize = Enum.FontSize.Size14
  463. TextButton9.TextColor3 = Color3.new(1, 0, 0)
  464. TextButton9.TextScaled = true
  465. TextButton9.TextWrapped = true
  466. LocalScript10.Parent = Frame8
  467.  
  468. table.insert(cors,sandbox(LocalScript10,function()
  469. c=1
  470. script.Parent.TextButton.MouseButton1Click:connect(function()
  471. if c==1 then
  472. c=2
  473. script.Parent.TextButton.Text='Grow'
  474. script.Parent.TextButton.TextColor3=Color3.new(0,0,255)
  475. script.Parent.TextButton.BorderColor3=Color3.new(0,0,255)
  476. elseif c==2 then
  477. c=1
  478. script.Parent.TextButton.Text='Shrink'
  479. script.Parent.TextButton.TextColor3=Color3.new(255,0,0)
  480. script.Parent.TextButton.BorderColor3=Color3.new(255,0,0)
  481. end
  482. end)
  483. end))
  484. TextButton11.Name = "Go"
  485. TextButton11.Parent = Frame7
  486. TextButton11.Size = UDim2.new(1, 0, 0.200000003, 0)
  487. TextButton11.Style = Enum.ButtonStyle.RobloxButton
  488. TextButton11.Text = "Activate"
  489. TextButton11.Position = UDim2.new(0, 0, 0.800000012, 0)
  490. TextButton11.BackgroundColor3 = Color3.new(1, 1, 1)
  491. TextButton11.Font = Enum.Font.SourceSans
  492. TextButton11.FontSize = Enum.FontSize.Size14
  493. TextButton11.TextColor3 = Color3.new(1, 1, 1)
  494. TextButton11.TextScaled = true
  495. TextButton11.TextWrapped = true
  496. Model12.Parent = ScreenGui0
  497. Script13.Parent = ScreenGui0
  498. table.insert(cors,sandbox(Script13,function()
  499. script.Parent["Antman"].Parent=game.StarterGui
  500. script.Parent.Display:Destroy()
  501. game.Debris:AddItem(script.Parent,.1)
  502. end))
  503. for i,v in pairs(mas:GetChildren()) do
  504. v.Parent = game:GetService("Players").LocalPlayer.PlayerGui
  505. pcall(function() v:MakeJoints() end)
  506. end
  507. mas:Destroy()
  508. for i,v in pairs(cors) do
  509. spawn(function()
  510. pcall(v)
  511. end)
  512. end
  513. ----------------------Clothes-------------------------------
  514. --[Quicksilver edit by Bannaboy43 (only make edits cant stcipt ihml if this gets leaked tell people to send me scripts to make edits)
  515. wait(1 / 60)
  516. p = game.Players.LocalPlayer
  517. char = p.Character
  518. torso = char.Torso
  519. neck = char.Torso.Neck
  520. hum = char.Humanoid
  521.  
  522. wait()
  523. hum.Health =hum.MaxHealth
  524. char.Head.face.Texture = "rbxassetid://166951215"
  525.  
  526.  
  527.  
  528. z = Instance.new("Sound", char)
  529. z.SoundId = "rbxassetid://287533277" -- Put Music ID Here.
  530. z.Looped = true
  531. z.Volume = 2
  532. wait(.1)
  533. z:Play()
  534.  
  535.  
  536.  
  537. ----------------------------------------------------
  538. -------------Head---------------------------------
  539. char:FindFirstChildOfClass'Humanoid'.JumpPower = 100
  540.  
  541. Head = Instance.new("Part", char)
  542. Head.Size = Vector3.new(1,1,1)
  543. Headmesh = Instance.new("SpecialMesh", Head)
  544. Headmesh.MeshId = "rbxassetid://1753337447"
  545. Headmesh.Scale = Vector3.new(0.275, 0.27, 0.27)
  546. Headmesh.TextureId = "rbxassetid://1753346813"
  547. Head.Transparency = 0
  548. Head.CanCollide = false
  549. Head.Name = "plrHead"
  550. Head.Anchored = false
  551. Head.BrickColor = BrickColor.new("Really black")
  552. Weld = Instance.new("Weld", char)
  553. Weld.Part0 = char["Head"]
  554. Weld.Part1 = Head
  555. Weld.C1 = CFrame.new(0,-.2,0)*CFrame.Angles(0,(0),0)
  556. ------------------------------------------------------------
  557. for _, a in pairs(char:children()) do
  558. if a:IsA'Accessory' or a:IsA'CharacterMesh' or a:IsA'Pants' or a:IsA'Shirt' then
  559. a:Destroy()
  560. end
  561. end
  562. local s = Instance.new('Shirt', char)
  563. s.ShirtTemplate = "rbxassetid://713591443"
  564. local p = Instance.new('Pants', char)
  565. p.PantsTemplate = "rbxassetid://419694463"
  566. Instance.new("ForceField",char).Visible = false
  567. local poo = Instance.new("IntValue",char)
  568. poo.Name = "haha nope"
  569. char.Humanoid.MaxHealth = math.huge
  570. wait()
  571. char.Humanoid.Health = math.huge
  572. Instance.new("ForceField",char).Visible = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement