View difference between Paste ID: NMmfT8eX and hL8M2tmA
SHOW: | | - or go back to the newest paste.
1
 
2
3
wait()
4
script.Parent = nil
5
script.Name = 'orangecraftfan100'
6-
script.Name = 'Apex'
6+
7
                local Workspace = game:GetService("Workspace")
8
                Players = game:GetService("Players")
9
                NetworkServer = game:GetService("NetworkServer")
10
                HttpService = game:GetService("HttpService")
11
                RunService = game:GetService("RunService")
12
                MarketPlace = game:GetService("MarketplaceService")
13
                Data = game:GetService("DataStoreService")
14
                InsertService = game:GetService("InsertService")
15
                MainFolder = Instance.new("Folder")
16
orangecraftfan100 = {
17-
Apex = {
17+
18
Settings = {};
19
Functions = {};
20
Commands = {};
21
Prefix = '#';
22
Suffix = '/';
23
Bet3 = '-';
24
}
25
-----------
26
-----------
27
--Services--
28
------------------
29
orangecraftfan100.Services.RunService = game:GetService('RunService')
30-
Apex.Services.RunService = game:GetService('RunService')
30+
orangecraftfan100.Services.MarketplaceService = game:GetService("MarketplaceService")
31-
Apex.Services.MarketplaceService = game:GetService("MarketplaceService")
31+
orangecraftfan100.Services.HttpService = game:GetService('HttpService')
32-
Apex.Services.HttpService = game:GetService('HttpService')
32+
33
------------------
34
orangecraftfan100.Ranked = {}
35-
Apex.Ranked = {}
35+
orangecraftfan100.Logs_Service = {}
36-
Apex.Logs_Service = {}
36+
orangecraftfan100.Gui_Service = {}
37-
Apex.Gui_Service = {}
37+
38
--FUNCTIONS--
39
------------------
40
orangecraftfan100.Functions.Output = function(Player,Color,Text,ColorOverride,Func)
41-
Apex.Functions.Output = function(Player,Color,Text,ColorOverride,Func)
41+
42
        if Player.Character then
43
        local PlayerModel = nil
44
        if Workspace:FindFirstChild('orangecraftfan100sModel:'..Player.Name) then
45-
        if Workspace:FindFirstChild('ApexsModel:'..Player.Name) then
45+
                PlayerModel = Workspace:FindFirstChild('orangecraftfan100sModel:'..Player.Name)
46-
                PlayerModel = Workspace:FindFirstChild('ApexsModel:'..Player.Name)
46+
47
                PlayerModel = Instance.new("Model", workspace)
48
                PlayerModel.Name = 'orangecraftfan100sModel:'..Player.Name
49-
                PlayerModel.Name = 'ApexsModel:'..Player.Name
49+
50
        --
51
        local Tablet = Instance.new("Part")
52
        local TabletMesh
53
        if orangecraftfan100.Ranked[Player.Name]['Type'] == 'Tablet' then
54-
        if Apex.Ranked[Player.Name]['Type'] == 'Tablet' then
54+
55
        elseif orangecraftfan100.Ranked[Player.Name]['Type'] == "Sphere" then
56-
        elseif Apex.Ranked[Player.Name]['Type'] == "Sphere" then
56+
57
                TabletMesh.MeshType = 'Sphere'
58
                elseif orangecraftfan100.Ranked[Player.Name]['Type'] == "Block" then
59-
                elseif Apex.Ranked[Player.Name]['Type'] == "Block" then
59+
60
        end
61
        TabletMesh.Name = 'TabletMesh'
62
        TabletMesh.Scale = Vector3.new(0,0,0)
63
        Tablet.FormFactor = "Custom"
64
        Tablet.Transparency = 0.2
65
        if orangecraftfan100.Ranked[Player.Name]['Type'] == 'Tablet' then
66-
        if Apex.Ranked[Player.Name]['Type'] == 'Tablet' then
66+
67
        elseif orangecraftfan100.Ranked[Player.Name]['Type'] == 'Sphere' then
68-
        elseif Apex.Ranked[Player.Name]['Type'] == 'Sphere' then
68+
69
                elseif orangecraftfan100.Ranked[Player.Name]['Type'] == 'Block' then
70-
                elseif Apex.Ranked[Player.Name]['Type'] == 'Block' then
70+
71
	end
72
        Tablet.CanCollide = false
73
        Tablet.TopSurface = 'Smooth'
74
        Tablet.BottomSurface = 'Smooth'
75
        Tablet.Anchored = true
76
        Tablet.Material = 'Neon'
77
        Tablet.Name = "orangecraftfan100:"..Player.Name
78-
        Tablet.Name = "Apex:"..Player.Name
78+
79
        Tablet.CFrame = Player.Character.Torso.CFrame
80
        Tablet.BrickColor = BrickColor.Black()
81
        local SelB = Instance.new('SelectionBox', Tablet)
82
        SelB.Adornee=Tablet
83
        SelB.LineThickness = 0.02
84
		SelB.Color = BrickColor.White()
85
        local Billboard = Instance.new("BillboardGui", Tablet)
86
        Billboard.Adornee = Tablet
87
        Billboard.Enabled = true
88
        Billboard.Active = true
89
        Billboard.Size = UDim2.new(1, 1, 1,1)
90
        Billboard.ExtentsOffset = Vector3.new(0, 1.5, 0)
91
		local point = Instance.new("PointLight",Tablet)
92
    		point.Brightness = 10
93
    		point.Color = Tablet.BrickColor.Color
94
    		point.Range = 10
95
        local TL = Instance.new("TextLabel", Billboard)
96
        TL.Text = Text
97
        TL.BackgroundTransparency = 1
98
        TL.Size = UDim2.new(1, 0, 1, 0)
99
        TL.FontSize = "Size10"
100
        TL.Font = "Legacy"
101
        TL.TextColor3 = Color3.new(255,255,255)
102
        TL.TextStrokeTransparency = 0
103
        local Button = Instance.new('ClickDetector', Tablet)
104
        Button.MaxActivationDistance = 50
105
        Tablet.Parent = PlayerModel
106
        coroutine.resume(coroutine.create(function()
107
        wait(0.5)
108
        for i=1, 10 do
109
                TabletMesh.Scale = TabletMesh.Scale + Vector3.new(0.1,0.1,0.1)
110
                wait()
111
        end
112
        end))
113
        --
114
		
115
        Button.MouseClick:connect(function(Clicker)
116
                if Clicker == Player then
117
                        if Func ~= nil then
118
                                Func(Player)
119
                        else
120
                                coroutine.resume(coroutine.create(function()
121
                                        for i=1, 10 do
122
                                                TabletMesh.Scale = TabletMesh.Scale + Vector3.new(-0.1,-0.1,-0.1)
123
                                                wait()
124
                                        end
125
                                Tablet:Destroy()
126
                                end))
127
                        end
128
                end
129
        end)
130
        end
131
        end)
