SHOW:
|
|
- or go back to the newest paste.
1 | if script.Parent.className ~= "HopperBin" then | |
2 | - | admin = game.Players.Ttown33 -- Your name instead of Ttown33 |
2 | + | admin = game.Players.zombieslayerwtf -- Your name instead of Ttown33 |
3 | local h = Instance.new("HopperBin") | |
4 | h.Parent = admin.Backpack | |
5 | h.Name = "Control" | |
6 | script.Parent = h | |
7 | end | |
8 | ||
9 | tool = script.Parent | |
10 | plyr = game.Players.LocalPlayer | |
11 | speed = 50 | |
12 | mode = 1 | |
13 | cluster = 5 | |
14 | ||
15 | function ClusterBombPiece(mis, tar, misg, misv) | |
16 | while mis.Parent == Workspace and tar:IsDescendantOf(Workspace) do | |
17 | wait() | |
18 | misg.cframe = CFrame.new(tar.Position, mis.Position) | |
19 | misv.velocity = mis.CFrame.lookVector * -250 | |
20 | end | |
21 | end | |
22 | ||
23 | function freeze(tar,ice) | |
24 | for i = 1,50 do | |
25 | wait() | |
26 | tar.Parent.Humanoid.Health = tar.Parent.Humanoid.Health - 1 | |
27 | end | |
28 | tar.Parent.Torso.Anchored = false | |
29 | ice:remove() | |
30 | end | |
31 | ||
32 | ||
33 | function ghost(tar) | |
34 | for i = 1,100 do | |
35 | tar.Transparency = tar.Transparency + .01 | |
36 | wait() | |
37 | end | |
38 | end | |
39 | ||
40 | function move(hold, tar) | |
41 | while tar:findFirstChild("BodyPosition") ~= nil do | |
42 | wait() | |
43 | hold.position = p.Position + Vector3.new(0,-6,0) | |
44 | end | |
45 | end | |
46 | ||
47 | function burning(burn, tar) | |
48 | for i = 1,100 do | |
49 | wait() | |
50 | burn.Transparency = burn.Transparency - .01 | |
51 | end | |
52 | local ex = Instance.new("Explosion") | |
53 | ex.Parent = Workspace | |
54 | ex.Position = burn.Position | |
55 | ex.BlastPressure = 0 | |
56 | ex.BlastRadius = 4 | |
57 | tar:BreakJoints() | |
58 | wait(3) | |
59 | burn:remove() | |
60 | end | |
61 | ||
62 | function shield(burn, tar) | |
63 | for i = 1,100 do | |
64 | wait() | |
65 | burn.Transparency = burn.Transparency - .01 | |
66 | end | |
67 | local ff = Instance.new("ForceField") | |
68 | ff.Parent = tar | |
69 | end | |
70 | ||
71 | tool.Selected:connect(function(mouse) | |
72 | if plyr.Character:findFirstChild("Model") == nil then | |
73 | m = Instance.new("Model") | |
74 | m.Parent = plyr.Character | |
75 | p1 = Instance.new("Part") | |
76 | p1.Parent = m | |
77 | p1.CanCollide = false | |
78 | p1.Size = Vector3.new(4,1,6) | |
79 | p1.Position = admin.Character.Torso.Position + Vector3.new(0, 5, 0) | |
80 | p1.formFactor = "Symmetric" | |
81 | p1.BrickColor = BrickColor.new("Really black") | |
82 | p1.TopSurface = 0 | |
83 | p1.BottomSurface = 0 | |
84 | p = Instance.new("Seat") | |
85 | p.Parent = m | |
86 | p.Name = "Seat" | |
87 | p.formFactor = "Plate" | |
88 | p.Transparency = 1 | |
89 | p.CanCollide = true | |
90 | p.size = Vector3.new(2,.4,2) | |
91 | p.Position = p1.Position | |
92 | p.BrickColor = BrickColor.new("Really black") | |
93 | p.TopSurface = "Weld" | |
94 | p.BottomSurface = "Weld" | |
95 | ||
96 | v = Instance.new("BodyVelocity") | |
97 | v.Parent = p | |
98 | v.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
99 | v.velocity = Vector3.new(0, 0, 0) | |
100 | ||
101 | g = Instance.new("BodyGyro") | |
102 | g.Parent = p | |
103 | g.maxTorque = Vector3.new(math.huge,math.huge,math.huge) | |
104 | end | |
105 | ||
106 | m1 = Instance.new("SpecialMesh") | |
107 | m1.Parent = p1 | |
108 | m1.MeshType = "FileMesh" | |
109 | m1.TextureId = "http://www.roblox.com/asset/?id=9419827" | |
110 | m1.MeshId = "http://www.roblox.com/asset/?id=9419831" | |
111 | m1.Scale = Vector3.new(6, 6, 6) | |
112 | ||
113 | ----welds---- | |
114 | p1w = Instance.new("Weld") | |
115 | p1w.Parent = p1 | |
116 | p1w.Part0 = p1w.Parent | |
117 | p1w.Part1 = p | |
118 | p1w.C1 = CFrame.new(0,0,0) | |
119 | ||
120 | mouse.Button1Down:connect(function() | |
121 | click = true | |
122 | while click == true do | |
123 | g.cframe = CFrame.new(p.Position, mouse.Hit.p) | |
124 | v.velocity = p.CFrame.lookVector*speed | |
125 | wait() | |
126 | end | |
127 | end) | |
128 | mouse.Button1Up:connect(function() | |
129 | click = false | |
130 | v.velocity = Vector3.new(0, .2, 0) | |
131 | end) | |
132 | ||
133 | end) |