ActiniumDevs

mlg probe (fixed/created by 12GaugeNick)

Oct 30th, 2015
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.21 KB | None | 0 0
  1. -- MLG Probe - build: 1.455.2
  2. -- Made by 12GaugeNick
  3.  
  4. -- Fixed version
  5. wait()
  6. local Player = game:service'Players'.LocalPlayer
  7. local Mouse = Player:GetMouse()
  8. local RbxU = LoadLibrary'RbxUtility'
  9. local Create = RbxU.Create
  10. local Cam = workspace.CurrentCamera
  11. local SID = 209511574
  12. local Ns = script:Clone()
  13.  
  14. Ns.Parent = game.Lighting
  15. Ns.Disabled = true
  16. Ns.Name = "MPS"
  17.  
  18. local Environment = getfenv(getmetatable(LoadLibrary"RbxUtility".Create).__call)
  19. local oxbox = getfenv()
  20. setfenv(1, setmetatable({print=print}, {__index = Environment}))
  21. Environment.coroutine.yield()
  22. oxbox.script:remove()
  23.  
  24.  
  25. local Services = {
  26. work = game:service'Workspace',
  27. lighting = game:service'Lighting',
  28. debris = game:service'Debris',
  29. run = game:GetService('RunService'),
  30. }
  31.  
  32. local EarthPart = nil
  33. local BagPart = nil
  34. local CanPart = nil
  35. local GunPart = nil
  36. local HeadPart = nil
  37. local KnifePart = nil
  38.  
  39. local function Probe()
  40. if EarthPart ~= nil and workspace:FindFirstChild(EarthPart.Name,true) then
  41. EarthPart:remove()
  42. EarthPart = nil
  43. end
  44. local Earth = Create'Part'{CFrame=Cam.Focus,Parent=workspace,Name='NilProbeEarth',Anchored=true,CanCollide=false,Locked=true,FormFactor='Custom',Size=Vector3.new(.2,.2,.2)}
  45. local EarthMesh = Create'SpecialMesh'{Parent=Earth,MeshId='http://www.roblox.com/asset/?id=10061232',Scale=Vector3.new(3,3,3),TextureId='http://www.roblox.com/asset/?id=10061209'}
  46. local Bag = Create'Part'{Parent=Earth,Anchored=true,CanCollide=false,Locked=true,FormFactor='Custom',Size=Vector3.new(.2,.2,.2)}
  47. local BagMesh = Create'SpecialMesh'{Parent=Bag,MeshId='http://www.roblox.com/asset/?id=19106014',Scale=Vector3.new(1,1,1),TextureId='http://www.roblox.com/asset/?id=37305301'}
  48. local Can = Create'Part'{Parent=Earth,Anchored=true,CanCollide=false,Locked=true,FormFactor='Custom',Size=Vector3.new(.2,.2,.2)}
  49. local CanMesh = Create'SpecialMesh'{Parent=Can,MeshId='http://www.roblox.com/asset/?id=10470609',Scale=Vector3.new(1.2,1.2,1.2),TextureId='http://www.roblox.com/asset/?id=10550002'}
  50. local Gun = Create'Part'{Parent=Earth,Anchored=true,Locked=true,FormFactor='Custom',Size=Vector3.new(.2,.2,.2)}
  51. local GunMesh = Create'SpecialMesh'{Parent=Gun,MeshId='http://www.roblox.com/asset/?id=94219391',Scale=Vector3.new(.75,.75,.75),TextureId='http://www.roblox.com/asset/?id=94219470'}
  52. local Headphones = Create'Part'{Parent=Earth,Anchored=true,CanCollide=false,Locked=true,FormFactor='Custom',Size=Vector3.new(.2,.2,.2)}
  53. local HeadphonesMesh = Create'SpecialMesh'{Parent=Headphones,MeshId='http://www.roblox.com/asset/?id=99878143',Scale=Vector3.new(1,1,1),TextureId='http://www.roblox.com/asset/?id=151491772'}
  54. local Knife = Create'Part'{Parent=Earth,Anchored=true,CanCollide=false,Locked=true,FormFactor='Custom',Size=Vector3.new(.2,.2,.2)}
  55. local KnifeMesh = Create'SpecialMesh'{Parent=Knife,MeshId='http://www.roblox.com/asset/?id=121944778',Scale=Vector3.new(.7,.7,.7),TextureId='http://www.roblox.com/asset/?id=177974585'}
  56. local Sound = Create'Sound'{Parent=Earth,Volume=.4,SoundId='rbxassetid://'..tonumber(SID),Looped=true}
  57. Earth.Changed:connect(function()
  58. if (not(workspace:FindFirstChild(Earth.Name,true))) then
  59. Probe()
  60. end
  61. end)
  62. Sound:Play()
  63. BagPart = Bag
  64. CanPart = Can
  65. GunPart = Gun
  66. HeadPart = Headphones
  67. KnifePart = Knife
  68. EarthPart = Earth
  69. end Probe()
  70.  
  71. Cam.CameraType = "Fixed"
  72. Cam.CameraSubject = nil
  73.  
  74. local Commands = {}
  75. CheckChat = function(msg)
  76. local CmdRun = false
  77. for i,v in pairs(Commands) do
  78. if msg:lower():sub(1,#(v.Cmd..'/')) == v.Cmd..'/' then
  79. msg = msg:sub(#(v.Cmd..'/')+1)
  80. CmdRun = true
  81. return v.Func(msg)
  82. end
  83. end
  84. if not CmdRun then
  85. NewChat(msg)
  86. end
  87. end
  88.  
  89. GetPlr = function(plr,msg)
  90. local Plrs = {}
  91. if msg:lower():sub(1,2) == 'me' then
  92. table.insert(Plrs,plr)
  93. elseif msg:lower():sub(1,6) == 'others' then
  94. for i,v in pairs(game:service'Players':GetPlayers()) do
  95. if v.userId ~= plr.userId then
  96. table.insert(Plrs,v)
  97. end
  98. end
  99. elseif msg:lower():sub(1,3) == 'all' then
  100. for i,v in pairs(game:service'Players':GetPlayers()) do
  101. table.insert(Plrs,v)
  102. end
  103. else
  104. for i,v in pairs(game:service'Players':GetPlayers()) do
  105. if v.Name:lower():find(msg:lower()) then
  106. table.insert(Plrs,v)
  107. end
  108. end
  109. end
  110. return Plrs
  111. end
  112.  
  113. NC = function(cmd,func)
  114. table.insert(Commands,{Cmd = cmd,Func = func})
  115. end
  116.  
  117. NC('refresh',function(msg)
  118. Probe()
  119. end)
  120.  
  121. NC('kick',function(msg)
  122. for i,v in next,GetPlr(game:service'Players'.LocalPlayer,msg) do
  123. pcall(function()
  124. v:Destroy()
  125. end)
  126. end
  127. end)
  128.  
  129. NC('mlg',function(msg)
  130. for i,v in next,GetPlr(game:service'Players'.LocalPlayer,msg) do
  131. --pcall(function()
  132. print(v)
  133. for i,s in next,game:service'Lighting':children() do
  134. if s.Name == "MPS" then
  135. NewChat("Found local, loadstring\'ing to "..tostring(v))
  136. local NSs = Ns:Clone()
  137. NSs.Parent = v:FindFirstChild("PlayerGui",true)
  138. NSs.Disabled = false
  139. wait(1)
  140. NewChat("Loaded local to "..tostring(v))
  141. end
  142. end
  143. --end)
  144. end
  145. end)
  146.  
  147. NC('kill',function(msg)
  148. for i,v in next,GetPlr(game:service'Players'.LocalPlayer,msg) do
  149. pcall(function()
  150. v.Character:BreakJoints()
  151. end)
  152. end
  153. end)
  154.  
  155. NC('music',function(msg)
  156. if msg == nil or msg == "" then return end
  157. SID = msg
  158. Probe()
  159. NewChat('Music is now '..game:GetService('MarketplaceService'):GetProductInfo(tonumber(SID)).Name)
  160. end)
  161.  
  162. NewChat = function(msg) spawn(function()
  163. if not EarthPart:FindFirstChild("ChatGui",true) then
  164. local BG = Instance.new('BillboardGui')
  165. BG.Parent=EarthPart
  166. BG.Name = "ChatUI"
  167. BG.Size=UDim2.new(5,0,3,0)
  168. BG.StudsOffset=Vector3.new(0,4.8,0)
  169. local PN = Instance.new('TextLabel')
  170. PN.Parent=BG
  171. PN.BackgroundTransparency=1
  172. PN.Position=UDim2.new(0,0,.98,0)
  173. PN.Size=UDim2.new(1,0,.3,0)
  174. PN.ZIndex=2
  175. PN.Font='SourceSansBold'
  176. PN.FontSize='Size18'
  177. PN.TextColor3=Color3.new(0/255,0/255,255/255)
  178. PN.Text=Player.Name..' :MLG-PROBE'
  179. end
  180. if #msg ~= 50 then
  181. local PCB = Instance.new('TextLabel')
  182. PCB.Parent=EarthPart:FindFirstChild('ChatUI',true)
  183. PCB.BackgroundColor3=Color3.new(255/255,255/255,255/255)
  184. PCB.BackgroundTransparency=1
  185. PCB.Position=UDim2.new(0,0,.9,0)
  186. PCB.Size=UDim2.new(1,0,.15,0)
  187. PCB.ZIndex=3
  188. PCB.Font='ArialBold'
  189. PCB.FontSize='Size24'
  190. PCB.TextColor3=Color3.new(255/255,255/255,255/255)
  191. PCB.TextTransparency=1
  192. msg = '[MLG-PROBE]: '..msg:gsub('','\5')
  193. spawn(function()
  194. for i = .1,1,.1 do
  195. PCB.TextTransparency = PCB.TextTransparency -.1
  196. Services.run.RenderStepped:wait()
  197. end
  198. end)
  199. for v = 1, #msg do
  200. PCB.Text = string.sub(msg,1,v)
  201. Services.run.RenderStepped:wait()
  202. end
  203. delay(wait(),function()
  204. while wait(.15) do
  205. PCB.TextColor3 = BrickColor.Random().Color
  206. end
  207. end)
  208. PCB:TweenPosition(UDim2.new(0,0,0,0),'In','Linear',2.7)
  209. wait(3)
  210. for i = .1,1,.1 do
  211. PCB.TextTransparency = PCB.TextTransparency +.1
  212. Services.run.Stepped:wait()
  213. end
  214. PCB:remove()
  215. end
  216. end) end
  217.  
  218. game:service'StarterGui':GetCoreGuiEnabled('All',true)
  219. Player.Chatted:connect(function(msg)
  220. print'chatted'
  221. if msg:lower():sub(1,3) == '/e ' then
  222. msg = msg:sub(4)
  223. end
  224. CheckChat(msg)
  225. end)
  226.  
  227. local Num = 1 local Num2 = .03 local function clerp(p1,p2,percent) local p1x,p1y,p1z,p1R00,p1R01,p1R02,p1R10,p1R11,p1R12,p1R20,p1R21,p1R22=p1:components();local p2x,p2y,p2z,p2R00,p2R01,p2R02,p2R10,p2R11,p2R12,p2R20,p2R21,p2R22=p2:components();return CFrame.new(p1x+percent*(p2x-p1x),p1y+percent*(p2y-p1y),p1z+percent*(p2z-p1z),p1R00+percent*(p2R00-p1R00),p1R01+percent*(p2R01-p1R01),p1R02+percent*(p2R02-p1R02),p1R10+percent*(p2R10-p1R10),p1R11+percent*(p2R11-p1R11),p1R12+percent*(p2R12-p1R12),p1R20+percent*(p2R20-p1R20),p1R21+percent*(p2R21-p1R21),p1R22+percent*(p2R22-p1R22)) end
  228. Services.run.Stepped:connect(function()
  229. local r,e = ypcall(function()
  230. Num = Num + Num2
  231. if EarthPart ~= nil then
  232. local EPos = EarthPart.CFrame.p
  233. EarthPart.CFrame = clerp(EarthPart.CFrame,CFrame.new(Cam.Focus.p)*CFrame.Angles(0,Num*.13,0)*CFrame.new(0,math.sin(Num),0)*CFrame.fromEulerAnglesXYZ(Num/2,Num/2,Num/2),.1)
  234. BagPart.CFrame = clerp(BagPart.CFrame,CFrame.new(EPos)*CFrame.Angles(0,Num*2.1,0)*CFrame.new(3.1,math.sin(Num*.13),0)*CFrame.fromEulerAnglesXYZ(Num,Num,Num),.17)
  235. CanPart.CFrame = clerp(CanPart.CFrame,CFrame.new(EPos)*CFrame.Angles(0,Num*1.2,0)*CFrame.new(3.8,math.sin(Num*.1),0)*CFrame.fromEulerAnglesXYZ(Num,Num,Num),.17)
  236. GunPart.CFrame = clerp(GunPart.CFrame,CFrame.new(EPos)*CFrame.Angles(0,Num*.7,0)*CFrame.new(5.1,math.sin(Num*.17),0)*CFrame.fromEulerAnglesXYZ(Num,Num,Num),.17)
  237. HeadPart.CFrame = clerp(HeadPart.CFrame,CFrame.new(EPos)*CFrame.Angles(0,Num*2.3,0)*CFrame.new(4.1,math.sin(Num*2.1),0)*CFrame.fromEulerAnglesXYZ(Num,Num,Num),.17)
  238. KnifePart.CFrame = clerp(KnifePart.CFrame,CFrame.new(EPos)*CFrame.Angles(0,Num*1.8,0)*CFrame.new(3.5,math.sin(Num*3.1),0)*CFrame.fromEulerAnglesXYZ(Num,Num,Num),.17)
  239. end
  240. end)
  241. end)
  242.  
  243. Mouse.KeyDown:connect(function(key)
  244. if key == "x" then
  245. local obj = Mouse.Target
  246. obj:Destroy()
  247. end
  248. end)
  249.  
  250. Mouse.Button1Down:connect(function()
  251. if Mouse.Target ~= nil and Mouse.Hit ~= nil then
  252. spawn(function()
  253. local Dist = ((EarthPart.Position-Mouse.Hit.p).magnitude)
  254. local Bullet = Create'Part'{BrickColor=BrickColor.new('New Yeller'),Parent=GunPart,Name='Bullet',Anchored=true,CanCollide=true,Locked=true,FormFactor='Custom'}
  255. Bullet.Size=Vector3.new(.2,Dist,.2)
  256. Bullet.CFrame = CFrame.new(GunPart.Position,Mouse.Hit.p)
  257. * CFrame.new(0,0,-Dist/2.3)
  258. * CFrame.Angles(math.pi/2,0,0)
  259. pcall(function()
  260. local obj = Mouse.Target
  261. if obj.ClassName == 'Part' and obj ~= Bullet then
  262. if obj.Name == 'Head' then
  263. local HeadSound = Instance.new("Sound",obj) HeadSound.Pitch = 1 HeadSound.Volume = 1 HeadSound.Looped = false HeadSound.SoundId = "rbxassetid://131313234"
  264. HeadSound:Play()
  265. if obj.Parent:FindFirstChild('Humanoid',true) then
  266. for _,charobj in ipairs(obj.Parent:GetChildren()) do
  267. if charobj.ClassName == 'Part' then
  268. charobj.BrickColor = BrickColor.Black()
  269. end
  270. pcall(function() charobj:MakeJoints() end)
  271. if charobj.ClassName == 'BodyColors' then
  272. charobj.HeadColor = BrickColor.Black()
  273. charobj.LeftArmColor = BrickColor.Black()
  274. charobj.LeftLegColor = BrickColor.Black()
  275. charobj.RightArmColor = BrickColor.Black()
  276. charobj.RightLegColor = BrickColor.Black()
  277. charobj.TorsoColor = BrickColor.Black()
  278. end
  279. end
  280. obj.Parent.Humanoid.Health = 0
  281. end
  282. if obj.Parent:FindFirstChild('Humanoid',true) then
  283. obj.Died:connect(function()
  284. local HeadSound = Instance.new("Sound",obj) HeadSound.Pitch = 1 HeadSound.Volume = 1 HeadSound.Looped = false HeadSound.SoundId = "rbxassetid://131979189"
  285. HeadSound:Play()
  286. end)
  287. end
  288. else
  289. if obj.Parent:FindFirstChild('Humanoid',true) then
  290. obj.Parent.Humanoid.Health = obj.Parent.Humanoid.Health - 15
  291. end
  292. if obj.Parent:FindFirstChild('Humanoid',true) then
  293. obj.Died:connect(function()
  294. local HeadSound = Instance.new("Sound",obj) HeadSound.Pitch = 1 HeadSound.Volume = 1 HeadSound.Looped = false HeadSound.SoundId = "rbxassetid://131979189"
  295. HeadSound:Play()
  296. end)
  297. end
  298. end
  299. elseif obj.ClassName == 'Hat' and obj ~= Bullet then
  300. obj:remove()
  301. end
  302. end)
  303. local GunSound = Instance.new("Sound",workspace) GunSound.Pitch = 1 GunSound.Volume = .6 GunSound.Looped = false GunSound.SoundId = "rbxassetid://132456235"
  304. GunSound:Play()
  305. for i = 0,1,.1 do
  306. Bullet.Size = Bullet.Size + Vector3.new(.05,.05,.05)
  307. Bullet.Transparency = Bullet.Transparency + .1
  308. Services.run.RenderStepped:wait()
  309. end
  310. Bullet:remove()
  311. delay(8,function()
  312. GunSound:Destroy()
  313. end)
  314. end)
  315. end
  316. end)
  317.  
  318. Player.Character = nil;
  319. wait();
  320. Player.Parent=nil;
  321. NewChat('MLGProbe; Created by 12GaugeNick')
Add Comment
Please, Sign In to add comment