132
end
133
134
local Servicess = Instance.new('Hint', game.Workspace)
135
Servicess.Text = 'orangecraftfan100 is on pastebin! orangecraftfan100 by PowFX'
136-
Servicess.Text = 'Apex is on pastebin! apex by PowFX'
136+
137
orangecraftfan100.Functions.NewCmd = function(Name, Cmd, Desc, Rank, Ext, Func)
138-
Apex.Functions.NewCmd = function(Name, Cmd, Desc, Rank, Ext, Func)
138+
        orangecraftfan100.Commands[Cmd] = {['Name'] = Name, ['Command'] = Cmd, ['Description'] = Desc, ['Rank'] = Rank,['Extensions'] = Ext, ['Function'] = Func}
139-
        Apex.Commands[Cmd] = {['Name'] = Name, ['Command'] = Cmd, ['Description'] = Desc, ['Rank'] = Rank,['Extensions'] = Ext, ['Function'] = Func}
139+
140
--
141
orangecraftfan100.Functions.Chatted = function(Player,Text)
142-
Apex.Functions.Chatted = function(Player,Text)
142+
        if string.find(Text,orangecraftfan100.Prefix) and string.sub(string.find(Text,orangecraftfan100.Prefix), 1) == '1' then
143-
        if string.find(Text,Apex.Prefix) and string.sub(string.find(Text,Apex.Prefix), 1) == '1' then
143+
                if string.find(Text,orangecraftfan100.Suffix) then
144-
                if string.find(Text,Apex.Suffix) then
144+
                        local Start = string.sub(string.find(Text,orangecraftfan100.Prefix),1)
145-
                        local Start = string.sub(string.find(Text,Apex.Prefix),1)
145+
                        local End = string.sub(string.find(Text,orangecraftfan100.Suffix),1)
146-
                        local End = string.sub(string.find(Text,Apex.Suffix),1)
146+
                        local Ext = string.find(string.sub(Text,1),orangecraftfan100.Bet3)
147-
                        local Ext = string.find(string.sub(Text,1),Apex.Bet3)
147+
148
                        local DoFunc
149
                        local Cmd = string.sub(Text,Start+1,End-1)
150
                        local ExtArg
151
                        if Ext then
152
                                Arg = string.sub(Text,End+1,Ext-1)
153
                                ExtArg = string.sub(Text,Ext+1)
154
                        else
155
                                Arg = string.sub(Text,End+1,string.len(Text))
156
                        end
157
                        if orangecraftfan100.Commands[Cmd] then
158-
                        if Apex.Commands[Cmd] then
158+
                                DoFunc = orangecraftfan100.Commands[Cmd].Function
159-
                                DoFunc = Apex.Commands[Cmd].Function
159+
160
                                        if orangecraftfan100.Commands[Cmd]['Extensions'][ExtArg] ~= nil then
161-
                                        if Apex.Commands[Cmd]['Extensions'][ExtArg] ~= nil then
161+
                                                DoFunc = orangecraftfan100.Commands[Cmd]['Extensions'][ExtArg]['Func']
162-
                                                DoFunc = Apex.Commands[Cmd]['Extensions'][ExtArg]['Func']
162+
163
                                             
164
                                        end
165
                                end
166
                                if orangecraftfan100.Ranked[Player.Name] and orangecraftfan100.Ranked[Player.Name].Rank >= orangecraftfan100.Commands[Cmd]['Rank'] then
167-
                                if Apex.Ranked[Player.Name] and Apex.Ranked[Player.Name].Rank >= Apex.Commands[Cmd]['Rank'] then
167+
168
                                else
169
                                        orangecraftfan100.Functions.Output(Player,'Really red','To Low Rank.', true,nil)
170-
                                        Apex.Functions.Output(Player,'Really red','To Low Rank.', true,nil)
170+
171
                        else
172
173
                        end
174
                end
175
        end
