View difference between Paste ID: Zny3QPUP and X7mevyZD
SHOW: | | - or go back to the newest paste.
1
for i, v in pairs(game.Players:GetChildren()) do--this is going down in order of evrything in players, v is the variable
2
p = v.Character
3
4-
local p = game.Players.LocalPlayer.Character
4+
local p = game.Players.ohDonuts.Character
5
local weld = Instance.new("Weld",p.Torso)
6
weld.Part0 = p.Torso
7
 
8
local train = Instance.new("Part",p.Torso)
9
train.Anchored = true
10
train.CanCollide = false
11
train.Size = Vector3.new(3,2,6)
12
train.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
13
weld.Part1 = train
14
weld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(180),0)
15
train.Anchored = false
16
local TrainMesh = Instance.new("SpecialMesh",train)
17
TrainMesh.MeshType = Enum.MeshType.FileMesh
18
TrainMesh.Scale = Vector3.new(5,5,5)
19
TrainMesh.MeshId = "rbxassetid://475749339"
20
TrainMesh.TextureId = "rbxassetid://475749346"
21
 
22
 
23
local weld2 = Instance.new("Weld",p.Torso)
24
weld2.Part0 = p.Torso
25
local Smoke = Instance.new("Part",p.Torso)
26
Smoke.Anchored = true
27
Smoke.CanCollide = false
28
Smoke.Size = Vector3.new(1,1,1)
29
Smoke.CustomPhysicalProperties = PhysicalProperties.new(0,0,0,0,0)
30
weld2.Part1 = Smoke
31
weld2.C1 = CFrame.new(0,-4,3.5)-- * CFrame.Angles(0,math.rad(180),0)
32
Smoke.Anchored = false
33
Smoke.Transparency = 1;
34
 
35
p.Humanoid.WalkSpeed = 16;
36
 
37
 
38
for i,v in pairs(p:GetChildren()) do
39
if v:IsA("Part") then
40
v.Transparency = 1;
41
elseif v:IsA("Hat") then
42
v:Destroy()
43
elseif v:IsA("Model") then
44
v:Destroy()
45
end
46
end
47
end
48
 
49
local playerLeaderstats = {}
50
for i, v in pairs(game.Players:GetChildren()) do
51
table.insert(playerLeaderstats, v)
52
end
53
54
wait( )
55
56
-- Objects
57
58
local ScreenGui = Instance.new("ScreenGui")
59
local Frame = Instance.new("Frame")
60
local TextButton = Instance.new("TextButton")
61
local TextButton_2 = Instance.new("TextButton")
62
63
-- Properties
64
65-
ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
65+
ScreenGui.Parent = game.Players.ohDonuts.PlayerGui
66
67
Frame.Parent = ScreenGui
68
Frame.BackgroundColor3 = Color3.new(1, 1, 1)
69
Frame.Position = UDim2.new(0, 1081, 0, 578)
70
Frame.Size = UDim2.new(0, 359, 0, 100)
71
72
TextButton.Parent = Frame
73
TextButton.BackgroundColor3 = Color3.new(0, 0, 0)
74
TextButton.BorderColor3 = Color3.new(1, 1, 1)
75
TextButton.Size = UDim2.new(0, 359, 0, 50)
76
TextButton.Font = Enum.Font.SourceSans
77
TextButton.FontSize = Enum.FontSize.Size14
78
TextButton.Text = "Noot Noot"
79
TextButton.TextColor3 = Color3.new(1, 1, 1)
80
TextButton.TextSize = 14
81
82
--[[Function/s being made!]]
83
function PlayMusic(ID)
84
    for i, v in pairs (game.Workspace:GetChildren()) do
85
    if v:IsA("Sound") then
86
    end
87
    end
88
    local music = Instance.new("Sound")
89
    local asset = "rbxassetid://"
90
    music.SoundId = asset .. ID
91
    music.Parent = workspace
92
    music.Volume = 10
93
    music.Looped = false
94
    music:Play()
