View difference between Paste ID: vbThwxhR and abMa5yWg
SHOW: | | - or go back to the newest paste.
1-
o1 = Instance.new("Part")
1+
local remote = NS ([==[
2-
o1.Name = "WAVE"
2+
warn("made by teotv201")
3-
o1.Parent = workspace
3+
notpasstext = {"YOU SHALL NOT PASS!"}
4-
o1.Material = Enum.Material.Granite
4+
passtext = {"PASS!"}
5-
o1.BrickColor = BrickColor.new("Electric blue")
5+
wait(1)
6-
o1.Transparency = 0.30000001192093
6+
victim = nil
7-
o1.Position = Vector3.new(-277.570068, 15.4718628, -1565.60864)
7+
lp = owner
8-
o1.Anchored = true
8+
char = lp.Character
9-
o1.CanCollide = false
9+
local humanoid = lp.Character.Humanoid
10-
o1.Size = Vector3.new(2048, 155.029999, 1968.98999)
10+
Instance.new("ForceField",lp.Character).Visible = false
11-
o1.CFrame = CFrame.new(-277.570068, 15.4718628, -1565.60864, 1, 0, 0, 0, 1, 0, 0, 0, 1)
11+
torso = nil
12-
o1.BackSurface = Enum.SurfaceType.SmoothNoOutlines
12+
char.Animate:remove()
13-
o1.BottomSurface = Enum.SurfaceType.SmoothNoOutlines
13+
humanoid.Animator:remove()
14-
o1.FrontSurface = Enum.SurfaceType.SmoothNoOutlines
14+
gc = char:GetChildren()
15-
o1.LeftSurface = Enum.SurfaceType.SmoothNoOutlines
15+
char:FindFirstChildOfClass("Humanoid").WalkSpeed = 25
16-
o1.RightSurface = Enum.SurfaceType.SmoothNoOutlines
16+
hum = char:FindFirstChildOfClass("Humanoid")
17-
o1.TopSurface = Enum.SurfaceType.SmoothNoOutlines
17+
for i=1, #gc do
18-
o1.Color = Color3.new(0.0352941, 0.537255, 0.811765)
18+
	if gc[i].ClassName == "Accessory" or gc[i].ClassName == "Hat" then
19
		gc[i].Handle.Transparency = 1
20-
function FLOAT (part)
20+
21-
	for i,v in pairs(part:GetChildren()) do
21+
	if gc[i].ClassName == "Part" then
22-
		if v:IsA("BodyPosition") then
22+
		gc[i].Transparency = 1
23-
			v:Destroy()
23+
24-
		end
24+
25
char.Head:FindFirstChildOfClass("Decal"):Destroy()
26-
local m = Instance.new("BodyPosition")
26+
head = char.Head
27
ft = char:FindFirstChild("Torso")
28-
m.Parent = part
28+
if ft then
29
	torso = ft	
30-
m.maxForce = Vector3.new(4e+006,4e+006,4e+006)
30+
elseif char:FindFirstChild("UpperTorso") then
31
	torso = char:FindFirstChild("UpperTorso")
32-
m.position = Vector3.new(part.Position.X,workspace.WAVE.Position.Y,part.Position.Z)
32+
33
local bbg = Instance.new("BillboardGui")
34-
function DestroyHorrible (part)
34+
bbg.Name = "Character"
35-
	if part.Name ~= "Baseplate" then
35+
bbg.Adornee = torso
36-
		if part.Transparency < .5 then
36+
bbg.AlwaysOnTop = false
37-
		FLOAT(part)
37+
bbg.Size = UDim2.new(12,0,12,0)
38-
		part.Anchored = false part.Size = part.Size/1.5
38+
bbg.StudsOffset = Vector3.new(0,3,0)
39-
		for i=1,4 do 
39+
local image = Instance.new("ImageLabel")
40-
			part:Clone()
40+
image.BackgroundTransparency = 1
41-
		end
41+
image.Size = UDim2.new(1,0,1,0)
42-
		local o1g = Instance.new("Sound")
42+
image.Image = "rbxassetid://1844784370"
43-
		o1g.Parent = part
43+
image.Parent = bbg
44-
		o1g.SoundId = "rbxassetid://516789356"
44+
bbg.Parent = torso
45-
		o1g:Play()
45+
blockpart = Instance.new("Part",char)
46-
		elseif part.Material == "Wood" or part.Material == "WoodPlanks" then
46+
blockpart.Anchored = false
47-
		part.Anchored = false part.Size = part.Size/1.5
47+
blockpart.Name = "BlockPart"
48-
		FLOAT(part)
48+
blockpart.Transparency = 1
49-
		for i=1,4 do 
49+
blockpart.CanCollide = false
50-
			part:Clone()
50+
blockpart.Size = Vector3.new(10,10,10)
51-
		end
51+
local weld = Instance.new("Weld",blockpart)
52-
		local o1j = Instance.new("Sound")
52+
weld.Part0 = char.Torso
53-
		o1j.Parent = part
53+
weld.Part1 = blockpart
54-
		o1j.Volume = 2
54+
weld.C0 = CFrame.new(0, 0, 0)
55-
		o1j.SoundId = "rbxassetid://516777998"
55+
bgui2 = Instance.new("BillboardGui",torso)
56-
		o1j:Play()
56+
bgui2.AlwaysOnTop = false
57-
		else
57+
bgui2.Name = "TextGui"
58-
		FLOAT(part)
58+
bgui2.Size = UDim2.new(0,500,0,1000)
59-
		part.Anchored = false	part.Size = part.Size/1.5
59+
bgui2.Adornee = torso
60-
		for i=1,4 do 
60+
bgui2.StudsOffset = Vector3.new(0,3,0)
61-
			part:Clone()
61+
text = Instance.new("TextLabel",bgui2)
62-
		end	
62+
text.BackgroundTransparency = 1
63-
		local go1 = Instance.new("Sound")
63+
text.Size = UDim2.new(0,500,0,100)
64-
		go1.Parent = part
64+
text.Position = UDim2.new(0,0,0,250)
65-
		go1.Volume = 1
65+
text.TextColor3 = Color3.new(1,1,1)
66-
		go1.SoundId = "rbxassetid://516777998"
66+
text.Text = ""
67-
		go1:Play()
67+
text.TextScaled = true
68-
		end
68+
function changetext(msg)
69
for i=1, string.len(msg) do
70
wait(0.01)
71-
myears = Instance.new('Sound')
71+
text.Text = string.sub(msg,1,i)
72-
myears.Parent = workspace
72+
73-
myears.Looped = false
73+
wait(0.2)
74-
myears.Name = "Ruski"
74+
for i=1, 10 do
75-
myears.Playing = true
75+
wait(0.02)
76-
myears.SoundId = "rbxassetid://557673018"
76+
text.TextTransparency = text.TextTransparency + 0.1
77-
myears.Volume = .5
77+
78-
myears.TimePosition = 0
78+
text.Text = ""
79-
myears:Play()
79+
text.TextTransparency = 0
80-
workspace.WAVE.Touched:Connect(DestroyHorrible)
80+
81-
workspace.WAVE.CFrame = game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame + Vector3.new(-2200,0,0)
81+
82-
o1 = Instance.new("Sound")
82+
blockdebounce = false
83-
o1.Parent = workspace
83+
char.Torso.Touched:connect(function(hit)
84-
o1.SoundId = "rbxassetid://135560679"
84+
    if hit.Parent ~= char and hit.Parent.Parent ~= char and hit.Parent.Parent.Parent ~= char and hit.Parent:FindFirstChildOfClass("Humanoid") then
85-
o1.Volume = 1
85+
        if not hit.Parent:FindFirstChildOfClass("Tool") then
86-
o1:Play()
86+
            if blockdebounce == false then
87-
h = 0
87+
                blockdebounce = true
88-
j = 1
88+
                torso.Anchored = true
89-
for i=1,2000 do
89+
                blockpart.CanCollide = true
90-
	j = j+1
90+
                changetext(notpasstext[math.random(1,#notpasstext)])
91-
	wait()
91+
                wait(0.2)
92-
	workspace.WAVE.CFrame = workspace.WAVE.CFrame + Vector3.new(4,0,0)
92+
                blockpart.CanCollide = false
93-
	if j == 400 then
93+
                torso.Anchored = false
94-
	game.workspace.Terrain:FillBlock(workspace.WAVE.CFrame,workspace.WAVE.Size,Enum.Material.Water)
94+
                blockdebounce = false
95-
		a = function(instance)
95+
            end
96-
for i,v in pairs(instance:GetChildren()) do
96+
        local taken = false
97-
if v.className == "Part" and v.Name ~="Baseplate" then
97+
        for i,v in pairs(hit.Parent:GetDescendants()) do
98-
v.Anchored = false
98+
            if v:IsA("BasePart") or v:IsA("Model") then
99
                local limbs = {"Status", "HumanoidRootPart", "Head", "Torso", "Right Arm", "Left Arm", "Right Leg", "Left Leg", "LeftFoot", "LeftHand", "LeftLowerArm", "LeftLowerLeg", "LeftUpperArm", "LeftUpperLeg", "LowerTorso", "RightFoot", "RightHand", "RightLowerArm", "RightLowerLeg", "RightUpperArm", "RightUpperLeg", "UpperTorso", "LowerTorso"}
100-
a(v)
100+
                local ok = true
101
                for _,nm in pairs(limbs) do
102
                    if v.Name == nm then
103-
a(workspace)
103+
                        ok = false
104
                    end
105
                end
106-
workspace.WAVE:Destroy()
106+
                if v.Parent then
107
                    if v.Parent:IsA("Accessory") or v.Parent:IsA("Hat") or v.Parent:IsA("Shirt") or v.Parent:IsA("Pants") or v.Parent:IsA("ShirtGraphic") then
108
                    changetext(passtext[math.random(1,#passtext)])
109
                        ok = false
110
                    end
111
                end
112
                if ok then
113
                    taken = true
114
                    changetext(passtext[math.random(1,#passtext)])
115
                    v:ClearAllChildren()
116
                    v:remove()
117
                end
118
            end
119
        end
120
        else
121
            if blockdebounce == false then
122
                blockdebounce = false
123
                hit.Parent:FindFirstChildOfClass("Tool"):remove()
124
                wait(0.2)
125
                for a=1, 10 do
126
                    wait(0.1)
127
                    il.ImageTransparency = il.ImageTransparency + 0.1
128
                end
129
                head.CFrame = head.CFrame + Vector3.new(math.random(-100,100),0,math.random(-100,100))
130
                il.ImageTransparency = 0
131
                blockdebounce = false
132
            end
133
        end
134
    end
135
end)
136
local num = math.random(1,99999999)
137
 
138
plr = owner
139
repeat wait() until plr.Character
140
char = plr.Character
141
 
142
hum = char:FindFirstChildOfClass("Humanoid")
143
 
144
char:FindFirstChildOfClass("Humanoid").MaxHealth = 'inf'
145
char:FindFirstChildOfClass("Humanoid").Health = 'inf'
146
char:FindFirstChildOfClass("Humanoid").Name = num
147
 
148
Instance.new("ForceField",char).Visible = false
149
 
150
gc = char:GetChildren()
151
for i=1, #gc do
152
if gc[i].ClassName == "Hat" or gc[i].ClassName == "Accessory" then
153
gc[i]:Destroy()
154
end
155
end
156
 
157
tool = Instance.new("Tool",plr.Backpack)
158
tool.RequiresHandle = false
159
tool.Name = "Jump"
160
tool.CanBeDropped = false
161
tool.Activated:connect(function()
162
char:FindFirstChildOfClass("Humanoid").Jump = true
163
end)
164
 
165
local BODY = {}
166
LeftArm = char["Left Arm"]
167
RightLeg = char["Right Leg"]
168
LeftLeg = char["Left Leg"]
169
for _, c in pairs(char:GetDescendants()) do
170
    if c:IsA("BasePart") and c.Name ~= "Handle" then
171
        if c ~= char.HumanoidRootPart and c ~= char.Torso and c ~= char.Head and c ~= char["Right Arm"] and c ~= LeftArm and c ~= RightLeg and c ~= LeftLeg and c ~= char.BlockPart then
172
            c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
173
        end
174
        table.insert(BODY,{c,c.Parent,c.Material,c.Color,c.Transparency})
175
    elseif c:IsA("JointInstance") then
176
        table.insert(BODY,{c,c.Parent,nil,nil,nil})
177
    end
178
end
179
for e = 1, #BODY do
180
    if BODY[e] ~= nil then
181
        local STUFF = BODY[e]
182
        local PART = STUFF[1]
183
        local PARENT = STUFF[2]
184
        local MATERIAL = STUFF[3]
185
        local TRANSPARENCY = STUFF[5]
186
        if PART.ClassName == "Part" and PART ~= char.HumanoidRootPart then
187
            PART.Material = MATERIAL
188
            PART.Transparency = TRANSPARENCY
189
        end
190
        PART.AncestryChanged:Connect(function()
191
            PART.Parent = PARENT
192
        end)
193
    end
194
end
195
RootPart = char.HumanoidRootPart
196
function refit()
197
   char.Parent = workspace
198
    for e = 1, #BODY do
199
        if BODY[e] ~= nil then
200
            local STUFF = BODY[e]
201
            local PART = STUFF[1]
202
            local PARENT = STUFF[2]
203
            local MATERIAL = STUFF[3]
204
            local COLOR = STUFF[4]
205
            local TRANSPARENCY = STUFF[5]
206
            local SIZE = STUFF[6]
207
            local NAME = STUFF[7]
208
            if PART.ClassName == "Part" and PART ~= RootPart then
209
                PART.Material = MATERIAL
210
                PART.Transparency = TRANSPARENCY
211
                PART.Name = PART.Name
212
            end
213
            if PART.Parent ~= PARENT then
214
                char:FindFirstChildOfClass("Humanoid"):remove()
215
                PART.Parent = PARENT
216
                Humanoid = Instance.new("Humanoid",char)
217
                Humanoid.Name = num
218
                Humanoid.PlatformStand = false
219
                char:FindFirstChildOfClass("Humanoid").MaxHealth = 'inf'
220
                char:FindFirstChildOfClass("Humanoid").Health = 'inf'
221
            end
222
        end
223
    end
224
end
225
hum.Died:connect(function()
226
    refit() -- To prevent the player from dieing.
227
end)
228
while true do
229
    wait()
230
    refit()
231
    char:FindFirstChildOfClass("Humanoid").MaxHealth = 'inf'
232
    char:FindFirstChildOfClass("Humanoid").Health = 'inf'
233
    char:FindFirstChildOfClass("Humanoid").PlatformStand = false
234
    char:FindFirstChildOfClass("Humanoid").Name = num
235
end
236
]==], owner.Character):WaitForChild 'ServerRemote';
237
mouse = owner:GetMouse ();