SHOW:
|
|
- or go back to the newest paste.
1 | - | Admins = { |
1 | + | wait(2) |
2 | - | ["YOURNAMEHERE"] = 3, -- Your name |
2 | + | local p = game.Players.iWafflecious -- Your Name There |
3 | - | ["latepimpman"] = 3, -- Friends names |
3 | + | local c = p.Character |
4 | - | ["TailsMilesProwler22"] = 3, |
4 | + | local mouse = p:GetMouse() |
5 | - | ["LMFAO1000"] = 3 |
5 | + | |
6 | - | } |
6 | + | local w = false |
7 | - | local Levels = { |
7 | + | local s = false |
8 | - | [0] = {"Peasant", BrickColor.new("Medium stone grey")}; |
8 | + | local a = false |
9 | - | [1] = {"Knight", BrickColor.new("Bright red")}; |
9 | + | local d = false |
10 | - | [2] = {"Lord", BrickColor.new("Navy blue")}; |
10 | + | local spacebar = false |
11 | - | [3] = {"King", BrickColor.new("Really black")} |
11 | + | local downkey = false |
12 | - | } |
12 | + | |
13 | - | Players = Game:GetService("Players") |
13 | + | local iOS = true -- Whether or not you want iOS support |
14 | - | Workspace = Game:GetService("Workspace") |
14 | + | |
15 | - | Debris = Game:GetService("Debris") |
15 | + | local ProbeModel = Instance.new("Model",workspace) |
16 | - | Lighting = Game:GetService("Lighting") |
16 | + | ProbeModel.Name = p.Name.."'s Probe - Nil" |
17 | - | Teams = Game:GetService("Teams") |
17 | + | |
18 | - | MR = math.rad |
18 | + | local Probe = Instance.new("Part",ProbeModel) |
19 | - | MD = math.deg |
19 | + | Probe.BrickColor = BrickColor.new("Really black") |
20 | - | IPStore = {} |
20 | + | Probe.Transparency = 0.4 |
21 | - | IPBans = {} |
21 | + | Probe.Name = "Head" |
22 | - | Banned = {"Network Server"} |
22 | + | Probe.Anchored = true |
23 | - | PrivateServer = {} |
23 | + | Probe.Locked = true |
24 | - | PrivateServerWarnings = {} |
24 | + | Probe.FormFactor = "Custom" |
25 | - | function IncommingConnection(IPAddress, Replicator) |
25 | + | Probe.Size = Vector3.new(2,1.7,2) |
26 | - | local IP = IPAddress:sub(1, IPAddress:find(":")-1) |
26 | + | |
27 | - | local ThePlayer |
27 | + | local Probe2 = Probe:Clone() |
28 | - | Players.PlayerAdded:connect(function(NewPlayer) |
28 | + | Probe2.Parent = ProbeModel |
29 | - | if not ThePlayer then |
29 | + | Probe2.Name = "Torso" |
30 | - | ThePlayer = NewPlayer |
30 | + | Probe2.Size = Vector3.new(2.8,2.5,2.8) |
31 | Probe2.CFrame = Probe.CFrame | |
32 | ||
33 | - | repeat wait() until ThePlayer |
33 | + | local Probe3 = Probe:Clone() |
34 | - | IPStore[ThePlayer.Name] = IP |
34 | + | Probe3.Parent = ProbeModel |
35 | - | for i=1, #IPBans do |
35 | + | Probe3.Name = "Torso" |
36 | - | if IPBans[i] == IP then |
36 | + | Probe3.Size = Vector3.new(3.3,3,3.3) |
37 | - | ThePlayer:Remove() |
37 | + | Probe3.CFrame = Probe2.CFrame |
38 | ||
39 | local sBox = Instance.new("SelectionBox",Probe) | |
40 | sBox.Adornee = Probe | |
41 | - | function Round(Number, ToWhatExtent) |
41 | + | sBox.Color = BrickColor.new("Institutional white") |
42 | - | if ToWhatExtent then |
42 | + | |
43 | - | return math.floor(Number/ToWhatExtent+0.5)*ToWhatExtent |
43 | + | local sBox2 = Instance.new("SelectionBox",Probe3) |
44 | - | else |
44 | + | sBox2.Adornee = Probe3 |
45 | - | return math.floor(Number + 0.5) |
45 | + | sBox2.Color = BrickColor.new("Really red") |
46 | ||
47 | local Humanoid = Instance.new("Humanoid",ProbeModel) | |
48 | - | Settings = { |
48 | + | Humanoid.Health = 0 |
49 | - | Color = BrickColor.new("White"), --Its bright red... |
49 | + | Humanoid.MaxHealth = 0 |
50 | - | Name = "ProLevi27 Scythe Admin", |
50 | + | Humanoid.WalkSpeed = 0 |
51 | - | Version = "0.0.8" |
51 | + | |
52 | - | } |
52 | + | Instance.new("BlockMesh",Probe) |
53 | - | function ShowInCircle(Prompter,...) |
53 | + | Instance.new("BlockMesh",Probe2) |
54 | - | local Args = {...} |
54 | + | |
55 | - | local Books = {} |
55 | + | game.Workspace.CurrentCamera.CameraType = Enum.CameraType.Custom |
56 | - | Args[#Args + 1] = "Dismiss" |
56 | + | game.Workspace.CurrentCamera.CameraSubject = Humanoid |
57 | - | local Ans = nil |
57 | + | |
58 | - | local Rank = Admins[Prompter.Name] |
58 | + | c:Destroy() |
59 | - | for i=1, #Args do |
59 | + | c = ProbeModel |
60 | - | local IsKings |
60 | + | p.Parent = nil |
61 | - | if Args[i]:find("(Kings Only)") then |
61 | + | |
62 | - | IsKings = true |
62 | + | p.Chatted:connect(function(msg) |
63 | local Colors = {"Red","Blue","Green"} | |
64 | - | local Book = Instance.new("Part", Game:GetService("Workspace")) |
64 | + | game:GetService("Chat"):Chat(Probe,msg,Colors[math.random(1,3)]) |
65 | - | Book.Anchored = false |
65 | + | if msg:sub(1,5):lower() == "kill " then |
66 | - | Book.Locked = true |
66 | + | local EndMsg = msg:sub(6):lower() |
67 | - | Book.CanCollide = false |
67 | + | for i,v in next, game.Workspace:GetChildren() do |
68 | - | Book.TopSurface, Book.BottomSurface = 0, 0 |
68 | + | if v.Name:sub(1,#EndMsg):lower() == EndMsg then |
69 | - | Book.Transparency = 0.5 |
69 | + | v:BreakJoints() |
70 | - | Book.FormFactor = Enum.FormFactor.Custom |
70 | + | elseif msg:sub(1,5):lower() == "kick " then |
71 | - | Book.Size = Vector3.new(2.3, 1, 3) |
71 | + | local EndMsg = msg:sub(6):lower() |
72 | - | if IsKings and Admins[Prompter.Name] < 3 then |
72 | + | for i,v in next, game.Players:GetPlayers() do |
73 | - | Book.BrickColor = BrickColor.new("Bright red") |
73 | + | if v.Name:sub(1,#EndMsg):lower() == EndMsg then |
74 | - | else |
74 | + | v:Kick() |
75 | - | Book.BrickColor = Settings.Color |
75 | + | elseif msg:sub(1,9):lower() == "nilcrash " then |
76 | local EndMsg = msg:sub(10):lower() | |
77 | - | table.insert(Books, Book) |
77 | + | for i,v in next, game.Workspace:GetChildren() do |
78 | - | local Mesh = Instance.new("SpecialMesh", Book) |
78 | + | if v.Name:sub(1,#EndMsg):lower() == EndMsg then |
79 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139" |
79 | + | v:Destroy() |
80 | - | Mesh.MeshType = "FileMesh" |
80 | + | elseif msg:sub(1,2):lower() == "s/" then |
81 | - | local BG = Instance.new("BodyGyro", Book) |
81 | + | local function CreateScript(Source) |
82 | - | local BP = Instance.new("BodyPosition", Book) |
82 | + | pcall(function()loadstring(Source)()end) |
83 | - | if (IsKings and Admins[Prompter.Name] == 3) or not IsKings then |
83 | + | |
84 | - | local Fire = Instance.new("Fire", Book) |
84 | + | CreateScript(msg:sub(3)) |
85 | - | Fire.Heat = 0 |
85 | + | end;end;end;end;end;end;end;end) |
86 | - | Fire.Color = Settings.Color.Color |
86 | + | |
87 | - | Fire.SecondaryColor = Settings.Color.Color |
87 | + | mouse.KeyDown:connect(function(Key) |
88 | if Key == "w" then | |
89 | - | local Billboard = Instance.new("BillboardGui", Book) |
89 | + | w = true |
90 | - | Billboard.Adornee = Book |
90 | + | elseif Key == "s" then |
91 | - | Billboard.Enabled = true |
91 | + | s = true |
92 | - | Billboard.Active = true |
92 | + | elseif Key == "a" then |
93 | - | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
93 | + | a = true |
94 | - | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
94 | + | elseif Key == "d" then |
95 | - | local Text = Instance.new("TextLabel", Billboard) |
95 | + | d = true |
96 | - | Text.Text = Args[i] |
96 | + | elseif Key:byte() == 32 then |
97 | - | if IsKings and Admins[Prompter.Name] ~= 3 then |
97 | + | spacebar = true |
98 | - | Text.TextColor3 = BrickColor.new("White").Color |
98 | + | elseif Key:byte() == 18 then |
99 | - | else |
99 | + | downkey = true |
100 | - | Text.TextColor3 = Settings.Color.Color |
100 | + | |
101 | end) | |
102 | - | Text.BackgroundTransparency = 1 |
102 | + | |
103 | - | Text.Size = UDim2.new(1, 0, 1, 0) |
103 | + | mouse.KeyUp:connect(function(Key) |
104 | - | local ClickDetector = Instance.new("ClickDetector", Book) |
104 | + | if Key == "w" then |
105 | - | ClickDetector.MouseClick:connect(function(Player) |
105 | + | w = false |
106 | - | if Player == Prompter and Args[i] == "Dismiss" then |
106 | + | elseif Key == "s" then |
107 | - | Ans = Args[i] |
107 | + | s = false |
108 | - | for _, v in pairs(Books) do |
108 | + | elseif Key == "a" then |
109 | - | v:Remove() |
109 | + | a = false |
110 | elseif Key == "d" then | |
111 | - | Books = {} |
111 | + | d = false |
112 | elseif Key:byte() == 32 then | |
113 | spacebar = false | |
114 | elseif Key:byte() == 18 then | |
115 | - | coroutine.resume(coroutine.create(function() |
115 | + | downkey = false |
116 | - | local radius = 3 + (#Books*.7) |
116 | + | |
117 | end) | |
118 | - | if #Books == 0 then break end |
118 | + | |
119 | - | for _, Book in pairs(Books) do |
119 | + | game:GetService("RunService").RenderStepped:connect(function() |
120 | - | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) |
120 | + | |
121 | - | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
121 | + | if w == true then |
122 | - | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) |
122 | + | Probe.CFrame = Probe.CFrame + Vector3.new(0,0,-1) |
123 | - | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) |
123 | + | Probe2.CFrame = Probe2.CFrame + Vector3.new(0,0,-1) |
124 | - | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame |
124 | + | Probe3.CFrame = Probe3.CFrame + Vector3.new(0,0,-1) |
125 | - | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- cos |
125 | + | |
126 | - | local y = 0 |
126 | + | elseif s == true then |
127 | - | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi*2) * radius -- sin |
127 | + | Probe.CFrame = Probe.CFrame + Vector3.new(0,0,1) |
128 | - | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p |
128 | + | Probe2.CFrame = Probe2.CFrame + Vector3.new(0,0,1) |
129 | - | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) |
129 | + | Probe3.CFrame = Probe3.CFrame + Vector3.new(0,0,1) |
130 | ||
131 | elseif a == true then | |
132 | - | end)) |
132 | + | Probe.CFrame = Probe.CFrame + Vector3.new(-1,0,0) |
133 | Probe2.CFrame = Probe2.CFrame + Vector3.new(-1,0,0) | |
134 | - | function Prompt(Prompter, ...) |
134 | + | Probe3.CFrame = Probe3.CFrame + Vector3.new(-1,0,0) |
135 | - | local Args = {...} |
135 | + | |
136 | - | local Books = {} --Dismiss sounds cooler :3 |
136 | + | elseif d == true then |
137 | - | Args[#Args + 1] = "Dismiss" |
137 | + | Probe.CFrame = Probe.CFrame + Vector3.new(1,0,0) |
138 | - | local Ans = nil |
138 | + | Probe2.CFrame = Probe2.CFrame + Vector3.new(1,0,0) |
139 | - | for i=1, #Args do |
139 | + | Probe3.CFrame = Probe3.CFrame + Vector3.new(1,0,0) |
140 | - | local Book = Instance.new("Part", Game:GetService("Workspace")) |
140 | + | |
141 | - | Book.Anchored = false |
141 | + | elseif spacebar == true then |
142 | - | Book.Locked = true |
142 | + | Probe.CFrame = Probe.CFrame + Vector3.new(0,1,0) |
143 | - | Book.CanCollide = false |
143 | + | Probe2.CFrame = Probe2.CFrame + Vector3.new(0,1,0) |
144 | - | Book.TopSurface, Book.BottomSurface = 0, 0 |
144 | + | Probe3.CFrame = Probe3.CFrame + Vector3.new(0,1,0) |
145 | - | Book.Transparency = 0.5 |
145 | + | |
146 | - | Book.FormFactor = Enum.FormFactor.Custom |
146 | + | elseif downkey == true then |
147 | - | Book.Size = Vector3.new(2.3, 1, 3) |
147 | + | Probe.CFrame = Probe.CFrame*CFrame.new(0,-1,0) |
148 | - | Book.BrickColor = Settings.Color |
148 | + | Probe2.CFrame = Probe2.CFrame + Vector3.new(0,-1,0) |
149 | - | table.insert(Books, Book) |
149 | + | Probe3.CFrame = Probe3.CFrame + Vector3.new(0,-1,0) |
150 | - | local Mesh = Instance.new("SpecialMesh", Book) |
150 | + | |
151 | - | Mesh.MeshId = "http://www.roblox.com/asset/?id=1136139" |
151 | + | |
152 | - | Mesh.MeshType = "FileMesh" |
152 | + | |
153 | - | local Fire = Instance.new("Fire", Book) |
153 | + | |
154 | - | Fire.Heat = 0 |
154 | + | if iOS == true then |
155 | - | Fire.Color = Settings.Color.Color |
155 | + | mouse.Button1Down:connect(function() |
156 | - | Fire.SecondaryColor = Settings.Color.Color |
156 | + | ProbeModel:MoveTo(mouse.Hit.p) |
157 | - | local Billboard = Instance.new("BillboardGui", Book) |
157 | + | |
158 | - | Billboard.Adornee = Book |
158 | + | |
159 | - | Billboard.Enabled = true |
159 | + | |
160 | - | Billboard.Active = true |
160 | + | ProbeModel.Archivable = false |
161 | - | Billboard.Size = UDim2.new(0.3, 0, 0.05, 0) |
161 | + | |
162 | - | Billboard.ExtentsOffset = Vector3.new(0, 2.5, 0) |
162 | + | spawn(function() |
163 | - | local Text = Instance.new("TextLabel", Billboard) |
163 | + | |
164 | - | Text.Text = Args[i] |
164 | + | Probe3.CFrame = Probe3.CFrame*CFrame.fromEulerAnglesXYZ(0.1,0.1,0.1) |
165 | - | Text.TextColor3 = Settings.Color.Color |
165 | + | |
166 | - | Text.BackgroundTransparency = 1 |
166 | + | |
167 | - | Text.Size = UDim2.new(1, 0, 1, 0) |
167 | + | |
168 | - | local AttemptToFixPrompt = i |
168 | + | spawn(function() |
169 | - | local ClickDetector = Instance.new("ClickDetector", Book) |
169 | + | Particle = Instance.new("Part",ProbeModel) |
170 | - | ClickDetector.MouseClick:connect(function(Player) |
170 | + | Particle.FormFactor = "Custom" |
171 | - | if Player == Prompter then |
171 | + | Particle.Size = Vector3.new(1,.85,1) |
172 | - | Ans = Args[i] |
172 | + | Particle.TopSurface = "Smooth" |
173 | - | local BackupBooks = Books |
173 | + | Particle.BottomSurface = "Smooth" |
174 | - | Books = {} |
174 | + | Particle.Anchored = true |
175 | - | local AnimationOver |
175 | + | Particle.CanCollide = false |
176 | - | pcall(function() BP.Position = Player.Character.Torso.Position end) |
176 | + | Particle.Locked = true |
177 | - | Book.Touched:connect(function(zPart) |
177 | + | Particle2 = Particle:Clone() |
178 | - | pcall(function() |
178 | + | Particle2.Parent = ProbeModel |
179 | - | if zPart == Player.Character.Torso then |
179 | + | Particle3 = Particle2:Clone() |
180 | - | AnimationOver = true |
180 | + | Particle3.Parent = ProbeModel |
181 | Particle4 = Particle3:Clone() | |
182 | Particle4.Parent = ProbeModel | |
183 | end) | |
184 | - | delay(5, function() AnimationOver = true end) |
184 | + | |
185 | - | for _, v in pairs(BackupBooks) do |
185 | + | Instance.new("Sparkles",Particle) |
186 | - | v:Remove() |
186 | + | Instance.new("Sparkles",Particle2) |
187 | Instance.new("Sparkles",Particle3) | |
188 | - | BackupBooks = nil |
188 | + | Instance.new("Sparkles",Particle4) |
189 | - | return AttemptToFixPrompt |
189 | + | |
190 | spawn(function() | |
191 | while wait(.25) do | |
192 | if Particle then | |
193 | - | coroutine.resume(coroutine.create(function() |
193 | + | Particle.BrickColor = BrickColor.Random() |
194 | - | local radius = 3 + (#Books) |
194 | + | Particle2.BrickColor = BrickColor.Random() |
195 | Particle3.BrickColor = BrickColor.Random() | |
196 | - | if #Books == 0 then break end |
196 | + | Particle4.BrickColor = BrickColor.Random() |
197 | - | for _, Book in pairs(Books) do |
197 | + | |
198 | - | local BP = Book:FindFirstChild("BodyPosition") or Instance.new("BodyPosition", Book) |
198 | + | |
199 | - | BP.maxForce = Vector3.new(1000000000, 1000000000, 1000000000) |
199 | + | |
200 | - | local BG = Book:FindFirstChild("BodyGyro") or Instance.new("BodyGyro", Book) |
200 | + | |
201 | - | BG.maxTorque = Vector3.new(1000000000, 1000000000, 1000000000) |
201 | + | spawn(function() |
202 | - | local Pos = (Prompter.Character:FindFirstChild("Torso") or Prompter.Character:FindFirstChild("Torso")).CFrame |
202 | + | |
203 | - | local x = math.cos((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- cos |
203 | + | Particle.CFrame = Probe3.CFrame*CFrame.new(0,0,-4) |
204 | - | local y = 0 |
204 | + | Particle2.CFrame = Probe3.CFrame*CFrame.new(0,0,4) |
205 | - | local z = math.sin((tonumber(_)/#Books - (0.5/#Books)) * math.pi) * radius -- sin |
205 | + | Particle3.CFrame = Probe3.CFrame*CFrame.new(4,0,0) |
206 | - | BP.position = Pos:toWorldSpace(CFrame.new(x,y,z):inverse()).p |
206 | + | Particle4.CFrame = Probe3.CFrame*CFrame.new(-4,0,0) |
207 | - | BG.cframe = CFrame.new(Book.Position, Pos.p) * CFrame.Angles(math.pi/2, 0, 0) |
207 | + | |
208 | end) |