Laith8888

Roblox Jalore Admin Commands GUI script

Jan 19th, 2018
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.49 KB | None | 0 0
  1.  
  2. ------------------
  3. --Suck Suck Suck--
  4. ------------------
  5. --[[
  6. JarLore V 5.2
  7. LocalScript based admin
  8. Made by jarredbcv
  9.  
  10. Originally made to rek oxcool1's sb
  11. but, I just get banned anywho.. :(
  12.  
  13. ~ChangeLogs~
  14. ;Added anti remove
  15. ;Added mode 1,2,3,4,5,6
  16. ;Added Gui for admin control
  17. ;Added notifications
  18. ]]--
  19. version = 5.2
  20. wait(.1)
  21. script.Parent=nil
  22. local lp = game.Players.LocalPlayer
  23. local pt = {}
  24. local pt2 = {}
  25. local pt3 = {}
  26. local rad = math.rad
  27. local pi = math.pi
  28. local cf = CFrame.new
  29. local ca = CFrame.Angles
  30. local mr = math.random
  31. local count = 0
  32. local bcount = 0
  33. local mode = "origin"
  34. local bc = BrickColor.new
  35. local slct = 0
  36. local speed = 1
  37. local guit = {}
  38. local send = cf()
  39. local as = 4
  40. local events = {}
  41. local fragdeb = false
  42. local ignore = {}
  43. local armloop = false
  44. local grab = nil
  45. local gdist = -5
  46. local tim = 0
  47. local c2timer = 0
  48. local banned = {}
  49. local cmds = {}
  50. local clogs = {}
  51. local bet = "!"
  52.  
  53. --[["The best ever!"]]--
  54.  
  55. local lerp = function(a,b,c)
  56. return a+(b-a)*c
  57. end
  58.  
  59. local clerp = function(c1,c2,t)
  60. return c1:lerp(c2,t)
  61. end
  62.  
  63. local ClrLerp = function(Mesh,Clr2,Step)
  64. Clr1 = Mesh.VertexColor
  65. Mesh.VertexColor = Vector3.new(lerp(Clr1.X,Clr2.X,Step),lerp(Clr1.Y,Clr2.Y,Step),lerp(Clr1.Z,Clr2.Z,Step))
  66. end
  67.  
  68. local GetDiscoColor = function(hue)
  69. local section = hue % 1 * 3
  70. local secondary = 0.5 * math.pi * (section % 1)
  71. if section < 1 then
  72. return Vector3.new(1, 1 - math.cos(secondary), 1 - math.sin(secondary))
  73. elseif section < 2 then
  74. return Vector3.new(1 - math.sin(secondary), 1, 1 - math.cos(secondary))
  75. else
  76. return Vector3.new(1 - math.cos(secondary), 1 - math.sin(secondary), 1)
  77. end
  78. end
  79.  
  80. local new = function(Object, Parent, Data)
  81. local Object = Instance.new(Object)
  82. for Index, Value in pairs(Data or {}) do
  83. Object[Index] = Value
  84. end
  85. Object.Parent = Parent
  86. return Object
  87. end
  88.  
  89. local intable = function(tab, obj)
  90. for _, v in ipairs(tab) do
  91. if v == obj then
  92. return _
  93. end
  94. end
  95. return 0
  96. end
  97.  
  98. local so = function(id,par,lo,pi,tm)
  99. Spawn(function()
  100. local s = new("Sound",par,{Looped=lo;Pitch=pi;SoundId = "http://roblox.com/asset/?id="..id})
  101. wait() -- tnx anti
  102. s:play()
  103. s.Volume=.8
  104. game.Debris:AddItem(s,tm)
  105. end)
  106. return s
  107. end
  108.  
  109. local Lightning = function(Start,End,Times,Offset,Color,Thickness)
  110. local magz = (Start - End).magnitude
  111. local curpos = Start
  112. local trz = {-Offset,Offset}
  113. for i=1,Times do
  114. local li = new("Part",workspace,{Size=Vector3.new(Thickness,Thickness,magz/Times);BrickColor=bc('White');CanCollide=false;Anchored=true})
  115. local m = new("SpecialMesh",li,{MeshId='rbxassetid://9856898';Scale=Vector3.new(Thickness*2,Thickness*2,magz/Times*2);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = Color})
  116. local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)])
  117. local trolpos = cf(curpos,End)*cf(0,0,magz/Times).p+ofz
  118. if Times == i then
  119. local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
  120. li.CFrame = cf(curpos,End)*cf(0,0,-magz2/2)
  121. else
  122. li.CFrame = cf(curpos,trolpos)*cf(0,0,magz/Times/2)
  123. end
  124. curpos = li.CFrame*cf(0,0,magz/Times/2).p
  125. game.Debris:AddItem(li,.3)
  126. Spawn(function()
  127. for i=1,10 do
  128. game:service"RunService".RenderStepped:wait()
  129. li.Transparency = li.Transparency+.1
  130. end
  131. li:Destroy()
  132. end)
  133. end
  134. end
  135.  
  136. local explosion = function(col1,col2,cfr,sz,rng)
  137. local a = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true})
  138. local a2 = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true})
  139. local a3 = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true})
  140. v1,v2,v3=sz.x,sz.y,sz.z
  141. local m = new("SpecialMesh",a,{MeshId='rbxassetid://1185246';Scale=Vector3.new(v1,v2,v3);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = col1})
  142. local m2 = new("SpecialMesh",a2,{MeshId='rbxassetid://9856898';Scale=Vector3.new(v1/3*2,v2/3*2,v3/3*2);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = col2})
  143. local m3 = new("SpecialMesh",a3,{MeshId='rbxassetid://9856898';Scale=Vector3.new(v1/3*2,v2/3*2,v3/3*2);TextureId='http://www.roblox.com/asset/?id=55687933';VertexColor = col2})
  144. a.CFrame=cfr
  145. a2.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  146. a3.CFrame=cfr*CFrame.Angles(math.random(),math.random(),math.random())
  147. for i,v in pairs(workspace:children()) do
  148. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  149. if v:findFirstChild("Head") and v:findFirstChild("Torso") then
  150. if (v:findFirstChild("Torso").Position - a.Position).magnitude < rng and v.Name ~= lp.Character.Name then
  151. v:BreakJoints()
  152. end
  153. end
  154. end
  155. end
  156. game.Debris:AddItem(a,.6)
  157. game.Debris:AddItem(a2,.6)
  158. game.Debris:AddItem(a3,.6)
  159. Spawn(function()
  160. while true do
  161. game:service"RunService".RenderStepped:wait()
  162. if a.Transparency >= 1 then a:Destroy() a2:Destroy() a3:Destroy() break end
  163. m.Scale=m.Scale+Vector3.new(.1,0.1,0.1)
  164. m2.Scale=m2.Scale+Vector3.new(.1,0.1,0.1)
  165. m3.Scale=m3.Scale+Vector3.new(.1,0.1,0.1)
  166. a2.CFrame=a2.CFrame*CFrame.Angles(math.rad(2),math.rad(2),math.rad(2))
  167. a3.CFrame=a3.CFrame*CFrame.Angles(-math.rad(2),-math.rad(2),-math.rad(2))
  168. a.Transparency=a.Transparency+0.05
  169. a2.Transparency=a2.Transparency+0.05
  170. a3.Transparency=a3.Transparency+0.05
  171. end
  172. end)
  173. end
  174.  
  175. local frag = function(hit)
  176. local t = {}
  177. local A = {-1, 1}
  178. if hit.Name ~= "Base" and hit.Name ~= "adpart" and hit.Parent ~= lp.Character and hit.Parent.Parent ~= lp.Character and fragdeb ~= true then
  179. so("201858024",ch.Torso,false,math.random(7,11)/10,4)
  180. fragdeb = true
  181. hit:BreakJoints()
  182. local X, Y, Z = 0, 0, 0
  183. for x = 1, 2 do
  184. if hit.Size.X > 1 then
  185. X = hit.Size.X/2
  186. end
  187. for y = 1, 2 do
  188. if hit.Size.Y > 1 then
  189. Y = hit.Size.Y/2
  190. end
  191. for z = 1, 2 do
  192. if hit.Size.Z > 1 then
  193. Z = hit.Size.Z/2
  194. end
  195. local obj = Vector3.new(X*A[x],Y*A[y],Z*A[z])
  196. if intable(t, obj) == 0 and (X ~= 0 or Y ~= 0) and (X ~= 0 or Z ~= 0) and (Y ~= 0 or Z ~= 0) then
  197. table.insert(t, obj)
  198. end
  199. end
  200. end
  201. end
  202. if #t > 0 then
  203. local h = hit:clone()
  204. local par = hit.Parent
  205. hit:Destroy()
  206. hit = h:clone()
  207. for _, v in ipairs(t) do
  208. local n = hit:clone()
  209. --n.FormFactor = "Custom"
  210. n.Size = hit.Size/2
  211. local x,y,z = hit.CFrame:toEulerAnglesXYZ()
  212. n.CFrame = CFrame.new(v/2)*CFrame.Angles(x,y,z) +hit.Position
  213. n.Rotation = hit.Rotation
  214. n.Velocity = Vector3.new(0,0,0)
  215. n.RotVelocity = Vector3.new(0,0,0)
  216. n.Parent = par
  217. if n.Size.X <= 1 or n.Size.Z <= 1 then n.Anchored = false;n:BreakJoints();n.Velocity=Vector3.new(math.random(-10,10),math.random(-10,10),math.random(-10,10)) spawn(function() for i=1,10 do wait() n.Transparency=n.Transparency+.1 end n:Destroy() end) end
  218. n:BreakJoints()
  219. end
  220. end
  221. end
  222. wait()
  223. fragdeb = false
  224. end
  225.  
  226. local notif = function(txt)
  227. for i,v in pairs(guit) do
  228. v.Position = v.Position - UDim2.new(0,0,0.03,0)
  229. end
  230. local notif = new("TextLabel",notificationbin,{TextWrapped = true;TextStrokeTransparency = 0;BorderSizePixel = 2;TextScaled = true;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.5;Size = UDim2.new(0.2, 0, 0.02, 0);TextColor3 = Color3.new(1, 1, 1);BorderColor3 = Color3.new(1, 1, 1);Text = "{Notification}:"..txt;Position = UDim2.new(0.395, 0, 0.942, 0);TextXAlignment = Enum.TextXAlignment.Left})
  231. so("205318910",lp.PlayerGui,false,1)
  232. table.insert(guit,notif)
  233. spawn(function() wait(5)
  234. for i=1,20 do wait()
  235. notif.BackgroundTransparency = notif.BackgroundTransparency +.05
  236. notif.TextTransparency = notif.TextTransparency +.05
  237. notif.TextStrokeTransparency = notif.TextStrokeTransparency +.05
  238. end
  239. notif:Destroy()
  240. table.remove(guit,1)
  241. end)
  242. end
  243.  
  244. local makeg = function()
  245. local jlgui = new("ScreenGui",lp.PlayerGui,{Name="JL_gui"})
  246. local frame = new("Frame",jlgui,{Size = UDim2.new(0.2, 0, 0.025, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(0.395, 0, 0.97, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
  247. local textlabel = new("TextLabel",frame,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(0.2, 0, 1, 0);TextColor3 = Color3.new(1, 1, 1);Text = "Execute >";TextXAlignment = Enum.TextXAlignment.Right})
  248. textbox = new("TextBox",frame,{TextStrokeTransparency = 0;BackgroundColor3 = Color3.new(0, 0, 0);Position = UDim2.new(0.201, 0, 0, 0);Size = UDim2.new(0.785, 0, 1, 0);BackgroundTransparency = 0.9;Text = "Press [R-CTRL] to focus";TextColor3 = Color3.new(1, 1, 1);TextXAlignment = Enum.TextXAlignment.Left})
  249. local frame_2 = new("Frame",frame,{Size = UDim2.new(0.2, 0, 1, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(1.02, 0, 0, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
  250. textlabel_2 = new("TextLabel",frame_2,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(1, 0, 1, 0);TextColor3 = Color3.new(1, 1, 1);BorderColor3 = Color3.new(0, 0, 0);Text = "FPS:n/a"})
  251. local frame_3 = new("Frame",frame,{Size = UDim2.new(0.2, 0, 1, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(-.222, 0, 0, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
  252. local textlabel_3 = new("TextLabel",frame_3,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(1, 0, 1, 0);TextColor3 = Color3.new(1, 1, 1);BorderColor3 = Color3.new(0, 0, 0);Text = "JarLore V"..version})
  253. notificationbin = Instance.new("Folder", jlgui,{Name="Notification_bin"})
  254. listbin = Instance.new("Folder", jlgui,{Name="List_bin"})
  255. textbox.FocusLost:connect(function()
  256. local msg = textbox.Text
  257. local usedACommand=false
  258. for i,v in pairs(cmds) do
  259. if msg:lower():match(bet..v.Usage:lower()..'% ?') and usedACommand==false then
  260. usedACommand=true
  261. local Run, Error = ypcall(function()
  262. spawn(function()
  263. v.Function(lp.Name,msg:lower():match(bet..v.Usage:lower()..'%>?(.+)')or'')
  264. end)
  265. end)
  266. if Error then
  267. notif(Error)
  268. end
  269. end
  270. end
  271. textbox.Text = "Press [R-CTRL] to focus"
  272. end)
  273. end
  274.  
  275. local makelist = function(na,list)
  276. local pos = -7
  277. local frame = new("Frame", listbin,{Size = UDim2.new(0.15, 0, 0.25, 0);BorderColor3 = Color3.new(1, 1, 1);Position = UDim2.new(0.65, 0, 0.745, 0);BorderSizePixel = 2;BackgroundTransparency = 0.5;BackgroundColor3 = Color3.new(0, 0, 0)})
  278. local textlabel = new("TextBox", frame,{TextStrokeTransparency = 0;BorderSizePixel = 2;BackgroundColor3 = Color3.new(0, 0, 0);Position = UDim2.new(0.01, 0, 0.005, 0);Size = UDim2.new(0.8, 0, 0.1, 0);BackgroundTransparency = 0.9;BorderColor3 = Color3.new(1, 1, 1);TextColor3 = Color3.new(1, 1, 1);Text=na})
  279. local scrollingframe = new("ScrollingFrame", frame,{Size = UDim2.new(1, 0, 0.87, 0);CanvasSize=UDim2.new(0,0,0,0);MidImage = "rbxassetid://65372937";BorderColor3 = Color3.new(1, 1, 1);ScrollBarThickness = 7;TopImage = "rbxassetid://65372937";Position = UDim2.new(0, 0, 0.125, 0);BottomImage = "rbxassetid://65372937";BackgroundTransparency = 0.9;BackgroundColor3 = Color3.new(0, 0, 0)})
  280. local textbutton = new("TextButton", frame,{TextStrokeTransparency = 0;BorderSizePixel = 2;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(0.16, 0, 0.1, 0);Position = UDim2.new(0.83, 0, 0.005, 0);BorderColor3 = Color3.new(1, 1, 1);Text = "X";TextColor3 = Color3.new(1, 1, 1)})
  281. for i,v in pairs(list) do
  282. local textlabel2 = new("TextLabel", scrollingframe,{TextStrokeTransparency = 0;BorderSizePixel = 0;BackgroundColor3 = Color3.new(0, 0, 0);BackgroundTransparency = 0.9;Size = UDim2.new(1, 0, 0, 20);TextColor3 = Color3.new(1, 1, 1);TextXAlignment = Enum.TextXAlignment.Left;Text=v})
  283. textlabel2.Position = UDim2.new(0,0,0,pos+7)
  284. pos = pos + 25
  285. scrollingframe.CanvasSize = UDim2.new(0,0,0,pos+15)
  286. end
  287. textbutton.MouseButton1Click:connect(function()
  288. frame:Destroy()
  289. end)
  290. end
  291.  
  292. local efx = function(part)
  293. if not part then return end
  294. local Num = 0
  295. local efxs = {}
  296. for i = 1,6 do
  297. local p = new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true;CFrame=part.CFrame})
  298. local msh = new("SpecialMesh",p,{Scale=Vector3.new(1.55,.5,.5);MeshId='rbxassetid://9756362';TextureId='rbxassetid://25701026';VertexColor=GetDiscoColor(i/10)})
  299. table.insert(efxs,p)
  300. local p=new("Part",workspace,{Size=Vector3.new(1,1,1);CanCollide=false;Anchored=true;CFrame=part.CFrame})
  301. msh=new("SpecialMesh",p,{Scale=Vector3.new(1.2,.5,.5);MeshId='rbxassetid://9756362';TextureId='rbxassetid://25701026';VertexColor=GetDiscoColor(i/10+1.2)})
  302. table.insert(efxs,p)
  303. end
  304. for i=1,50 do wait()
  305. Num=Num+.1
  306. for i,v in pairs(efxs)do
  307. if(i<7)then
  308. v.CFrame = clerp(v.CFrame,cf(part.CFrame.p)*cf(0,-math.sin(Num)*3,0)*ca(0,1.55+Num+math.rad(360/6)*i,0)*cf(3,0,0),.1)
  309. else
  310. v.CFrame = clerp(v.CFrame,cf(part.CFrame.p)*cf(0,math.sin(Num)*3,0)*ca(0,-Num+math.rad(360/6)*i,0)*cf(3,0,0),.1)
  311. end
  312. end
  313. end
  314. for i=1,10 do wait()
  315. for i,v in pairs(efxs)do
  316. ClrLerp(v.Mesh,Vector3.new(0,0,0),.3)
  317. v.Mesh.Scale=v.Mesh.Scale+Vector3.new(-.15,0,0)
  318. end
  319. end
  320. for i,v in pairs(efxs)do
  321. v:Destroy()
  322. end
  323. efxs={}
  324. end
  325.  
  326.  
  327. local GetPlrs = function(Msg)
  328. local R = {}
  329. if Msg:lower() == "all" then
  330. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  331. table.insert(R, v)
  332. end
  333. else
  334. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  335. if v.Name:lower():sub(1 ,#Msg)==Msg:lower() then
  336. table.insert(R, v)
  337. end
  338. end
  339. end
  340. return R
  341. end
  342.  
  343. local AddCmd = function(Name, Usage, Description, Function)
  344. cmds[Name] = {Name = Name, Usage = Usage, Description = Description, Function = Function}
  345. end
  346.  
  347. local fixcol = function()
  348. for i=1,#pt do pt[i].BrickColor = bc("White") end
  349. end
  350.  
  351. local np = function(sz,col)
  352. local new = new("Part",workspace,{Size=Vector3.new(0,sz,0);BrickColor=BrickColor.new(col);CanCollide=false;Anchored=true;Locked=true;Name="adpart"})
  353. return new
  354. end
  355.  
  356. local pointa = function(var)
  357. if var == true then
  358. if armloop == false then
  359. armloop=true
  360. end
  361. else
  362. armloop=false
  363. ch['Right Arm'].Anchored = false
  364. armw.Parent = ch.Torso
  365. end
  366. end
  367.  
  368. local fixspeed = function(spd)
  369. repeat wait() speed = speed + .025 until speed >= spd
  370. end
  371.  
  372. local make = function()
  373. for i=1,6 do
  374. local a = np(1.2,"White")
  375. table.insert(pt,a)
  376. local a1 = np(1.4,"Black")
  377. table.insert(pt2,a1)
  378. local a2 = np(1.4,"Black")
  379. table.insert(pt2,a2)
  380. table.insert(pt3,a)
  381. table.insert(pt3,a1)
  382. table.insert(pt3,a2)
  383. end
  384. end
  385.  
  386. --cmds--
  387. AddCmd('Kill','kill','Kills <player>',function(Spkr,Msg)
  388. for _,player in next,GetPlrs(Msg)do
  389. spawn(function()
  390. notif(player.Name.." was killed.")
  391. efx(player.Character.Torso)
  392. player.Character:BreakJoints()
  393. end)
  394. end
  395. end)
  396.  
  397. AddCmd('Kick','kick','Kicks <player>',function(Spkr,Msg)
  398. for _,player in next,GetPlrs(Msg)do
  399. spawn(function()
  400. notif(player.Name.." was kicked.")
  401. efx(player.Character.Torso)
  402. player:Destroy()
  403. end)
  404. end
  405. end)
  406.  
  407. AddCmd('God','god','Gods <player>',function(Spkr,Msg)
  408. for _,player in next,GetPlrs(Msg)do
  409. spawn(function()
  410. notif(player.Name.." was godded.")
  411. efx(player.Character.Torso)
  412. player.Character.Humanoid.MaxHealth=1e1000
  413. end)
  414. end
  415. end)
  416.  
  417. AddCmd('UnGod','ungod','UnGods <player>',function(Spkr,Msg)
  418. for _,player in next,GetPlrs(Msg)do
  419. spawn(function()
  420. notif(player.Name.." was ungodded.")
  421. efx(player.Character.Torso)
  422. player.Character.Humanoid.MaxHealth=100
  423. end)
  424. end
  425. end)
  426.  
  427. AddCmd('ForceField','ff','ForceFields <player>',function(Spkr,Msg)
  428. for _,player in next,GetPlrs(Msg)do
  429. spawn(function()
  430. notif(player.Name.." was given a forcefield.")
  431. efx(player.Character.Torso)
  432. Instance.new("ForceField",player.Character).Name="j_ff"
  433. end)
  434. end
  435. end)
  436.  
  437. AddCmd('ForceField','unff','UnForceFields <player>',function(Spkr,Msg)
  438. for _,player in next,GetPlrs(Msg)do
  439. spawn(function()
  440. notif(player.Name.."'s forcefield was removed.")
  441. efx(player.Character.Torso)
  442. player.Character:findFirstChild("j_ff"):Destroy()
  443. end)
  444. end
  445. end)
  446.  
  447. AddCmd('Song','sng','Plays <song>',function(Spkr,Msg)
  448. notif(Msg.." was played.")
  449. spawn(function()
  450. if not game:service"Workspace":FindFirstChild("jbcv_sound") then
  451. local jbcv_sond=Instance.new("Sound",game:service"Workspace")
  452. jbcv_sond.Name="jbcv_sound"
  453. jbcv_sond.Looped=true
  454. jbcv_sond.Volume=1
  455. end
  456. local sond=game:service"Workspace":FindFirstChild("jbcv_sound")
  457. sond.Volume=0
  458. sond.Pitch=0
  459. sond:Stop()
  460. wait()
  461. sond.SoundId="rbxassetid://"..Msg
  462. sond.Volume=1
  463. sond.Pitch=1
  464. sond:Play()
  465. end)
  466. end)
  467.  
  468. AddCmd('Stop','stop','Stops <song>',function(Spkr,Msg)
  469. notif("Song was stopped.")
  470. local sond=game:service"Workspace":FindFirstChild("jbcv_sound")
  471. sond.Volume=0
  472. sond.Pitch=0
  473. sond:Stop()
  474. end)
  475.  
  476. AddCmd('ShowLogs','clogs','Shows the chat logs for the server',function(Spkr,Msg)
  477. notif("Showing chatlogs.")
  478. makelist("ChatLogs",clogs)
  479. end)
  480.  
  481. AddCmd('Commands','cmds','Shows a list of admin commands.',function(Spkr,Msg)
  482. notif("Showing commands.")
  483. local cmdtab = {}
  484. for i,v in pairs(cmds) do
  485. table.insert(cmdtab," "..v.Name.." Usage:"..v.Usage)
  486. end
  487. makelist("Commands",cmdtab)
  488. end)
  489.  
  490.  
  491. lp:GetMouse().Button1Down:connect(function()
  492. fixcol()
  493. if mode == "select" then
  494. so('233091183',ch.Torso,false,.8)
  495. if slct == 1 then
  496. pointa(false)
  497. mode = "origin"
  498. speed = .1
  499. fixspeed(1)
  500. return
  501. elseif slct == 2 then
  502. pointa(false)
  503. mode = "ghost"
  504. speed = .1
  505. fixspeed(1)
  506. return
  507. elseif slct == 3 then
  508. pointa(false)
  509. mode = "float"
  510. speed = .1
  511. fixspeed(1)
  512. return
  513. elseif slct == 4 then
  514. mode = "kenisis"
  515. speed = .1
  516. fixspeed(1)
  517. return
  518. elseif slct == 5 then
  519. pointa(false)
  520. mode = "saw"
  521. speed = .1
  522. fixspeed(1)
  523. return
  524. elseif slct == 6 then
  525. pointa(false)
  526. mode = "lightning"
  527. speed = .1
  528. fixspeed(1)
  529. return
  530. end
  531. elseif mode == "ghost" then
  532. so('200633455',ch.Torso,false,1)
  533. mode = "light"
  534. speed = .1
  535. fixspeed(1)
  536. elseif mode == "lightning" then
  537. so('228343249',ch.Torso,false,.9)
  538. color=GetDiscoColor(tick()*.5)
  539. Lightning(guide.CFrame.p,lp:GetMouse().hit.p,math.random(5,10),math.random(-2.5,2.5),color,1.5)
  540. explosion(color,GetDiscoColor(tick()*.3),CFrame.new(lp:GetMouse().hit.p),Vector3.new(30,30,30),20)
  541. elseif mode == "kenisis" then
  542. if lp:GetMouse().Target~=nil and grab == nil then
  543. if lp:GetMouse().Target.ClassName=="Part" and lp:GetMouse().Target.Name~="Base" then
  544. gdist = -(ch:findFirstChild("Right Arm").Position - lp:GetMouse().Target.CFrame.p).magnitude
  545. grab=lp:GetMouse().Target
  546. local dis = (ch:findFirstChild("Head").Position - workspace.CurrentCamera.CoordinateFrame.p).magnitude
  547. lp.CameraMaxZoomDistance = dis
  548. lp.CameraMinZoomDistance = dis
  549. end
  550. end
  551. elseif mode == "float" then
  552. so('233856106',ch.Torso,false,.9)
  553. mode = "fly"
  554. bg=Instance.new("BodyGyro",ch.Torso)
  555. bv=Instance.new("BodyVelocity",ch.Torso)
  556. bg.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  557. bv.maxForce = Vector3.new(99e3,99e3,99e3)
  558. if(ch.Humanoid.Sit ~= true)then ch.Humanoid.PlatformStand = true end
  559. speed = .1
  560. fixspeed(1)
  561. elseif mode == "origin" then
  562. tim = game:service'RunService'.Stepped:wait()
  563. if (tim - c2timer < .2) then
  564. c2timer = tim
  565. speed = .15
  566. send = lp:GetMouse().Hit.p
  567. mode = "tele"
  568. wait(.2)
  569. so('161006033',ch.Torso,false,.9)
  570. ch.Torso.CFrame = cf(send)*cf(0,3,0)*ca(0,ch.Torso.Rotation.Y,0)
  571. speed = .05
  572. mode="origin"
  573. fixspeed(1)
  574. else
  575. wait(.15)
  576. end
  577. c2timer = tim
  578. end
  579. end)
  580.  
  581. lp:GetMouse().Button2Down:connect(function()
  582. if mode == "kenisis" and grab then
  583. tim = game:service'RunService'.Stepped:wait()
  584. if (tim - c2timer < .2) then
  585. so('235097661',ch.Torso,false,1)
  586. local shot = grab
  587. grab=nil
  588. shot.Velocity=(lp:GetMouse().Hit.p-ch["Right Arm"].Position).unit*375
  589. else
  590. wait(.15)
  591. end
  592. c2timer = tim
  593. end
  594. end)
  595.  
  596. lp:GetMouse().Button1Up:connect(function()
  597. if mode == "fly" then
  598. mode = "float"
  599. so('233856106',ch.Torso,false,.8)
  600. bg:Destroy()
  601. bv:Destroy()
  602. ch.Humanoid.PlatformStand = false
  603. ch.Torso.CFrame = cf(ch.Torso.CFrame.X,ch.Torso.CFrame.Y,ch.Torso.CFrame.Z)*ca(0,ch.Torso.Rotation.Y,0)
  604. speed = .1
  605. fixspeed(1)
  606. elseif mode == "light" then
  607. so('200633455',ch.Torso,false,.9)
  608. mode = "ghost"
  609. speed = .1
  610. fixspeed(1)
  611. elseif mode == "kenisis" then
  612. grab = nil
  613. lp.CameraMaxZoomDistance = 400
  614. lp.CameraMinZoomDistance = 0.5
  615. end
  616. end)
  617.  
  618. lp:GetMouse().KeyDown:connect(function(k)
  619. k = k:lower()
  620. if k == "e" and mode ~= "select" and mode ~= "fly" and mode ~= "light" then
  621. so('233091183',ch.Torso,false,.9)
  622. pointa(true)
  623. mode = "select"
  624. slct = 1
  625. speed = .1
  626. fixspeed(1)
  627. elseif string.byte(k) == 49 then
  628. textbox:CaptureFocus()
  629. end
  630. end)
  631.  
  632. lp:GetMouse().WheelForward:connect(function()
  633. if mode =="kenisis" then
  634. gdist = gdist - 10
  635. end
  636. end)
  637.  
  638. lp:GetMouse().WheelBackward:connect(function()
  639. if mode =="kenisis" then
  640. if gdist < -5 then
  641. gdist = gdist + 10
  642. end
  643. end
  644. end)
  645.  
  646. guide = new("Part",workspace,{Size=Vector3.new(2,0,2);BrickColor=BrickColor.new("");CanCollide=false;Anchored=true;Locked=true;Transparency=1})
  647. pl = new("PointLight",guide,{Color=BrickColor.new("Bright orange").Color;Range=0})
  648. light = new("Fire",guide,{Size=3;Heat=0;Enabled=false})
  649. BP=new("BodyPosition",nil,{maxForce=Vector3.new(9990000, 9990000, 9990000);position=Vector3.new(0,0,0)})
  650. make()
  651.  
  652. local curplrs = game.Players:GetPlayers()
  653.  
  654. for i,v in pairs(curplrs) do
  655. v.Chatted:connect(function(m)
  656. table.insert(clogs,"["..v.Name.."]: "..m)
  657. end)
  658. end
  659.  
  660. game:service"Players".ChildAdded:connect(function(p)
  661. if p.ClassName == "Player" then
  662. notif(p.Name.." has joined the server.")
  663. p.Chatted:connect(function(m)
  664. table.insert(clogs,"["..p.Name.."]: "..m)
  665. end)
  666. end
  667. end)
  668.  
  669. game:service"Players".ChildRemoved:connect(function(p)
  670. if p.ClassName == "Player" then
  671. notif(p.Name.." has left the server.")
  672. end
  673. end)
  674.  
  675. game:service("RunService").Stepped:connect(function()
  676. ch = lp.Character
  677. bcount = 0
  678. for i=1,#pt do
  679. bcount = bcount + 2
  680. if mode == "origin" then
  681. count = count + .0025
  682. if i <= 3 then
  683. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,count+rad(360/3)*i,0)*cf(2,-3,0)*ca(-pi/2,0,0),speed)
  684. else
  685. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,-count-rad(360/3)*i,0)*cf(2.3,-3,0)*ca(pi/2,pi,0),speed)
  686. end
  687. elseif mode == "tele" then
  688. pt[i].CFrame = clerp(pt[i].CFrame,cf(send)*ca(0,0,pi/2)*ca(-count-rad(360/6)*i,0,0)*cf(0,3,0)*ca(pi/2,-pi/2,0),speed)
  689. elseif mode == "select" then
  690. guide.CanCollide=false
  691. ch.Humanoid.MaxHealth = 100
  692. ch.Humanoid.WalkSpeed=16
  693. pt[i].CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(0,rad(-15)+rad(360/12)*i,0)*cf(5,0,0)*ca(pi/2,pi,0),speed)
  694. if lp:GetMouse().Target == pt[i] then
  695. if i == 1 then
  696. pt[i].BrickColor = bc("")
  697. slct = i
  698. elseif i == 2 then
  699. pt[i].BrickColor = bc("Royal purple")
  700. slct = i
  701. elseif i == 3 then
  702. pt[i].BrickColor = bc("Lapis")
  703. slct = i
  704. elseif i == 4 then
  705. pt[i].BrickColor = bc("Lime green")
  706. slct = i
  707. elseif i == 5 then
  708. pt[i].BrickColor = bc("Really red")
  709. slct = i
  710. elseif i == 6 then
  711. pt[i].BrickColor = bc("New Yeller")
  712. slct = i
  713. end
  714. else
  715. pt[i].BrickColor = bc("White")
  716. end
  717. elseif mode == "float" then
  718. guide.CanCollide=true
  719. count = count + .02
  720. local goto = ch.Torso.CFrame*CFrame.new(0,-3,0)
  721. if Vector3.new(0, ch.Torso.Velocity.y, 0).magnitude > 5 then
  722. guide.CFrame=CFrame.new(goto.X,goto.Y,goto.Z)
  723. else
  724. guide.CFrame=CFrame.new(goto.X,guide.CFrame.Y,goto.Z)
  725. end
  726. if i <= 3 then
  727. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,count+rad(360/3)*i,0)*cf(4,-3,0)*ca(pi/2,pi-rad(30),0),speed)
  728. else
  729. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*ca(0,-count-rad(360/3)*i,0)*cf(4.3,-3,0)*ca(pi/2,pi+rad(30),0),speed)
  730. end
  731. elseif mode == "kenisis" then
  732. count = count + .02
  733. if grab ~= nil then
  734. light.Enabled=true
  735. BP.Parent=grab
  736. a= ch["Right Arm"].CFrame*CFrame.new(0,gdist,0)*CFrame.Angles(math.rad(90),0,-math.rad(180))
  737. BP.position=a.p
  738. else
  739. BP.Parent=nil
  740. light.Enabled=false
  741. end
  742. light.Color = bc("Lime green").Color
  743. guide.CFrame=ch['Right Arm'].CFrame*cf(0,-1.5,0)
  744. local goto = ch.Torso.CFrame*CFrame.new(0,-3,0)
  745. if i <= 3 then
  746. pt[i].CFrame = clerp(pt[i].CFrame,ch['Right Arm'].CFrame*ca(0,count+rad(360/3)*i,0)*cf(.5,-1,0)*ca(pi/2,pi-rad(130),0),speed)
  747. else
  748. pt[i].CFrame = clerp(pt[i].CFrame,ch['Right Arm'].CFrame*ca(0,-count-rad(360/3)*i,0)*cf(.7,-1,0)*ca(pi/2,pi-rad(130),0),speed)
  749. end
  750. elseif mode == "ghost" then
  751. local ff = new("ForceField",ch)
  752. ch.Humanoid.MaxHealth = 100000
  753. ch.Humanoid.Health = 100000
  754. game.Debris:AddItem(ff,.001)
  755. light.Enabled=false
  756. ch.Humanoid.WalkSpeed=35
  757. pl.Range=0
  758. count = count + .005
  759. if i <= 3 then
  760. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,-math.sin(count)*3,0)*ca(0,1.55+count+math.rad(360/3)*i,0)*cf(3,0,0)*ca(0,pi,0),speed)
  761. else
  762. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,math.sin(count)*3,0)*ca(0,-count+math.rad(360/3)*i,0)*cf(3,0,0)*ca(0,pi,0),speed)
  763. end
  764. ypcall(function()
  765. ch.Torso.CanCollide = false
  766. ch.Head.CanCollide = false
  767. end)
  768. elseif mode == "light" then
  769. ch.Humanoid.MaxHealth = 100
  770. ch.Humanoid.WalkSpeed=16
  771. guide.CFrame = CFrame.new(ch.Torso.CFrame.p)*CFrame.new(0,7,0)
  772. light.Enabled=true
  773. light.Color = bc("Bright orange").Color
  774. pl.Range=60
  775. count = count + .005
  776. if i <= 3 then
  777. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,7,0)*ca(count,count,count+math.rad(360/3)*i)*cf(1.5,0,0),speed)
  778. else
  779. pt[i].CFrame = clerp(pt[i].CFrame,cf(ch.Torso.CFrame.p)*cf(0,7,0)*ca(count+1.1,count,count+math.rad(360/3)*i)*cf(2.25,0,0)*ca(0,0,0),speed)
  780. end
  781. ypcall(function()
  782. ch.Torso.CanCollide = false
  783. ch.Head.CanCollide = false
  784. end)
  785. elseif mode == "fly" then
  786. guide.CanCollide=false
  787. Direction = CFrame.new(ch.Torso.Position,lp:GetMouse().Hit.p)
  788. bg.cframe = Direction*CFrame.Angles(-1.55,0,0)
  789. bv.velocity = lp:GetMouse().Hit.lookVector*50
  790. count = count + .01
  791. if i <= 3 then
  792. pt[i].CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(0,count+rad(360/3)*i,0)*cf(2,-3,0)*ca(pi/2,rad(30),0),speed)
  793. else
  794. pt[i].CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(0,-count-rad(360/3)*i,0)*cf(2,3,0)*ca(pi/2,-rad(30),0),speed)
  795. end
  796. elseif mode == "saw" then
  797. count = count + .015
  798. local part = pt[i]
  799. part.CFrame = clerp(pt[i].CFrame,ch.Torso.CFrame*ca(-count-rad(360/6)*i,0,0)*cf(0,3,0)*ca(pi/2,-pi/2,0),speed)
  800. local shootpos = pt[i].CFrame*cf(-2,0,0)
  801. local startpos = pt[i].CFrame*cf(-1.2,0,0)
  802. local ray = Ray.new(startpos.p,(shootpos.p - startpos.p).unit*2)
  803. local hit,position = game.Workspace:FindPartOnRayWithIgnoreList(ray,ignore)
  804. if hit then
  805. frag(hit)
  806. end
  807. elseif mode == "lightning" then
  808. count = count + .015
  809. guide.CFrame = cf(ch.Torso.CFrame.p)*CFrame.new(0,7,0)
  810. guide.CFrame = CFrame.new(guide.CFrame.p,lp:GetMouse().Hit.p)
  811. if i <= 3 then
  812. pt[i].CFrame = clerp(pt[i].CFrame,guide.CFrame*ca(-pi/2,count+rad(360/3)*i,0)*cf(1.7,0,0)*ca(pi/2,0,0),speed)
  813. else
  814. pt[i].CFrame = clerp(pt[i].CFrame,guide.CFrame*ca(-pi/2,-count-rad(360/3)*i,0)*cf(2,0,0)*ca(pi/2,-rad(30),0),speed)
  815. end
  816. end
  817. ignore = {}
  818. if bcount < 13 then
  819. pt2[bcount-1].CFrame = pt[i].CFrame *cf(-0.8,-0.5,0)*ca(0,0,rad(60))
  820. pt2[bcount].CFrame = pt[i].CFrame *cf(-0.8,0.5,0)*ca(0,0,-rad(60))
  821. end
  822. table.insert(ignore,pt2[bcount-1])
  823. table.insert(ignore,pt2[bcount])
  824. end
  825. if armloop then
  826. if ch.Torso:findFirstChild("Right Shoulder") then
  827. armw = ch.Torso:findFirstChild("Right Shoulder")
  828. armw.Parent = nil
  829. end
  830. ch['Right Arm'].Anchored = true
  831. local p0 = ch.Torso.CFrame
  832. p0 = p0 + ((p0 * ca(pi/-2,0,0)).lookVector * -0.5) + (p0 * ca(0,pi/-2,0)).lookVector
  833. local p1 = p0 + ((p0.p-lp:GetMouse().Hit.p).unit * -2)
  834. ch['Right Arm'].CFrame = cf((p0.p + p1.p)/2,p0.p) * ca(-math.pi/2,0,0)
  835. end
  836. for i,v in pairs(pt3) do
  837. if v.Parent ~= workspace then
  838. for i=1,#pt3 do game.Debris:AddItem(pt3[i],.1) end
  839. pt3 = {}
  840. pt2 = {}
  841. pt = {}
  842. make()
  843. end
  844. end
  845. if not lp.PlayerGui:findFirstChild("JL_gui") then
  846. makeg()
  847. end
  848. if guide.Parent ~= workspace then
  849. guide = new("Part",workspace,{Size=Vector3.new(2,0,2);BrickColor=BrickColor.new("");CanCollide=false;Anchored=true;Locked=true;Transparency=1})
  850. pl = new("PointLight",guide,{Color=BrickColor.new("Bright orange").Color;Range=0})
  851. light = new("Fire",guide,{Size=3;Heat=0;Enabled=false})
  852. end
  853. if textlabel_2 then
  854. textlabel_2.Text = "FPS: "..math.floor(1/wait()*2)
  855. end
  856. end)
  857.  
  858. efx(lp.Character.Torso)
  859. wait(.1)
  860. notif("JarLore Version"..version.." has successfully loaded.")
  861. wait(2)
  862. notif("You may start by pressing [L-CTRL] to focus.")
  863.  
  864. --[["That'sa all folks!"]]--
Add Comment
Please, Sign In to add comment