Advertisement
Aidenr24

Untitled

Jan 25th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.58 KB | None | 0 0
  1. function click()
  2. version="Pluvia"
  3. Selection=1
  4. TextBoxInUse=false
  5. Player=nil
  6. ColorSelection=BrickColor.new('Bright violet')
  7. Uninstalled=false
  8. Commands={}
  9. Scope=nil
  10. CustomFunction=""
  11. Services={
  12. InsertService=game:service'InsertService',
  13. Workspace=game:service'Workspace',
  14. Lighting=game:service'Lighting',
  15. Players=game:service'Players',
  16. Debris=game:service'Debris',
  17. Chat=game:service'Chat',
  18. }
  19. m=Services.Players.LocalPlayer:GetMouse()
  20. SGUI=Instance.new('ScreenGui',Services.Players.LocalPlayer.PlayerGui)
  21. BAR=Instance.new('Frame',SGUI)
  22. BAR.Size=UDim2.new(1,0,0,20)
  23. BAR.Position=UDim2.new(0,0,0,20)
  24. BAR.BorderSizePixel=0
  25. BAR.BackgroundColor3=Color3.new(0,0,0)
  26. TEXTBOX=Instance.new('TextLabel',BAR)
  27. TEXTBOX.Size=UDim2.new(1,0,1,0)
  28. TEXTBOX.BackgroundTransparency=1
  29. TEXTBOX.TextColor3=Color3.new(453,0,435)
  30. TEXTBOX.FontSize="Size12"
  31. PlayerCheck=function()
  32. if m.Target ~= nil then
  33. for i,v in ipairs(Services.Players:GetPlayers())do
  34. if(v.Character and m.Target:IsDescendantOf(v.Character))then
  35. return v;
  36. end;
  37. end;
  38. end
  39. end
  40. GUIRefresh=function()
  41. if not TextBoxInUse then
  42. local StartOp=""
  43. local EndOp=""
  44. if Selection > 1 then
  45. StartOp = Scope[Selection-1][1]
  46. end
  47. if Selection < #Scope then
  48. EndOp = Scope[Selection+1][1]
  49. end
  50. TEXTBOX.Text = "<-- "..StartOp.." | ["..Selection.."]: ["..Scope[Selection][1].."] | "..EndOp.." -->"
  51. end
  52. end
  53. GUIDisplay=function(string)
  54. TextBoxInUse=true
  55. for i = 1,string.len(string) do
  56. TEXTBOX.Text = string.sub(string,1,i).."_"
  57. wait(.05)
  58. end
  59. wait(string.len(string)/15)
  60. TextBoxInUse=false
  61. GUIRefresh()
  62. end
  63. Commands={
  64. {"Nex Pluvia",
  65. function()
  66. local ids = {63043890,19398258,1272714,20642008,1235488,11748356,10468797}
  67. if Commands[2][3] == true then
  68. for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  69. for _,x in pairs(ids) do
  70. if v.Name == "ExtraAsset" then
  71. v.Parent=nil
  72. end
  73. end
  74. end
  75. Commands[2][3] = false
  76. else
  77. for _,v in pairs(ids) do
  78. local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  79. NewAsset.Parent=Services.Players.LocalPlayer.Character
  80. NewAsset.Name = "ExtraAsset"
  81. end
  82. Commands[2][3] = true
  83. end
  84. end,
  85. false
  86. },
  87. {"Nex Pluvia",
  88. function()
  89. local ids = {21070012,1031429,108149175,14815761}
  90. if Commands[2][3] == true then
  91. for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  92. for _,x in pairs(ids) do
  93. if v.Name == "ExtraAsset" then
  94. v.Parent=nil
  95. end
  96. end
  97. end
  98. Commands[2][3] = false
  99. else
  100. for _,v in pairs(ids) do
  101. local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  102. NewAsset.Parent=Services.Players.LocalPlayer.Character
  103. NewAsset.Name = "ExtraAsset"
  104. end
  105. Commands[2][3] = true
  106. end
  107. end,
  108. false
  109. },
  110. {"Nex Pluvia",
  111. function()
  112. local ids = {1125510,14815761,1235488,11748356,1029025,108149175}
  113. if Commands[2][3] == true then
  114. for _,v in pairs(Services.Players.LocalPlayer.Character:GetChildren()) do
  115. for _,x in pairs(ids) do
  116. if v.Name == "ExtraAsset" then
  117. v.Parent=nil
  118. end
  119. end
  120. end
  121. Commands[2][3] = false
  122. else
  123. for _,v in pairs(ids) do
  124. local NewAsset = Services.InsertService:LoadAsset(v):GetChildren()[1]
  125. NewAsset.Parent=Services.Players.LocalPlayer.Character
  126. NewAsset.Name = "ExtraAsset"
  127. end
  128. Commands[2][3] = true
  129. end
  130. end,
  131. false
  132. },
  133. {"Fire*",
  134. function()
  135. if pcall(function() Services.Players.LocalPlayer.Character.Head.Fire.Parent=nil end) then
  136. else
  137. pcall(function()
  138. fire=Instance.new('Fire',Services.Players.LocalPlayer.Character.Head)
  139. fire.Size=3
  140. fire.Color=Color3.new(453,0,435)
  141. fire.SecondaryColor=Color3.new(453,0,435)
  142. end)
  143. end
  144. end
  145. },
  146. {"Invincibility*",
  147. function()
  148. pcall(function()
  149. if Services.Players.LocalPlayer.Character.Humanoid.MaxHealth==100 then
  150. Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=math.huge
  151. else
  152. Services.Players.LocalPlayer.Character.Humanoid.MaxHealth=100
  153. end
  154. end)
  155. end
  156. },
  157. {"Teleport*",
  158. function()
  159. if m.Target ~= nil then
  160. pcall(function() Services.Players.LocalPlayer.Character:MoveTo(m.Hit.p) end)
  161. end
  162. end
  163. },
  164. {"Teleport",
  165. function()
  166. if Player == nil and m.Target ~= nil then
  167. if PlayerCheck() then
  168. Player=PlayerCheck()
  169. end
  170. pcall(function()
  171. for _,v in pairs(Player.Character:GetChildren()) do
  172. if v:IsA('Part') then
  173. local sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  174. sb.Adornee = v
  175. sb.Name = "sb"
  176. sb.Color = BrickColor.new('Bright violet')
  177. end
  178. end
  179. end)
  180. elseif Player ~= nil then
  181. pcall(function()
  182. Player.Character:MoveTo(m.Hit.p)
  183. end)
  184. Player = nil
  185. for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  186. if v:IsA('SelectionBox') and v.Name == "sb" then
  187. v.Parent=nil
  188. end
  189. end
  190. end
  191. end
  192. },
  193. {"Kill",
  194. function()
  195. pcall(function() PlayerCheck().Character:BreakJoints() end)
  196. end
  197. },
  198. {"Invincibility",
  199. function()
  200. pcall(function()
  201. if PlayerCheck().Character.Humanoid.MaxHealth==100 then
  202. PlayerCheck().Character.Humanoid.MaxHealth=math.huge
  203. else
  204. PlayerCheck().Character.Humanoid.MaxHealth=100
  205. end
  206. end)
  207. end
  208. },
  209. {":BreakJoints()",
  210. function()
  211. pcall(function() m.Target:BreakJoints() end)
  212. end
  213. },
  214. {"Kick",
  215. function()
  216. pcall(function() PlayerCheck().Parent=nil end)
  217. end
  218. },
  219. {"Custom Function",
  220. function()
  221. Spawn(loadstring(CustomFunction))
  222. end
  223. },
  224. {"LinkedSword",
  225. function()
  226. Services.InsertService:LoadAsset(47433):GetChildren()[1].Parent=Services.Players.LocalPlayer.Backpack
  227. end
  228. },
  229. {":GetFullName()",
  230. function()
  231. if m.Target then
  232. local string = m.Target:GetFullName()
  233. if string then
  234. GUIDisplay(string)
  235. end
  236. else
  237. GUIDisplay("nil")
  238. end
  239. end
  240. },
  241. {"Humanoid", --Category
  242. function()
  243. Scope=Commands.Humanoid[3]
  244. Selection=1
  245. GUIRefresh()
  246. end,
  247. {
  248. {"Up Scope",
  249. function()
  250. Scope=Commands
  251. Selection=1
  252. GUIRefresh()
  253. end
  254. },
  255. {"Humanoid",
  256. function()
  257. if PlayerCheck() then
  258. if pcall(function() PlayerCheck().Character.Humanoid.Parent=nil end) then
  259. else
  260. pcall(function() Instance.new('Humanoid',PlayerCheck().Character) end)
  261. end
  262. end
  263. end
  264. },
  265. {"Remove Head",
  266. function()
  267. pcall(function() PlayerCheck().Character.Head.Parent=nil end)
  268. end
  269. },
  270. {"PlatformStand",
  271. function()
  272. pcall(function()
  273. if PlayerCheck().Character.Humanoid.PlatformStand==true then
  274. PlayerCheck().Character.Humanoid.PlatformStand=false
  275. else
  276. PlayerCheck().Character.Humanoid.PlatformStand=true
  277. end
  278. end)
  279. end
  280. },
  281. {"Sit",
  282. function()
  283. pcall(function()
  284. if PlayerCheck().Character.Humanoid.Sit==true then
  285. PlayerCheck().Character.Humanoid.Sit=false
  286. else
  287. PlayerCheck().Character.Humanoid.Sit=true
  288. end
  289. end)
  290. end
  291. },
  292. {"WalkSpeed",
  293. function()
  294. pcall(function()
  295. if PlayerCheck().Character.Humanoid.WalkSpeed==16 then
  296. PlayerCheck().Character.Humanoid.WalkSpeed=0
  297. else
  298. PlayerCheck().Character.Humanoid.WalkSpeed=16
  299. end
  300. end)
  301. end
  302. },
  303. }
  304. },
  305. {"Building", --Category
  306. function()
  307. Scope=Commands.Building[3]
  308. Selection=1
  309. GUIRefresh()
  310. end,
  311. {
  312. {"Up Scope",
  313. function()
  314. Scope=Commands
  315. Selection=1
  316. GUIRefresh()
  317. end
  318. },
  319. {"Color",
  320. function()
  321. pcall(function() m.Target.BrickColor = ColorSelection end)
  322. end
  323. },
  324. {"Color Picker",
  325. function()
  326. pcall(function() ColorSelection = m.Target.BrickColor end)
  327. end
  328. },
  329. {"Anchor",
  330. function()
  331. pcall(function() m.Target.Anchored=true end)
  332. end
  333. },
  334. {"Unanchor",
  335. function()
  336. pcall(function() m.Target.Anchored=false end)
  337. end
  338. },
  339. {"Decal",
  340. function()
  341. pcall(function()
  342. decal = Instance.new('Decal',m.Target)
  343. decal.Face = m.TargetSurface
  344. decal.Texture = "http://roblox.com/asset/?id=123659742"
  345. end)
  346. end
  347. },
  348. {"Decal2",
  349. function()
  350. pcall(function()
  351. decal = Instance.new('Decal',m.Target)
  352. decal.Face = m.TargetSurface
  353. decal.Texture = "http://roblox.com/asset/?id=121987185"
  354. end)
  355. end
  356. },
  357. {"Remove Decal",
  358. function()
  359. pcall(function()
  360. for _,v in pairs(m.Target:GetChildren()) do
  361. if v:IsA('Decal') then
  362. if v.Face == m.TargetSurface then
  363. v.Parent=nil
  364. end
  365. end
  366. end
  367. end)
  368. end
  369. },
  370. }
  371. },
  372. }
  373. for i,v in ipairs(Commands)do------------------------ALA_STUFF
  374. Commands[v[1]]=v;--------------------------------ALA_STUFF
  375. end;-------------------------------------------------ALA_STUFF
  376. Scope=Commands
  377. if script then
  378. script.Parent=Services.Players.LocalPlayer.PlayerGui
  379. script.Name="[Nex v"..version.."]"
  380. end
  381. coroutine.wrap(function() repeat wait() until Services.Players.LocalPlayer.Character
  382. Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." Installed",Enum.ChatColor.Blue)
  383. end)()
  384. GUIDisplay("..Nex Loaded - Made by Nex Pluvia...")
  385. QDown=false
  386. EDown=false
  387. m.KeyDown:connect(function(key)
  388. if not Uninstalled then
  389. if key == "q" then
  390. if not EDown then
  391. QDown=true
  392. repeat
  393. if Selection > 1 then
  394. Selection=Selection-1
  395. end
  396. GUIRefresh()
  397. wait(.25)
  398. until QDown == false
  399. end
  400. elseif key == "e" then
  401. if not QDown then
  402. EDown=true
  403. repeat
  404. if Selection < #Scope then
  405. Selection=Selection+1
  406. end
  407. GUIRefresh()
  408. wait(.25)
  409. until EDown == false
  410. end
  411. elseif key == "r" then
  412. if not Uninstalled then
  413. coroutine.wrap(function()
  414. if m.Target then
  415. sb = Instance.new('SelectionBox',Services.Workspace.CurrentCamera)
  416. sb.Adornee = m.Target
  417. sb.Name = "sb"
  418. sb.Color = BrickColor.new('Bright violet')
  419. wait(.25)
  420. for _,v in pairs(Services.Workspace.CurrentCamera:GetChildren()) do
  421. if v:IsA('SelectionBox') and v.Name == "sb" then
  422. v.Parent=nil
  423. end
  424. end
  425. end
  426. end)()
  427. Scope[Selection][2]()
  428. end
  429. end
  430. end
  431. end)
  432. m.KeyUp:connect(function(key)
  433. if not Uninstalled then
  434. if key == "q" then
  435. QDown=false
  436. elseif key == "e" then
  437. EDown=false
  438. end
  439. end
  440. end)
  441. Services.Players.LocalPlayer.Chatted:connect(function(msg)
  442. if not Uninstalled then
  443. if string.lower(msg) == "uninstall Nex" then
  444. Uninstalled = true
  445. Services.Chat:Chat(Services.Players.LocalPlayer.Character.Head,"Nex "..version.." UNINSTALLED",Enum.ChatColor.Blue)
  446. SGUI.Parent=nil
  447. if script then
  448. script.Parent=nil
  449. end
  450. elseif string.sub(string.lower(msg),1,2) == "c/" then
  451. pcall(function() ColorSelection = BrickColor.new(string.sub(msg,3)) end)
  452. elseif string.sub(string.lower(msg),1,2) == "m/" then
  453. for _,v in pairs(Services.Players:GetChildren()) do
  454. if v.Name ~= Services.Players.LocalPlayer.Name then
  455. Services.Chat:Chat(v.Character.Head,string.sub(msg,3),Enum.ChatColor.Green)
  456. end
  457. end
  458. elseif string.sub(string.lower(msg),1,3) == "cf/" then
  459. CustomFunction=string.sub(msg,4)
  460. end
  461. end
  462. end)
  463. end
  464.  
  465. script.Parent.MouseButton1Down:connect(click)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement