SHOW:
|
|
- or go back to the newest paste.
1 | --[[ Script created by | |
2 | Siarius, enjoy! | |
3 | Copyright, Ghost, and all Ghost functions, parts, etc | |
4 | changing the name of who created, will cause in you breaking rules | |
5 | --]] | |
6 | ||
7 | ||
8 | s = game.Workspace | |
9 | ||
10 | Player = game.Players.LocalPlayer | |
11 | c = Player.Character | |
12 | mouse = Player:GetMouse() | |
13 | ||
14 | s2 = Instance.new("Sound", c.Head) | |
15 | s2.Name = "Bleu" | |
16 | s2.Volume = 1 | |
17 | ||
18 | c.Humanoid.MaxHealth = math.huge | |
19 | c.Humanoid.Health = math.huge | |
20 | ||
21 | game:GetService("Chat"):Chat(c, "Ghost, Created by Siarius [V0.136]") | |
22 | ||
23 | for i,v in pairs(c:GetChildren()) do | |
24 | if v:IsA("Shirt") or v:IsA("Pants") or v:IsA("Hat") then | |
25 | v:remove() | |
26 | wait() | |
27 | end | |
28 | end | |
29 | ||
30 | c.Humanoid.DisplayDistanceType = "None" | |
31 | c.Humanoid.NameOcclusion = "OccludeAll" | |
32 | c.Head.Transparency = .6 | |
33 | c.Torso.Transparency = .4 | |
34 | c["Right Arm"].Transparency = .2 | |
35 | c["Left Arm"].Transparency = .2 | |
36 | c["Right Leg"].Transparency = .9 | |
37 | c["Left Leg"].Transparency = .9 | |
38 | c.Head.BrickColor = BrickColor.new("Light Grey") | |
39 | c.Torso.BrickColor = BrickColor.new("Light Grey") | |
40 | c["Right Arm"].BrickColor = BrickColor.new("Light Grey") | |
41 | c["Left Arm"].BrickColor = BrickColor.new("Light Grey") | |
42 | c["Right Leg"].BrickColor = BrickColor.new("Light Grey") | |
43 | c["Left Leg"].BrickColor = BrickColor.new("Light Grey") | |
44 | c.Head.face.Texture = "rbxassetid://0" | |
45 | ||
46 | ---Start of Invisibility--- | |
47 | mouse.KeyDown:connect(function(key) | |
48 | print("Key Pressed : "..key) | |
49 | if key == "e" then | |
50 | game:GetService("Chat"):Chat(c, "Invisibility") | |
51 | s2.SoundId = "rbxassetid://134012322" | |
52 | s2:Play() | |
53 | s2.Volume = 1 | |
54 | wait(0.05) | |
55 | c.Head.Transparency = 1 | |
56 | c.Torso.Transparency = 0.99 | |
57 | c["Right Arm"].Transparency = 0.99 | |
58 | c["Left Arm"].Transparency = 0.99 | |
59 | c["Right Leg"].Transparency = 0.99 | |
60 | c["Left Leg"].Transparency = 0.99 | |
61 | c.Head.CanCollide = false | |
62 | c.Torso.CanCollide = false | |
63 | c["Right Arm"].CanCollide = false | |
64 | c["Left Arm"].CanCollide = false | |
65 | c["Right Leg"].CanCollide = false | |
66 | c["Left Leg"].CanCollide = false | |
67 | end | |
68 | end) | |
69 | ||
70 | mouse.KeyUp:connect(function(key) | |
71 | if key == "e" then | |
72 | s2:Play() | |
73 | wait(0.05) | |
74 | c.Head.Transparency = .6 | |
75 | c.Torso.Transparency = .4 | |
76 | c["Right Arm"].Transparency = .2 | |
77 | c["Left Arm"].Transparency = .2 | |
78 | c["Right Leg"].Transparency = .9 | |
79 | c["Left Leg"].Transparency = .9 | |
80 | c.Head.BrickColor = BrickColor.new("Light Grey") | |
81 | c.Torso.BrickColor = BrickColor.new("Light Grey") | |
82 | c["Right Arm"].BrickColor = BrickColor.new("Light Grey") | |
83 | c["Left Arm"].BrickColor = BrickColor.new("Light Grey") | |
84 | c["Right Leg"].BrickColor = BrickColor.new("Light Grey") | |
85 | c["Left Leg"].BrickColor = BrickColor.new("Light Grey") | |
86 | c.Head.CanCollide = true | |
87 | c.Torso.CanCollide = true | |
88 | c["Right Arm"].CanCollide = true | |
89 | c["Left Arm"].CanCollide = true | |
90 | c["Right Leg"].CanCollide = true | |
91 | c["Left Leg"].CanCollide = true | |
92 | end | |
93 | end) | |
94 | ---End of Invisibility--- | |
95 | ||
96 | ---Start of Roar--- | |
97 | mouse.KeyDown:connect(function(key) | |
98 | if key == "r" then | |
99 | game:GetService("Chat"):Chat(c, "Roar-Blast") | |
100 | s2.SoundId = "rbxassetid://222938768" | |
101 | s2.Volume = 5 | |
102 | wait(.01) | |
103 | children = game.Players:GetChildren() | |
104 | ||
105 | for i = 1, #children do | |
106 | children[i].Character.Humanoid.Health = 80 | |
107 | end | |
108 | ||
109 | s2:Play() | |
110 | end | |
111 | end) | |
112 | ---End of Roar--- | |
113 | ||
114 | ---Start of Slow Time--- | |
115 | mouse.KeyDown:connect(function(key) | |
116 | if key == "f" then | |
117 | game:GetService("Chat"):Chat(c, "Slow Time") | |
118 | s2.SoundId = "rbxassetid://159459861" | |
119 | s2.Volume = 5 | |
120 | wait(.01) | |
121 | s2:Play() | |
122 | children = game.Players:GetChildren() | |
123 | ||
124 | for i = 1, #children do | |
125 | children[i].Character.Humanoid.WalkSpeed = 3 | |
126 | end | |
127 | c.Humanoid.WalkSpeed = 50 | |
128 | wait(10) | |
129 | for i = 1, #children do | |
130 | children[i].Character.Humanoid.WalkSpeed = 16 | |
131 | end | |
132 | c.Humanoid.WalkSpeed = 16 | |
133 | end | |
134 | end) | |
135 | ---End of Slow Time--- | |
136 | ||
137 | ---Start of Shadow Charm--- | |
138 | mouse.KeyDown:connect(function(key) | |
139 | if key == "g" then | |
140 | game:GetService("Chat"):Chat(c, "Shadow Charm") | |
141 | s2.SoundId = "rbxassetid://171137312" | |
142 | s2:Play() | |
143 | s2.Volume = 1 | |
144 | c.Head.Transparency = .9 | |
145 | c.Torso.Transparency = .9 | |
146 | c["Right Arm"].Transparency = .9 | |
147 | c["Left Arm"].Transparency = .9 | |
148 | c["Right Leg"].Transparency = .9 | |
149 | c["Left Leg"].Transparency = .9 | |
150 | c["Right Arm"].Touched:connect(function(hit) | |
151 | hit.Parent.Humanoid.Health = -9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
152 | end) | |
153 | c["Left Arm"].Touched:connect(function(hit) | |
154 | hit.Parent.Humanoid.Health = -99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
155 | end) | |
156 | end | |
157 | end) | |
158 | ||
159 | mouse.KeyUp:connect(function(key) | |
160 | if key == "g" then | |
161 | s2:Play() | |
162 | c.Head.Transparency = .6 | |
163 | c.Torso.Transparency = .4 | |
164 | c["Right Arm"].Transparency = .2 | |
165 | c["Left Arm"].Transparency = .2 | |
166 | c["Right Leg"].Transparency = .9 | |
167 | c["Left Leg"].Transparency = .9 | |
168 | c["Right Arm"].Touched:connect(function(hit) | |
169 | hit.Parent.Humanoid.Health = 1000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 | |
170 | end) | |
171 | c["Left Arm"].Touched:connect(function(hit) | |
172 | hit.Parent.Humanoid.Health = 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
173 | end) | |
174 | c.Head.BrickColor = BrickColor.new("Industrial white") | |
175 | c.Torso.BrickColor = BrickColor.new("Industrial white") | |
176 | c["Right Arm"].BrickColor = BrickColor.new("Industrial white") | |
177 | c["Left Arm"].BrickColor = BrickColor.new("Industrial white") | |
178 | c["Right Leg"].BrickColor = BrickColor.new("Industrial white") | |
179 | c["Left Leg"].BrickColor = BrickColor.new("Industrial white") | |
180 | end | |
181 | end) | |
182 | ---End of Shadow Charm--- | |
183 | ||
184 | ---Start of Heal Others--- | |
185 | mouse.KeyDown:connect(function(key) | |
186 | if key == "h" then | |
187 | game:GetService("Chat"):Chat(c, "Heal Others") | |
188 | s2.SoundId = "rbxassetid://186883084" | |
189 | s2.Volume = 10 | |
190 | s2:Play() | |
191 | children = game.Players:GetChildren() | |
192 | ||
193 | for i = 1, #children do | |
194 | children[i].Character.Humanoid.Health = 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
195 | end | |
196 | end | |
197 | end) | |
198 | ---End of Heal Others--- | |
199 | ||
200 | ---Start of Fire--- | |
201 | mouse.KeyDown:connect(function(key) | |
202 | if key == "q" then | |
203 | game:GetService("Chat"):Chat(c, "Fire") | |
204 | s2.SoundId = "rbxassetid://199978176" | |
205 | s2.Volume = 1 | |
206 | s2:Play() | |
207 | c.Head.BrickColor = BrickColor.new("Bright red") | |
208 | c.Torso.BrickColor = BrickColor.new("Bright red") | |
209 | c["Right Arm"].BrickColor = BrickColor.new("Bright red") | |
210 | c["Left Arm"].BrickColor = BrickColor.new("Bright red") | |
211 | c["Right Leg"].BrickColor = BrickColor.new("Bright red") | |
212 | c["Left Leg"].BrickColor = BrickColor.new("Bright red") | |
213 | s = Instance.new("Fire", c.Torso) | |
214 | c["Right Arm"].Touched:connect(function(hit) | |
215 | Instance.new("Fire", hit.Parent.Torso) | |
216 | hit.Parent.Humanoid.Health = 0 | |
217 | end) | |
218 | end | |
219 | end) | |
220 | ||
221 | mouse.KeyUp:connect(function(key) | |
222 | if key == "q" then | |
223 | c.Head.BrickColor = BrickColor.new("Industrial white") | |
224 | c.Torso.BrickColor = BrickColor.new("Industrial white") | |
225 | c["Right Arm"].BrickColor = BrickColor.new("Industrial white") | |
226 | c["Left Arm"].BrickColor = BrickColor.new("Industrial white") | |
227 | c["Right Leg"].BrickColor = BrickColor.new("Industrial white") | |
228 | c["Left Leg"].BrickColor = BrickColor.new("Industrial white") | |
229 | c.Torso.Fire:Destroy() | |
230 | end | |
231 | end) | |
232 | ---End of Fire--- | |
233 | ||
234 | ---Start of Poison-- | |
235 | mouse.KeyDown:connect(function(key) | |
236 | if key == "j" then | |
237 | game:GetService("Chat"):Chat(c, "Poison") | |
238 | s2.SoundId = "rbxassetid://138677306" | |
239 | s2.Volume = 1.5 | |
240 | s2:Play() | |
241 | c.Head.BrickColor = BrickColor.new("Lime green") | |
242 | c.Torso.BrickColor = BrickColor.new("Lime green") | |
243 | c["Right Arm"].BrickColor = BrickColor.new("Lime green") | |
244 | c["Left Arm"].BrickColor = BrickColor.new("Lime green") | |
245 | c["Right Leg"].BrickColor = BrickColor.new("Lime green") | |
246 | c["Left Leg"].BrickColor = BrickColor.new("Lime green") | |
247 | sp = Instance.new("Sparkles", c.Torso) | |
248 | c["Left Arm"].Touched:connect(function(hit) | |
249 | Instance.new("Sparkles", hit.Parent.Torso) | |
250 | hit.Parent.Head.BrickColor = BrickColor.new("Lime green") | |
251 | hit.Parent.Torso.BrickColor = BrickColor.new("Lime green") | |
252 | hit.Parent["Right Arm"].BrickColor = BrickColor.new("Lime green") | |
253 | hit.Parent["Left Arm"].BrickColor = BrickColor.new("Lime green") | |
254 | hit.Parent["Right Leg"].BrickColor = BrickColor.new("Lime green") | |
255 | hit.Parent["Left Leg"].BrickColor = BrickColor.new("Lime green") | |
256 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
257 | wait(3) | |
258 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
259 | wait(3) | |
260 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
261 | wait(3) | |
262 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
263 | end) | |
264 | ||
265 | mouse.KeyUp:connect(function(key) | |
266 | if key == "j" then | |
267 | game:GetService("Chat"):Chat(c, "Poison") | |
268 | c.Head.BrickColor = BrickColor.new("Industrial white") | |
269 | c.Torso.BrickColor = BrickColor.new("Industrial white") | |
270 | c["Right Arm"].BrickColor = BrickColor.new("Industrial white") | |
271 | c["Left Arm"].BrickColor = BrickColor.new("Industrial white") | |
272 | c["Right Leg"].BrickColor = BrickColor.new("Industrial white") | |
273 | c["Left Leg"].BrickColor = BrickColor.new("Industrial white") | |
274 | sp:Destroy() | |
275 | end | |
276 | end) | |
277 | end | |
278 | end) | |
279 | ---End of Poison--- | |
280 | ||
281 | ---Start of Suicide--- | |
282 | mouse.KeyDown:connect(function(key) | |
283 | if key == "z" then | |
284 | game:GetService("Chat"):Chat(c, "Suicide") | |
285 | s2.SoundId = "rbxassetid://137473066" | |
286 | s2.Volume = 1 | |
287 | s2:Play() | |
288 | wait(0.05) | |
289 | s = Instance.new("Explosion", c.Torso) | |
290 | s.Name = "ex" | |
291 | c.Torso.ex.Position = c.Torso.Position | |
292 | end | |
293 | end) | |
294 | ---End of Suicide--- | |
295 | ||
296 | ---Start of Shield--- | |
297 | mouse.KeyDown:connect(function(key) | |
298 | if key == "x" then | |
299 | game:GetService("Chat"):Chat(c, "Shield") | |
300 | s2.SoundId = "rbxassetid://181004943" | |
301 | s2.Volume = 2 | |
302 | s2:Play() | |
303 | x = Instance.new("Part") | |
304 | x.FormFactor = "Custom" | |
305 | x.Shape = "Ball" | |
306 | x.Size = Vector3.new(6.5, 6.5, 6.5) | |
307 | x.TopSurface = "Smooth" | |
308 | x.BottomSurface = "Smooth" | |
309 | x.BrickColor = BrickColor.new("Industrial white") | |
310 | x.Transparency = .6 | |
311 | x.Parent = c | |
312 | w1 = Instance.new("Weld", c) | |
313 | w1.Part0 = w1.Parent["Torso"] | |
314 | w1.Part1 = x | |
315 | w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) *CFrame.new(0, 0, 0) | |
316 | end | |
317 | end) | |
318 | ||
319 | mouse.KeyUp:connect(function(key) | |
320 | if key == "x" then | |
321 | x:Destroy() | |
322 | end | |
323 | end) | |
324 | ---End of Shield--- | |
325 | ||
326 | ---Start of Dark Pulse--- | |
327 | ||
328 | mouse.KeyDown:connect(function(key) | |
329 | if key == "c" then | |
330 | game:GetService("Chat"):Chat(c, "Dark Pulse") | |
331 | s2.SoundId = "rbxassetid://181004943" | |
332 | s2.Volume = 2 | |
333 | s2:Play() | |
334 | x = Instance.new("Part") | |
335 | x.FormFactor = "Custom" | |
336 | x.Shape = "Cylinder" | |
337 | x.Size = Vector3.new(6.5, 6.5, 6.5) | |
338 | x.TopSurface = "Smooth" | |
339 | x.BottomSurface = "Smooth" | |
340 | x.BrickColor = BrickColor.new("Really black") | |
341 | x.CanCollide = false | |
342 | x.Transparency = .6 | |
343 | x.Parent = c | |
344 | w1 = Instance.new("Weld", c) | |
345 | w1.Part0 = w1.Parent["Torso"] | |
346 | w1.Part1 = x | |
347 | w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 300) *CFrame.new(0, 5, 0) | |
348 | x.Touched:connect(function(hit) | |
349 | hit.Parent.Humanoid.Health = hit.Parent.Humanoid.Health -90 | |
350 | end) | |
351 | end | |
352 | end) | |
353 | ||
354 | mouse.KeyUp:connect(function(key) | |
355 | if key == "c" then | |
356 | x:Destroy() | |
357 | c.Head.Anchored = false | |
358 | c.Torso.Anchored = false | |
359 | c["Right Arm"].Anchored = false | |
360 | c["Left Arm"].Anchored = false | |
361 | c["Right Leg"].Anchored = false | |
362 | c["Left Leg"].Anchored = false | |
363 | end | |
364 | end) | |
365 | ||
366 | ---End of Dark Pulse--- | |
367 | ||
368 | --</\>Copyright Siarius 2015</\>-- | |
369 | ||
370 | plr = game.Players.LocalPlayer | |
371 | mouse = plr:GetMouse() | |
372 | part = nil | |
373 | bp = nil | |
374 | particles = nil | |
375 | function clerp(a,b,c,d) | |
376 | for i = 0,d,.01 do | |
377 | a.CFrame = CFrame.new(b:lerp(c,i)) | |
378 | wait() | |
379 | end | |
380 | end | |
381 | function slerp(a2,b2,c2,d2) | |
382 | for i2 = 0,d2,.01 do | |
383 | a2.CFrame = CFrame.new(b2:lerp(c2,i2)) | |
384 | wait() | |
385 | end | |
386 | end | |
387 | mouse.KeyDown:connect(function(key) | |
388 | if key == "e" and plr.Character.Parent == workspace then | |
389 | plr.Character.Parent = workspace.Camera | |
390 | plr.Character.Archivable = true | |
391 | Instance.new("ForceField",plr.Character).Visible = false | |
392 | for y,t in pairs(plr.Character:GetChildren()) do | |
393 | if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then | |
394 | t.Transparency = 0.5 | |
395 | if t.Name == "Head" and t:FindFirstChild("face") then | |
396 | t.face.Transparency = 1 | |
397 | end | |
398 | elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then | |
399 | t.Handle.Transparency = 1 | |
400 | end | |
401 | end | |
402 | elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then | |
403 | plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p) | |
404 | elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then | |
405 | if plr.Character.Torso.Anchored == true then | |
406 | for y,t in pairs(plr.Character:GetChildren()) do | |
407 | if t:IsA("Part") then | |
408 | t.Anchored = false | |
409 | end | |
410 | end | |
411 | else | |
412 | for y,t in pairs(plr.Character:GetChildren()) do | |
413 | if t:IsA("Part") then | |
414 | t.Anchored = true | |
415 | end | |
416 | end | |
417 | end | |
418 | elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then | |
419 | local clone = part:Clone() | |
420 | clone.Parent = workspace | |
421 | clone.Anchored = false | |
422 | clone:ClearAllChildren() | |
423 | clone.CanCollide = true | |
424 | bp.Parent = clone | |
425 | particles.Parent = clone | |
426 | if part.Parent:FindFirstChildOfClass("Humanoid") then | |
427 | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false | |
428 | end | |
429 | part:Destroy() | |
430 | part = clone | |
431 | elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then | |
432 | plr.Character.Parent = workspace | |
433 | plr.Character.Archivable = false | |
434 | plr.Character:FindFirstChildOfClass("ForceField"):Remove() | |
435 | for y,t in pairs(plr.Character:GetChildren()) do | |
436 | if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then | |
437 | t.Transparency = 0 | |
438 | if t.Name == "Head" and t:FindFirstChild("face") then | |
439 | t.face.Transparency = 0 | |
440 | end | |
441 | elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then | |
442 | t.Handle.Transparency = 0 | |
443 | end | |
444 | end | |
445 | end | |
446 | end) | |
447 | mouse.Button1Down:connect(function() | |
448 | if plr.Character.Parent == workspace.Camera then | |
449 | if mouse ~= nil then | |
450 | if mouse.Target ~= nil then | |
451 | part = mouse.Target | |
452 | bp = Instance.new("BodyPosition",part) | |
453 | bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge) | |
454 | bp.Position = part.Position | |
455 | particles = Instance.new("ParticleEmitter",part) | |
456 | particles.Color = ColorSequence.new(Color3.new(0,0,0)) | |
457 | particles.Size = NumberSequence.new(1) | |
458 | particles.Texture = "rbxassetid://292289455" | |
459 | particles.VelocitySpread = 360 | |
460 | particles.Speed = NumberRange.new(0) | |
461 | particles.RotSpeed = NumberRange.new(0) | |
462 | particles.Rotation = NumberRange.new(0) | |
463 | particles.Rate = 250 | |
464 | particles.Lifetime = NumberRange.new(.2,.4) | |
465 | particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)}) | |
466 | dwn = true | |
467 | end | |
468 | end | |
469 | while dwn == true do | |
470 | wait() | |
471 | bp.Position = mouse.hit.p | |
472 | if part then | |
473 | if part.Parent:FindFirstChildOfClass("Humanoid") then | |
474 | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true | |
475 | end | |
476 | end | |
477 | end | |
478 | end | |
479 | end) | |
480 | mouse.Button1Up:connect(function() | |
481 | dwn = false | |
482 | if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end | |
483 | if bp then bp:Destroy() end | |
484 | if particles then particles:Destroy() end | |
485 | end) | |
486 | base = Instance.new("ScreenGui",plr.PlayerGui) | |
487 | bbg = Instance.new("BillboardGui",plr.Character.Head) | |
488 | bbg.Size = UDim2.new(0,200,0,50) | |
489 | bbg.StudsOffset = Vector3.new(0,3,0) | |
490 | bbgTl = Instance.new("TextLabel",bbg) | |
491 | bbgTl.BackgroundTransparency = 1 | |
492 | bbgTl.Size = UDim2.new(10,0,1,0) | |
493 | bbgTl.Position = UDim2.new(-4.5,0,0,0) | |
494 | bbgTl.Font = "Code" | |
495 | bbgTl.Text = " " | |
496 | bbgTl.TextSize = 25 | |
497 | bbgTl.TextStrokeColor3 = Color3.new(1,1,1) | |
498 | bbgTl.TextColor3 = Color3.new(201,201,201) | |
499 | bbgTl.TextStrokeTransparency = 0 | |
500 | bbgTl.TextWrapped = true | |
501 | plr.Chatted:connect(function(msg) | |
502 | bbgTl.Text = msg | |
503 | wait(5) | |
504 | if bbgTl.Text == msg then | |
505 | bbgTl.Text = " " | |
506 | end | |
507 | end) | |
508 | touchCounter = 0 | |
509 | while wait() do | |
510 | if plr.Character.Parent == workspace.Camera then | |
511 | local c = plr.Character:Clone() | |
512 | c:MakeJoints() | |
513 | for y,t in pairs(c:GetChildren()) do | |
514 | if t:IsA("Part") then | |
515 | t.CanCollide = false | |
516 | t.Anchored = true | |
517 | t.Transparency = 0.8 | |
518 | t.TopSurface = "Smooth" | |
519 | t.BottomSurface = "Smooth" | |
520 | t.RightSurface = "Smooth" | |
521 | t.LeftSurface = "Smooth" | |
522 | t.FrontSurface = "Smooth" | |
523 | t.BackSurface = "Smooth" | |
524 | t.BrickColor = BrickColor.new("grey") | |
525 | if t.Name == "Head" and t:FindFirstChild("face") then | |
526 | t.face:Remove() | |
527 | elseif t.Name == "Torso" and t:FindFirstChild("roblox") then | |
528 | t.roblox:Remove() | |
529 | elseif t.Name == "HumanoidRootPart" then | |
530 | t:Remove() | |
531 | end | |
532 | else | |
533 | t:Remove() | |
534 | end | |
535 | end | |
536 | c.Parent = workspace | |
537 | game.Debris:AddItem(c,.05) | |
538 | end | |
539 | end |