95
end
96
--[[Connecting functions!]]
97
TextButton.MouseButton1Down:connect(function()
98
PlayMusic(236932924)
99
end)
100
101
TextButton_2.Parent = Frame
102
TextButton_2.BackgroundColor3 = Color3.new(0, 0, 0)
103
TextButton_2.BorderColor3 = Color3.new(1, 1, 1)
104
TextButton_2.Position = UDim2.new(0, 0, 0, 50)
105
TextButton_2.Size = UDim2.new(0, 359, 0, 50)
106
TextButton_2.Font = Enum.Font.SourceSans
107
TextButton_2.FontSize = Enum.FontSize.Size14
108
TextButton_2.Text = "Raid That Stupid Game"
109
TextButton_2.TextColor3 = Color3.new(1, 1, 1)
110
TextButton_2.TextSize = 14
111
112
TextButton_2.MouseButton1Down:connect(function()
113
pingudecal = "http://www.roblox.com/asset/?id=382332426"
114
local didpingu = false
115
if didpingu == false then
116
didpingu = true
117
for i,v in pairs(game.Players:GetChildren()) do
118
if v:IsA("Player") then
119
local nooties = Instance.new("Sound",workspace)
120
nooties.SoundId = "http://www.roblox.com/asset/?id=142912516"
121
nooties.Volume = 1
122
nooties.Looped = true
123
nooties:Play()
124
end 
125
end 
126
wait(12) 
127
local Sky = Instance.new("Sky",game.Lighting) 
128
Sky.SkyboxBk = pingudecal 
129
Sky.SkyboxDn = pingudecal 
130
Sky.SkyboxFt = pingudecal 
131
Sky.SkyboxLf = pingudecal 
132
Sky.SkyboxRt = pingudecal 
133
Sky.SkyboxUp = pingudecal 
134
local function modelasd() 
135
for i,v in pairs(workspace:GetChildren()) do 
136
if v:IsA("Model") then 
137
for i,a in pairs(v:GetChildren()) do 
138
local top = Instance.new("Decal",a) 
139
top.Face = "Top" 
140
top.Texture = pingudecal 
141
local btm = Instance.new("Decal",a) 
142
btm.Face = "Bottom" 
143
btm.Texture = pingudecal 
144
local lft = Instance.new("Decal",a) 
145
lft.Face = "Left" 
146
lft.Texture = pingudecal 
147
local rft = Instance.new("Decal",a) 
148
rft.Face = "Right" 
149
rft.Texture = pingudecal 
150
local frnt = Instance.new("Decal",a) 
151
frnt.Face = "Front" 
152
frnt.Texture = pingudecal 
153
local bk = Instance.new("Decal",a) 
154
bk.Face = "Back" 
155
bk.Texture = pingudecal 
156
local VTest = Instance.new("ParticleEmitter")  
157
VTest.Parent = a 
158
VTest.Texture = pingudecal 
159
VTest.Speed = NumberRange.new(200) 
160
VTest.Rate = 200 
161
VTest.Size = NumberSequence.new(10000,10000) 
162
VTest.Lifetime = NumberRange.new(1000) 
163
local pepe = coroutine.create(function() 
164
while wait() do 
165
local Explosion = Instance.new("Explosion",a) 
166
Explosion.BlastRadius = 10000 
167
end 
168
end) 
169
coroutine.resume(pepe) 
170
end 
171
end 
172
end 
173
end 
174
local function partasd() 
175
for i,a in pairs(workspace:GetChildren()) do 
176
local top = Instance.new("Decal",a) 
177
top.Face = "Top" 
178
top.Texture = pingudecal 
179
local btm = Instance.new("Decal",a) 
180
btm.Face = "Bottom" 
181
btm.Texture = pingudecal 
182
local lft = Instance.new("Decal",a) 
183
lft.Face = "Left" 
184
lft.Texture = pingudecal 
185
local rft = Instance.new("Decal",a) 
186
rft.Face = "Right" 
187
rft.Texture = pingudecal 
188
local frnt = Instance.new("Decal",a) 
189
frnt.Face = "Front" 
190
frnt.Texture = pingudecal 
191
local bk = Instance.new("Decal",a) 
192
bk.Face = "Back" 
193
bk.Texture = pingudecal 
194
local VTest = Instance.new("ParticleEmitter")  
195
VTest.Parent = a 
196
VTest.Texture = pingudecal 
197
VTest.Speed = NumberRange.new(200) 
198
VTest.Rate = 200 
199
VTest.Lifetime = NumberRange.new(1000) 
200
VTest.Size = NumberSequence.new(10000,10000) 
201
local pepe = coroutine.create(function() 
202
while wait() do 
203
if a.Name ~= "Head" or "Torso" or "Left Arm" or "Right Arm" or "Left Leg" or "Right Leg" then 
204
local Explosion = Instance.new("Explosion",a) 
205
Explosion.BlastRadius = 10000 
206
end 
207
end 
208
end) 
209
coroutine.resume(pepe) 
210
end 
211
end 
212
partasd() 
213
modelasd() 
214
else 
215
warn("Already Ran! Did not execute the script!") 
216
end 
217
end)