SHOW:
|
|
- or go back to the newest paste.
1 | p = game.Players.LocalPlayer | |
2 | char = p.Character | |
3 | local char = p.Character | |
4 | torso = char.Torso | |
5 | neck = char.Torso.Neck | |
6 | hum = char.Humanoid | |
7 | Player = game:GetService("Players").LocalPlayer | |
8 | Character = Player.Character | |
9 | tors = Character.Torso | |
10 | root = Character.HumanoidRootPart | |
11 | lleg = Character["Left Leg"] | |
12 | hed = Character.Head | |
13 | rleg = Character["Right Leg"] | |
14 | rarm = Character["Right Arm"] | |
15 | larm = Character["Left Arm"] | |
16 | ||
17 | ypcall(function() | |
18 | for i,v in pairs(Character:children()) do | |
19 | if v:IsA("Hat") then | |
20 | v:Destroy() | |
21 | end | |
22 | end | |
23 | for i,v in pairs(Character:children()) do | |
24 | if v:IsA("Accessory") then | |
25 | v:Destroy() | |
26 | end | |
27 | end | |
28 | for i,v in pairs(Character:children()) do | |
29 | if v:IsA("Hair") then | |
30 | v:Destroy() | |
31 | end | |
32 | end | |
33 | end) | |
34 | ||
35 | CV="Hot pink" | |
36 | ||
37 | local txt = Instance.new("BillboardGui", char) | |
38 | txt.Adornee = char .Head | |
39 | txt.Name = "_status" | |
40 | txt.Size = UDim2.new(2, 0, 1.2, 0) | |
41 | txt.StudsOffset = Vector3.new(-9, 8, 0) | |
42 | local text = Instance.new("TextLabel", txt) | |
43 | text.Size = UDim2.new(10, 0, 7, 0) | |
44 | text.FontSize = "Size24" | |
45 | text.TextScaled = true | |
46 | text.TextTransparency = 0 | |
47 | text.BackgroundTransparency = 1 | |
48 | text.TextTransparency = 0 | |
49 | text.TextStrokeTransparency = 0 | |
50 | text.Font = "Highway" | |
51 | text.TextStrokeColor3 = BrickColor.new("Really black").Color | |
52 | ||
53 | v=Instance.new("Part") | |
54 | v.Name = "ColorBrick" | |
55 | v.Parent=p.Character | |
56 | v.FormFactor="Symmetric" | |
57 | v.Anchored=true | |
58 | v.CanCollide=false | |
59 | v.BottomSurface="Smooth" | |
60 | v.TopSurface="Smooth" | |
61 | v.Size=Vector3.new(10,5,3) | |
62 | v.Transparency=1 | |
63 | v.CFrame=char.Torso.CFrame | |
64 | v.BrickColor=BrickColor.new(CV) | |
65 | v.Transparency=1 | |
66 | - | text.TextColor3 = BrickColor.new("Deep orange").Color |
66 | + | text.TextColor3 = BrickColor.new("White").Color |
67 | v.Shape="Block" | |
68 | - | text.Text = "Sun God" |
68 | + | text.Text = "The Beyonder" |
69 | ||
70 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
71 | - | hed.Transparency = 1 |
71 | + | hed.Transparency = 0 |
72 | - | rleg.Transparency = 1 |
72 | + | rleg.Transparency = 0 |
73 | - | rarm.Transparency = 1 |
73 | + | rarm.Transparency = 0 |
74 | - | larm.Transparency = 1 |
74 | + | larm.Transparency = 0 |
75 | - | lleg.Transparency = 1 |
75 | + | lleg.Transparency = 0 |
76 | - | tors.Transparency = 1 |
76 | + | tors.Transparency = 0 |
77 | ||
78 | Player = game:GetService("Players").LocalPlayer | |
79 | Character = Player.Character | |
80 | rarm = Character["Right Arm"] | |
81 | larm = Character["Left Arm"] | |
82 | vt = Vector3.new | |
83 | bc = BrickColor.new | |
84 | wit = bc("Deep orange").Color | |
85 | ||
86 | local prth = Instance.new("Part",Character) | |
87 | prth.Size = vt(1.25,1.25,1.25) | |
88 | prth.CanCollide = false | |
89 | prth.Material = "Neon" | |
90 | prth.Transparency = 0.5 | |
91 | - | prth.BrickColor = bc("Deep orange") |
91 | + | prth.BrickColor = bc("white") |
92 | local wldh = Instance.new("Weld",Character) | |
93 | wldh.Part0 = hed | |
94 | wldh.Part1 = prth | |
95 | ||
96 | local prtrm = Instance.new("Part",Character) | |
97 | prtrm.Size = vt(2.1,2.1,1.1) | |
98 | prtrm.CanCollide = false | |
99 | prtrm.Transparency = 0.5 | |
100 | prtrm.Material = "Neon" | |
101 | - | prtrm.BrickColor = bc("Deep orange") |
101 | + | prtrm.BrickColor = bc("white") |
102 | local wldm = Instance.new("Weld",Character) | |
103 | wldm.Part0 = root | |
104 | wldm.Part1 = prtrm | |
105 | ||
106 | local prtr = Instance.new("Part",Character) | |
107 | prtr.Size = vt(1.1,2.1,1.1) | |
108 | prtr.CanCollide = false | |
109 | prtr.Transparency = 0.5 | |
110 | prtr.Material = "Neon" | |
111 | - | prtr.BrickColor = bc("Deep orange") |
111 | + | prtr.BrickColor = bc("white") |
112 | local prtrl = Instance.new("Part",Character) | |
113 | prtrl.Size = vt(1.1,2.1,1.1) | |
114 | prtrl.CanCollide = false | |
115 | prtrl.Transparency = 0.5 | |
116 | prtrl.Material = "Neon" | |
117 | - | prtrl.BrickColor = bc("Deep orange") |
117 | + | prtrl.BrickColor = bc("white") |
118 | local eff = Instance.new("ParticleEmitter",prtr) | |
119 | eff.LightEmission = 1 | |
120 | eff.Texture = "rbxassetid://284205403" | |
121 | eff.Color = ColorSequence.new(wit) | |
122 | eff.Size = NumberSequence.new(0.5,1) | |
123 | eff.Acceleration = vt(0,25,0) | |
124 | eff.Speed = NumberRange.new(-5) | |
125 | eff.LockedToPart = false | |
126 | eff.Transparency = NumberSequence.new(0.95) | |
127 | eff.Lifetime = NumberRange.new(0.5) | |
128 | eff.Rate = 100000 | |
129 | eff.VelocitySpread = 25 | |
130 | local wld = Instance.new("Weld",Character) | |
131 | wld.Part0 = rarm | |
132 | wld.Part1 = prtr | |
133 | local wldl = Instance.new("Weld",Character) | |
134 | wldl.Part0 = rleg | |
135 | wldl.Part1 = prtrl | |
136 | ||
137 | local prtr2 = Instance.new("Part",Character) | |
138 | prtr2.Size = vt(1.1,2.1,1.1) | |
139 | prtr2.CanCollide = false | |
140 | prtr2.Transparency = 0.5 | |
141 | prtr2.Material = "Neon" | |
142 | - | prtr2.BrickColor = bc("Deep orange") |
142 | + | prtr2.BrickColor = bc("white") |
143 | local prtrl2 = Instance.new("Part",Character) | |
144 | prtrl2.Size = vt(1.1,2.1,1.1) | |
145 | prtrl2.CanCollide = false | |
146 | prtrl2.Transparency = 0.5 | |
147 | prtrl2.Material = "Neon" | |
148 | - | prtrl2.BrickColor = bc("Deep orange") |
148 | + | prtrl2.BrickColor = bc("white") |
149 | local eff2 = Instance.new("ParticleEmitter",prtr2) | |
150 | eff2.LightEmission = 1 | |
151 | eff2.Texture = "rbxassetid://284205403" | |
152 | eff2.Color = ColorSequence.new(wit) | |
153 | eff2.Size = NumberSequence.new(0.5,1) | |
154 | eff2.Acceleration = vt(0,25,0) | |
155 | eff2.Speed = NumberRange.new(-5) | |
156 | eff2.LockedToPart = false | |
157 | eff2.Transparency = NumberSequence.new(0.95) | |
158 | eff2.Lifetime = NumberRange.new(0.5) | |
159 | eff2.Rate = 100000 | |
160 | eff2.VelocitySpread = 25 | |
161 | local wld2 = Instance.new("Weld",Character) | |
162 | wld2.Part0 = larm | |
163 | wld2.Part1 = prtr2 | |
164 | local wldl2 = Instance.new("Weld",Character) | |
165 | wldl2.Part0 = lleg | |
166 | wldl2.Part1 = prtrl2 | |
167 | ||
168 | local mouse = game.Players.LocalPlayer:GetMouse() | |
169 | tors = game.Players.LocalPlayer.Character.Torso | |
170 | vt = Vector3.new | |
171 | bc = BrickColor.new | |
172 | ||
173 | local Effect = Instance.new("Part",game.Lighting) | |
174 | Effect.BrickColor = bc("Deep orange") | |
175 | Effect.Transparency = 1 | |
176 | Effect.Anchored = true | |
177 | Effect.CanCollide = false | |
178 | Effect.Material = "Neon" | |
179 | Effect.Shape = "Ball" | |
180 | Effect.Size = vt(5,5,5) | |
181 | local fire1 = Instance.new("Fire",Effect) | |
182 | fire1.Name = "Fire" | |
183 | fire1.Heat = 0 | |
184 | fire1.Size = 30 | |
185 | fire1.SecondaryColor = bc("Really black").Color | |
186 | fire1.Color = bc("Deep orange").Color | |
187 | local fire2 = Instance.new("Fire",Effect) | |
188 | fire2.Name = "Fire2" | |
189 | fire2.Heat = 0 | |
190 | fire2.Size = 25 | |
191 | fire2.SecondaryColor = bc("Really black").Color | |
192 | fire2.Color = bc("Neon orange").Color | |
193 | ||
194 | function Explode(rad,par) | |
195 | local expart = Instance.new("Part",script.Parent) | |
196 | local expart2 = Instance.new("Part",script.Parent) | |
197 | local snd = Instance.new("Sound",expart) | |
198 | snd.SoundId = "rbxassetid://258057783" | |
199 | snd.Volume = 2.5 | |
200 | local partMesh = Instance.new("SpecialMesh",expart) | |
201 | partMesh.MeshType = "Sphere" | |
202 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
203 | partMesh2.MeshType = "Sphere" | |
204 | local expld = Instance.new("Explosion", script.Parent) | |
205 | expld.BlastRadius = rad | |
206 | expld.Position = par.Position | |
207 | partMesh.Scale = vt(rad,rad,rad) | |
208 | expart.Size = vt(1,1,1)*1.5 | |
209 | expart.Transparency = 0.5 | |
210 | expart.Anchored = true | |
211 | expart.Material = "Neon" | |
212 | expart.BrickColor = bc("Deep orange") | |
213 | expart.CFrame = par.CFrame | |
214 | partMesh2.Scale = vt(rad,rad,rad) | |
215 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
216 | expart2.Transparency = 0.5 | |
217 | expart2.Anchored = true | |
218 | expart2.Material = "Neon" | |
219 | expart2.BrickColor = bc("Bright orange") | |
220 | expart2.CFrame = par.CFrame | |
221 | snd:Play() | |
222 | for i = 0, 100 do | |
223 | expart.Transparency = expart.Transparency + 0.005 | |
224 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
225 | expart.CFrame = expart.CFrame | |
226 | expart2.Transparency = expart.Transparency + 0.005 | |
227 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
228 | expart2.CFrame = expart.CFrame | |
229 | wait(0) | |
230 | end | |
231 | snd.Parent = nil | |
232 | expart.Parent = nil | |
233 | expart2.Parent = nil | |
234 | expld.Parent = nil | |
235 | end | |
236 | ||
237 | function Explode2(rad,par) | |
238 | local expart = Instance.new("Part",script.Parent) | |
239 | local expart2 = Instance.new("Part",script.Parent) | |
240 | local snd = Instance.new("Sound",expart) | |
241 | snd.SoundId = "rbxassetid://165969964" | |
242 | snd.Volume = 3 | |
243 | local partMesh = Instance.new("SpecialMesh",expart) | |
244 | partMesh.MeshType = "Sphere" | |
245 | local partMesh2 = Instance.new("SpecialMesh",expart2) | |
246 | partMesh2.MeshType = "Sphere" | |
247 | local expld = Instance.new("Explosion", script.Parent) | |
248 | expld.BlastRadius = rad | |
249 | expld.Position = par.Position | |
250 | partMesh.Scale = vt(rad,rad,rad) | |
251 | expart.Size = vt(1,1,1)*1.5 | |
252 | expart.Transparency = 0.5 | |
253 | expart.Anchored = true | |
254 | expart.Material = "Neon" | |
255 | expart.BrickColor = bc("Deep orange") | |
256 | expart.CFrame = par.CFrame | |
257 | partMesh2.Scale = vt(rad,rad,rad) | |
258 | expart2.Size = vt(1.15,1.15,1.15)*1.5 | |
259 | expart2.Transparency = 0.5 | |
260 | expart2.Anchored = true | |
261 | expart2.Material = "Neon" | |
262 | expart2.BrickColor = bc("Bright orange") | |
263 | expart2.CFrame = par.CFrame | |
264 | snd:Play() | |
265 | for i = 0, 100 do | |
266 | expart.Transparency = expart.Transparency + 0.005 | |
267 | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) | |
268 | expart.CFrame = expart.CFrame | |
269 | expart2.Transparency = expart.Transparency + 0.005 | |
270 | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) | |
271 | expart2.CFrame = expart.CFrame | |
272 | wait(0) | |
273 | end | |
274 | snd.Parent = nil | |
275 | expart.Parent = nil | |
276 | expart2.Parent = nil | |
277 | expld.Parent = nil | |
278 | end | |
279 | ||
280 | mouse.KeyDown:connect(function(k) | |
281 | ||
282 | k = k:lower() | |
283 | if k == "q" then | |
284 | local spart = Effect:Clone() | |
285 | spart.Parent = game.Players.LocalPlayer.Character | |
286 | spart.Transparency = 0 | |
287 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5 | |
288 | wait() | |
289 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15 | |
290 | wait() | |
291 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25 | |
292 | wait() | |
293 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35 | |
294 | wait() | |
295 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45 | |
296 | wait() | |
297 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55 | |
298 | wait() | |
299 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65 | |
300 | wait() | |
301 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75 | |
302 | wait() | |
303 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85 | |
304 | wait() | |
305 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95 | |
306 | wait() | |
307 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105 | |
308 | spart.Transparency = 1 | |
309 | spart.Fire2:Destroy() | |
310 | spart.Fire:Destroy() | |
311 | Explode(25,spart) | |
312 | spart:Destroy() | |
313 | end | |
314 | if k == "e" then | |
315 | local spart = Effect:Clone() | |
316 | spart.Parent = game.Players.LocalPlayer.Character | |
317 | spart.Transparency = 0 | |
318 | spart.Anchored = false | |
319 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0 | |
320 | spart.Position = spart.Position + vt(0,100,0) | |
321 | spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150 | |
322 | wait(1) | |
323 | spart.Transparency = 1 | |
324 | spart.Fire2:Destroy() | |
325 | spart.Fire:Destroy() | |
326 | Explode2(75,spart) | |
327 | spart:Destroy() | |
328 | end | |
329 | if k == "r" then | |
330 | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) | |
331 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275 | |
332 | wait(0.75) | |
333 | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165 | |
334 | Explode(30,game.Players.LocalPlayer.Character.Torso) | |
335 | wait(0.5) | |
336 | ff:Destroy() | |
337 | end | |
338 | if k == "f" then | |
339 | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) | |
340 | for i = 0, 10 do | |
341 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0) | |
342 | wait(0) | |
343 | end | |
344 | for i = 0, 5 do | |
345 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0) | |
346 | wait(0) | |
347 | end | |
348 | game.Players.LocalPlayer.Character.Torso.Anchored = true | |
349 | wait(1.5) | |
350 | game.Players.LocalPlayer.Character.Torso.Anchored = false | |
351 | for i = 0, 10 do | |
352 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0) | |
353 | wait(0) | |
354 | end | |
355 | wait(0.25) | |
356 | Explode2(62.5,game.Players.LocalPlayer.Character.Torso) | |
357 | wait(0.5) | |
358 | ff:Destroy() | |
359 | end | |
360 | end) | |
361 | ||
362 | --[[ | |
363 | This script will change your shirt and pants ^-^ | |
364 | Change the shirt and pants ID to the one you like | |
365 | If your using this script, do it as a local script ^-^ | |
366 | ]] | |
367 | ||
368 | local part = game.Players.LocalPlayer.Character | |
369 | local basetemplate = "http://www.roblox.com/asset/?id=" | |
370 | local shirt = 165752057 | |
371 | local pants = 2144929301 | |
372 | local h = part:findFirstChild("Shirt") | |
373 | if h ~= nil then | |
374 | h.ShirtTemplate = basetemplate..shirt | |
375 | else | |
376 | local i = Instance.new("Shirt") | |
377 | i.Name = "Shirt" | |
378 | i.ShirtTemplate = basetemplate..shirt | |
379 | i.Parent = part | |
380 | end | |
381 | local p = part:findFirstChild("Pants") | |
382 | if p ~= nil then | |
383 | p.PantsTemplate = basetemplate..pants | |
384 | else | |
385 | local np = Instance.new("Pants") | |
386 | np.PantsTemplate = basetemplate..pants | |
387 | np.Name = "Pants" | |
388 | np.Parent = part | |
389 | end | |
390 | ||
391 | --repeat wait() until _G and _G['Check'] print('Globals Loaded') | |
392 | --g=getfenv() | |
393 | --coroutine.resume(_G.Include,g,_G) | |
394 | --coroutine.resume(IncludeLibrary,g,Finite.Custom) | |
395 | --repeat wait() until inew~=nil and v3~=nil and c3~=nil | |
396 | ||
397 | --Controls are q,e,t,r,k (might forget to put more hea | |
398 | ||
399 | --You do not need to put your name anywhere in the script (Posted by handsomejhzzzzzz) | |
400 | ||
401 | ||
402 | inew=Instance.new | |
403 | v3=Vector3.new | |
404 | c3=Color3.new | |
405 | On=true | |
406 | Distance=9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
407 | Minimum=9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
408 | Maximum=9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999 | |
409 | LightColor=c3(0/255,230/255,150/255) | |
410 | Light=inew('PointLight') | |
411 | Light.Color=LightColor | |
412 | XVec=v3(0,0,0) | |
413 | Target=nil | |
414 | Adorn=nil | |
415 | BP=inew("BodyPosition") | |
416 | BP.maxForce=v3(9990000, 9990000, 9990000) | |
417 | BP.P=9990000.000 | |
418 | BP.D=100000.000 | |
419 | BP.position=v3(0,50,0) | |
420 | Q=false | |
421 | E=false | |
422 | hit=nil | |
423 | FireSize=10 | |
424 | FireColor=c3(255/255,255/255,255/255) | |
425 | FireHeat=10 | |
426 | RunService=game:GetService('RunService') | |
427 | Player=game.Players.LocalPlayer | |
428 | Mouse=Player:GetMouse() | |
429 | coroutine.wrap(function() | |
430 | script.Parent=nil | |
431 | RunService.RenderStepped:connect(function() | |
432 | if On==false then | |
433 | Adorn=nil | |
434 | end | |
435 | hit=Mouse.Hit | |
436 | Unit=(hit.p-Player.Character.Head.Position).unit | |
437 | NewPos=Player.Character.Head.Position+(Unit*Distance)-XVec | |
438 | if BP==nil then | |
439 | BP=inew("BodyPosition") | |
440 | else | |
441 | BP.position=NewPos | |
442 | end | |
443 | if Adorn~=nil then | |
444 | BP.Parent=Adorn | |
445 | Light.Parent=Adorn | |
446 | else | |
447 | BP.Parent=nil | |
448 | Light.Parent=nil | |
449 | end | |
450 | if Mouse.Target~=nil then Target=Mouse.Target else Target=nil end | |
451 | if Q==true and E==false then | |
452 | if Distance-2<Minimum then | |
453 | Distance=Minimum | |
454 | elseif Distance-2>=Minimum then | |
455 | Distance=Distance-2 | |
456 | end | |
457 | end | |
458 | if Q==false and E==true then | |
459 | if Distance+2>Maximum then | |
460 | Distance=Maximum | |
461 | elseif Distance+2<=Maximum then | |
462 | Distance=Distance+2 | |
463 | end | |
464 | end | |
465 | if Distance<Minimum then | |
466 | Distance=Minimum | |
467 | end | |
468 | end) | |
469 | end)() | |
470 | Player.Chatted:connect(function(msg) | |
471 | if string.lower(string.sub(msg,1,5))=='make/' then | |
472 | for e=1,tonumber(string.sub(msg,6)) do | |
473 | local Col=Color3.new(math.random(1,255)/255,math.random(1,255)/255,math.random(1,255)/255) | |
474 | local br=Instance.new('Part', workspace) | |
475 | br.Size=Vector3.new(math.random(2,8),math.random(2,8),math.random(2,8)) | |
476 | br.Position=Player.Character.Head.Position+ Vector3.new(math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))), math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))),math.random(-tonumber(string.sub(msg,6)),tonumber(string.sub(msg,6))) ) | |
477 | br.BrickColor=BrickColor.new(Col) | |
478 | end | |
479 | end | |
480 | end) | |
481 | Mouse.KeyDown:connect(function(key) | |
482 | if (key)=='q' then | |
483 | Q=true | |
484 | elseif (key)=='e' then | |
485 | E=true | |
486 | elseif (key)=='t' then | |
487 | if Adorn~=nil then | |
488 | BP.Parent=nil | |
489 | Adorn.Velocity=Adorn.Velocity+(((Adorn.Position+XVec)-Player.Character.Head.Position)).unit*200 | |
490 | Adorn=nil | |
491 | end | |
492 | end | |
493 | end) | |
494 | Mouse.KeyUp:connect(function(key) | |
495 | if (key)=='q' then | |
496 | Q=false | |
497 | elseif (key)=='e' then | |
498 | E=false | |
499 | elseif key=='k' and Adorn~=nil then | |
500 | for i, v in pairs(Adorn.Parent:GetChildren()) do | |
501 | if v:IsA('Humanoid') then v.Health=0 end | |
502 | end | |
503 | elseif key=='b' and Adorn~=nil then | |
504 | Adorn:BreakJoints() | |
505 | elseif (key)=='r' and Adorn ~=nil then | |
506 | if Adorn.Parent:FindFirstChild('ThisIsAModel') and Adorn.Parent.Fire.Value==false then | |
507 | for i, var in pairs(Adorn.Parent:GetChildren()) do | |
508 | if var:IsA('BasePart') then | |
509 | fire=inew('Fire',var) | |
510 | fire.Color=FireColor | |
511 | fire.Name='Fire23445' | |
512 | fire.Size=FireSize | |
513 | fire.Heat=FireHeat | |
514 | end | |
515 | end | |
516 | Adorn.Parent.Fire.Value=true | |
517 | elseif Adorn.Parent:FindFirstChild('ThisIsAModel') and Adorn.Parent.Fire.Value==true then | |
518 | for i, var in pairs(Adorn.Parent:GetChildren()) do | |
519 | if var:IsA('BasePart') and var:FindFirstChild('Fire23445') then | |
520 | var.Fire23445:Destroy() | |
521 | end | |
522 | end | |
523 | Adorn.Parent.Fire.Value=false | |
524 | elseif not Adorn.Parent:FindFirstChild('ThisIsAModel') then | |
525 | if not Adorn:FindFirstChild('Fire23445') then | |
526 | fire=inew('Fire',Adorn) | |
527 | fire.Color=FireColor | |
528 | fire.Name='Fire23445' | |
529 | fire.Size=FireSize | |
530 | fire.Heat=FireHeat | |
531 | elseif Adorn:FindFirstChild('Fire23445') then | |
532 | Adorn.Fire23445:Destroy() | |
533 | end | |
534 | end | |
535 | elseif (key)=='z' and Adorn ~=nil then | |
536 | if Adorn.Parent:FindFirstChild('ThisIsAModel') then | |
537 | if Adorn.Parent.Ghost.Value==false then | |
538 | for i, v in pairs(Adorn.Parent:GetChildren()) do | |
539 | if v:IsA('BasePart') then | |
540 | if v.Transparency==0 then | |
541 | tick=inew('BoolValue',v) | |
542 | tick.Name='Trans' | |
543 | v.Transparency=0.5 | |
544 | else | |
545 | v.Transparency=v.Transparency*2 | |
546 | end | |
547 | end | |
548 | end | |
549 | Adorn.Parent.Ghost.Value=true | |
550 | elseif Adorn.Parent.Ghost.Value==true then | |
551 | for i, v in pairs(Adorn.Parent:GetChildren()) do | |
552 | if v:IsA('BasePart') then | |
553 | if v:FindFirstChild('Trans') then | |
554 | v.Transparency=0 | |
555 | v.Trans:Destroy() | |
556 | else | |
557 | v.Transparency=v.Transparency/2 | |
558 | end | |
559 | end | |
560 | end | |
561 | Adorn.Parent.Ghost.Value=false | |
562 | end | |
563 | elseif not Adorn.Parent:FindFirstChild('ThisIsAModel') then | |
564 | if Adorn:FindFirstChild('Trans') then | |
565 | Adorn.Transparency=Adorn.Transparency/2 | |
566 | Adorn.Trans:Destroy() | |
567 | if Adorn:FindFirstChild('Trans2') then | |
568 | Adorn.Transparency=0 | |
569 | Adorn.Trans2:Destroy() | |
570 | end | |
571 | elseif not Adorn:FindFirstChild('Trans') then | |
572 | inew('BoolValue',Adorn).Name='Trans' | |
573 | if Adorn.Transparency<=0 then | |
574 | inew('BoolValue',Adorn).Name='Trans2' | |
575 | Adorn.Transparency=0.5 | |
576 | else Adorn.Transparency=Adorn.Transparency*2 | |
577 | end | |
578 | end | |
579 | end | |
580 | end | |
581 | end) | |
582 | Mouse.Button1Down:connect(function() | |
583 | if Adorn==nil and BP.Parent==nil and Target~=nil and (hit.p-Player.Character.Head.Position).magnitude<=Maximum and Target:IsDescendantOf(workspace) then | |
584 | Distance=(Target.Position-Player.Character.Head.Position).magnitude | |
585 | XVec=(hit.p-Target.Position) | |
586 | if not Target.Parent:FindFirstChild('ThisIsAModel') then | |
587 | local rt=Target.Size | |
588 | Minimum=math.sqrt((rt.X^2+rt.Y^2+rt.Z^2))+.5 | |
589 | else | |
590 | local rt=Target.Parent:GetModelSize() | |
591 | Minimum=math.sqrt((rt.X^2+rt.Y^2+rt.Z^2))+.5 | |
592 | end | |
593 | Adorn=Target | |
594 | end | |
595 | end) | |
596 | ||
597 | Mouse.Button1Up:connect(function() | |
598 | if Adorn~=nil then | |
599 | Adorn=nil | |
600 | BP.Parent=nil | |
601 | end | |
602 | end) | |
603 | ||
604 | -- x10Shield -- | |
605 | local me = game:GetService("Players").LocalPlayer | |
606 | local ShieldSize = 10 | |
607 | local canCollide = true | |
608 | local isLocked = false | |
609 | local defaultTransparency = 1 | |
610 | local whitelist = {"", "", "", ""} | |
611 | ||
612 | local scriptBreak = false | |
613 | local followPart = me.Character.HumanoidRootPart | |
614 | local actualList = {} | |
615 | local playerList = {} | |
616 | table.insert(playerList, me) | |
617 | for i,v in pairs(game:GetService("Players"):GetPlayers()) do | |
618 | for _,wplay in pairs(whitelist) do | |
619 | if v.Name:lower() == wplay:lower() then | |
620 | table.insert(playerList, v) | |
621 | end | |
622 | end | |
623 | end | |
624 | ||
625 | local MainLocation = me.Character.Torso | |
626 | ||
627 | function createShield() | |
628 | pcall(function() | |
629 | pcall(function() | |
630 | for i,v in pairs(MainLocation:GetChildren()) do | |
631 | if v.Name == "weinershield" then | |
632 | v:Destroy() | |
633 | end | |
634 | end | |
635 | end) | |
636 | local mod = Instance.new("Model", MainLocation) | |
637 | mod.Name = "weinershield" | |
638 | local p1 = Instance.new("Part", mod) | |
639 | p1.Name = "front" | |
640 | p1.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
641 | p1.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2)) | |
642 | local b = Instance.new("BlockMesh", p1) | |
643 | b.Scale = Vector3.new(1, 1, 0) | |
644 | local p2 = Instance.new("Part", mod) | |
645 | p2.Name = "back" | |
646 | p2.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
647 | p2.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2)) | |
648 | local b = Instance.new("BlockMesh", p2) | |
649 | b.Scale = Vector3.new(1, 1, 0) | |
650 | local p3 = Instance.new("Part", mod) | |
651 | p3.Name = "left" | |
652 | p3.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
653 | p3.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
654 | local b = Instance.new("BlockMesh", p3) | |
655 | b.Scale = Vector3.new(0, 1, 1) | |
656 | local p4 = Instance.new("Part", mod) | |
657 | p4.Name = "right" | |
658 | p4.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
659 | p4.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
660 | local b = Instance.new("BlockMesh", p4) | |
661 | b.Scale = Vector3.new(0, 1, 1) | |
662 | local p5 = Instance.new("Part", mod) | |
663 | p5.Name = "top" | |
664 | p5.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
665 | p5.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z) | |
666 | local b = Instance.new("BlockMesh", p5) | |
667 | b.Scale = Vector3.new(1, 0, 1) | |
668 | local p6 = Instance.new("Part", mod) | |
669 | p6.Name = "bottom" | |
670 | p6.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
671 | p6.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z) | |
672 | local b = Instance.new("BlockMesh", p6) | |
673 | b.Scale = Vector3.new(1, 0, 1) | |
674 | for i,v in pairs(mod:GetChildren()) do | |
675 | v.Anchored = true | |
676 | v.Transparency = defaultTransparency | |
677 | v.Material = "Neon" | |
678 | v.TopSurface = "Smooth" | |
679 | v.BottomSurface = "Smooth" | |
680 | v.CanCollide = canCollide | |
681 | end | |
682 | mod.ChildRemoved:connect(function(a) | |
683 | game:GetService("RunService").Stepped:wait() | |
684 | if a.ClassName == "Part" then | |
685 | createShield() | |
686 | end | |
687 | end) | |
688 | end) | |
689 | end | |
690 | ||
691 | function updateShield() | |
692 | pcall(function() | |
693 | char = me.Character | |
694 | for i,v in pairs(MainLocation:findFirstChild("weinershield"):GetChildren()) do | |
695 | v.Anchored = true | |
696 | v.Transparency = defaultTransparency | |
697 | v.Material = "Neon" | |
698 | v.TopSurface = "Smooth" | |
699 | v.BottomSurface = "Smooth" | |
700 | v.CanCollide = canCollide | |
701 | end | |
702 | MainLocation:findFirstChild("weinershield").front.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
703 | MainLocation:findFirstChild("weinershield").front.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z+(ShieldSize/2)) | |
704 | MainLocation:findFirstChild("weinershield").back.Size = Vector3.new(ShieldSize,ShieldSize,1) | |
705 | MainLocation:findFirstChild("weinershield").back.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y, followPart.Position.Z-(ShieldSize/2)) | |
706 | MainLocation:findFirstChild("weinershield").left.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
707 | MainLocation:findFirstChild("weinershield").left.CFrame = CFrame.new(followPart.Position.X+(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
708 | MainLocation:findFirstChild("weinershield").right.Size = Vector3.new(1,ShieldSize,ShieldSize) | |
709 | MainLocation:findFirstChild("weinershield").right.CFrame = CFrame.new(followPart.Position.X-(ShieldSize/2), followPart.Position.Y, followPart.Position.Z) | |
710 | MainLocation:findFirstChild("weinershield").top.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
711 | MainLocation:findFirstChild("weinershield").top.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y+(ShieldSize/2), followPart.Position.Z) | |
712 | MainLocation:findFirstChild("weinershield").bottom.Size = Vector3.new(ShieldSize,1,ShieldSize) | |
713 | MainLocation:findFirstChild("weinershield").bottom.CFrame = CFrame.new(followPart.Position.X, followPart.Position.Y-(ShieldSize/2), followPart.Position.Z) | |
714 | end) | |
715 | end | |
716 | ||
717 | ||
718 | local function CreateRegion3FromLocAndSize(Position, Size) | |
719 | local SizeOffset = Size/2 | |
720 | local Point1 = Position - SizeOffset | |
721 | local Point2 = Position + SizeOffset | |
722 | return Region3.new(Point1, Point2) | |
723 | end | |
724 | ||
725 | createShield() | |
726 | game:GetService("RunService").Heartbeat:connect(function() | |
727 | if not scriptBreak then | |
728 | local me = game:GetService("Players").LocalPlayer | |
729 | local char = workspace:findFirstChild(me.Name) | |
730 | actualList = {} | |
731 | for i,v in pairs(playerList) do | |
732 | pcall(function() | |
733 | table.insert(actualList, workspace:findFirstChild(v.Name)) | |
734 | end) | |
735 | end | |
736 | if MainLocation:findFirstChild("weinershield") ~= nil then | |
737 | updateShield() | |
738 | else | |
739 | createShield() | |
740 | end | |
741 | pcall(function() | |
742 | local Region = CreateRegion3FromLocAndSize(followPart.Position, Vector3.new(ShieldSize+1,ShieldSize+1,ShieldSize+1)) | |
743 | for _,Part in pairs(workspace:FindPartsInRegion3WithIgnoreList(Region,actualList,math.huge)) do | |
744 | if Part.Name ~= "Base" and not Part:isDescendantOf(MainLocation:findFirstChild("weinershield")) then | |
745 | Part:Destroy() | |
746 | end | |
747 | end | |
748 | end) | |
749 | pcall(function() | |
750 | for i,v in pairs(actualList) do | |
751 | if v:findFirstChild("Humanoid") ~= nil then | |
752 | v.Humanoid.MaxHealth = math.huge | |
753 | v.Humanoid.Health = math.huge | |
754 | else | |
755 | Instance.new("Humanoid", v) | |
756 | end | |
757 | end | |
758 | end) | |
759 | end | |
760 | end) |