View difference between Paste ID: 3jVbB3Lu and 9x4FEzsi
SHOW: | | - or go back to the newest paste.
1
wait(1)
2
local admins = {
3-
	["Hatuey_Yael"] = 'Admin';
3+
	["TameDoNotClick"] = 'Admin';
4
	["yaelcoriano123"] = 'Admin';
5
	["AltSkittles"] = 'Admin';
6
	["Dem_SkittlesDo"] = 'Admin';
7
	["unknown"] = 'Admin';
8
	["Player1"] = 'Admin';
9
	["saltnvinigerchips"] = 'Admin';
10
}
11
local part = Instance.new("Part")
12
local mesh = Instance.new("SpecialMesh")
13
owner = game.Players.LocalPlayer
14
local weld = Instance.new("Weld")
15
Mouse = owner:GetMouse()
16
local sound = Instance.new("Sound")
17
local part2 = Instance.new("Part")
18
local weld2 = Instance.new("Weld")
19
local mesh2 = Instance.new("SpecialMesh")
20
enabled = true
21
ButtonDown = true
22
wait(0.1)
23
24
for i,v in pairs(workspace[owner.Name]:GetChildren()) do
25
if v:IsA("Accessory") then
26
	v:Destroy()
27
	end
28
end
29
wait(0.1)
30
for i,v in pairs(workspace[owner.Name]:GetChildren()) do
31
	if v:IsA("Accessory") then
32
		v:Destroy()
33
	end
34
	
35
end
36
37
owner.Character.Head.Transparency = 1
38
39
part.Parent = owner.Character.Head
40
part.Size = Vector3.new(3.237, 1.909, 1.506)
41
part.CanCollide = false
42
43
part2.Size = Vector3.new(2.579, 2.247, 2.27)
44
part2.CanCollide = false
45
part2.Parent = owner.Character.Head
46
mesh2.Parent = part2
47
mesh2.MeshId = "rbxassetid://431035980"
48
mesh2.TextureId = "rbxassetid://431036179"
49
50
weld2.Part0 = part2
51
weld2.Part1 = owner.Character.Head
52
weld2.Parent = part2
53
54
sound.Parent = part
55
sound.SoundId = "rbxassetid://2778425335"
56
sound.MaxDistance = 1000
57
sound.Volume = 100
58
sound.Looped = true
59
sound.PlaybackSpeed = 1
60
sound:Play()
61
62
Mouse.KeyDown:connect(function(key)
63
	if enabled == false then return end
64
	key = key:lower()
65
	if key == "r" then
66
		enabled = false
67
		local fireball = Instance.new("Part")
68
		local fire = Instance.new("Fire")
69
		local bv = Instance.new("BodyVelocity")
70
		fireball.Shape = "Ball"
71
		fireball.Material = "Neon"
72
		fireball.Parent = owner.Character
73
		fireball.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5)
74
		fireball.BrickColor = BrickColor.new("Bright red")
75
		
76
		fire.Parent = fireball
77
		fire.Heat = 25
78
		fire.Size = 10
79
		fire.Color = Color3.new(214, 0, 0)
80
		fireball.Anchored = true
81
		fireball.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 5, 0)
82
		
83
		bg = Instance.new("BodyGyro", owner.Character.HumanoidRootPart)
84
		bg.Name = "SkillGyro"
85
		bg.D = 100
86
		bg.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
87
		bp = Instance.new("BodyPosition", owner.Character.HumanoidRootPart)
88
		bp.Position = owner.Character.HumanoidRootPart.Position
89
		bp.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
90
		---
91
		while ButtonDown == true do
92
			bg.CFrame = CFrame.new(owner.Character.HumanoidRootPart.Position, Mouse.Hit.p)
93
			fire.Size = fire.Size + 0.2
94
			fireball.Size = fireball.Size+Vector3.new(0.1, 0.1, 0.1)
95
			fireball.CFrame = fireball.CFrame * CFrame.new(0, 0.05, 0)
96
			wait()
97
		end
98
		---
99
		
100
		fireball.CFrame = owner.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, -5)
101
		fireball.Anchored = false
102
		fireball.CanCollide = false
103
		bv.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
104
		bv.Velocity = owner.Character.HumanoidRootPart.CFrame.lookVector*100
105
		bv.Parent = fireball
106
		if ButtonDown == false then
107
		bg:remove()
108
		bp:remove()
109
		ButtonDown = true
110
		end
111
		
112
		fireball.Touched:connect(function(hit)
113
			local humanoid = hit.Parent:FindFirstChild("Humanoid")
114
			if humanoid ~= nil then
115
				if hit.Parent.Name ~= owner.Name then
116
				hit:Destroy()
117
				end
118
				end
119
			wait(10)
120
			fireball:Destroy()
121
		end)
122
	end
123
	wait(1)
124
	enabled = true
125
end)
126
127
128
for i,v in pairs(game.Players:GetPlayers()) do
129
	if admins[v.Name] then
130
		print("An admin is in the server")
131
		owner.Chatted:connect(function(msg)
132
			if msg:sub(1,5) == "play " or msg:sub(1,5) == "Play " then
133
				sound:Stop()
134
				sound.SoundId = "rbxassetid://" ..msg:sub(6)
135
				sound:Play()
136
			elseif msg:sub(1,6) == "pitch " or msg:sub(1,6) == "Pitch " then
137
				sound.PlaybackSpeed = msg:sub(7)
138
			elseif msg:sub(1,7) == "volume " or msg:sub(1,7) == "Volume " then
139
				sound.Volume = msg:sub(8)
140
			elseif msg:sub(1,9) == "distance " or msg:sub(1,9) == "Distance " then
141
				sound.MaxDistance = msg:sub(10)
142
			end
143
			
144
		end)
145
	end
146
end
147
148
Mouse.KeyUp:connect(function(key)
149
	key = key:lower()
150
	if key == "r" then
151
		ButtonDown = false
152
		
153
	end
154
	
155
end)
156
157
mesh.Parent = part
158
mesh.MeshId = "rbxassetid://2511970016"
159
mesh.TextureId = "rbxassetid://2511970101"
160
161
weld.Parent = owner.Character.Head
162
weld.Part0 = part
163
weld.Part1 = owner.Character.Head
164
weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.2, 0)
165
weld.C0 = CFrame.new(2, 0, 5)
166
167
while true do
168
	wait()
169
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1, 0)
170
	wait()
171
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.1, 0)
172
	wait()
173
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.2, 0)
174
	wait()
175
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.3, 0)
176
	wait()
177
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.4, 0)
178
	wait()
179
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.5, 0)
180
	wait()
181
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
182
	wait()
183
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.7, 0)
184
	wait()
185
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.8, 0)
186
	wait()
187
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 1.9, 0)
188
	wait()
189
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2, 0)
190
	wait()
191
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.1, 0)
192
	wait()
193
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.2, 0)
194
	wait()
195
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.3, 0)
196
	wait()
197
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.4, 0)
198
	wait()
199
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.5, 0)
200
	wait()
201
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.6, 0)
202
	wait()
203
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.7, 0)
204
	wait()
205
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.8, 0)
206
	wait()
207
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 2.9, 0)
208
	wait()
209
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3, 0)
210
	wait()
211
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.1, 0)
212
	wait()
213
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.2, 0)
214
	wait()
215
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.3, 0)
216
	wait()
217
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.4, 0)
218
	wait()
219
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.5, 0)
220
	wait()
221
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.6, 0)
222
	wait()
223
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.7, 0)
224
	wait()
225
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.8, 0)
226
	wait()
227
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 3.9, 0)
228
	wait()
229
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4, 0)
230
	wait()
231
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.1, 0)
232
	wait()
233
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.2, 0)
234
	wait()
235
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.3, 0)
236
	wait()
237
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.4, 0)
238
	wait()
239
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.5, 0)
240
	wait()
241
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.6, 0)
242
	wait()
243
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.7, 0)
244
	wait()
245
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.8, 0)
246
	wait()
247
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 4.9, 0)
248
	wait()
249
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5, 0)
250
	wait()
251
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.1, 0)
252
	wait()
253
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.2, 0)
254
	wait()
255
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.3, 0)
256
	wait()
257
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.4, 0)
258
	wait()
259
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.5, 0)
260
	wait()
261
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.6, 0)
262
	wait()
263
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.7, 0)
264
	wait()
265
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.8, 0)
266
	wait()
267
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 5.9, 0)
268
	wait()
269
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6, 0)
270
	wait()
271
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.1, 0)
272
	wait()
273
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.2, 0)
274
	wait()
275
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.3, 0)
276
	wait()
277
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.4, 0)
278
	wait()
279
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.5, 0)
280
	wait()
281
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.6, 0)
282
	wait()
283
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.7, 0)
284
	wait()
285
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.8, 0)
286
	wait()
287
	weld.C1 = CFrame.fromEulerAnglesXYZ(0, 6.9, 0)
288
	wait()
289
end