SHOW:
|
|
- or go back to the newest paste.
| 1 | - | admins = "ASlendersBestFrend" |
| 1 | + | admins = "zombieslayerwtf" |
| 2 | ||
| 3 | wait(4) | |
| 4 | print("NukePlayer by ASBF loaded")
| |
| 5 | ||
| 6 | oldanbient = game.Lighting.OutdoorAmbient | |
| 7 | gui = Instance.new("ScreenGui")
| |
| 8 | ||
| 9 | ||
| 10 | gui.Parent = game.Players[admins].PlayerGui | |
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | frame = Instance.new("Frame")
| |
| 15 | frame.Parent = gui | |
| 16 | frame.Size = UDim2.new(0.4, 0, 0.4, 0) | |
| 17 | ||
| 18 | ||
| 19 | button = Instance.new("TextButton")
| |
| 20 | button.Parent = gui.Frame | |
| 21 | button.Size = UDim2.new(1, 0, 0.4, 0) | |
| 22 | button.Text = "Nuke Someone!" | |
| 23 | ||
| 24 | imput = Instance.new("TextBox")
| |
| 25 | imput.Parent = frame | |
| 26 | imput.Size = UDim2.new(1, 0, 0.4, 0) | |
| 27 | imput.Position = UDim2.new(0.0, 0, 0.4, 0) | |
| 28 | imput.Text = "Player name here" | |
| 29 | ||
| 30 | ||
| 31 | function onClick(v) | |
| 32 | ||
| 33 | ||
| 34 | ||
| 35 | c = Instance.new("Part")
| |
| 36 | ||
| 37 | c.Parent = workspace | |
| 38 | c.CFrame = workspace[imput.Text].Torso.CFrame | |
| 39 | c.Anchored = true | |
| 40 | c.CanCollide = false | |
| 41 | c.FormFactor = "Custom" | |
| 42 | c.Size = Vector3.new(0.1,0.1,0.1) | |
| 43 | c.BrickColor = BrickColor.new("New Yeller")
| |
| 44 | c.Transparency = 0.5 | |
| 45 | c.Material = "Neon" | |
| 46 | ||
| 47 | cin = Instance.new("Part")
| |
| 48 | ||
| 49 | cin.Parent = workspace | |
| 50 | cin.CFrame = workspace[imput.Text].Torso.CFrame | |
| 51 | cin.Anchored = true | |
| 52 | cin.CanCollide = false | |
| 53 | cin.FormFactor = "Custom" | |
| 54 | cin.Size = Vector3.new(0.1,0.1,0.1) | |
| 55 | cin.BrickColor = BrickColor.new("Really red")
| |
| 56 | cin.Transparency = 0.5 | |
| 57 | cin.Material = "Neon" | |
| 58 | ||
| 59 | local sound = Instance.new("Sound")
| |
| 60 | sound.SoundId = "rbxasset://sounds/Rocket shot.wav" | |
| 61 | sound.Pitch = 0.5 | |
| 62 | sound.Volume = 1 | |
| 63 | sound.Parent = cin | |
| 64 | sound.PlayOnRemove = true | |
| 65 | sound:remove() | |
| 66 | ||
| 67 | spha = Instance.new("SpecialMesh")
| |
| 68 | spha.Parent = c | |
| 69 | spha.MeshType = "Sphere" | |
| 70 | ||
| 71 | sphb = Instance.new("SpecialMesh")
| |
| 72 | sphb.Parent = cin | |
| 73 | sphb.MeshType = "Sphere" | |
| 74 | ||
| 75 | game.Lighting.OutdoorAmbient = Color3.new(255,255,0) | |
| 76 | ||
| 77 | p = game.Players:GetChildren() | |
| 78 | for i = 1,#p do | |
| 79 | p[i].Character.Head:remove() | |
| 80 | end | |
| 81 | ||
| 82 | for z = 1,70 do | |
| 83 | wait() | |
| 84 | spha.Scale = spha.Scale + Vector3.new(55,55,55) | |
| 85 | sphb.Scale = sphb.Scale + Vector3.new(50,50,50) | |
| 86 | end | |
| 87 | ||
| 88 | ||
| 89 | game.Lighting.OutdoorAmbient = oldanbient | |
| 90 | c:remove() | |
| 91 | cin:remove() | |
| 92 | end | |
| 93 | ||
| 94 | button.MouseButton1Down:connect(onClick) |