View difference between Paste ID: KkbgzDBZ and vqJ1mQ2r
SHOW: | | - or go back to the newest paste.
1
--made by pdnghiaqoi [marseio]
2
--do not change this credit
3
local chatting = false
4
local currentgui
5
local currentline = 2
6
BillboardGui0 = Instance.new("BillboardGui")
7
Frame1 = Instance.new("Frame")
8
Frame2 = Instance.new("Frame")
9
ImageLabel3 = Instance.new("ImageLabel")
10
TextLabel4 = Instance.new("TextLabel")
11
TextLabel5 = Instance.new("TextLabel")
12
BillboardGui0.Parent = mas
13
BillboardGui0.Size = UDim2.new(15, 0, 4.5, 0)
14
BillboardGui0.ClipsDescendants = true
15
BillboardGui0.Adornee = nil
16
BillboardGui0.AlwaysOnTop = true
17
BillboardGui0.MaxDistance = 35
18
BillboardGui0.SizeOffset = Vector2.new(0, 1)
19
Frame1.Name = "White"
20
Frame1.Parent = BillboardGui0
21
Frame1.Size = UDim2.new(1, 0, 1, 0)
22
Frame1.BackgroundColor = BrickColor.new("Institutional white")
23
Frame1.BackgroundColor3 = Color3.new(1, 1, 1)
24
Frame1.BorderSizePixel = 0
25
Frame2.Name = "Black"
26
Frame2.Parent = Frame1
27
Frame2.Position = UDim2.new(0, 5, 0, 5)
28
Frame2.Size = UDim2.new(1, -10, 1, -10)
29
Frame2.BackgroundColor = BrickColor.new("Really black")
30
Frame2.BackgroundColor3 = Color3.new(0, 0, 0)
31
Frame2.BorderColor = BrickColor.new("Pastel violet")
32
Frame2.BorderColor3 = Color3.new(0.588235, 0.588235, 1)
33
Frame2.BorderSizePixel = 4
34
ImageLabel3.Name = "Portrait"
35
ImageLabel3.Parent = Frame2
36
ImageLabel3.Position = UDim2.new(0.0195086356, 0, 0.0609827824, 0)
37
ImageLabel3.Size = UDim2.new(0.227539942, 0, 0.870999992, 0)
38
ImageLabel3.BackgroundColor = BrickColor.new("Institutional white")
39
ImageLabel3.BackgroundColor3 = Color3.new(1, 1, 1)
40
ImageLabel3.BackgroundTransparency = 9
41
ImageLabel3.BorderSizePixel = 0
42
ImageLabel3.Image = "rbxassetid://2537357477"
43
TextLabel4.Name = "Shadow"
44
TextLabel4.Parent = Frame2
45
TextLabel4.Position = UDim2.new(0.277011365, 0, 0.0826922357, 0)
46
TextLabel4.Size = UDim2.new(0.716000021, 0, 0.870999992, 0)
47
TextLabel4.BackgroundColor = BrickColor.new("Really black")
48
TextLabel4.BackgroundColor3 = Color3.new(0, 0, 0)
49
TextLabel4.BackgroundTransparency = 9
50
TextLabel4.Font = Enum.Font.Arcade
51
TextLabel4.FontSize = Enum.FontSize.Size60
52
TextLabel4.Text = "* "
53
TextLabel4.TextColor = BrickColor.new("Medium lilac")
54
TextLabel4.TextColor3 = Color3.new(0.215686, 0.215686, 0.392157)
55
TextLabel4.TextSize = 50
56
TextLabel4.TextTruncate = Enum.TextTruncate.AtEnd
57
TextLabel4.TextWrap = true
58
TextLabel4.TextWrapped = true
59
TextLabel4.TextXAlignment = Enum.TextXAlignment.Left
60
TextLabel5.Name = "Msg"
61
TextLabel5.Parent = Frame2
62
TextLabel5.Position = UDim2.new(0.275019109, 0, 0.0744685978, 0)
63
TextLabel5.Size = UDim2.new(0.716000021, 0, 0.870531261, 0)
64
TextLabel5.BackgroundColor = BrickColor.new("Institutional white")
65
TextLabel5.BackgroundColor3 = Color3.new(1, 1, 1)
66
TextLabel5.BackgroundTransparency = 9
67
TextLabel5.Font = Enum.Font.Arcade
68
TextLabel5.FontSize = Enum.FontSize.Size60
69
TextLabel5.Text = "* "
70
TextLabel5.TextColor = BrickColor.new("Institutional white")
71
TextLabel5.TextColor3 = Color3.new(1, 1, 1)
72
TextLabel5.TextSize = 50
73
TextLabel5.TextTruncate = Enum.TextTruncate.AtEnd
74
TextLabel5.TextWrap = true
75
TextLabel5.TextWrapped = true
76
TextLabel5.TextXAlignment = Enum.TextXAlignment.Left
77
wait()
78
function saymsg(player,mes,style)
79
pcall(function()
80
local gui = BillboardGui0:Clone()
81
gui.Parent = player.Character:WaitForChild("Head")
82
local white = gui:WaitForChild("White")
83
local blk = white:WaitForChild("Black")
84
local msg = blk:WaitForChild("Msg")
85
local shd = blk:WaitForChild("Shadow")
86
local img = blk:WaitForChild("Portrait")
87
local ms
88
if style == "normal" then
89
	img.Image = "rbxassetid://2537357477"
90
elseif style == "happy" then
91
	img.Image = "rbxassetid://2537357477"
92
elseif style == "angry" then
93
	img.Image = "rbxassetid://2537357477"
94
elseif style == "blush" then
95
	img.Image = "rbxassetid://2537357477"
96
elseif style == "sincere" then
97
	img.Image = "rbxassetid://2537357477"
98
elseif style == "sarcasm" then
99
	img.Image = "rbxassetid://2537357477"
100
end
101
102
ms = "* "..mes
103
104
if string.len(ms) > 25 then
105
	msg.TextYAlignment = Enum.TextYAlignment.Top
106
	shd.TextYAlignment = Enum.TextYAlignment.Top
107
end
108
if string.len(ms) > 58 then
109
	msg.TextSize = 40
110
	shd.TextSize = 40
111
end
112
if string.len(ms) > 108 then
113
	msg.TextSize = 30
114
	shd.TextSize = 30
115
end
116
117
white.Visible = true
118
local sound = Instance.new("Sound")
119-
    sound.SoundId = "rbxassetid://2545012765"
119+
    sound.SoundId = "rbxassetid://2606662454"
120
		sound.Volume = 1
121
		sound.Looped = false
122
		sound.Parent = player.Character
123
for i = 1, #ms do
124
    msg.Text = string.sub(ms, 1, i)
125
	shd.Text = string.sub(ms, 1, i)
126
	if string.sub(msg.Text, string.len(msg.Text) - 1) ~= " " and string.sub(msg.Text, string.len(msg.Text) - 1) ~= "," and string.sub(msg.Text, string.len(msg.Text) - 1) ~= "." then
127
      if not sound then
128
	    local sound = Instance.new("Sound")
129-
		sound.SoundId = "rbxassetid://2545012765"
129+
		sound.SoundId = "rbxassetid://2606662454"
130
		sound.Volume = 1
131
		sound.Looped = false
132
		sound.Parent = player.Character
133
      end
134
		sound:Play()
135
	elseif string.sub(msg.Text, string.len(msg.Text) - 1) == "," or string.sub(msg.Text, string.len(msg.Text) - 1) == "." then
136
		wait(0.26)
137
	end
138
    wait(0.1)
139
end	
140
wait(3)
141
gui:Remove()
142
end)
143
end
144
game:GetService("ContentProvider"):Preload("rbxassetid://2634816264")
145
game:GetService("ContentProvider"):Preload("rbxassetid://2634815127")
146
game:GetService("ContentProvider"):Preload("rbxassetid://2634816040")
147
game:GetService("ContentProvider"):Preload("rbxassetid://2634814819")
148
game:GetService("ContentProvider"):Preload("rbxassetid://2634815417")
149
150
game:GetService("ContentProvider"):Preload("rbxassetid://2912606058")
151
game:GetService("ContentProvider"):Preload("rbxassetid://2912658185")
152
game:GetService("ContentProvider"):Preload("rbxassetid://2913582350")
153
game:GetService("ContentProvider"):Preload("rbxassetid://2913657822")
154
game:GetService("ContentProvider"):Preload("http://www.roblox.com/asset/?id=22053998")
155
156
157
--made by pdnghiaqoi [marseio]
158
--do not change these credit
159
function findplayer(speaker,plr)
160
    local plrs = {}
161
    if tostring(plr) then
162
        if plr == "me" then
163
            return speaker
164
        elseif plr == "random" then
165
            for i,v in pairs(game:GetService("Players"):GetPlayers()) do
166
                if v ~= speaker then
167
                    table.insert(plrs,v)
168
                end
169
            end
170
            return plrs[math.random(1,#plrs)]
171
        end        
172
         for i,v in pairs(game:GetService("Players"):GetPlayers()) do
173
            if string.sub(v.Name, 1, #plr) == plr then
174
                table.insert(plrs,v)
175
            end
176
        end
177
        return plrs[math.random(1,#plrs)]
178
    end
179
end
180
local tb = {}
181
local style = "normal"
182
owner.Chatted:Connect(function(msg)
183
	local mes = msg
184
	if string.sub(msg,1,3) == "/e " or string.sub(msg,1,3) == "/w " then
185
		mes = string.sub(msg,4)
186
		if string.sub(mes, 1,6) == "style:" then
187
			style = getstyle(tonumber(string.sub(mes,7)))
188
		elseif string.sub(mes, 1,7) == "pacify:" then
189
		    local a = findplayer(owner,string.sub(mes,8)) 
190
            if not a then return end
191
            pcall(function()
192
            a.Character:FindFirstChildOfClass("Humanoid").Health = 0
193
            end)
194
        elseif string.sub(mes, 1, 5) == "heal:" then
195
            local a = findplayer(owner,string.sub(m,6)) 
196
            if not a then return end
197
            pcall(function()
198
            a.Character:FindFirstChildOfClass("Humanoid").Health = a.Character:FindFirstChildOfClass("Humanoid").MaxHealth
199
            end)  	
200
		end
201
		return
202
	end
203
	saymsg(owner,mes,style)
204
end)
205
function play(human)
206
	spawn(function()
207
	local sound = Instance.new("Sound")
208
	sound.Parent = human
209
	sound.Volume = 1
210
	sound.SoundId = "rbxassetid://973028066"
211
	sound:Play()
212
	end)
213
end
214
Part0 = Instance.new("Part")
215
Decal1 = Instance.new("Decal")
216
Decal2 = Instance.new("Decal")
217
Part0.CFrame = CFrame.new(1.50997901, 2.5, -22.1049862, 1, 0, 0, 0, 1, 0, 0, 0, 1)
218
Part0.Position = Vector3.new(1.50997901, 2.5, -22.1049862)
219
Part0.Transparency = 1
220
Part0.Size = Vector3.new(1, 1, 0.0500000007)
221
Part0.Anchored = true
222
Part0.BottomSurface = Enum.SurfaceType.Smooth
223
Part0.TopSurface = Enum.SurfaceType.Smooth
224
Part0.CanCollide = false
225
Decal1.Parent = Part0
226
Decal1.Name = "front"
227
Decal1.Texture = "rbxassetid://3287241175"
228
Decal2.Parent = Part0
229
Decal2.Texture = "rbxassetid://3287241175"
230
Decal2.Face = Enum.NormalId.Back
231
Decal2.Name = "back"
232
local char = owner.Character
233
local humanoid = char:FindFirstChildOfClass("Humanoid")
234
local root = char:WaitForChild("HumanoidRootPart")
235
humanoid.Died:Connect(function()
236
	local pos = root.Position
237
owner.Character = nil
238
	local a = Part0:Clone()
239
	a.Parent = workspace
240
	a.Position = pos
241
    local front = a:WaitForChild("front")
242
    local back = a:WaitForChild("back")
243
    front.Texture = "rbxassetid://3287241175"
244
    back.Texture = "rbxassetid://3287241175"
245
    wait(1)
246
    front.Texture = "rbxassetid://3287240573"
247
    back.Texture = "rbxassetid://3287240573"
248
    play(a)
249
    wait(0.85)
250
    front.Transparency = 1
251
    back.Transparency = 1
252
local ParticleEmitter0 = Instance.new("ParticleEmitter")
253
ParticleEmitter0.Parent = a
254
ParticleEmitter0.Speed = NumberRange.new(35, 35)
255
ParticleEmitter0.Rotation = NumberRange.new(10, 10)
256
ParticleEmitter0.LightInfluence = 1
257
ParticleEmitter0.Texture = "rbxassetid://3287241175"
258
ParticleEmitter0.ZOffset = 10
259
ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
260
ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
261
ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
262
ParticleEmitter0.Rate = 250
263
ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
264
ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
265
ParticleEmitter0.VelocitySpread = 100
266
ParticleEmitter0.Name = "pt"  
267
 wait(1)
268
    ParticleEmitter0.Enabled = false
269
    wait(2)
270
    owner:LoadCharacter()
271
end)
272
owner.CharacterAdded:Connect(function()
273
    wait(0.5)
274
local char = owner.Character
275
local humanoid = char:FindFirstChildOfClass("Humanoid")
276
local root = char:WaitForChild("HumanoidRootPart")
277
humanoid.Died:Connect(function()
278
	local pos = root.Position
279
owner.Character = nil
280
	local a = Part0:Clone()
281
	a.Parent = workspace
282
	a.Position = pos
283
    local front = a:WaitForChild("front")
284
    local back = a:WaitForChild("back")
285
    front.Texture = "rbxassetid://3287241175"
286
    back.Texture = "rbxassetid://3287241175"
287
    wait(1)
288
    front.Texture = "rbxassetid://3287240573"
289
    back.Texture = "rbxassetid://3287240573"
290
    play(a)
291
    wait(0.85)
292
    front.Transparency = 1
293
    back.Transparency = 1
294
local ParticleEmitter0 = Instance.new("ParticleEmitter")
295
ParticleEmitter0.Parent = a
296
ParticleEmitter0.Speed = NumberRange.new(35, 35)
297
ParticleEmitter0.Rotation = NumberRange.new(10, 10)
298
ParticleEmitter0.LightInfluence = 1
299
ParticleEmitter0.Texture = "rbxassetid://3287241175"
300
ParticleEmitter0.ZOffset = 10
301
ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
302
ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
303
ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
304
ParticleEmitter0.Rate = 250
305
ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
306
ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
307
ParticleEmitter0.VelocitySpread = 100
308
ParticleEmitter0.Name = "pt"  
309
 wait(1)
310
    ParticleEmitter0.Enabled = false
311
    wait(2)
312
    owner:LoadCharacter()
313
end)
314
end)
315
316
317
for i,v in pairs(game:GetService("Players"):GetPlayers()) do
318
v.Chatted:Connect(function(msg)
319
for i,a in pairs(tb) do
320
if v.UserId == a then
321
local mes = msg
322
if string.sub(msg,1,3) == "/e " or string.sub(msg,1,3) == "/w " then
323
		mes = string.sub(msg,4)
324
		if string.sub(mes, 1,7) == "pacify:" then
325
		    local a = findplayer(owner,string.sub(mes,8)) 
326
            if not a then return end
327
            pcall(function()
328
            a.Character:FindFirstChildOfClass("Humanoid").Health = 0
329
            end)
330
        elseif string.sub(mes, 1, 5) == "heal:" then
331
            local a = findplayer(owner,string.sub(m,6)) 
332
            if not a then return end
333
            pcall(function()
334
            a.Character:FindFirstChildOfClass("Humanoid").Health = a.Character:FindFirstChildOfClass("Humanoid").MaxHealth
335
            end)  	
336
		end
337
		return
338
	end
339
	saymsg(v,mes,style)
340
end
341
end
342
end)
343
  v.CharacterAdded:Connect(function()
344
     for i,a in pairs(tb) do
345
        if v.UserId == a then
346
           wait(0.5)
347
          local char = v.Character
348
local humanoid = char:FindFirstChildOfClass("Humanoid")
349
local root = char:WaitForChild("HumanoidRootPart")
350
humanoid.Died:Connect(function()
351
	local pos = root.Position
352
v.Character = nil
353
	local a = Part0:Clone()
354
	a.Parent = workspace
355
	a.Position = pos
356
    local front = a:WaitForChild("front")
357
    local back = a:WaitForChild("back")
358
    front.Texture = "rbxassetid://3287241175"
359
    back.Texture = "rbxassetid://3287241175"
360
    wait(1)
361
    front.Texture = "rbxassetid://3287240573"
362
    back.Texture = "rbxassetid://3287240573"
363
    play(a)
364
    wait(0.85)
365
    front.Transparency = 1
366
    back.Transparency = 1
367
local ParticleEmitter0 = Instance.new("ParticleEmitter")
368
ParticleEmitter0.Parent = a
369
ParticleEmitter0.Speed = NumberRange.new(35, 35)
370
ParticleEmitter0.Rotation = NumberRange.new(10, 10)
371
ParticleEmitter0.LightInfluence = 1
372
ParticleEmitter0.Texture = "rbxassetid://3287241175"
373
ParticleEmitter0.ZOffset = 10
374
ParticleEmitter0.Size = NumberSequence.new(0.5,0.5)
375
ParticleEmitter0.Acceleration = Vector3.new(0, -75, 0)
376
ParticleEmitter0.Lifetime = NumberRange.new(0.5, 1)
377
ParticleEmitter0.Rate = 250
378
ParticleEmitter0.RotSpeed = NumberRange.new(10, 10)
379
ParticleEmitter0.SpreadAngle = Vector2.new(100, 100)
380
ParticleEmitter0.VelocitySpread = 100
381
ParticleEmitter0.Name = "pt"  
382
 wait(1)
383
    ParticleEmitter0.Enabled = false
384
wait(2)
385
              v:LoadCharacter()
386
end)
387
        end
388
     end
389
  end)
390
end