SHOW:
|
|
- or go back to the newest paste.
1 | - | Player = game.Players.NextFlame |
1 | + | Admins = { |
2 | - | char = Player.Character |
2 | + | ["iiReanimation"] = 3, -- Your name |
3 | - | mouse = Player:GetMouse() |
3 | + | ["mediafire"] = 3, -- Friends names |
4 | - | run = game:GetService("RunService") |
4 | + | ["DeadlyShroom"] = 3, |
5 | - | g = Instance.new("Part", game.Lighting) |
5 | + | [""] = 3 |
6 | - | ra = char["Right Arm"] |
6 | + | } |
7 | - | la = char["Left Arm"] |
7 | + | local Levels = { |
8 | - | rl = char["Right Leg"] |
8 | + | [0] = {"Peasant", BrickColor.new("Medium stone grey")}; |
9 | - | ll = char["Left Leg"] |
9 | + | [1] = {"Knight", BrickColor.new("Bright red")}; |
10 | - | rs = char.Torso["Right Shoulder"] |
10 | + | [2] = {"Lord", BrickColor.new("Navy blue")}; |
11 | - | ls = char.Torso["Left Shoulder"] |
11 | + | [3] = {"King", BrickColor.new("Really black")} |
12 | - | lh = char.Torso["Left Hip"] |
12 | + | } |
13 | - | rh = char.Torso["Right Hip"] |
13 | + | Players = Game:GetService("Players") |
14 | - | ringmesh = "http://www.roblox.com/asset/?id=3270017" |
14 | + | Workspace = Game:GetService("Workspace") |
15 | - | handmesh = "http://www.roblox.com/asset/?id=37241605" |
15 | + | Debris = Game:GetService("Debris") |
16 | - | root = char.HumanoidRootPart.RootJoint |
16 | + | Lighting = Game:GetService("Lighting") |
17 | - | BladeMesh = "http://www.roblox.com/asset/?id=94840342" |
17 | + | Teams = Game:GetService("Teams") |
18 | - | glade = false |
18 | + | MR = math.rad |
19 | - | use = false |
19 | + | MD = math.deg |
20 | - | slash = false |
20 | + | IPStore = {} |
21 | - | darkpulse = false |
21 | + | IPBans = {} |
22 | - | beat = false |
22 | + | Banned = {"Network Server"} |
23 | - | clash = false |
23 | + | PrivateServer = {} |
24 | - | lightattacktime = 0.1 |
24 | + | PrivateServerWarnings = {} |
25 | - | heavyattacktime = 0.1 |
25 | + | function IncommingConnection(IPAddress, Replicator) |
26 | - | pulseattacktime = 3 |
26 | + | local IP = IPAddress:sub(1, IPAddress:find(":")-1) |
27 | - | jump = char.Humanoid.Jump |
27 | + | local ThePlayer |
28 | - | function Equip(key) |
28 | + | Players.PlayerAdded:connect(function(NewPlayer) |
29 | - | if key == "r" and glade == false and use == false then |
29 | + | if not ThePlayer then |
30 | - | char.Humanoid.WalkSpeed = 0 |
30 | + | ThePlayer = NewPlayer |
31 | - | char.Animate.Disabled = true |
31 | + | end |
32 | - | use = true |
32 | + | end) |
33 | - | glade = true |
33 | + | repeat wait() until ThePlayer |
34 | - | g.Anchored = true |
34 | + | IPStore[ThePlayer.Name] = IP |
35 | - | g.Reflectance = 0.3 |
35 | + | for i=1, #IPBans do |
36 | - | g.CanCollide = false |
36 | + | if IPBans[i] == IP then |
37 | - | g.TopSurface = 0 |
37 | + | ThePlayer:Remove() |
38 | - | g.Name = "Glade" |
38 | + | end |
39 | - | gfire = Instance.new("Fire", g) |
39 | + | end |
40 | - | gfire.Size = 10 |
40 | + | end |
41 | - | gfire.Color = Color3.new(0, 0, 0) |
41 | + | function Round(Number, ToWhatExtent) |
42 | - | gfire.SecondaryColor = Color3.new(10, 10, 10) |
42 | + | if ToWhatExtent then |
43 | - | g.Parent = Workspace |
43 | + | return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent |
44 | - | g.BottomSurface = 0 |
44 | + | else |
45 | - | g.BrickColor = BrickColor.new("Really black") |
45 | + | return math.floor(Number + 0.5) |
46 | - | g.Size = Vector3.new(1, 8, 1) |
46 | + | end |
47 | - | gmesh = Instance.new("SpecialMesh", g) |
47 | + | end |
48 | - | gmesh.MeshType = "FileMesh" |
48 | + | Settings = { |
49 | - | gmesh.MeshId = BladeMesh |
49 | + | Color = BrickColor.new("White"), --Its bright red... |
50 | - | gmesh.Scale = Vector3.new(1, 0, 0.8) |
50 | + | Name = "ProLevi27 Scythe Admin", |
51 | - | game.Lighting.TimeOfDay = "1:00:00" |
51 | + | Version = "0.0.8" |
52 | - | gate1 = Instance.new("Part", Workspace) |
52 | + | } |
53 | - | gate1.Anchored = true |
53 | + | function ShowInCircle(Prompter,...) |
54 | - | gate1.Size = Vector3.new(1, 1, 1) |
54 | + | local Args = {...} |
55 | - | gate1.TopSurface = 0 |
55 | + | local Books = {} |
56 | - | gate1.BottomSurface = 0 |
56 | + | Args[#Args + 1] = "Dismiss" |
57 | - | gate1.BrickColor = BrickColor.new("Really black") |
57 | + | local Ans = nil |
58 | - | gate1.CanCollide = false |
58 | + | local Rank = Admins[Prompter.Name] |
59 | - | gate1.CFrame = char.Torso.CFrame *CFrame.new(0, -3, -5) |
59 | + | for i=1, #Args do |
60 | - | gate1.CFrame = gate1.CFrame *CFrame.Angles(1.57, 0, 0) |
60 | + | local IsKings |
61 | - | gatemesh = Instance.new("SpecialMesh", gate1) |
61 | + | if Args[i]:find("(Kings Only)") then |
62 | - | gatemesh.MeshType = "FileMesh" |
62 | + | IsKings = true |
63 | - | gatemesh.MeshId = ringmesh |
63 | + | end |
64 | - | gatemesh.Scale = Vector3.new(0, 0, 0) |
64 | + | local Book = Instance.new("Part", Game:GetService("Workspace")) |
65 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, 1.57) |
65 | + | Book.Anchored = false |
66 | - | g.CFrame = gate1.CFrame |
66 | + | Book.Locked = true |
67 | - | for armriseinanepicway = 1,5 do |
67 | + | Book.CanCollide = false |
68 | - | rs.C0 = rs.C0 *CFrame.Angles(-0.314, 0, 0) |
68 | + | Book.TopSurface, Book.BottomSurface = 0, 0 |
69 | - | run.Stepped:wait() |
69 | + | Book.Transparency = 0.5 |
70 | - | end |
70 | + | Book.FormFactor = Enum.FormFactor.Custom |
71 | - | game:GetService("Chat"):Chat(char.Head, "Rise, Sabeles") |
71 | + | Book.Size = Vector3.new(2.3, 1, 3) |
72 | - | for expandgate1 = 1,5 do |
72 | + | if IsKings and Admins[Prompter.Name] < 3 then |
73 | - | gatemesh.Scale = gatemesh.Scale +Vector3.new(1, 1, 0.1) |
73 | + | Book.BrickColor = BrickColor.new("Bright red") |
74 | - | run.Stepped:wait() |
74 | + | else |
75 | - | end |
75 | + | Book.BrickColor = Settings.Color |
76 | - | gate2 = gate1:clone() |
76 | + | end |
77 | - | gate2.Parent = Workspace |
77 | + | table.insert(Books, Book) |
78 | - | gate2.CFrame = gate1.CFrame |
78 | + | local Mesh = Instance.new("SpecialMesh", Book) |
79 | - | for expandgate1 = 1,5 do |
79 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139" |
80 | - | gate2.Mesh.Scale = gate2.Mesh.Scale +Vector3.new(1, 1, 0.1) |
80 | + | Mesh.MeshType = "FileMesh" |
81 | - | run.Stepped:wait() |
81 | + | local BG = Instance.new("BodyGyro", Book) |
82 | - | end |
82 | + | local BP = Instance.new("BodyPosition", Book) |
83 | - | gate3 = gate2:clone() |
83 | + | if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then |
84 | - | gate3.Parent = Workspace |
84 | + | local Fire = Instance.new("Fire", Book) |
85 | - | gate3.CFrame = gate2.CFrame |
85 | + | Fire.Heat = 0 |
86 | - | for expandgate1 = 1,5 do |
86 | + | Fire.Color = Settings.Color.Color |
87 | - | gate3.Mesh.Scale = gate3.Mesh.Scale +Vector3.new(1, 1, 0.1) |
87 | + | Fire.SecondaryColor = Settings.Color.Color |
88 | - | run.Stepped:wait() |
88 | + | end |
89 | - | end |
89 | + | local Billboard = Instance.new("BillboardGui", Book) |
90 | - | gate4 = gate3:clone() |
90 | + | Billboard.Adornee = Book |
91 | - | gate4.Parent = Workspace |
91 | + | Billboard.Enabled = true |
92 | - | gate4.CFrame = gate3.CFrame |
92 | + | Billboard.Active = true |
93 | - | for expandgate1 = 1,5 do |
93 | + | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
94 | - | gate4.Mesh.Scale = gate4.Mesh.Scale +Vector3.new(1, 1, 0.1) |
94 | + | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
95 | - | run.Stepped:wait() |
95 | + | local Text = Instance.new("TextLabel", Billboard) |
96 | - | end |
96 | + | Text.Text = Args[i] |
97 | - | gate5 = gate4:clone() |
97 | + | if IsKings and Admins[Prompter.Name] ~= 3 then |
98 | - | gate5.Parent = Workspace |
98 | + | Text.TextColor3 = BrickColor.new("White").Color |
99 | - | gate5.CFrame = gate1.CFrame |
99 | + | else |
100 | - | for expandgate1 = 1,5 do |
100 | + | Text.TextColor3 = Settings.Color.Color |
101 | - | gate5.Mesh.Scale = gate5.Mesh.Scale +Vector3.new(1, 1, 0.1) |
101 | + | end |
102 | - | run.Stepped:wait() |
102 | + | Text.BackgroundTransparency = 1 |
103 | - | end |
103 | + | Text.Size = UDim2.new(1, 0, 1, 0) |
104 | - | |
104 | + | local ClickDetector = Instance.new("ClickDetector", Book) |
105 | - | g.CFrame = gate1.CFrame |
105 | + | ClickDetector.MouseClick:connect(function(Player) |
106 | - | g.CFrame = g.CFrame *CFrame.Angles(-1.57, 0, 0) |
106 | + | if Player == Prompter and Args[i] == "Dismiss" then |
107 | - | |
107 | + | Ans = Args[i] |
108 | - | for growmyblade = 1,50 do |
108 | + | for _, v in pairs(Books) do |
109 | - | gmesh.Scale = gmesh.Scale +Vector3.new(0, 0.02, 0) |
109 | + | v:Remove() |
110 | - | g.CFrame = g.CFrame *CFrame.new(0, 0.1, 0) |
110 | + | end |
111 | - | run.Stepped:wait() |
111 | + | Books = {} |
112 | - | end |
112 | + | end |
113 | - | |
113 | + | end) |
114 | - | g.Anchored = false |
114 | + | end |
115 | - | weld = Instance.new('Weld', g) |
115 | + | coroutine.resume(coroutine.create(function() |
116 | - | weld.Part0 = g |
116 | + | local radius = 3 + (#Books*.7) |
117 | - | weld.Part1 = ra |
117 | + | while wait() do |
118 | - | weld.C0 = CFrame.new(0, -2.5, 1) |
118 | + | if #Books == 0 then break end |
119 | - | weld.C0 = weld.C0 *CFrame.Angles(1.57, 0, 0) |
119 | + | for _, Book in pairs(Books) do |
120 | - | for spinlikeaboss = 1,5 do |
120 | + | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) |
121 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, -0.314) |
121 | + | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
122 | - | run.Stepped:wait() |
122 | + | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) |
123 | - | end |
123 | + | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) |
124 | - | |
124 | + | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame |
125 | - | function Damage(g) |
125 | + | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos |
126 | - | h = g.Parent:findFirstChild("Humanoid") |
126 | + | local y = 0 |
127 | - | if h ~= nil and h.Parent.Name ~= char.Name and slash == true then |
127 | + | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin |
128 | - | h.Health = h.Health -3 |
128 | + | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p |
129 | - | end |
129 | + | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) |
130 | - | end |
130 | + | end |
131 | - | g.Touched:connect(Damage) |
131 | + | end |
132 | - | function Clash(g) |
132 | + | end)) |
133 | - | b = g.Parent:findFirstChild("Glade") |
133 | + | end |
134 | - | if b ~= nil and clash == false and slash == true then |
134 | + | function Prompt(Prompter, ...) |
135 | - | clash = true |
135 | + | local Args = {...} |
136 | - | lol = Instance.new("Part", Workspace) |
136 | + | local Books = {} --Dismiss sounds cooler :3 |
137 | - | lol.FormFactor = "Custom" |
137 | + | Args[#Args + 1] = "Dismiss" |
138 | - | lol.Anchored = true |
138 | + | local Ans = nil |
139 | - | lol.CFrame = b.CFrame |
139 | + | for i=1, #Args do |
140 | - | lol.CanCollide = false |
140 | + | local Book = Instance.new("Part", Game:GetService("Workspace")) |
141 | - | lol.TopSurface = 0 |
141 | + | Book.Anchored = false |
142 | - | lol.BottomSurface = 0 |
142 | + | Book.Locked = true |
143 | - | lol.BrickColor = BrickColor.new("White") |
143 | + | Book.CanCollide = false |
144 | - | lolm = Instance.new("SpecialMesh", lol) |
144 | + | Book.TopSurface, Book.BottomSurface = 0, 0 |
145 | - | lolm.MeshType = "Sphere" |
145 | + | Book.Transparency = 0.5 |
146 | - | for kaboom = 1,4 do |
146 | + | Book.FormFactor = Enum.FormFactor.Custom |
147 | - | lolm.Scale = lolm.Scale +Vector3.new(0.05, 0.5, 0.05) |
147 | + | Book.Size = Vector3.new(2.3, 1, 3) |
148 | - | char.Torso.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -0.1) |
148 | + | Book.BrickColor = Settings.Color |
149 | - | lol.Transparency = lol.Transparency +0.32 |
149 | + | table.insert(Books, Book) |
150 | - | run.Stepped:wait() |
150 | + | local Mesh = Instance.new("SpecialMesh", Book) |
151 | - | end |
151 | + | Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139" |
152 | - | lol:remove() |
152 | + | Mesh.MeshType = "FileMesh" |
153 | - | clash = false |
153 | + | local Fire = Instance.new("Fire", Book) |
154 | - | end |
154 | + | Fire.Heat = 0 |
155 | - | end |
155 | + | Fire.Color = Settings.Color.Color |
156 | - | g.Touched:connect(Clash) |
156 | + | Fire.SecondaryColor = Settings.Color.Color |
157 | - | gate1.BrickColor = BrickColor.new("White") |
157 | + | local Billboard = Instance.new("BillboardGui", Book) |
158 | - | gate2.BrickColor = BrickColor.new("White") |
158 | + | Billboard.Adornee = Book |
159 | - | gate3.BrickColor = BrickColor.new("White") |
159 | + | Billboard.Enabled = true |
160 | - | gate4.BrickColor = BrickColor.new("White") |
160 | + | Billboard.Active = true |
161 | - | gate5.BrickColor = BrickColor.new("White") |
161 | + | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
162 | - | for fadebacktoSables = 1,20 do |
162 | + | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
163 | - | gate1.Transparency = gate1.Transparency +0.05 |
163 | + | local Text = Instance.new("TextLabel", Billboard) |
164 | - | gate2.Transparency = gate2.Transparency +0.05 |
164 | + | Text.Text = Args[i] |
165 | - | gate3.Transparency = gate3.Transparency +0.05 |
165 | + | Text.TextColor3 = Settings.Color.Color |
166 | - | gate4.Transparency = gate4.Transparency +0.05 |
166 | + | Text.BackgroundTransparency = 1 |
167 | - | gate5.Transparency = gate5.Transparency +0.05 |
167 | + | Text.Size = UDim2.new(1, 0, 1, 0) |
168 | - | run.Stepped:wait() |
168 | + | local AttemptToFixPrompt = i |
169 | - | end |
169 | + | local ClickDetector = Instance.new("ClickDetector", Book) |
170 | - | gate1:remove() |
170 | + | ClickDetector.MouseClick:connect(function(Player) |
171 | - | gate2:remove() |
171 | + | if Player == Prompter then |
172 | - | gate3:remove() |
172 | + | Ans = Args[i] |
173 | - | gate4:remove() |
173 | + | local BackupBooks = Books |
174 | - | gate5:remove() |
174 | + | Books = {} |
175 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
175 | + | local AnimationOver |
176 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
176 | + | pcall(function() BP.Position = Player.Character.Torso.Position end) |
177 | - | char.Humanoid.WalkSpeed = 16 |
177 | + | Book.Touched:connect(function(zPart) |
178 | - | char.Animate.Disabled = false |
178 | + | pcall(function() |
179 | - | use = false |
179 | + | if zPart == Player.Character.Torso then |
180 | - | end |
180 | + | AnimationOver = true |
181 | - | end |
181 | + | end |
182 | - | mouse.KeyDown:connect(Equip) |
182 | + | end) |
183 | - | |
183 | + | end) |
184 | - | function UnEquip(key) |
184 | + | delay(5, function() AnimationOver = true end) |
185 | - | if key == "r" and use == false and glade == true and slash == false and beat == false then |
185 | + | for _, v in pairs(BackupBooks) do |
186 | - | use = true |
186 | + | v:Remove() |
187 | - | glade = false |
187 | + | end |
188 | - | g.BrickColor = BrickColor.new("White") |
188 | + | BackupBooks = nil |
189 | - | for fade = 1,20 do |
189 | + | return AttemptToFixPrompt |
190 | - | g.Transparency = g.Transparency +0.05 |
190 | + | end |
191 | - | run.Stepped:wait() |
191 | + | end) |
192 | - | end |
192 | + | end |
193 | - | g:remove() |
193 | + | coroutine.resume(coroutine.create(function() |
194 | - | script.Disabled = true |
194 | + | local radius = 3 + (#Books) |
195 | - | wait() |
195 | + | while wait() do |
196 | - | script.Disabled = false |
196 | + | if #Books == 0 then break end |
197 | - | end |
197 | + | for _, Book in pairs(Books) do |
198 | - | end |
198 | + | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) |
199 | - | mouse.KeyDown:connect(UnEquip) |
199 | + | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
200 | - | |
200 | + | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) |
201 | - | function LightAttack(key) |
201 | + | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) |
202 | - | if key == "q" and glade == true and use == false and slash == false and jump == false then |
202 | + | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame |
203 | - | char.Animate.Disabled = true |
203 | + | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos |
204 | - | use = true |
204 | + | local y = 0 |
205 | - | slash = true |
205 | + | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin |
206 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
206 | + | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p |
207 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
207 | + | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) |
208 | - | ls.C0 = CFrame.new(-1, 0.5, 0) |
208 | + | end |
209 | - | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) |
209 | + | end |
210 | - | rs.C0 = rs.C0 *CFrame.Angles(1.57, 0, 0) |
210 | + | end)) |
211 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 3.14, 0) |
211 | + | while (Ans == nil) and (#Books > 0) do |
212 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -1) |
212 | + | wait() |
213 | - | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) |
213 | + | end |
214 | - | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) |
214 | + | return Ans |
215 | - | for slash = 1,8 do |
215 | + | end |
216 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, -0.1) |
216 | + | function ParseMessage(Message) |
217 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.5) |
217 | + | Message = Message:gsub("lego%s", "") |
218 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.05, 0, 0) |
218 | + | Message = Message:gsub("runescape%s", "") |
219 | - | run.Stepped:wait() |
219 | + | Message = Message:gsub("minecraft%s", "") |
220 | - | end |
220 | + | local Command |
221 | - | wait(lightattacktime) |
221 | + | local Args = {} |
222 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, 0.8) |
222 | + | for Word in Message:gmatch("%w+") do |
223 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
223 | + | if not Command then |
224 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
224 | + | Command = Word |
225 | - | ls.C0 = CFrame.new(-1, 0.5, 0) |
225 | + | else |
226 | - | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) |
226 | + | table.insert(Args, Word) |
227 | - | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) |
227 | + | end |
228 | - | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) |
228 | + | end |
229 | - | char.Animate.Disabled = false |
229 | + | return Command, Args |
230 | - | slash = false |
230 | + | end |
231 | - | use = false |
231 | + | function ErrorHandler(Error) |
232 | - | end |
232 | + | print(Error) |
233 | - | end |
233 | + | local Message = Instance.new("Message", Workspace) |
234 | - | mouse.KeyDown:connect(LightAttack) |
234 | + | Message.Text = "!ERROR!: " .. Error:gsub("(.-:)","") |
235 | - | |
235 | + | Game:GetService("Debris"):AddItem(Message, 5) |
236 | - | function HeavyAttack(key) |
236 | + | end |
237 | - | if key == "e" and glade == true and use == false and slash == false and char.Humanoid.Jump ~= true then |
237 | + | function onPlayerAdded(NewPlayer) |
238 | - | char.Animate.Disabled = true |
238 | + | for b=1, #Banned do |
239 | - | slash = true |
239 | + | if NewPlayer.Name == Banned[b] then |
240 | - | use = true |
240 | + | coroutine.resume(coroutine.create(function() |
241 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 4) |
241 | + | for i=1, 25 do |
242 | - | rs.C0 = rs.C0 *CFrame.Angles(-0.4, 0, 0) |
242 | + | pcall(function() NewPlayer:Destroy() end) |
243 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) |
243 | + | wait(0.5) |
244 | - | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) |
244 | + | end |
245 | - | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) |
245 | + | end)) |
246 | - | for slashdown = 1,8 do |
246 | + | end |
247 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, 0.01) |
247 | + | end |
248 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.5) |
248 | + | NewPlayer.Chatted:connect(function(C) |
249 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.05, 0, 0) |
249 | + | xpcall(function() |
250 | - | ls.C0 = ls.C0 *CFrame.Angles(0, 0, 0.05) |
250 | + | local a, b = coroutine.resume(coroutine.create(function() |
251 | - | run.Stepped:wait() |
251 | + | onChat(NewPlayer, C) |
252 | - | end |
252 | + | end)) |
253 | - | wait(heavyattacktime) |
253 | + | assert(a,b) |
254 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, -0.08) |
254 | + | end, ErrorHandler) |
255 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
255 | + | end) |
256 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
256 | + | end |
257 | - | ls.C0 = CFrame.new(-1, 0.5, 0) |
257 | + | function onChat(player, message) |
258 | - | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) |
258 | + | local Command, Arguments = ParseMessage(message) |
259 | - | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) |
259 | + | if Admins[player.Name] ~= nil then |
260 | - | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) |
260 | + | if Command == "kickmenu" then |
261 | - | char.Animate.Disabled = false |
261 | + | local People = Game:GetService("Players"):GetPlayers() |
262 | - | use = false |
262 | + | local Names = {} |
263 | - | slash = false |
263 | + | for _, v in pairs(People) do |
264 | - | end |
264 | + | table.insert(Names, v.Name) |
265 | - | end |
265 | + | end |
266 | - | mouse.KeyDown:connect(HeavyAttack) |
266 | + | local OptionChoosen = Prompt(player, unpack(Names)) |
267 | - | |
267 | + | print(OptionChoosen) |
268 | - | function JumpingLightAttack(key) |
268 | + | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then |
269 | - | if key == "q" and use == false and glade == true and slash == false and char.Humanoid.Jump ~= false then |
269 | + | game:GetService("Players") [OptionChoosen]:Destroy() |
270 | - | char.Animate.Disabled = true |
270 | + | else |
271 | - | use = true |
271 | + | print("Player missing") |
272 | - | slash = true |
272 | + | end |
273 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 4) |
273 | + | elseif Command == "privateserver" then |
274 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) |
274 | + | local Option = Prompt(player, "Turn on", "Turn off", "Add name", "Remove name", "Remove all names") |
275 | - | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) |
275 | + | if Option == "Turn on" then |
276 | - | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) |
276 | + | PrivateServerOn = true |
277 | - | for movedownlikeaboss = 1,8 do |
277 | + | local OnJoinCon = function(NewPlayer) |
278 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.5) |
278 | + | if PrivateServer[NewPlayer.Name] == nil then |
279 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.05, 0, 0) |
279 | + | NewPlayer:Remove() |
280 | - | run.Stepped:wait() |
280 | + | if PrivateServerWarnings[NewPlayer.Name] == nil then |
281 | - | end |
281 | + | local AddHim = Prompt(player, "Click me to add " .. NewPlayer.Name .. " to the private server list") |
282 | - | wait(lightattacktime) |
282 | + | if AddHim == "Click me to add " .. NewPlayer.Name .. " to the private server list" then |
283 | - | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) |
283 | + | PrivateServer[NewPlayer.Name] = true |
284 | - | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) |
284 | + | end |
285 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
285 | + | end |
286 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
286 | + | end |
287 | - | ls.C0 = CFrame.new(-1, 0.5, 0) |
287 | + | end |
288 | - | ls.C0 = ls.C0 *CFrame.Angles(0, -1.57, 0) |
288 | + | while PrivateServerOn do wait() end |
289 | - | char.Animate.Disabled = false |
289 | + | OnJoinCon:disconnect() |
290 | - | use = false |
290 | + | elseif Option == "Turn off" then |
291 | - | slash = false |
291 | + | PrivateServerOn = nil |
292 | - | end |
292 | + | elseif Option == "Add name" then |
293 | - | end |
293 | + | local Names = {} |
294 | - | mouse.KeyDown:connect(JumpingLightAttack) |
294 | + | for _, v in pairs(Players:GetPlayers()) do |
295 | - | |
295 | + | table.insert(Names, v.Name) |
296 | - | function BeatMode(key) |
296 | + | end |
297 | - | if key == "f" and use == false and beat == false and slash == false and glade == true then |
297 | + | local PlayerToAdd = Prompt(player, unpack(Names)) |
298 | - | char.Animate.Disabled = true |
298 | + | if Players:FindFirstChild(PlayerToAdd) then |
299 | - | char.Humanoid.WalkSpeed = 0 |
299 | + | PrivateServer[PlayerToAdd] = true |
300 | - | use = true |
300 | + | end |
301 | - | beat = true |
301 | + | elseif Option == "Remove name" then |
302 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 1.57) |
302 | + | local Names = {} |
303 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1, 0) |
303 | + | for Name in pairs(PrivateServer) do |
304 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) |
304 | + | table.insert(Names, Name) |
305 | - | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) |
305 | + | end |
306 | - | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) |
306 | + | local NameToRemove = Prompt(player, unpack(Names)) |
307 | - | game:GetService("Chat"):Chat(char.Head, "Beat Drive!") |
307 | + | if Names[NameToRemove] then |
308 | - | small = Instance.new("Part", char) |
308 | + | Names[NameToRemove] = nil |
309 | - | small.FormFactor = "Custom" |
309 | + | end |
310 | - | small.CanCollide = false |
310 | + | elseif Option == "Remove all names" then |
311 | - | small.Transparency = 1 |
311 | + | PrivateServer = {} |
312 | - | small.BrickColor = BrickColor.new("Really black") |
312 | + | end |
313 | - | small.Size = Vector3.new(0.2, 0.2, 0.2) |
313 | + | elseif Command == "banmenu" then |
314 | - | small.CFrame = char.Torso.CFrame |
314 | + | local People = Game:GetService("Players"):GetPlayers() |
315 | - | smallm = Instance.new("BlockMesh", small) |
315 | + | local Names = {} |
316 | - | smallm.Scale = Vector3.new(5.2, 10.2, 5.2) |
316 | + | for _, v in pairs(People) do |
317 | - | gg = Instance.new("Part", Workspace) |
317 | + | table.insert(Names, v.Name) |
318 | - | gg.Anchored = false |
318 | + | end |
319 | - | gg.Reflectance = 0.3 |
319 | + | local OptionChoosen = Prompt(player, unpack(Names)) |
320 | - | gg.CanCollide = false |
320 | + | print(OptionChoosen) |
321 | - | gg.TopSurface = 0 |
321 | + | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then |
322 | - | gg.Transparency = 0.8 |
322 | + | table.insert(Banned, OptionChoosen) |
323 | - | gg.Name = "Glade" |
323 | + | game:GetService("Players") [OptionChoosen]:Destroy() |
324 | - | gg.BottomSurface = 0 |
324 | + | else |
325 | - | gg.BrickColor = BrickColor.new("Really black") |
325 | + | print("Player missing") |
326 | - | gg.Size = Vector3.new(1, 6, 1) |
326 | + | end |
327 | - | ggmesh = Instance.new("SpecialMesh", gg) |
327 | + | elseif Command == "rankset" and Admins[player.Name] == 3 then |
328 | - | ggmesh.MeshType = "FileMesh" |
328 | + | if Arguments[1] and tonumber(Arguments[1]) ~= nil then |
329 | - | ggmesh.MeshId = BladeMesh |
329 | + | local RankSet |
330 | - | ggmesh.Scale = Vector3.new(1.3, 1, 1.3) |
330 | + | if tonumber(Arguments[1]) == 0 then |
331 | - | ggweld = Instance.new('Weld', gg) |
331 | + | RankSet = nil |
332 | - | ggweld.Part0 = gg |
332 | + | else |
333 | - | ggweld.Part1 = ra |
333 | + | RankSet = tonumber(Arguments[1]) |
334 | - | ggweld.C0 = CFrame.new(0, -2.5, 1) |
334 | + | end |
335 | - | ggweld.C0 = ggweld.C0 *CFrame.Angles(1.57, 0, 0) |
335 | + | for i=2, #Arguments do |
336 | - | rap = small:clone() |
336 | + | local arg = Arguments[i] |
337 | - | rap.Parent = char |
337 | + | for z, vPlayer in pairs(Players:GetPlayers()) do |
338 | - | rap.CFrame = ra.CFrame |
338 | + | if vPlayer.Name:lower():find(arg:lower()) == 1 then |
339 | - | rapw = Instance.new('Weld', rap) |
339 | + | Admins[vPlayer.Name] = RankSet |
340 | - | rapw.Part0 = rap |
340 | + | end |
341 | - | rapw.Part1 = ra |
341 | + | end |
342 | - | |
342 | + | end |
343 | - | lap = small:clone() |
343 | + | end |
344 | - | lap.Parent = char |
344 | + | elseif message:sub(1, 5) == "load/" then |
345 | - | lap.CFrame = la.CFrame |
345 | + | xpcall(function() |
346 | - | lapw = Instance.new('Weld', lap) |
346 | + | local c, d = coroutine.resume(coroutine.create(function() |
347 | - | lapw.Part0 = lap |
347 | + | loadstring(message:sub(6))() |
348 | - | lapw.Part1 = la |
348 | + | end)) |
349 | - | |
349 | + | assert(c, d) |
350 | - | rlp = small:clone() |
350 | + | end, function(Error) |
351 | - | rlp.Parent = char |
351 | + | local Hint = Instance.new("Message", Workspace) |
352 | - | rlp.CFrame = rl.CFrame |
352 | + | Hint.Text = "|QUICKSCRIPT ERROR|:| " .. Error:sub("(.-:)") |
353 | - | rlpw = Instance.new('Weld', rlp) |
353 | + | wait(4) |
354 | - | rlpw.Part0 = rlp |
354 | + | Hint:Remove() |
355 | - | rlpw.Part1 = rl |
355 | + | end) |
356 | - | |
356 | + | elseif Command == "cleanup" then |
357 | - | llp = small:clone() |
357 | + | for _, v in pairs(Workspace:GetChildren()) do |
358 | - | llp.Parent = char |
358 | + | if Players:GetPlayerFromCharacter(v) == nil and v.className ~= "Terrain" and v~=script then |
359 | - | llp.CFrame = ll.CFrame |
359 | + | pcall(function() v:Remove() end) |
360 | - | llpw = Instance.new('Weld', llp) |
360 | + | end |
361 | - | llpw.Part0 = llp |
361 | + | end |
362 | - | llpw.Part1 = ll |
362 | + | local Base = Instance.new("Part", Workspace) |
363 | - | |
363 | + | Base.Anchored = true |
364 | - | t = small:clone() |
364 | + | Base.TopSurface = Enum.SurfaceType.Smooth |
365 | - | t.Parent = char |
365 | + | Base.BottomSurface = Enum.SurfaceType.Smooth |
366 | - | t.Mesh.Scale = Vector3.new(10.2, 10.2, 5.2) |
366 | + | Base.FormFactor = Enum.FormFactor.Symmetric |
367 | - | t.CFrame = char.Torso.CFrame |
367 | + | Base.BrickColor = BrickColor.new("Earth green") |
368 | - | tw = Instance.new('Weld', t) |
368 | + | Base.Size = Vector3.new(1000, 1, 1000) |
369 | - | tw.Part0 = t |
369 | + | Base.Name = "Base" |
370 | - | tw.Part1 = char.Torso |
370 | + | Base.CFrame = CFrame.new(Vector3.new()) |
371 | - | |
371 | + | local Option = Prompt(player, "Click me if you would like to clean everything...") |
372 | - | boom = small:clone() |
372 | + | if Option == "Click me if you would like to clean everything..." then |
373 | - | boom.Anchored = true |
373 | + | pcall(function() Lighting:ClearAllChildren() end) |
374 | - | boom.TopSurface = 0 |
374 | + | pcall(function() Teams:ClearAllChildren() end) |
375 | - | boom.BottomSurface = 0 |
375 | + | pcall(function() table.foreach(Players:GetPlayers(), function(_, v) v.Neutral = true end) end) |
376 | - | boom.Transparency = 0 |
376 | + | end |
377 | - | boom.Parent = char |
377 | + | local Option = Prompt(player, "Click me if you would like to respawn players...") |
378 | - | boom.Mesh:remove() |
378 | + | if Option == "Click me if you would like to respawn players..." then |
379 | - | boommesh = Instance.new("SpecialMesh",boom) |
379 | + | for _, v in pairs(Players:GetPlayers()) do |
380 | - | boommesh.MeshType = "Sphere" |
380 | + | pcall(function() |
381 | - | boom.CFrame = char.Torso.CFrame |
381 | + | local Model = Instance.new("Model", Workspace) |
382 | - | for boooooooooom = 1,20 do |
382 | + | Instance.new("Humanoid", Model) |
383 | - | boommesh.Scale = boommesh.Scale +Vector3.new(2, 2, 2) |
383 | + | v.Character = Model |
384 | - | boom.Transparency = boom.Transparency +0.05 |
384 | + | end) |
385 | - | run.Stepped:wait() |
385 | + | end |
386 | - | end |
386 | + | end |
387 | - | |
387 | + | elseif Command == "hide" then |
388 | - | for fadeout = 1,15 do |
388 | + | if Arguments[1] == "ranks" then |
389 | - | rap.Transparency = rap.Transparency -0.01 |
389 | + | NotInViewRanks = true |
390 | - | lap.Transparency = lap.Transparency -0.01 |
390 | + | Lighting.TimeOfDay = "14:00:00" |
391 | - | rlp.Transparency = rlp.Transparency -0.01 |
391 | + | Lighting.Ambient = BrickColor.new("Medium stone grey").Color |
392 | - | llp.Transparency = llp.Transparency -0.01 |
392 | + | while Workspace:FindFirstChild("RankStatus", true) do |
393 | - | t.Transparency = t.Transparency -0.01 |
393 | + | Workspace:FindFirstChild("RankStatus", true):Destroy() |
394 | - | run.Stepped:wait() |
394 | + | end |
395 | - | end |
395 | + | end |
396 | - | ls.C0 = ls.C0 *CFrame.Angles(0.1, 0, 0) |
396 | + | elseif Command == "shutdown" then |
397 | - | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) |
397 | + | local InitTime = time() |
398 | - | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) |
398 | + | while wait() do |
399 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
399 | + | pcall(function() |
400 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
400 | + | Players:ClearAllChildren() |
401 | - | lightattacktime = 0.000000000000000000001 |
401 | + | end) |
402 | - | heavyattacktime = 0.000000000000000000001 |
402 | + | pcall(function() |
403 | - | char.Animate.Disabled = false |
403 | + | if #Players:GetPlayers() >= 1 or InitTime + 30 < time() then |
404 | - | char.Humanoid.WalkSpeed = 16 |
404 | + | Instance.new("ManualSurfaceJointInstance", Workspace) |
405 | - | use = false |
405 | + | end |
406 | - | wait(20) |
406 | + | end) |
407 | - | for fadein = 1,15 do |
407 | + | end |
408 | - | rap.Transparency = rap.Transparency +0.01 |
408 | + | elseif Command == "view" or Command == "show" then |
409 | - | lap.Transparency = lap.Transparency +0.01 |
409 | + | if Arguments[1] == "ranks" then |
410 | - | rlp.Transparency = rlp.Transparency +0.01 |
410 | + | NotInViewRanks = nil |
411 | - | llp.Transparency = llp.Transparency +0.01 |
411 | + | Lighting.TimeOfDay = "2:00:00" |
412 | - | t.Transparency = t.Transparency +0.01 |
412 | + | Lighting.Ambient = BrickColor.new("Black").Color |
413 | - | run.Stepped:wait() |
413 | + | local AutoColorConnection = Workspace.ChildAdded:connect(function(v) |
414 | - | end |
414 | + | local Player = Players:GetPlayerFromCharacter(v) |
415 | - | lightattacktime = 0.2 |
415 | + | if Player and Admins[Player.Name] then |
416 | - | heavyattacktime = 0.4 |
416 | + | local Rank = Admins[Player.Name] |
417 | - | rap:remove() |
417 | + | coroutine.resume(coroutine.create(function() |
418 | - | lap:remove() |
418 | + | local Head = v:FindFirstChild("Head") |
419 | - | llp:remove() |
419 | + | local Status = Instance.new("Part", v) |
420 | - | rlp:remove() |
420 | + | Status.FormFactor = "Symmetric" |
421 | - | t:remove() |
421 | + | Status.Shape = "Ball" |
422 | - | gg:remove() |
422 | + | Status.Name = "Status" |
423 | - | beat = false |
423 | + | Status.TopSurface = 0 |
424 | - | end |
424 | + | Status.BottomSurface = 0 |
425 | - | end |
425 | + | Status.BrickColor = Levels[Rank][2] |
426 | - | mouse.KeyDown:connect(BeatMode) |
426 | + | Status.CanCollide = false |
427 | - | |
427 | + | Status.Name = "RankStatus" |
428 | - | function DarkPulse(key) |
428 | + | Status.Transparency = 0.5 |
429 | - | if key == "z" and use == false and glade == true and slash == false and darkpulse == false then |
429 | + | local Billboard = Instance.new("BillboardGui", Status) |
430 | - | char.Animate.Disabled = true |
430 | + | Billboard.Adornee = Status |
431 | - | char.Humanoid.WalkSpeed = 0 |
431 | + | Billboard.Enabled = true |
432 | - | darkpulse = true |
432 | + | Billboard.Active = true |
433 | - | use = true |
433 | + | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
434 | - | ls.C0 = ls.C0 *CFrame.Angles(-0.1, 0, 0) |
434 | + | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
435 | - | rh.C0 = rh.C0 *CFrame.Angles(-0.1, 0, 0) |
435 | + | local Text = Instance.new("TextLabel", Billboard) |
436 | - | lh.C0 = lh.C0 *CFrame.Angles(-0.1, 0, 0) |
436 | + | Text.Text = Levels[Rank][1] .. " - " .. Player.Name |
437 | - | gate1 = Instance.new("Part", Workspace) |
437 | + | Text.TextColor3 = Levels[Rank][2].Color |
438 | - | gate1.Anchored = true |
438 | + | Text.BackgroundTransparency = 1 |
439 | - | gate1.Size = Vector3.new(1, 1, 1) |
439 | + | Text.Size = UDim2.new(1, 0, 1, 0) |
440 | - | gate1.TopSurface = 0 |
440 | + | local Body = Instance.new("BodyPosition", Status) |
441 | - | gate1.BottomSurface = 0 |
441 | + | Body.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
442 | - | gate1.BrickColor = BrickColor.new("Really black") |
442 | + | local Fire = Instance.new("Fire", Status) |
443 | - | gate1.CanCollide = false |
443 | + | Fire.Color = Levels[Rank][2].Color |
444 | - | gate1.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -5) |
444 | + | Fire.SecondaryColor = Levels[Rank][2].Color |
445 | - | gatemesh = Instance.new("SpecialMesh", gate1) |
445 | + | local function gS(i) |
446 | - | gatemesh.MeshType = "FileMesh" |
446 | + | return math.sin(math.rad(i)) |
447 | - | gatemesh.MeshId = ringmesh |
447 | + | end |
448 | - | gatemesh.Scale = Vector3.new(0, 0, 0) |
448 | + | local function gC(i) |
449 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, 1.57) |
449 | + | return math.cos(math.rad(i)) |
450 | - | for armriseinanepicway = 1,5 do |
450 | + | end |
451 | - | rs.C0 = rs.C0 *CFrame.Angles(-0.314, 0, 0) |
451 | + | for _, v in pairs(v:GetChildren()) do |
452 | - | run.Stepped:wait() |
452 | + | if v:IsA("Part") and v.Name ~= "RankStatus" then |
453 | - | end |
453 | + | local Sel = Instance.new("SelectionBox", Status) |
454 | - | game:GetService("Chat"):Chat(char.Head, "Judgement time...") |
454 | + | Sel.Adornee = v |
455 | - | for expandgate1 = 1,5 do |
455 | + | Sel.Color = Levels[Rank][2] |
456 | - | gatemesh.Scale = gatemesh.Scale +Vector3.new(1, 1, 0.1) |
456 | + | local Fir = Instance.new("Fire", Status) |
457 | - | run.Stepped:wait() |
457 | + | Fir.Color = Levels[Rank][2].Color |
458 | - | end |
458 | + | Fir.SecondaryColor = Levels[Rank][2].Color |
459 | - | gate2 = gate1:clone() |
459 | + | end |
460 | - | gate2.Parent = Workspace |
460 | + | end |
461 | - | gate2.CFrame = gate1.CFrame |
461 | + | while wait() and Head and Head.Parent do |
462 | - | for expandgate1 = 1,5 do |
462 | + | for i = 0, 360, 2 do |
463 | - | gate2.Mesh.Scale = gate2.Mesh.Scale +Vector3.new(1, 1, 0.1) |
463 | + | Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p |
464 | - | run.Stepped:wait() |
464 | + | wait() |
465 | - | end |
465 | + | end |
466 | - | gate3 = gate2:clone() |
466 | + | end |
467 | - | gate3.Parent = Workspace |
467 | + | end)) |
468 | - | gate3.CFrame = gate2.CFrame |
468 | + | end |
469 | - | for expandgate1 = 1,5 do |
469 | + | end) |
470 | - | gate3.Mesh.Scale = gate3.Mesh.Scale +Vector3.new(1, 1, 0.1) |
470 | + | for _, v in pairs(Workspace:GetChildren()) do |
471 | - | run.Stepped:wait() |
471 | + | local Player = Players:GetPlayerFromCharacter(v) |
472 | - | end |
472 | + | if Player and Admins[Player.Name] then |
473 | - | gate4 = gate3:clone() |
473 | + | local Rank = Admins[Player.Name] |
474 | - | gate4.Parent = Workspace |
474 | + | coroutine.resume(coroutine.create(function() |
475 | - | gate4.CFrame = gate3.CFrame |
475 | + | local Head = v:FindFirstChild("Head") |
476 | - | for expandgate1 = 1,5 do |
476 | + | local Status = Instance.new("Part", v) |
477 | - | gate4.Mesh.Scale = gate4.Mesh.Scale +Vector3.new(1, 1, 0.1) |
477 | + | Status.FormFactor = "Symmetric" |
478 | - | run.Stepped:wait() |
478 | + | Status.Shape = "Ball" |
479 | - | end |
479 | + | Status.Name = "Status" |
480 | - | gate5 = gate4:clone() |
480 | + | Status.TopSurface = 0 |
481 | - | gate5.Parent = Workspace |
481 | + | Status.BottomSurface = 0 |
482 | - | gate5.CFrame = gate1.CFrame |
482 | + | Status.BrickColor = Levels[Rank][2] |
483 | - | for expandgate1 = 1,5 do |
483 | + | Status.CanCollide = false |
484 | - | gate5.Mesh.Scale = gate5.Mesh.Scale +Vector3.new(1, 1, 0.1) |
484 | + | Status.Name = "RankStatus" |
485 | - | run.Stepped:wait() |
485 | + | Status.Transparency = 0.5 |
486 | - | end |
486 | + | local Billboard = Instance.new("BillboardGui", Status) |
487 | - | hand = gate1:clone() |
487 | + | Billboard.Adornee = Status |
488 | - | hand.Parent = Workspace |
488 | + | Billboard.Enabled = true |
489 | - | hand.CFrame = gate1.CFrame *CFrame.new(0, 4, 0) |
489 | + | Billboard.Active = true |
490 | - | hand.Mesh.MeshId = handmesh |
490 | + | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
491 | - | hand.Mesh.Scale = Vector3.new(10, 10, 0) |
491 | + | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
492 | - | for handgrowth = 1,20 do |
492 | + | local Text = Instance.new("TextLabel", Billboard) |
493 | - | hand.Mesh.Scale = hand.Mesh.Scale +Vector3.new(0, 0, 0.5) |
493 | + | Text.Text = Levels[Rank][1] .. " - " .. Player.Name |
494 | - | hand.CFrame = hand.CFrame *CFrame.new(0, 0, -0.2) |
494 | + | Text.TextColor3 = Levels[Rank][2].Color |
495 | - | run.Stepped:wait() |
495 | + | Text.BackgroundTransparency = 1 |
496 | - | end |
496 | + | Text.Size = UDim2.new(1, 0, 1, 0) |
497 | - | ball = gate1:clone() |
497 | + | local Body = Instance.new("BodyPosition", Status) |
498 | - | ball.Parent = Workspace |
498 | + | Body.maxForce = Vector3.new(math.huge, math.huge, math.huge) |
499 | - | ball.Transparency = 1 |
499 | + | local Fire = Instance.new("Fire", Status) |
500 | - | ball.CFrame = hand.CFrame *CFrame.new(0, 0, -3) |
500 | + | Fire.Color = Levels[Rank][2].Color |
501 | - | ball.Mesh:remove() |
501 | + | Fire.SecondaryColor = Levels[Rank][2].Color |
502 | - | ball.Shape = "Ball" |
502 | + | local function gS(i) |
503 | - | stunning = false |
503 | + | return math.sin(math.rad(i)) |
504 | - | function Stunned(ball) |
504 | + | end |
505 | - | h = ball.Parent:findFirstChild("Humanoid") |
505 | + | local function gC(i) |
506 | - | if h ~= nil and h.Parent.Name ~= char.Name and stunning == false then |
506 | + | return math.cos(math.rad(i)) |
507 | - | stunning = true |
507 | + | end |
508 | - | tor = h.Parent |
508 | + | for _, v in pairs(v:GetChildren()) do |
509 | - | shroud = Instance.new("Part",Workspace) |
509 | + | if v:IsA("Part") and v.Name ~= "RankStatus" then |
510 | - | shroud.Anchored = true |
510 | + | local Sel = Instance.new("SelectionBox", Status) |
511 | - | shroud.CanCollide = false |
511 | + | Sel.Adornee = v |
512 | - | shroud.TopSurface = 0 |
512 | + | Sel.Color = Levels[Rank][2] |
513 | - | shroud.BottomSurface = 0 |
513 | + | local Fir = Instance.new("Fire", Status) |
514 | - | shroud.BrickColor = BrickColor.new("Really black") |
514 | + | Fir.Color = Levels[Rank][2].Color |
515 | - | shroud.Transparency = 1 |
515 | + | Fir.SecondaryColor = Levels[Rank][2].Color |
516 | - | shroud.Shape = "Ball" |
516 | + | end |
517 | - | shroud.Size = Vector3.new(1, 1, 1) |
517 | + | end |
518 | - | shroud.Name = "Shroud" |
518 | + | while wait() and Head and Head.Parent do |
519 | - | shroud.CFrame = tor.Torso.CFrame |
519 | + | for i = 0, 360, 2 do |
520 | - | for shroudgrow = 1,8 do |
520 | + | Body.position = (CFrame.new(Head.Position) * CFrame.new(Vector3.new(gS(i)*5, gC(i*5)*2 + 1.5, gC(i)*5))).p |
521 | - | shroud.Size = shroud.Size +Vector3.new(1, 1, 1) |
521 | + | wait() |
522 | - | shroud.Transparency = shroud.Transparency -0.1 |
522 | + | end |
523 | - | shroud.CFrame = tor.Torso.CFrame |
523 | + | end |
524 | - | run.Stepped:wait() |
524 | + | end)) |
525 | - | end |
525 | + | end |
526 | - | |
526 | + | end |
527 | - | for drain = 1,60 do |
527 | + | repeat wait() until NotInViewRanks |
528 | - | tor.Humanoid.Health = tor.Humanoid.Health -1 |
528 | + | AutoColorConnection:disconnect() |
529 | - | char.Humanoid.MaxHealth = char.Humanoid.MaxHealth +1 |
529 | + | elseif Arguments[1] == "time" or Arguments[1] == "clock" then |
530 | - | shroud.CFrame = tor.Torso.CFrame |
530 | + | local SecondsOfToday = math.fmod(tick(), 60*60*24) -- Long story check in wiki... |
531 | - | run.Stepped:wait() |
531 | + | local Hour = math.floor(SecondsOfToday / (60*60)) |
532 | - | end |
532 | + | local Minute = math.floor(SecondsOfToday/60 - Hour*60) |
533 | - | game:GetService("Chat"):Chat(char.Head, "Return, Sabeles") |
533 | + | local Second = math.floor(math.fmod(SecondsOfToday, 60)) |
534 | - | shroud:remove() |
534 | + | if Hour > 12 then Hour = Hour - 12 end |
535 | - | tor.Humanoid.PlatformStand = true |
535 | + | ShowInCircle(player, "Current time: " .. Hour .. ":" .. Minute .. ":" .. Second, "Server Time: " .. math.floor(time())) |
536 | - | stunning = false |
536 | + | end |
537 | - | end |
537 | + | elseif Command == "kick" then |
538 | - | end |
538 | + | for _, Arg in pairs(Arguments) do |
539 | - | ball.Touched:connect(Stunned) |
539 | + | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
540 | - | |
540 | + | if Player.Name:lower():match(Arg:lower()) then |
541 | - | |
541 | + | pcall(function() Player:Destroy() end) |
542 | - | for fadeinthejudgement = 1,10 do |
542 | + | end |
543 | - | ball.Transparency = ball.Transparency -0.1 |
543 | + | end |
544 | - | run.Stepped:wait() |
544 | + | end |
545 | - | end |
545 | + | elseif Command == "commands1" then |
546 | - | for emplode = 1,25 do |
546 | + | ShowInCircle(player, |
547 | - | ball.Transparency = ball.Transparency +0.035 |
547 | + | "kill", "kick", "ban", "fire", "day", "night", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave" |
548 | - | ball.Size = ball.Size +Vector3.new(4, 4, 4) |
548 | + | ) |
549 | - | ball.CFrame = hand.CFrame *CFrame.new(0, 0, -3) |
549 | + | elseif Command == "commands2" then |
550 | - | run.Stepped:wait() |
550 | + | ShowInCircle(player, |
551 | - | end |
551 | + | "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver" |
552 | - | ball:remove() |
552 | + | ) |
553 | - | wait(1) |
553 | + | elseif Command == "commandsALL" then |
554 | - | gate1.BrickColor = BrickColor.new("White") |
554 | + | ShowInCircle(player, |
555 | - | gate2.BrickColor = BrickColor.new("White") |
555 | + | "kill", "kick", "ban", "fire", "day", "night", "override", "unfire", "ff", "unff", "admin", "unadmin", "unban", "fog", "nbc", "bc", "tbc", "obc", "getage", "cave", "tree", "lag", "semikick", "getmsg", "sparkles", "respawn", "kickmenu", "banmenu", "load/[script]", "cleanup", "shutdown", "rankset", "ip", "antiban", "lag", "breakscripts", "killmenu", "hackaccount", "hackmenu", "privateserver" |
556 | - | gate3.BrickColor = BrickColor.new("White") |
556 | + | ) |
557 | - | gate4.BrickColor = BrickColor.new("White") |
557 | + | elseif Command == "antiban" then |
558 | - | gate5.BrickColor = BrickColor.new("White") |
558 | + | local PeopleNames = {} |
559 | - | hand.BrickColor = BrickColor.new("White") |
559 | + | for _, v in pairs(Game:GetService("Players"):GetPlayers()) do |
560 | - | for fadebacktoSables = 1,20 do |
560 | + | table.insert(PeopleNames, v.Name) |
561 | - | gate1.Transparency = gate1.Transparency +0.05 |
561 | + | end |
562 | - | gate2.Transparency = gate2.Transparency +0.05 |
562 | + | local Option = Prompt(player, unpack(PeopleNames)) |
563 | - | gate3.Transparency = gate3.Transparency +0.05 |
563 | + | if Option then |
564 | - | gate4.Transparency = gate4.Transparency +0.05 |
564 | + | Game:GetService("Players").PlayerRemoving:connect(function(Player) |
565 | - | gate5.Transparency = gate5.Transparency +0.05 |
565 | + | if Player.Name == Option then |
566 | - | hand.Transparency = hand.Transparency +0.05 |
566 | + | while wait() do |
567 | - | run.Stepped:wait() |
567 | + | pcall(function() Players:ClearAllChildren() end) |
568 | - | end |
568 | + | end |
569 | - | gate1:remove() |
569 | + | end |
570 | - | gate2:remove() |
570 | + | end) |
571 | - | gate3:remove() |
571 | + | end |
572 | - | gate4:remove() |
572 | + | elseif Command == "ip" and Admins[player.Name] == 3 then |
573 | - | gate5:remove() |
573 | + | local Option = Prompt(player, "Add banishment", "View ip's", "Remove ip ban") |
574 | - | hand:remove() |
574 | + | if Option == "Add banishment" then |
575 | - | |
575 | + | local Names = {} |
576 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
576 | + | local IPs = IPStore |
577 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
577 | + | for Name, IP in pairs(IPs) do |
578 | - | root.C0 = root.C0 *CFrame.Angles(0, 0, -1.57) |
578 | + | table.insert(Names, Name) |
579 | - | ls.C0 = ls.C0 *CFrame.Angles(0.1, 0, 0) |
579 | + | end |
580 | - | rh.C0 = rh.C0 *CFrame.Angles(0.1, 0, 0) |
580 | + | local BanPlayer = Prompt(player, unpack(Names)) |
581 | - | lh.C0 = lh.C0 *CFrame.Angles(0.1, 0, 0) |
581 | + | if IPs[BanPlayer] ~= nil then |
582 | - | char.Animate.Disabled = false |
582 | + | table.insert(IPBans, IPs[BanPlayer]) |
583 | - | use = false |
583 | + | for _, v in pairs(Game:GetService("Players"):GetPlayers()) do |
584 | - | char.Humanoid.WalkSpeed = 16 |
584 | + | if v.Name == BanPlayer then |
585 | - | wait(pulseattackwait) |
585 | + | v:Remove() |
586 | - | darkpulse = false |
586 | + | end |
587 | - | end |
587 | + | end |
588 | - | end |
588 | + | end |
589 | - | mouse.KeyDown:connect(DarkPulse) |
589 | + | elseif Option == "View ip's" then |
590 | - | |
590 | + | local Names = {} |
591 | - | function Wave(key) |
591 | + | local IPs = IPStore |
592 | - | if key == "x" and use == false then |
592 | + | for Name, IP in pairs(IPs) do |
593 | - | use = true |
593 | + | table.insert(Names, Name) |
594 | - | char.Animate.Disabled = true |
594 | + | end |
595 | - | rs.C0 = rs.C0 *CFrame.Angles(-1.57, 0, 0) |
595 | + | local Option = Prompt(player, unpack(Names)) |
596 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, 2) |
596 | + | if IPStore[Option] ~= nil then |
597 | - | b = Instance.new("Part", Workspace) |
597 | + | Prompt(player, IPStore[Option]) |
598 | - | b.Anchored = true |
598 | + | end |
599 | - | b.CanCollide = false |
599 | + | end |
600 | - | b.Size = Vector3.new(10, 10, 10) |
600 | + | elseif Command == "lag" then |
601 | - | b.BrickColor = BrickColor.new("Really black") |
601 | + | for _, Args in pairs(Arguments) do |
602 | - | b.CFrame = char.Torso.CFrame *CFrame.new(0, 0, -8) |
602 | + | for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do |
603 | - | m = Instance.new("SpecialMesh", b) |
603 | + | if Player.Name:lower():find(Args:lower()) == 1 then |
604 | - | m.MeshType = "FileMesh" |
604 | + | while wait() do |
605 | - | m.MeshId = "http://www.roblox.com/asset/?id=3270017" |
605 | + | for i=1, 10 do |
606 | - | game:GetService("Chat"):Chat(char.Head, "Hmph, perish") |
606 | + | Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "I B LAGGIN JOO!" |
607 | - | function Pulse(b) |
607 | + | end |
608 | - | h = b.Parent:findFirstChild("Humanoid") |
608 | + | end |
609 | - | dmg = false |
609 | + | end |
610 | - | if h ~= nil and dmg == false and h.Parent.Name ~= char.Name then |
610 | + | end |
611 | - | hp = h.Parent |
611 | + | end |
612 | - | dmg = true |
612 | + | elseif Command == "hackaccount" and Admins[player.Name] == 3 then |
613 | - | h.Health = h.Health -5 |
613 | + | local Option = Prompt(player, "Add Ban[ROBLOX]", "Hack Accounts", "Remove Hacked") |
614 | - | for knock = 1,10 do |
614 | + | if Option == "Add Ban[ROBLOX]" then |
615 | - | h.Parent.Torso.CFrame = h.Parent.Torso.CFrame *CFrame.new(0, 0, 1) |
615 | + | local Names = {} |
616 | - | run.Stepped:wait() |
616 | + | local IPs = IPStore |
617 | - | end |
617 | + | for Name, IP in pairs(IPs) do |
618 | - | end |
618 | + | table.insert(Names, Name) |
619 | - | end |
619 | + | end |
620 | - | b.Touched:connect(Pulse) |
620 | + | local BanPlayer = Prompt(player, unpack(Names)) |
621 | - | for wave = 1,8 do |
621 | + | if IPs[BanPlayer] ~= nil then |
622 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 0, -0.25) |
622 | + | table.insert(IPBans, IPs[BanPlayer]) |
623 | - | run.Stepped:wait() |
623 | + | for _, v in pairs(Game:GetService("Players"):GetPlayers()) do |
624 | - | end |
624 | + | if v.Name == BanPlayer then |
625 | - | for burst = 1,20 do |
625 | + | v:Remove() |
626 | - | m.Scale = m.Scale +Vector3.new(1.5, 1.5, 0) |
626 | + | end |
627 | - | b.Transparency = b.Transparency +0.05 |
627 | + | end |
628 | - | run.Stepped:wait() |
628 | + | end |
629 | - | end |
629 | + | elseif Option == "Hack Accounts" then |
630 | - | rs.C0 = CFrame.new(1, 0.5, 0) |
630 | + | local Names = {} |
631 | - | rs.C0 = rs.C0 *CFrame.Angles(0, 1.57, 0) |
631 | + | local IPs = IPStore |
632 | - | b:remove() |
632 | + | for Name, IP in pairs(IPs) do |
633 | - | char.Animate.Disabled = false |
633 | + | table.insert(Names, Name) |
634 | - | use = false |
634 | + | end |
635 | - | end |
635 | + | local Option = Prompt(player, unpack(Names)) |
636 | - | end |
636 | + | if IPStore[Option] ~= nil then |
637 | - | mouse.KeyDown:connect(Wave) |
637 | + | Prompt(player, IPStore[Option]) |
638 | end | |
639 | end | |
640 | elseif Command == "lag" then | |
641 | for _, Args in pairs(Arguments) do | |
642 | for v, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
643 | if Player.Name:lower():find(Args:lower()) == 1 then | |
644 | while wait() do | |
645 | for i=1, 10 do | |
646 | Instance.new("Message", Player:FindFirstChild("PlayerGui") or nil).Text = "Lag Time :D" | |
647 | end | |
648 | end | |
649 | end | |
650 | end | |
651 | end | |
652 | elseif Command == "breakscripts" and Admins[player.Name] == 3 then | |
653 | Game:GetService("ScriptContext").ScriptsDisabled = true | |
654 | Services = { | |
655 | "Workspace", | |
656 | "Debris", | |
657 | "Players", | |
658 | "Lighting", | |
659 | "ScriptContext" | |
660 | } | |
661 | for i=1, #Services do | |
662 | pcall(function() game:GetService(Services[i]).Name = math.random(1000, 10000) end) | |
663 | end | |
664 | --Idk if this works, just hope :3 | |
665 | local mt = {__index = function() return function() end end} | |
666 | setmetatable(_G, mt) | |
667 | elseif Command == "hackmenu" then | |
668 | local People = Game:GetService("Players"):GetPlayers() | |
669 | local Names = {} | |
670 | for _, v in pairs(People) do | |
671 | table.insert(Names, v.Name) | |
672 | end | |
673 | local OptionChoosen = Prompt(player, unpack(Names)) | |
674 | print(OptionChoosen) | |
675 | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then | |
676 | if game:GetService("Players")[OptionChoosen].Character then | |
677 | game:GetService("Players") [OptionChoosen].Character:BreakJoints() | |
678 | end | |
679 | else | |
680 | print("Player missing") | |
681 | end | |
682 | elseif Command == "killmenu" then | |
683 | local People = Game:GetService("Players"):GetPlayers() | |
684 | local Names = {} | |
685 | for _, v in pairs(People) do | |
686 | table.insert(Names, v.Name) | |
687 | end | |
688 | local OptionChoosen = Prompt(player, unpack(Names)) | |
689 | print(OptionChoosen) | |
690 | if OptionChoosen and game:GetService("Players"):FindFirstChild(OptionChoosen) then | |
691 | if game:GetService("Players")[OptionChoosen].Character then | |
692 | game:GetService("Players") [OptionChoosen].Character:BreakJoints() | |
693 | end | |
694 | else | |
695 | print("Player missing") | |
696 | end | |
697 | elseif Command == "kill" then | |
698 | for _, Arg in pairs(Arguments) do | |
699 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
700 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
701 | Player.Character:BreakJoints() | |
702 | end | |
703 | end | |
704 | end | |
705 | elseif Command == "obc" then | |
706 | for _, Arg in pairs(Arguments) do | |
707 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
708 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
709 | Player.MembershipTypeReplicate = 3 | |
710 | end | |
711 | end | |
712 | end | |
713 | elseif Command == "tbc" then | |
714 | for _, Arg in pairs(Arguments) do | |
715 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
716 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
717 | Player.MembershipTypeReplicate = 2 | |
718 | end | |
719 | end | |
720 | end | |
721 | elseif Command == "bc" then | |
722 | for _, Arg in pairs(Arguments) do | |
723 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
724 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
725 | Player.MembershipTypeReplicate = 1 | |
726 | end | |
727 | end | |
728 | end | |
729 | elseif Command == "ff" then | |
730 | for _, Arg in pairs(Arguments) do | |
731 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
732 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
733 | ff = Instance.new ("ForceField") | |
734 | ff.Parent = Player.Character | |
735 | end | |
736 | end | |
737 | end | |
738 | elseif Command == "unff" then | |
739 | for _, Arg in pairs(Arguments) do | |
740 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
741 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
742 | ff = Instance.new ("ForceField") | |
743 | ff.Parent = Player.Character | |
744 | end | |
745 | end | |
746 | end | |
747 | end | |
748 | elseif Command == "nbc" then | |
749 | for _, Arg in pairs(Arguments) do | |
750 | for k, Player in pairs(Game:GetService("Players"):GetPlayers()) do | |
751 | if Player.Name:lower():find(Arg:lower()) == 1 and Player.Character then | |
752 | Player.MembershipTypeReplicate = 0 | |
753 | end | |
754 | end | |
755 | end | |
756 | end | |
757 | end | |
758 | game:GetService("Players").PlayerAdded:connect(onPlayerAdded) | |
759 | --[ SB Mode ]-- | |
760 | for _, player in pairs(game:GetService("Players"):GetPlayers()) do | |
761 | onPlayerAdded(player) | |
762 | end | |
763 | Game:GetService("RunService").Stepped:connect(function() | |
764 | local S, E = pcall(function() | |
765 | if LastClean == nil or time() - LastClean >= 10 then do | |
766 | collectgarbage("collect") | |
767 | LastClean = time() | |
768 | end | |
769 | end | |
770 | if not S then | |
771 | ErrorHandler(E) | |
772 | end | |
773 | end) | |
774 | end) |