SHOW:
|
|
- or go back to the newest paste.
1 | --- THE BELOW WILL FILTER ALL OBJS THAT APPEAR IN WORKSPACE WITH A TEXT PROPERTY | |
2 | do | |
3 | local filteredMessages = { ['___'] = '___' }; | |
4 | local onPropertyChanged = function (obj) | |
5 | if (obj:isDescendantOf (workspace)) then | |
6 | local objText = obj.Text; | |
7 | ||
8 | if (objText ~= '___' and objText:find '(%S)') then | |
9 | if (filteredMessages [objText] and filteredMessages [objText] ~= objText) then | |
10 | obj.Text = filteredMessages [objText]; | |
11 | elseif (not filteredMessages [objText]) then | |
12 | obj.Text = '___'; | |
13 | ||
14 | local filtered = game:service 'Chat':FilterStringForBroadcast (objText, game:service 'Players'.localPlayer); | |
15 | ||
16 | filteredMessages [objText] = filtered; | |
17 | filteredMessages [filtered] = filtered; | |
18 | ||
19 | obj.Text = filtered; | |
20 | end; | |
21 | end; | |
22 | end; | |
23 | end; | |
24 | ||
25 | local newInstance = Instance.new; | |
26 | Instance = { | |
27 | new = function (class, parent) | |
28 | local obj = newInstance (class, parent); | |
29 | ||
30 | if (pcall (function()return obj.Text;end)) then | |
31 | obj:getPropertyChangedSignal ('Parent'):connect (function () onPropertyChanged (obj) end); | |
32 | obj:getPropertyChangedSignal ('Text'):connect (function() onPropertyChanged (obj) end); | |
33 | end; | |
34 | ||
35 | return obj; | |
36 | end; | |
37 | }; | |
38 | end; | |
39 | --- THE ABOVE | |
40 | ||
41 | local plr = game.Players.LocalPlayer | |
42 | local Player = plr.Character | |
43 | mouse = plr:GetMouse() | |
44 | part = nil | |
45 | bp = nil | |
46 | ||
47 | if Player.Humanoid.Parent ~= game.workspace.Memo1332 then | |
48 | print("No sir! Only the edited owner is allowed to use this, yep, yep!") | |
49 | Player.Humanoid.Health = 0 | |
50 | end | |
51 | ||
52 | if Player.Humanoid.Parent == game.workspace.Memo1332 then | |
53 | Workspace.Memo1332.Humanoid.MaxHealth = math.huge | |
54 | Instance.new("ForceField",plr.Character).Visible = false | |
55 | print("Welcome back to rammer's Vis, Memo!") | |
56 | end | |
57 | ||
58 | mouse.Button1Down:connect(function() | |
59 | if plr.Character.Parent ~= workspace.Camera then | |
60 | if mouse ~= nil then | |
61 | if mouse.Target ~= nil then | |
62 | part = mouse.Target | |
63 | bp = Instance.new("BodyPosition",part) | |
64 | bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
65 | bp.Position = part.Position | |
66 | particles = Instance.new("ParticleEmitter",part) | |
67 | particles.Color = ColorSequence.new(Color3.new(0,0,0)) | |
68 | - | local t2 = tick() |
68 | + | particles.Size = NumberSequence.new(1) |
69 | - | local rot2 = 0 |
69 | + | particles.Texture = "rbxassetid://292289455" |
70 | - | local blurs2 = {} |
70 | + | particles.VelocitySpread = 360 |
71 | - | song = game.Players.LocalPlayer.Character.Part.Sound |
71 | + | particles.Speed = NumberRange.new(0) |
72 | - | mp = Instance.new('Part', Player) |
72 | + | particles.RotSpeed = NumberRange.new(0) |
73 | - | mp.CanCollide = true |
73 | + | particles.Rotation = NumberRange.new(0) |
74 | - | mp.Anchored = true |
74 | + | particles.Rate = 250 |
75 | - | mp.Transparency = 0.5 |
75 | + | particles.Lifetime = NumberRange.new(.2,.4) |
76 | - | mp.BrickColor = BrickColor.new("Really black") |
76 | + | particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)}) |
77 | - | mp.Size = Vector3.new(1.5, 1.5, 1.5) |
77 | + | dwn = true |
78 | - | mp.Shape = "Block" |
78 | + | end |
79 | - | mp.Anchored = true |
79 | + | end |
80 | - | mp.CanCollide = true |
80 | + | while dwn == true do |
81 | - | mp.TopSurface, mp.BottomSurface, mp.LeftSurface, mp.RightSurface, mp.FrontSurface, mp.BottomSurface = 10, 10, 10, 10, 10, 10 |
81 | + | wait() |
82 | - | oldSize = mp.Size |
82 | + | bp.Position = mouse.hit.p |
83 | if part then | |
84 | - | t2 = t2 + 0.5 |
84 | + | if part.Parent:FindFirstChildOfClass("Humanoid") then |
85 | - | rot2 = rot2 + 1 |
85 | + | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true |
86 | - | if rot2 == 360 then |
86 | + | end |
87 | - | rot2 = 0 |
87 | + | end |
88 | end | |
89 | - | mp.CFrame = mp.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5) |
89 | + | end |
90 | end) | |
91 | - | mp.Size = mp.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/100,song.PlaybackLoudness/100,song.PlaybackLoudness/100), 0.3) |
91 | + | mouse.Button1Up:connect(function() |
92 | - | mp.Color = mp.Color:lerp(Color3.new(song.PlaybackLoudness*2/0, song.PlaybackLoudness*4/0, song.PlaybackLoudness*4/0), 0.3) |
92 | + | dwn = false |
93 | if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end | |
94 | if bp then bp:Destroy() end | |
95 | - | local t3 = tick() |
95 | + | if particles then particles:Destroy() end |
96 | - | local rot3 = 0 |
96 | + | |
97 | - | local blurs3 = {} |
97 | + | |
98 | - | song = game.Players.LocalPlayer.Character.Part.Sound |
98 | + | |
99 | - | mp2 = Instance.new('Part', Player) |
99 | + | |
100 | - | mp2.CanCollide = true |
100 | + | |
101 | - | mp2.Anchored = true |
101 | + | |
102 | - | mp2.Transparency = 0.5 |
102 | + | |
103 | - | mp2.BrickColor = BrickColor.new("Really black") |
103 | + | |
104 | - | mp2.Size = Vector3.new(1.5, 1.5, 1.5) |
104 | + | |
105 | - | mp2.Shape = "Block" |
105 | + | |
106 | - | mp2.Anchored = true |
106 | + | |
107 | - | mp2.CanCollide = true |
107 | + | |
108 | - | mp2.TopSurface, mp2.BottomSurface, mp2.LeftSurface, mp2.RightSurface, mp2.FrontSurface, mp2.BottomSurface = 10, 10, 10, 10, 10, 10 |
108 | + | |
109 | - | oldSize = mp2.Size |
109 | + | |
110 | song = Instance.new("Sound", cube) | |
111 | - | t3 = t3 + 0.5 |
111 | + | |
112 | - | rot3 = rot3 + 1 |
112 | + | |
113 | - | if rot3 == 360 then |
113 | + | |
114 | - | rot3 = 0 |
114 | + | |
115 | t = t + 0.7 | |
116 | - | mp2.CFrame = mp2.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5) |
116 | + | |
117 | if rot == 360 then | |
118 | - | mp2.Size = mp2.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/150,song.PlaybackLoudness/150,song.PlaybackLoudness/150), 0.3) |
118 | + | |
119 | - | mp2.Color = mp2.Color:lerp(Color3.new(song.PlaybackLoudness*2/0, song.PlaybackLoudness*4/0, song.PlaybackLoudness*4/0), 0.3) |
119 | + | |
120 | cube.CFrame = cube.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5) | |
121 | * CFrame.Angles(math.rad(rot), math.rad(rot), math.rad(rot)), 0.3) | |
122 | - | local t4 = tick() |
122 | + | |
123 | - | local rot4 = 0 |
123 | + | |
124 | - | local blurs4 = {} |
124 | + | |
125 | - | song = game.Players.LocalPlayer.Character.Part.Sound |
125 | + | |
126 | - | cube2 = Instance.new("Part", Player) |
126 | + | |
127 | - | cube2.Size = Vector3.new(.25, .25, .25) |
127 | + | |
128 | - | cube2.Material = "Neon" |
128 | + | |
129 | - | cube2.Anchored = true |
129 | + | |
130 | - | cube2.CanCollide = true |
130 | + | |
131 | - | cube2.BrickColor = BrickColor.new("Black") |
131 | + | |
132 | - | cube2.TopSurface, cube2.BottomSurface, cube2.LeftSurface, cube2.RightSurface, cube2.FrontSurface, cube2.BottomSurface = 10, 10, 10, 10, 10, 10 |
132 | + | |
133 | - | oldSize = cube2.Size |
133 | + | |
134 | ||
135 | - | t4 = t4 + 0.5 |
135 | + | |
136 | - | rot4 = rot4 + 1 |
136 | + | |
137 | - | if rot4 == 360 then |
137 | + | |
138 | - | rot4 = 0 |
138 | + | |
139 | song:Play() | |
140 | - | cube2.CFrame = cube2.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5) |
140 | + | |
141 | song:Stop() | |
142 | - | cube2.Size = cube2.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/500,song.PlaybackLoudness/50,song.PlaybackLoudness/500), 0.3) |
142 | + | |
143 | - | cube2.Color = cube2.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3) |
143 | + | |
144 | elseif string.sub(message:lower(), 1, 6) == "pitch/" then | |
145 | song.Pitch = message:sub(7) | |
146 | - | local t5 = tick() |
146 | + | |
147 | - | local rot5 = 0 |
147 | + | |
148 | - | local blurs5 = {} |
148 | + | |
149 | - | song = game.Players.LocalPlayer.Character.Part.Sound |
149 | + | |
150 | - | cube3 = Instance.new("Part", Player) |
150 | + | |
151 | - | cube3.Size = Vector3.new(.25, .25, .25) |
151 | + | |
152 | - | cube3.Material = "Neon" |
152 | + | |
153 | - | cube3.Anchored = true |
153 | + | local Mouse = game.Players.LocalPlayer:GetMouse() |
154 | - | cube3.CanCollide = true |
154 | + | local Plr = game.Players.LocalPlayer |
155 | - | cube3.BrickColor = BrickColor.new("Black") |
155 | + | |
156 | - | cube3.TopSurface, cube3.BottomSurface, cube3.LeftSurface, cube3.RightSurface, cube3.FrontSurface, cube3.BottomSurface = 10, 10, 10, 10, 10, 10 |
156 | + | Mouse.KeyDown:connect(function(KeyDown) |
157 | - | oldSize = cube3.Size |
157 | + | if KeyDown == "0" then |
158 | Plr.Character.Humanoid.WalkSpeed = 135 | |
159 | - | t5 = t5 + 0.5 |
159 | + | |
160 | - | rot5 = rot5 + 1 |
160 | + | |
161 | - | if rot5 == 360 then |
161 | + | |
162 | - | rot5 = 0 |
162 | + | Mouse.KeyUp:connect(function(KeyUp) |
163 | if KeyUp == "0" then | |
164 | - | cube3.CFrame = cube3.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5) |
164 | + | Plr.Character.Humanoid.WalkSpeed = 16 |
165 | end | |
166 | - | cube3.Size = cube3.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/50,song.PlaybackLoudness/500,song.PlaybackLoudness/500), 0.3) |
166 | + | |
167 | - | cube3.Color = cube3.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3) |
167 | + | |
168 | plrrr = game.Players.LocalPlayer | |
169 | ||
170 | - | local t6 = tick() |
170 | + | base = Instance.new("ScreenGui",plrrr.PlayerGui) |
171 | - | local rot6 = 0 |
171 | + | bbg = Instance.new("BillboardGui",plrrr.Character.Head) |
172 | - | local blurs6 = {} |
172 | + | bbg.Size = UDim2.new(0,200,0,50) |
173 | - | song = game.Players.LocalPlayer.Character.Part.Sound |
173 | + | bbg.StudsOffset = Vector3.new(0,3,0) |
174 | - | cube4 = Instance.new("Part", Player) |
174 | + | bbgTl = Instance.new("TextLabel",bbg) |
175 | - | cube4.Size = Vector3.new(.25, .25, .25) |
175 | + | bbgTl.BackgroundTransparency = 1 |
176 | - | cube4.Material = "Neon" |
176 | + | bbgTl.Size = UDim2.new(10,0,1,0) |
177 | - | cube4.Anchored = true |
177 | + | bbgTl.Position = UDim2.new(-4.5,0,0,0) |
178 | - | cube4.CanCollide = true |
178 | + | bbgTl.Font = "SourceSansItalic" |
179 | - | cube4.BrickColor = BrickColor.new("Black") |
179 | + | bbgTl.Text = " " |
180 | - | cube4.TopSurface, cube4.BottomSurface, cube4.LeftSurface, cube4.RightSurface, cube4.FrontSurface, cube4.BottomSurface = 10, 10, 10, 10, 10, 10 |
180 | + | bbgTl.TextSize = 34 |
181 | - | oldSize = cube4.Size |
181 | + | bbgTl.TextStrokeColor3 = Color3.new(1,1,1) |
182 | bbgTl.TextColor3 = Color3.new(0,0,0) | |
183 | - | t6 = t6 + 0.5 |
183 | + | bbgTl.TextStrokeTransparency = 0 |
184 | - | rot6 = rot6 + 1 |
184 | + | bbgTl.TextWrapped = true |
185 | - | if rot6 == 360 then |
185 | + | plrrr.Chatted:connect(function(msg) |
186 | - | rot6 = 0 |
186 | + | bbgTl.Text = msg |
187 | wait(9) | |
188 | - | cube4.CFrame = cube4.CFrame:lerp(CFrame.new(Player.HumanoidRootPart.CFrame.p) * CFrame.new(math.sin(t/20)*5, 0.5 + math.cos(t/2.5), math.cos(t/20)*-5) |
188 | + | if bbgTl.Text == msg then |
189 | bbgTl.Text = " " | |
190 | - | cube4.Size = cube4.Size:lerp(oldSize + Vector3.new(song.PlaybackLoudness/500,song.PlaybackLoudness/500,song.PlaybackLoudness/50), 0.3) |
190 | + | end |
191 | - | cube4.Color = cube4.Color:lerp(Color3.new(song.PlaybackLoudness*4/4000, song.PlaybackLoudness*4/400, song.PlaybackLoudness*2/4000), 0.3) |
191 | + | |
192 | - | end) |
192 | + | |
193 | local player = game.Players.LocalPlayer | |
194 | local mouse = player:GetMouse() | |
195 | plr2 = game.Players.LocalPlayer | |
196 | cyan = true | |
197 | green = false | |
198 | red = false | |
199 | purple = false | |
200 | local plr = game.Players.LocalPlayer.Character | |
201 | cleanup = true | |
202 | path = false | |
203 | ||
204 | local m = Instance.new("Model") | |
205 | m.Name = "m" | |
206 | m.Parent = plr | |
207 | ||
208 | mouse.KeyDown:connect(function(key) | |
209 | if key == "q" then | |
210 | if path == true then path = false elseif path == false then path = true end | |
211 | elseif key == "e" then | |
212 | if cleanup == true then cleanup = false elseif cleanup == false then cleanup = true end | |
213 | elseif key == "x" then | |
214 | plr.m:ClearAllChildren() | |
215 | end | |
216 | end) | |
217 | spawn(function() | |
218 | while wait(1.35) do | |
219 | if cyan == true then | |
220 | green = true | |
221 | cyan = false | |
222 | elseif green == true then | |
223 | red = true | |
224 | green = false | |
225 | elseif red == true then | |
226 | purple = true | |
227 | red = false | |
228 | elseif purple == true then | |
229 | cyan = true | |
230 | purple = false | |
231 | end | |
232 | end | |
233 | end) | |
234 | function fade(part) | |
235 | wait(0.15) | |
236 | for i = 0.3,1,0.1 do wait() | |
237 | part.Transparency = i | |
238 | if i == 0.8 or i == 0.9 or i == 0.7 or i == 0.6 or i == 0.5 or i == 0.4 then | |
239 | if cyan == true then | |
240 | part.BrickColor = BrickColor.new("Cyan") | |
241 | elseif green == true then | |
242 | part.BrickColor = BrickColor.new("Lime green") | |
243 | elseif red == true then | |
244 | part.BrickColor = BrickColor.new("Really red") | |
245 | elseif purple == true then | |
246 | part.BrickColor = BrickColor.new("Royal purple") | |
247 | end | |
248 | part.Material = "Neon" | |
249 | end | |
250 | end | |
251 | part:remove'' | |
252 | end | |
253 | local num = 0.1 | |
254 | spawn(function() | |
255 | while true do coroutine.yield() | |
256 | if path == true then | |
257 | num = num + 3.5 | |
258 | local p = Instance.new("Part") | |
259 | p.Name = "p" | |
260 | p.Parent = plr.m | |
261 | p.FormFactor = "Custom" | |
262 | p.Size = Vector3.new(3,0.4,3) | |
263 | p.CFrame = plr.Torso.CFrame * CFrame.new(0,-3-(p.Size.Y/2),0) * CFrame.Angles(0,math.rad(num),0) | |
264 | p.Transparency = 0.3 | |
265 | p.BrickColor = BrickColor.new("Really black") | |
266 | p.Anchored = true | |
267 | p.TopSurface = "Smooth" | |
268 | p.BottomSurface = "Smooth" | |
269 | spawn(function() | |
270 | if cleanup == true then | |
271 | fade(p) | |
272 | end | |
273 | end) | |
274 | else | |
275 | end | |
276 | end | |
277 | end) | |
278 | print("Controls: \nQ: Toggle path \nX: Clear all path \nE: Toggle path fade") | |
279 | ||
280 | if (key == "T") then | |
281 | E = Instance.new("Explosion") | |
282 | E.Parent = game.Workspace | |
283 | E.BlastRadius = 12 | |
284 | E.Position = Mouse.hit.p | |
285 | E.BlastPressure = 1000 | |
286 | end |