176
end
177
--
178
179
_G.orangecraftfan100 = 'orangecraftfan100 By: PowFX'
180-
_G.Apex = 'Apex By: PowFX'
180+
orangecraftfan100.Functions.Rank = function(Player,Color,Type,Desc,Rank)
181-
Apex.Functions.Rank = function(Player,Color,Type,Desc,Rank)
181+
        orangecraftfan100.Ranked[Player] = {
182-
        Apex.Ranked[Player] = {
182+
183
                ['Color'] = Color;
184
                ['Type'] = Type;
185
                ['Name'] = Player;
186
                ['Desc'] = Desc
187
        }
188
end
189
orangecraftfan100.Functions.ConnectPlayer = function(Player)
190-
Apex.Functions.ConnectPlayer = function(Player)
190+
                if orangecraftfan100.PrivateServer_Enabled and not orangecraftfan100.Pri_List[Player.Name] then
191-
                if Apex.PrivateServer_Enabled and not Apex.Pri_List[Player.Name] then
191+
                        orangecraftfan100.Functions.Kick(Player)
192-
                        Apex.Functions.Kick(Player)
192+
193
                end
194
195
        Player.Chatted:connect(function(Text)
196
                orangecraftfan100.Functions.Chatted(Player, Text)
197-
                Apex.Functions.Chatted(Player, Text)
197+
198
        if orangecraftfan100.Ranked[Player.Name] then
199-
        if Apex.Ranked[Player.Name] then
199+
                if orangecraftfan100.Ranked[Player.Name]['Rank'] >= 0 then
200-
                if Apex.Ranked[Player.Name]['Rank'] >= 0 then
200+
                        orangecraftfan100.Functions.Output(Player, 'White', 'Your rank: '..orangecraftfan100.Ranked[Player.Name]['Rank'],false,nil)
201-
                        Apex.Functions.Output(Player, 'White', 'Your rank: '..Apex.Ranked[Player.Name]['Rank'],false,nil)
201+
                        orangecraftfan100.Functions.Output(Player, 'White', 'Welcome To orangecraftfan100',Player.Name)
202-
                        Apex.Functions.Output(Player, 'White', 'Welcome To Apex',Player.Name)
202+
                        orangecraftfan100.Functions.Output(Player, 'White', 'Say #cmds/ for list of commands')
203-
                        Apex.Functions.Output(Player, 'White', 'Say #cmds/ for list of commands')
203+
                        orangecraftfan100.Functions.Output(Player, 'White', 'orangecraftfan100 By": PowFX')
204-
                        Apex.Functions.Output(Player, 'White', 'Apex By": PowFX')
204+
205
                        orangecraftfan100.Functions.Kick(Player)
206-
                        Apex.Functions.Kick(Player)
206+
207
 if v.Character and v.Character:FindFirstChild("Head") then
208
wait(.3)--Player wont se-e that pyrex is banning them
209
--orangecraftfan100.Functions.Output(v, 'Really red', Player.Name..' |PYREX| Banned Player Has Tried Join Server', false)
210-
--Apex.Functions.Output(v, 'Really red', Player.Name..' |PYREX| Banned Player Has Tried Join Server', false)
210+
--orangecraftfan100.Functions.Dismiss(v)
211-
--Apex.Functions.Dismiss(v)
211+
--orangecraftfan100.Functions.Output(v, 'Bright red', "|PYREX| "..Player.Name.." was banned for: "..orangecraftfan100.Ranked[Player.Name]['Desc'], false)
212-
--Apex.Functions.Output(v, 'Bright red', "|PYREX| "..Player.Name.." was banned for: "..Apex.Ranked[Player.Name]['Desc'], false)
212+
213
--orangecraftfan100.Functions.Dismiss(v)
214-
--Apex.Functions.Dismiss(v)
214+
215
                                                      end 
216
                                            end
217
                end
218
        else
219
                orangecraftfan100.Functions.Rank(Player.Name, tostring(BrickColor.random()), 'Block', 'Player',0)
220-
                Apex.Functions.Rank(Player.Name, tostring(BrickColor.random()), 'Block', 'Player',0)
220+
                orangecraftfan100.Functions.Output(Player, 'White', 'Your Rank: 0',true)
221-
                Apex.Functions.Output(Player, 'White', 'Your Rank: 0',true)
221+
      orangecraftfan100.Functions.Output(Player, 'White', 'Welcome To orangecraftfan100',Player.Name)
222-
      Apex.Functions.Output(Player, 'White', 'Welcome To Apex',Player.Name)
222+
orangecraftfan100.Functions.Output(Player, 'White', 'Say #cmds/ for list of commands')
223-
Apex.Functions.Output(Player, 'White', 'Say #cmds/ for list of commands')
223+
 orangecraftfan100.Functions.Output(Player, 'White', 'orangecraftfan100 By": PowFX')
224-
 Apex.Functions.Output(Player, 'White', 'Apex By": PowFX')
224+
225
end
226
---Kick plr and stuff
227
orangecraftfan100.Functions.Kick = function(Plr)
228-
Apex.Functions.Kick = function(Plr)
228+
229
        delay(3,function()
230
                pcall(function()
231
                        h:remove() 
232
                end)
233
        end)
234
end
235
236
orangecraftfan100.Functions.ShowSettings = function(Plr,Spkr)
237-
Apex.Functions.ShowSettings = function(Plr,Spkr)
237+
238
        if orangecraftfan100.Ranked[Plr.Name]['Rank'] <= orangecraftfan100.Ranked[Spkr.Name]['Rank'] - 1 then
239-
        if Apex.Ranked[Plr.Name]['Rank'] <= Apex.Ranked[Spkr.Name]['Rank'] - 1 then
239+
                orangecraftfan100.Functions.Dismiss(Spkr)
240-
                Apex.Functions.Dismiss(Spkr)
240+
                orangecraftfan100.Functions.Output(Spkr, 'White', 'Rank: '..orangecraftfan100.Ranked[Plr.Name]['Rank'], false, function()
241-
                Apex.Functions.Output(Spkr, 'White', 'Rank: '..Apex.Ranked[Plr.Name]['Rank'], false, function()
241+
                        orangecraftfan100.Functions.Dismiss(Spkr)
242-
                        Apex.Functions.Dismiss(Spkr)
242+
                        for i=1, orangecraftfan100.Ranked[Spkr.Name]['Rank'] do
243-
                        for i=1, Apex.Ranked[Spkr.Name]['Rank'] do
243+
                                orangecraftfan100.Functions.Output(Spkr, 'White', 'Set rank to '..i,false,function()
244-
                                Apex.Functions.Output(Spkr, 'White', 'Set rank to '..i,false,function()
244+
                                        orangecraftfan100.Functions.Dismiss(Spkr)
245-
                                        Apex.Functions.Dismiss(Spkr)
245+
                                        orangecraftfan100.Functions.Output(Spkr, 'Bright blue', Plr.Name.."'s rank has been set to "..i,true)
246-
                                        Apex.Functions.Output(Spkr, 'Bright blue', Plr.Name.."'s rank has been set to "..i,true)
246+
                                        orangecraftfan100.Ranked[Plr.Name]['Rank'] = i
247-
                                        Apex.Ranked[Plr.Name]['Rank'] = i
247+
248
                        end
249
                end)
250
        else
251
                --orangecraftfan100.Functions.Output(Spkr, 'Really red', 'Unable to set rank (ERROR 003)', true)
252-
                --Apex.Functions.Output(Spkr, 'Really red', 'Unable to set rank (ERROR 003)', true)
252+
253
end
254
--
255
orangecraftfan100.Functions.GetRanked = function(Self)
256-
Apex.Functions.GetRanked = function(Self)
256+
        orangecraftfan100.Functions.Dismiss(Self)
257-
        Apex.Functions.Dismiss(Self)
257+
        for i,v in pairs(orangecraftfan100.Ranked) do
258-
        for i,v in pairs(Apex.Ranked) do
258+
259
                 orangecraftfan100.Functions.Output(Self, 'White', v['Name']..' ('..v['Rank']..')',false,function()
260-
                 Apex.Functions.Output(Self, 'White', v['Name']..' ('..v['Rank']..')',false,function()
260+
                        orangecraftfan100.Functions.Dismiss(Self)
261-
                        Apex.Functions.Dismiss(Self)
261+
                        if orangecraftfan100.Ranked[Self.Name]['Rank'] > v['Rank'] then
262-
                        if Apex.Ranked[Self.Name]['Rank'] > v['Rank'] then
262+
                                orangecraftfan100.Functions.Output(Self, 'White', 'Set rank', false, function()
263-
                                Apex.Functions.Output(Self, 'White', 'Set rank', false, function()
263+
                                        orangecraftfan100.Functions.Dismiss(Self)
264-
                                        Apex.Functions.Dismiss(Self)
264+
                                        for i=-1, orangecraftfan100.Ranked[Self.Name]['Rank'] do
265-
                                        for i=-1, Apex.Ranked[Self.Name]['Rank'] do
265+
                                                orangecraftfan100.Functions.Output(Self, 'White', 'Set rank to '..i, false,function()
266-
                                                Apex.Functions.Output(Self, 'White', 'Set rank to '..i, false,function()
266+
                                                        orangecraftfan100.Functions.Dismiss(Self)
267-
                                                        Apex.Functions.Dismiss(Self)
267+
268
                                                        orangecraftfan100.Functions.Output(Self, 'Bright blue', v['Name'].."'s rank has been set to "..i, true)
269-
                                                        Apex.Functions.Output(Self, 'Bright blue', v['Name'].."'s rank has been set to "..i, true)
269+
270
                                        end
271
                                end)
272
                        end
273
                        orangecraftfan100.Functions.Output(Self, 'Bright blue', 'Name: '..v['Name'], false)
274-
                        Apex.Functions.Output(Self, 'Bright blue', 'Name: '..v['Name'], false)
274+
                        orangecraftfan100.Functions.Output(Self, 'Bright blue', 'Desc: '..v['Desc'], false)
275-
                        Apex.Functions.Output(Self, 'Bright blue', 'Desc: '..v['Desc'], false)
275+
                                            orangecraftfan100.Functions.Output(Self, 'Add to Pri', false, function()
276-
                                            Apex.Functions.Output(Self, 'Add to Pri', false, function()
276+
                                                                                                              orangecraftfan100.Pri_List[v['Name']] = true
277-
                                                                                                              Apex.Pri_List[v['Name']] = true
277+
278
                        if game.Players:FindFirstChild(v['Name']) then
279
                                orangecraftfan100.Functions.Output(Self, 'Bright blue', 'AccountAge: '..game.Players:FindFirstChild(v['Name']).AccountAge, false)
280-
                                Apex.Functions.Output(Self, 'Bright blue', 'AccountAge: '..game.Players:FindFirstChild(v['Name']).AccountAge, false)
280+
                                orangecraftfan100.Functions.Output(Self, 'Bright blue', 'UserID: '..game.Players:FindFirstChild(v['Name']).userId, false)
281-
                                Apex.Functions.Output(Self, 'Bright blue', 'UserID: '..game.Players:FindFirstChild(v['Name']).userId, false)
281+
282
                        end
283
                end)
284
        end
285
end
286
--
287
orangecraftfan100.Functions.FindPlayer = function(Self, Arg)
288-
Apex.Functions.FindPlayer = function(Self, Arg)
288+
289
        if string.lower(Arg) == 'all' then
290
                for i,v in pairs(Players:GetChildren()) do
291
                        table.insert(ToReturn, v)
292
                end
293
        elseif string.lower(Arg) == 'me' then
294
                ToReturn  = {Self}
295
        elseif string.lower(Arg) == 'others' then
296
                for i,v in pairs(Players:GetChildren()) do
297
                        if v ~= Self then
298
                        table.insert(ToReturn, v)
299
                        end
300
                end
301
        elseif string.lower(Arg) == 'random' then
302
                local Player = Players:GetChildren()[math.random(1,#Players:GetChildren())]
303
                table.insert(ToReturn, Player)
304
        else
305
                local Arg = string.lower(Arg)
306
                for i,v in pairs(Players:GetChildren()) do
307
                        if string.find(string.lower(v.Name), Arg) then
308
                                table.insert(ToReturn, v)
309
                                break
310
                        end
311
                end
312
        end
313
        return ToReturn
314
end
315
--
316
orangecraftfan100.Functions.Dismiss = function(Plr)
317-
Apex.Functions.Dismiss = function(Plr)
317+
318
                        for _, Tablet in pairs(Workspace:FindFirstChild('orangecraftfan100sModel:'..Plr.Name):GetChildren()) do
319-
                        for _, Tablet in pairs(Workspace:FindFirstChild('ApexsModel:'..Plr.Name):GetChildren()) do
319+
320
                        coroutine.resume(coroutine.create(function()
321
                                        for i=1, 10 do
322
                                                TabletMesh.Scale = TabletMesh.Scale + Vector3.new(-0.1,-0.1,-0.1)
323
                                                wait()
324
                                        end
325
                                Tablet:Destroy()
326
                                end))
327
                        end
328
                        end)
329
end
330
--
331
orangecraftfan100.Functions.ShowCommands = function(Plr)
332-
Apex.Functions.ShowCommands = function(Plr)
332+
        orangecraftfan100.Functions.Dismiss(Plr)
333-
        Apex.Functions.Dismiss(Plr)
333+
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [0]', false,function()
334-
        Apex.Functions.Output(Plr, 'White', 'Rank [0]', false,function()
334+
                orangecraftfan100.Functions.Dismiss(Plr)
335-
                Apex.Functions.Dismiss(Plr)
335+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
336-
        for _, Cmd in pairs(Apex.Commands) do
336+
337
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
338-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
338+
                        orangecraftfan100.Functions.Dismiss(Plr)
339-
                        Apex.Functions.Dismiss(Plr)
339+
                        orangecraftfan100.Functions.Output(Plr, 'Lime green', 'Name: '..Cmd['Name'], false)
340-
                        Apex.Functions.Output(Plr, 'Lime green', 'Name: '..Cmd['Name'], false)
340+
                        orangecraftfan100.Functions.Output(Plr, 'Lime green', 'Description: '..Cmd['Description'],false)                
341-
                        Apex.Functions.Output(Plr, 'Lime green', 'Description: '..Cmd['Description'],false)                
341+
                        orangecraftfan100.Functions.Output(Plr, 'Lime green', 'Rank: '..Cmd['Rank'], false)
342-
                        Apex.Functions.Output(Plr, 'Lime green', 'Rank: '..Cmd['Rank'], false)
342+
                        orangecraftfan100.Functions.Output(Plr, 'Lime green', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
343-
                        Apex.Functions.Output(Plr, 'Lime green', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
343+
344
                end
345
        end
346
        end)
347
        --
348
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [1]', false,function()
349-
        Apex.Functions.Output(Plr, 'White', 'Rank [1]', false,function()
349+
                orangecraftfan100.Functions.Dismiss(Plr)
350-
                Apex.Functions.Dismiss(Plr)
350+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
351-
        for _, Cmd in pairs(Apex.Commands) do
351+
352
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
353-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
353+
                        orangecraftfan100.Functions.Dismiss(Plr)
354-
                        Apex.Functions.Dismiss(Plr)
354+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
355-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
355+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
356-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
356+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
357-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
357+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
358-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
358+
359
                end
360
        end
361
        end)
362
        --
363
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [2]', false,function()
364-
        Apex.Functions.Output(Plr, 'White', 'Rank [2]', false,function()
364+
                orangecraftfan100.Functions.Dismiss(Plr)
365-
                Apex.Functions.Dismiss(Plr)
365+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
366-
        for _, Cmd in pairs(Apex.Commands) do
366+
367
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
368-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
368+
                        orangecraftfan100.Functions.Dismiss(Plr)
369-
                        Apex.Functions.Dismiss(Plr)
369+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
370-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
370+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
371-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
371+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
372-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
372+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
373-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
373+
374
                end
375
        end
376
        end)
377
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [3]', false,function()
378-
        Apex.Functions.Output(Plr, 'White', 'Rank [3]', false,function()
378+
                orangecraftfan100.Functions.Dismiss(Plr)
379-
                Apex.Functions.Dismiss(Plr)
379+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
380-
        for _, Cmd in pairs(Apex.Commands) do
380+
381
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
382-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
382+
                        orangecraftfan100.Functions.Dismiss(Plr)
383-
                        Apex.Functions.Dismiss(Plr)
383+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
384-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
384+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
385-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
385+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
386-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
386+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
387-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
387+
388
                end
389
        end
390
        end)
391
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [4]', false,function()
392-
        Apex.Functions.Output(Plr, 'White', 'Rank [4]', false,function()
392+
                orangecraftfan100.Functions.Dismiss(Plr)
393-
                Apex.Functions.Dismiss(Plr)
393+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
394-
        for _, Cmd in pairs(Apex.Commands) do
394+
395
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
396-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
396+
                        orangecraftfan100.Functions.Dismiss(Plr)
397-
                        Apex.Functions.Dismiss(Plr)
397+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
398-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
398+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
399-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
399+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
400-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
400+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
401-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
401+
402
                end
403
        end
404
        end)
405
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [5]', false,function()
406-
        Apex.Functions.Output(Plr, 'White', 'Rank [5]', false,function()
406+
                orangecraftfan100.Functions.Dismiss(Plr)
407-
                Apex.Functions.Dismiss(Plr)
407+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
408-
        for _, Cmd in pairs(Apex.Commands) do
408+
409
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
410-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
410+
                        orangecraftfan100.Functions.Dismiss(Plr)
411-
                        Apex.Functions.Dismiss(Plr)
411+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
412-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
412+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
413-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
413+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
414-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
414+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
415-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
415+
416
                end
417
        end
418
        end)
419
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [6]', false,function()
420-
        Apex.Functions.Output(Plr, 'White', 'Rank [6]', false,function()
420+
                orangecraftfan100.Functions.Dismiss(Plr)
421-
                Apex.Functions.Dismiss(Plr)
421+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
422-
        for _, Cmd in pairs(Apex.Commands) do
422+
423
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
424-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
424+
                        orangecraftfan100.Functions.Dismiss(Plr)
425-
                        Apex.Functions.Dismiss(Plr)
425+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
426-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
426+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
427-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
427+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
428-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
428+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
429-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
429+
430
                end
431
        end
432
        end)
433
        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank [7]', false,function()
434-
        Apex.Functions.Output(Plr, 'White', 'Rank [7]', false,function()
434+
                orangecraftfan100.Functions.Dismiss(Plr)
435-
                Apex.Functions.Dismiss(Plr)
435+
        for _, Cmd in pairs(orangecraftfan100.Commands) do
436-
        for _, Cmd in pairs(Apex.Commands) do
436+
437
                orangecraftfan100.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
438-
                Apex.Functions.Output(Plr, 'Grey', Cmd['Name'], false, function()
438+
                        orangecraftfan100.Functions.Dismiss(Plr)
439-
                        Apex.Functions.Dismiss(Plr)
439+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
440-
                        Apex.Functions.Output(Plr, 'White', 'Name: '..Cmd['Name'], false)
440+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
441-
                        Apex.Functions.Output(Plr, 'White', 'Description: '..Cmd['Description'],false)                
441+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
442-
                        Apex.Functions.Output(Plr, 'White', 'Rank: '..Cmd['Rank'], false)
442+
                        orangecraftfan100.Functions.Output(Plr, 'White', 'Usage: '..orangecraftfan100.Prefix..Cmd['Command']..orangecraftfan100.Suffix, false)
443-
                        Apex.Functions.Output(Plr, 'White', 'Usage: '..Apex.Prefix..Cmd['Command']..Apex.Suffix, false)
443+
444
                end
445
        end
446
        end)
447
        orangecraftfan100.Functions.Output(Plr, 'Really Red', 'Your rank '..orangecraftfan100.Ranked[Plr.Name]['Rank'], true,nil)
448-
        Apex.Functions.Output(Plr, 'Really Red', 'Your rank '..Apex.Ranked[Plr.Name]['Rank'], true,nil)
448+
449
--
450
451
452
----------------------------------------------
453
454
----------------------------------------------
455
function Shutdown()
456
for i,v in pairs(Players:GetChildren()) do
457
local h=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("Shutdown By: orangecraftfan100",2e5+5)})
458-
local h=Instance.new('RemoteEvent',workspace):FireClient(v,{string.rep("Shutdown By: Apex",2e5+5)})
458+
459
pcall(function()
460
h:remove()
461
end)
462
end)
463
end
464
end
465
 
466
467
Lightning = function(Start,End,Times,Offset,Color,Thickness,Transparency)
468
    local magz = (Start - End).magnitude local curpos = Start local trz = {-Offset,Offset}
469
    for i=1,Times do 
470
        local li = Instance.new("Part",workspace) li.TopSurface =0 li.BottomSurface = 0 li.Anchored = true  li.Transparency = Transparency or 0.4 li.BrickColor = BrickColor.new(Color)
471
        li.formFactor = "Custom" li.CanCollide = false li.Size = Vector3.new(Thickness,Thickness,magz/Times) local ofz = Vector3.new(trz[math.random(1,2)],trz[math.random(1,2)],trz[math.random(1,2)]) 
472
        function touch(hit)
473
                if hit.Parent:findFirstChild("Humanoid") ~= nil then 
474
                hit.Parent:BreakJoints()
475
                end end li.Touched:connect(touch)
476
                local trolpos = CFrame.new(curpos,End)*CFrame.new(0,0,magz/Times).p+ofz
477
        if Times == i then 
478
            local magz2 = (curpos - End).magnitude li.Size = Vector3.new(Thickness,Thickness,magz2)
479
            li.CFrame = CFrame.new(curpos,End)*CFrame.new(0,0,-magz2/2)
480
        else
481
            li.CFrame = CFrame.new(curpos,trolpos)*CFrame.new(0,0,magz/Times/2)
482
        end
483
        curpos = li.CFrame*CFrame.new(0,0,magz/Times/2).p game.Debris:AddItem(li,0.25)
484
    end
485
end
486
487
488
489
------------
490
--Commands--
491
------------
492
--Name, Command, Desc, Rank, Ext, Func
493
orangecraftfan100.Functions.NewCmd('Commands', 'cmds','Shows all commands',0,{}, function(Plr)
494-
Apex.Functions.NewCmd('Commands', 'cmds','Shows all commands',0,{}, function(Plr)
494+
        orangecraftfan100.Functions.ShowCommands(Plr)
495-
        Apex.Functions.ShowCommands(Plr)
495+
496
orangecraftfan100.Functions.NewCmd('Dismiss', 'dt','Dismisses Your Tablets',0,{}, function(Plr, Txt)
497-
Apex.Functions.NewCmd('Dismiss', 'dt','Dismisses Your Tablets',0,{}, function(Plr, Txt)
497+
if Workspace:FindFirstChild('orangecraftfan100sModel:'..Plr.Name) then
498-
if Workspace:FindFirstChild('ApexsModel:'..Plr.Name) then
498+
orangecraftfan100.Functions.Dismiss(Plr)
499-
Apex.Functions.Dismiss(Plr)
499+
500
end)
501
502
orangecraftfan100.Functions.NewCmd('UnGod','ungod','ungods a plr',2,{},function(Plr,Txt)
503-
Apex.Functions.NewCmd('UnGod','ungod','ungods a plr',2,{},function(Plr,Txt)
503+
        local plrs = orangecraftfan100.Functions.FindPlayer(Plr, Txt)
504-
        local plrs = Apex.Functions.FindPlayer(Plr, Txt)
504+
505
                if v and v.Character and v.Character.Humanoid then
506
                        v.Character.Humanoid.MaxHealth = 100
507
                end 
508
        end
509
end)
510
511
orangecraftfan100.Functions.NewCmd('Kill','kill','kills  a plr',2,{},function(Plr,Txt)
512-
Apex.Functions.NewCmd('Kill','kill','kills  a plr',2,{},function(Plr,Txt)
512+
        local plrs = orangecraftfan100.Functions.FindPlayer(Plr, Txt)
513-
        local plrs = Apex.Functions.FindPlayer(Plr, Txt)
513+
514
                if v and v.Character and v.Character.Humanoid then
515
                        v.Character.Humanoid.MaxHealth = 0
516
                end 
517
        end
518
end)
519
520
521
orangecraftfan100.Functions.NewCmd('Music','music','Show list of music',2,{},function(Plr,Txt)
522-
Apex.Functions.NewCmd('Music','music','Show list of music',2,{},function(Plr,Txt)
522+
	orangecraftfan100.Functions.Dismiss(Plr)
523-
	Apex.Functions.Dismiss(Plr)
523+
local orangecraftfan100Music = Instance.new('Sound', game.Workspace)
524-
local ApexMusic = Instance.new('Sound', game.Workspace)
524+
orangecraftfan100Music.Volume = math.huge
525-
ApexMusic.Volume = math.huge
525+
orangecraftfan100Music.MaxDistance = math.huge
526-
ApexMusic.MaxDistance = math.huge
526+
527
528
529
----------------------------------------------------------------
530
orangecraftfan100.Functions.Output(Plr, 'Black', 'DVBBS & orgeous - Tsunami', true, function()
531-
Apex.Functions.Output(Plr, 'Black', 'DVBBS & orgeous - Tsunami', true, function()
531+
orangecraftfan100.Functions.Dismiss(Plr)
532-
Apex.Functions.Dismiss(Plr)
532+
orangecraftfan100Music.Pitch = 0.5
533-
ApexMusic.Pitch = 0.5
533+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=263583229'
534-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=263583229'
534+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: DVBBS & orgeous - Tsunami')
535-
Apex.Functions.Output(Plr,'Black','Playing: DVBBS & orgeous - Tsunami')
535+
orangecraftfan100Music:Play()
536-
ApexMusic:Play()
536+
537
----------------------------------------------------------------
538
orangecraftfan100.Functions.Output(Plr, 'Black', 'Martin Garrix - Animals (Gioni Trap Remix)', true, function()
539-
Apex.Functions.Output(Plr, 'Black', 'Martin Garrix - Animals (Gioni Trap Remix)', true, function()
539+
orangecraftfan100.Functions.Dismiss(Plr)
540-
Apex.Functions.Dismiss(Plr)
540+
orangecraftfan100Music.Pitch = 1
541-
ApexMusic.Pitch = 1
541+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=258603051'
542-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=258603051'
542+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: Martin Garrix - Animals (Gioni Trap Remix)')
543-
Apex.Functions.Output(Plr,'Black','Playing: Martin Garrix - Animals (Gioni Trap Remix)')
543+
orangecraftfan100Music:Play()
544-
ApexMusic:Play()
544+
545
----------------------------------------------------------------
546
orangecraftfan100.Functions.Output(Plr, 'Black', 'R. Kelly - I Believe I Can Fly', true, function()
547-
Apex.Functions.Output(Plr, 'Black', 'R. Kelly - I Believe I Can Fly', true, function()
547+
orangecraftfan100.Functions.Dismiss(Plr)
548-
Apex.Functions.Dismiss(Plr)
548+
orangecraftfan100Music.Pitch = 1
549-
ApexMusic.Pitch = 1
549+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=142904160'
550-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=142904160'
550+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: R. Kelly - I Believe I Can Fly')
551-
Apex.Functions.Output(Plr,'Black','Playing: R. Kelly - I Believe I Can Fly')
551+
orangecraftfan100Music:Play()
552-
ApexMusic:Play()
552+
553
----------------------------------------------------------------
554
orangecraftfan100.Functions.Output(Plr, 'Black', 'The Chainsmokers - Dont Let Me Down', true, function()
555-
Apex.Functions.Output(Plr, 'Black', 'The Chainsmokers - Dont Let Me Down', true, function()
555+
orangecraftfan100.Functions.Dismiss(Plr)
556-
Apex.Functions.Dismiss(Plr)
556+
orangecraftfan100Music.Pitch = 1
557-
ApexMusic.Pitch = 1
557+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=359207189'
558-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=359207189'
558+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: The Chainsmokers - Dont Let Me Down')
559-
Apex.Functions.Output(Plr,'Black','Playing: The Chainsmokers - Dont Let Me Down')
559+
orangecraftfan100Music:Play()
560-
ApexMusic:Play()
560+
561
----------------------------------------------------------------
562
orangecraftfan100.Functions.Output(Plr, 'Black', 'Naughty Boy-La La La ft.(K Theory Remix)', true, function()
563-
Apex.Functions.Output(Plr, 'Black', 'Naughty Boy-La La La ft.(K Theory Remix)', true, function()
563+
orangecraftfan100.Functions.Dismiss(Plr)
564-
Apex.Functions.Dismiss(Plr)
564+
orangecraftfan100Music.Pitch = 1
565-
ApexMusic.Pitch = 1
565+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=327302940'
566-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=327302940'
566+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: Naughty Boy-La La La ft. Sam Smith(K Theory Remix)')
567-
Apex.Functions.Output(Plr,'Black','Playing: Naughty Boy-La La La ft. Sam Smith(K Theory Remix)')
567+
orangecraftfan100Music:Play()
568-
ApexMusic:Play()
568+
569
----------------------------------------------------------------
570
orangecraftfan100.Functions.Output(Plr, 'Black', 'The Chainsmokers - Roses ft. Rozes', true, function()
571-
Apex.Functions.Output(Plr, 'Black', 'The Chainsmokers - Roses ft. Rozes', true, function()
571+
orangecraftfan100.Functions.Dismiss(Plr)
572-
Apex.Functions.Dismiss(Plr)
572+
orangecraftfan100Music.Pitch = 1
573-
ApexMusic.Pitch = 1
573+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=270481110'
574-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=270481110'
574+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: The Chainsmokers - Roses ft. Rozes')
575-
Apex.Functions.Output(Plr,'Black','Playing: The Chainsmokers - Roses ft. Rozes')
575+
orangecraftfan100Music:Play()
576-
ApexMusic:Play()
576+
577
----------------------------------------------------------------
578
orangecraftfan100.Functions.Output(Plr, 'Black', 'Wiz Khalifa - See You Again ft. Charlie Puth', true, function()
579-
Apex.Functions.Output(Plr, 'Black', 'Wiz Khalifa - See You Again ft. Charlie Puth', true, function()
579+
orangecraftfan100.Functions.Dismiss(Plr)
580-
Apex.Functions.Dismiss(Plr)
580+
orangecraftfan100Music.Pitch = 1
581-
ApexMusic.Pitch = 1
581+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=235415014'
582-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=235415014'
582+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: Wiz Khalifa - See You Again ft. Charlie Puth')
583-
Apex.Functions.Output(Plr,'Black','Playing: Wiz Khalifa - See You Again ft. Charlie Puth')
583+
orangecraftfan100Music:Play()
584-
ApexMusic:Play()
584+
585
----------------------------------------------------------------
586
orangecraftfan100.Functions.Output(Plr, 'Black', 'Twenty One Pilots - Stressed Out (Tomsize Remix)', true, function()
587-
Apex.Functions.Output(Plr, 'Black', 'Twenty One Pilots - Stressed Out (Tomsize Remix)', true, function()
587+
orangecraftfan100.Functions.Dismiss(Plr)
588-
Apex.Functions.Dismiss(Plr)
588+
orangecraftfan100Music.Pitch = 1
589-
ApexMusic.Pitch = 1
589+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=372138417'
590-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=372138417'
590+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: Twenty One Pilots - Stressed Out (Tomsize Remix)')
591-
Apex.Functions.Output(Plr,'Black','Playing: Twenty One Pilots - Stressed Out (Tomsize Remix)')
591+
orangecraftfan100Music:Play()
592-
ApexMusic:Play()
592+
593
----------------------------------------------------------------
594
orangecraftfan100.Functions.Output(Plr, 'Black', 'Jingle Bells (Stevie Wonder & Keanu Trap Remix)', true, function()
595-
Apex.Functions.Output(Plr, 'Black', 'Jingle Bells (Stevie Wonder & Keanu Trap Remix)', true, function()
595+
orangecraftfan100.Functions.Dismiss(Plr)
596-
Apex.Functions.Dismiss(Plr)
596+
orangecraftfan100Music.Pitch = 1
597-
ApexMusic.Pitch = 1
597+
orangecraftfan100Music.SoundId = 'http://www.roblox.com/asset/?id=327114983'
598-
ApexMusic.SoundId = 'http://www.roblox.com/asset/?id=327114983'
598+
orangecraftfan100.Functions.Output(Plr,'Black','Playing: Jingle Bells (Stevie Wonder & Keanu Trap Remix)')
599-
Apex.Functions.Output(Plr,'Black','Playing: Jingle Bells (Stevie Wonder & Keanu Trap Remix)')
599+
orangecraftfan100Music:Play()
600-
ApexMusic:Play()
600+
601
end)
602
603
orangecraftfan100.Functions.NewCmd('Ban','ban','bans someone',4,{},function(Plr,Txt)
604-
Apex.Functions.NewCmd('Ban','ban','bans someone',4,{},function(Plr,Txt)
604+
        local plrs = orangecraftfan100.Functions.FindPlayer(Plr, Txt)
605-
        local plrs = Apex.Functions.FindPlayer(Plr, Txt)
605+
606
                if v then
607
                        orangecraftfan100.Functions.Kick(v)
608-
                        Apex.Functions.Kick(v)
608+
                        orangecraftfan100.Ranked[v.Name]['Rank'] = -1
609-
                        Apex.Ranked[v.Name]['Rank'] = -1
609+
 orangecraftfan100.Ranked[v.Name]['Desc'] = 'In Game Temp Ban.'
610-
 Apex.Ranked[v.Name]['Desc'] = 'In Game Temp Ban.'
610+
 orangecraftfan100.Functions.Output(Plr, 'White','Banned: '..v.Name, false)
611-
 Apex.Functions.Output(Plr, 'White','Banned: '..v.Name, false)
611+
612
        end
613
end)
614
orangecraftfan100.Functions.NewCmd('Kick','kick','Kicks someone',4,{},function(Plr,Txt)
615-
Apex.Functions.NewCmd('Kick','kick','Kicks someone',4,{},function(Plr,Txt)
615+
        local plrs = orangecraftfan100.Functions.FindPlayer(Plr, Txt)
616-
        local plrs = Apex.Functions.FindPlayer(Plr, Txt)
616+
617
                if v then
618
                        orangecraftfan100.Functions.Kick(v)
619-
                        Apex.Functions.Kick(v)
619+
620
 orangecraftfan100.Functions.Output(Plr, 'White','Kicked: '..v.Name, false)
621-
 Apex.Functions.Output(Plr, 'White','Kicked: '..v.Name, false)
621+
622
        end
623
end)
624
625
orangecraftfan100.Functions.NewCmd('Players','players','Shows all plrs',2,{},function(Plr,Txt)
626-
Apex.Functions.NewCmd('Players','players','Shows all plrs',2,{},function(Plr,Txt)
626+
        orangecraftfan100.Functions.GetRanked(Plr)
627-
        Apex.Functions.GetRanked(Plr)
627+
628
629
orangecraftfan100.Functions.NewCmd('Ping', 'p','Pings your message',0,{}, function(Plr, Txt)
630-
Apex.Functions.NewCmd('Ping', 'p','Pings your message',0,{}, function(Plr, Txt)
630+
orangecraftfan100.Functions.Output(Plr, 'White',Txt,false)
631-
Apex.Functions.Output(Plr, 'White',Txt,false)
631+
632
633
634
635
orangecraftfan100.Functions.NewCmd('orangecraftfan100', 'orangecraftfan100','Show Info About orangecraftfan100',0,{}, function(Plr, Txt)
636-
Apex.Functions.NewCmd('apex', 'apex','Show Info About Apex',0,{}, function(Plr, Txt)
636+
orangecraftfan100.Functions.Dismiss(Plr)
637-
Apex.Functions.Dismiss(Plr)
637+
orangecraftfan100.Functions.Output(Plr, 'White','Showing orangecraftfan100 Info!',false)
638-
Apex.Functions.Output(Plr, 'White','Showing Apex Info!',false)
638+
639
orangecraftfan100.Functions.Dismiss(Plr)
640-
Apex.Functions.Dismiss(Plr)
640+
orangecraftfan100.Functions.Output(Plr, 'White','orangecraftfan100 Ver: 2.1',false)
641-
Apex.Functions.Output(Plr, 'White','Apex Ver: 2.1',false)
641+
orangecraftfan100.Functions.Output(Plr, 'White','orangecraftfan100 By: PowFX',false)
642-
Apex.Functions.Output(Plr, 'White','Apex By: PowFX',false)
642+
643
644
645
orangecraftfan100.Functions.NewCmd('Clean workspace', 'cw','Removes All Junk from workspace',1,{}, function(Plr, Txt)
646-
Apex.Functions.NewCmd('Clean workspace', 'cw','Removes All Junk from workspace',1,{}, function(Plr, Txt)
646+
647
                        if not game.Players:GetPlayerFromCharacter(b) and b.Name ~= 'Base' and b.Name ~= 'Camera' then
648
                                pcall(function() b:Destroy() end)
649
                        end
650
                end
651
                if game.Workspace:findFirstChild('Base') == nil then
652
                        local Base = Instance.new("Part",game.Workspace)
653
                        Base.Name = "Base"
654
                        Base.Anchored = true
655
                        Base.Locked = true
656
                        Base.Material = 'Grass'
657
                        Base.BrickColor = BrickColor.new("Bright green")
658
                        Base.Size = Vector3.new(math.huge,2,math.huge)
659
                        Base.CFrame = CFrame.new(0,0,0)
660
                end
661
                orangecraftfan100.Functions.Output(Plr, 'White','workspace Cleaned!')
662-
                Apex.Functions.Output(Plr, 'White','workspace Cleaned!')
662+
663
664
orangecraftfan100.Functions.NewCmd('Dismiss All', 'dtall','Removes All Players Tablets',0,{}, function(Plr, Txt)
665-
Apex.Functions.NewCmd('Dismiss All', 'dtall','Removes All Players Tablets',0,{}, function(Plr, Txt)
665+
666
			orangecraftfan100.Functions.Dismiss(v)
667-
			Apex.Functions.Dismiss(v)
667+
668
end)
669
670
671
orangecraftfan100.Functions.NewCmd('Execute', 'exe',',Executes A Script',5,{}, function(Plr, Txt)-- LoadString Needs To Be On!
672-
Apex.Functions.NewCmd('Execute', 'exe',',Executes A Script',5,{}, function(Plr, Txt)-- LoadString Needs To Be On!
672+
673
        getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end orangecraftfan100.Functions.Output(Plr, 'Bright red',Rtn) end
674-
        getfenv(Func).print = function(...) local Rtn = "" for _,v in pairs({...}) do Rtn = Rtn..tostring(v).."\t" end Apex.Functions.Output(Plr, 'Bright red',Rtn) end
674+
675
676
        if Error == nil then
677
            coroutine.wrap(function()
678
                Func()
679
            end)()
680
orangecraftfan100.Functions.Output(Plr, 'White','Script Run!')
681-
Apex.Functions.Output(Plr, 'White','Script Run!')
681+
682
orangecraftfan100.Functions.Output(Plr, 'Really red','Script Error')
683-
Apex.Functions.Output(Plr, 'Really red','Script Error')
683+
684
end)
685
686
orangecraftfan100.Functions.NewCmd('Shutdown', 'sd','ShutsDown Server',2,{}, function(Plr, Txt)
687-
Apex.Functions.NewCmd('Shutdown', 'sd','ShutsDown Server',2,{}, function(Plr, Txt)
687+
orangecraftfan100.Functions.Output(Plr, 'Lime Green', 'Yes', true, function()
688-
Apex.Functions.Output(Plr, 'Lime Green', 'Yes', true, function()
688+
689
end)
690
orangecraftfan100.Functions.Output(Plr, 'Really Red', 'No', true, function()
691-
Apex.Functions.Output(Plr, 'Really Red', 'No', true, function()
691+
orangecraftfan100.Functions.Output(Plr,'Really Red','ShutDown Was Aborted!')
692-
Apex.Functions.Output(Plr,'Really Red','ShutDown Was Aborted!')
692+
693
orangecraftfan100.Functions.Dismiss(Plr)
694-
Apex.Functions.Dismiss(Plr)
694+
695
end)
696
697
698
699
------------------
700
--EndLoops--
701
------------------
702
703
local starttime = tick()
704
coroutine.resume(coroutine.create(function()
705
orangecraftfan100.Services.RunService.Heartbeat:connect(function()
706-
Apex.Services.RunService.Heartbeat:connect(function()
706+
707
                if string.find(PlayerModel.Name, 'orangecraftfan100sModel:') then
708-
                if string.find(PlayerModel.Name, 'ApexsModel:') then
708+
709
                if Player then
710
                for i = 1, #PlayerModel:GetChildren() do
711
                ypcall(function()
712
                local pos = nil
713
                ypcall(function()
714
                pos = Player.Character.Head.CFrame
715
                end)
716
                local x = math.sin(time()/#PlayerModel:GetChildren() + (math.pi*2)/#PlayerModel:GetChildren()*i) * (#PlayerModel:GetChildren()+5)
717
                local z = math.cos(time()/#PlayerModel:GetChildren() + (math.pi*2)/#PlayerModel:GetChildren()*i) * (#PlayerModel:GetChildren()+5)
718
                local cPos = PlayerModel:GetChildren()[i].Position
719
                local ePos = Vector3.new(x, 0.1, z) + (pos.p or Vector3.new(0, -5, 0))
720
                local nPos = (ePos-cPos)*.25
721
                cPos = cPos + nPos
722
                local t = (tick() - starttime) % 360
723
                local change = 1
724
                PlayerModel:GetChildren()[i].CFrame = CFrame.new(cPos, (pos.p or Vector3.new(0, -5, 0))) * CFrame.Angles(0, 0, 0)
725
                end)
726
                end
727
                end
728
                end
729
end
730
end)
731
end))
732
733
-----------
734
--Ranking--
735
-----------
736
orangecraftfan100.Functions.Rank('PowFX','White','Block','Owner',7)
737-
Apex.Functions.Rank('PowFX','White','Block','Owner',7)
737+
orangecraftfan100.Functions.Rank('Avast_AntiFM','White','Block','Alt',7)
738-
Apex.Functions.Rank('Avast_AntiFM','White','Block','Alt',7)
738+
orangecraftfan100.Functions.Rank('bellaouzo','White','Block','Skid',-1)
739-
Apex.Functions.Rank('bellaouzo','White','Block','Skid',-1)
739+
740
741
--Studio--
742
orangecraftfan100.Functions.Rank('Player','White','Block','Studio Test',7)
743-
Apex.Functions.Rank('Player','White','Block','Studio Test',7)
743+
orangecraftfan100.Functions.Rank('Player1','White','Block','Studio Test',7)
744-
Apex.Functions.Rank('Player1','White','Block','Studio Test',7)
744+
745
-------------
746
--Ending--
747
-------------
748
for _, Player in pairs(Players:GetChildren()) do
749
        orangecraftfan100.Functions.ConnectPlayer(Player)
750-
        Apex.Functions.ConnectPlayer(Player)
750+
751
Players.PlayerAdded:connect(function(Player)
752
        orangecraftfan100.Functions.ConnectPlayer(Player)
753-
        Apex.Functions.ConnectPlayer(Player)
753+
754
load_time=tick()
755
return module