SHOW:
|
|
- or go back to the newest paste.
1 | ||
2 | --Converted with ttyyuu12345's model to script plugin v4 | |
3 | function sandbox(var,func) | |
4 | local env = getfenv(func) | |
5 | local newenv = setmetatable({},{ | |
6 | __index = function(self,k) | |
7 | if k=="script" then | |
8 | return var | |
9 | else | |
10 | return env[k] | |
11 | end | |
12 | end, | |
13 | }) | |
14 | setfenv(func,newenv) | |
15 | return func | |
16 | end | |
17 | cors = {} | |
18 | mas = Instance.new("Model",game:GetService("Lighting")) | |
19 | - | Model0 = Instance.new("Model") |
19 | + | Tool0 = Instance.new("Tool") |
20 | Part1 = Instance.new("Part") | |
21 | SpecialMesh2 = Instance.new("SpecialMesh") | |
22 | - | Sound3 = Instance.new("Sound") |
22 | + | Weld3 = Instance.new("Weld") |
23 | - | Sound4 = Instance.new("Sound") |
23 | + | FileMesh4 = Instance.new("FileMesh") |
24 | - | Sound5 = Instance.new("Sound") |
24 | + | Part5 = Instance.new("Part") |
25 | - | Sound6 = Instance.new("Sound") |
25 | + | CylinderMesh6 = Instance.new("CylinderMesh") |
26 | - | Sound7 = Instance.new("Sound") |
26 | + | Sparkles7 = Instance.new("Sparkles") |
27 | - | Sound8 = Instance.new("Sound") |
27 | + | Script8 = Instance.new("Script") |
28 | - | Sound9 = Instance.new("Sound") |
28 | + | LocalScript9 = Instance.new("LocalScript") |
29 | Sound10 = Instance.new("Sound") | |
30 | Sound11 = Instance.new("Sound") | |
31 | Sound12 = Instance.new("Sound") | |
32 | Sound13 = Instance.new("Sound") | |
33 | - | Sound14 = Instance.new("Sound") |
33 | + | Tool0.Name = "Transform" |
34 | - | Sound15 = Instance.new("Sound") |
34 | + | Tool0.Parent = mas |
35 | - | Sound16 = Instance.new("Sound") |
35 | + | Tool0.Grip = CFrame.new(0, -1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 1) |
36 | - | Sound17 = Instance.new("Sound") |
36 | + | Tool0.GripPos = Vector3.new(0, -1, 0) |
37 | - | Sound18 = Instance.new("Sound") |
37 | + | Part1.Name = "Handle" |
38 | - | Sound19 = Instance.new("Sound") |
38 | + | Part1.Parent = Tool0 |
39 | - | Sound20 = Instance.new("Sound") |
39 | + | Part1.CFrame = CFrame.new(54.4738998, 20.5815716, -190.818512, 0.425732434, -0.304461449, 0.85208869, -0.894521832, 0.00025343895, 0.447023988, -0.136317521, -0.952524543, -0.272239566) |
40 | - | Sound21 = Instance.new("Sound") |
40 | + | Part1.Orientation = Vector3.new(-26.5499992, 107.720001, -89.9799957) |
41 | - | Sound22 = Instance.new("Sound") |
41 | + | Part1.Position = Vector3.new(54.4738998, 20.5815716, -190.818512) |
42 | - | Sound23 = Instance.new("Sound") |
42 | + | Part1.Rotation = Vector3.new(-121.339996, 58.4399986, 35.5699997) |
43 | - | Sound24 = Instance.new("Sound") |
43 | + | Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667) |
44 | - | Sound25 = Instance.new("Sound") |
44 | + | Part1.Velocity = Vector3.new(-0.00231262995, 0.000539943576, 0.00323048281) |
45 | - | Sound26 = Instance.new("Sound") |
45 | + | Part1.Size = Vector3.new(1.20000005, 1.19999981, 0.200000003) |
46 | - | Sound27 = Instance.new("Sound") |
46 | + | Part1.BrickColor = BrickColor.new("Really black") |
47 | - | Sound28 = Instance.new("Sound") |
47 | + | Part1.RotVelocity = Vector3.new(-0.00738683902, 0.00308656483, 0.0161675327) |
48 | - | Sound29 = Instance.new("Sound") |
48 | + | |
49 | - | Sound30 = Instance.new("Sound") |
49 | + | Part1.brickColor = BrickColor.new("Really black") |
50 | - | Sound31 = Instance.new("Sound") |
50 | + | |
51 | - | Sound32 = Instance.new("Sound") |
51 | + | SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=31656135" |
52 | - | Sound33 = Instance.new("Sound") |
52 | + | SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=40492854" |
53 | - | Sound34 = Instance.new("Sound") |
53 | + | SpecialMesh2.MeshType = Enum.MeshType.FileMesh |
54 | - | Sound35 = Instance.new("Sound") |
54 | + | Weld3.Parent = Part1 |
55 | - | Sound36 = Instance.new("Sound") |
55 | + | Weld3.C0 = CFrame.new(-1, 13.4000006, -20.8999996, 0, 1, 0, 0, 0, 1, 1, 0, 0) |
56 | - | Sound37 = Instance.new("Sound") |
56 | + | Weld3.C1 = CFrame.new(-0.999980152, 12.7000027, -20.9000034, 8.41682777e-08, 0.999999821, -1.11205736e-07, -5.96046448e-08, -1.11220288e-07, 0.999999881, 0.999999821, 7.67468009e-08, -8.94069672e-08) |
57 | - | Sound38 = Instance.new("Sound") |
57 | + | Weld3.Part0 = Part1 |
58 | - | Sound39 = Instance.new("Sound") |
58 | + | Weld3.Part1 = Part5 |
59 | - | Sound40 = Instance.new("Sound") |
59 | + | Weld3.part1 = Part5 |
60 | - | Sound41 = Instance.new("Sound") |
60 | + | FileMesh4.Name = "Made By chris7766" |
61 | - | Sound42 = Instance.new("Sound") |
61 | + | FileMesh4.Parent = Tool0 |
62 | - | Sound43 = Instance.new("Sound") |
62 | + | Part5.Name = "Gun" |
63 | - | Sound44 = Instance.new("Sound") |
63 | + | Part5.Parent = Tool0 |
64 | - | Sound45 = Instance.new("Sound") |
64 | + | Part5.CFrame = CFrame.new(54.2607689, 20.5817642, -191.485275, 0.425732434, -0.304461539, 0.852088571, -0.894521594, 0.000253511738, 0.447023839, -0.136317417, -0.952524424, -0.272239417) |
65 | - | Sound46 = Instance.new("Sound") |
65 | + | Part5.Orientation = Vector3.new(-26.5499992, 107.720001, -89.9799957) |
66 | - | Sound47 = Instance.new("Sound") |
66 | + | Part5.Position = Vector3.new(54.2607689, 20.5817642, -191.485275) |
67 | - | Sound48 = Instance.new("Sound") |
67 | + | Part5.Rotation = Vector3.new(-121.339996, 58.4399986, 35.5699997) |
68 | - | Sound49 = Instance.new("Sound") |
68 | + | Part5.Color = Color3.new(0.0509804, 0.411765, 0.67451) |
69 | - | Sound50 = Instance.new("Sound") |
69 | + | Part5.Transparency = 1 |
70 | - | Sound51 = Instance.new("Sound") |
70 | + | Part5.Velocity = Vector3.new(-0.00437375251, -0.00783113111, 0.00388690224) |
71 | - | Sound52 = Instance.new("Sound") |
71 | + | Part5.Size = Vector3.new(0.800000012, 0.200000003, 1) |
72 | - | Sound53 = Instance.new("Sound") |
72 | + | Part5.BrickColor = BrickColor.new("Bright blue") |
73 | - | Sound54 = Instance.new("Sound") |
73 | + | Part5.RotVelocity = Vector3.new(-0.00738683902, 0.00308656483, 0.0161675327) |
74 | - | Sound55 = Instance.new("Sound") |
74 | + | Part5.TopSurface = Enum.SurfaceType.Smooth |
75 | - | Sound56 = Instance.new("Sound") |
75 | + | Part5.brickColor = BrickColor.new("Bright blue") |
76 | - | Sound57 = Instance.new("Sound") |
76 | + | CylinderMesh6.Parent = Part5 |
77 | - | Sound58 = Instance.new("Sound") |
77 | + | Sparkles7.Parent = Part5 |
78 | - | Sound59 = Instance.new("Sound") |
78 | + | Sparkles7.Color = Color3.new(0, 0, 0.8) |
79 | - | Sound60 = Instance.new("Sound") |
79 | + | Sparkles7.SparkleColor = Color3.new(0, 0, 0.8) |
80 | - | Sound61 = Instance.new("Sound") |
80 | + | Script8.Name = "InstaWeld" |
81 | - | Sound62 = Instance.new("Sound") |
81 | + | Script8.Parent = Tool0 |
82 | - | Sound63 = Instance.new("Sound") |
82 | + | table.insert(cors,sandbox(Script8,function() |
83 | - | Sound64 = Instance.new("Sound") |
83 | + | local prev |
84 | - | Sound65 = Instance.new("Sound") |
84 | + | local parts = script.Parent:GetChildren() |
85 | - | Sound66 = Instance.new("Sound") |
85 | + | |
86 | - | Sound67 = Instance.new("Sound") |
86 | + | for i = 1,#parts do |
87 | - | Sound68 = Instance.new("Sound") |
87 | + | if (parts[i].className == "Part") or (parts[i].className == "WedgePart") then |
88 | - | Sound69 = Instance.new("Sound") |
88 | + | if (prev ~= nil)then |
89 | - | Sound70 = Instance.new("Sound") |
89 | + | local weld = Instance.new("Weld") |
90 | - | Sound71 = Instance.new("Sound") |
90 | + | weld.Part0 = prev |
91 | - | Sound72 = Instance.new("Sound") |
91 | + | weld.Part1 = parts[i] |
92 | - | Sound73 = Instance.new("Sound") |
92 | + | weld.C0 = prev.CFrame:inverse() |
93 | - | Sound74 = Instance.new("Sound") |
93 | + | weld.C1 = parts[i].CFrame:inverse() |
94 | - | Sound75 = Instance.new("Sound") |
94 | + | weld.Parent = prev |
95 | - | Sound76 = Instance.new("Sound") |
95 | + | end |
96 | - | Sound77 = Instance.new("Sound") |
96 | + | prev = parts[i] |
97 | - | Sound78 = Instance.new("Sound") |
97 | + | end |
98 | - | Sound79 = Instance.new("Sound") |
98 | + | |
99 | - | Sound80 = Instance.new("Sound") |
99 | + | |
100 | - | Sound81 = Instance.new("Sound") |
100 | + | |
101 | - | Sound82 = Instance.new("Sound") |
101 | + | |
102 | - | Sound83 = Instance.new("Sound") |
102 | + | LocalScript9.Name = "LocalSpyWatchScript" |
103 | - | Sound84 = Instance.new("Sound") |
103 | + | LocalScript9.Parent = Tool0 |
104 | - | Sound85 = Instance.new("Sound") |
104 | + | table.insert(cors,sandbox(LocalScript9,function() |
105 | - | Sound86 = Instance.new("Sound") |
105 | + | Tool = script.Parent |
106 | - | Sound87 = Instance.new("Sound") |
106 | + | player = nil |
107 | - | Sound88 = Instance.new("Sound") |
107 | + | echo = true |
108 | - | Sound89 = Instance.new("Sound") |
108 | + | mousedown = false |
109 | - | Sound90 = Instance.new("Sound") |
109 | + | CTOL = 1 |
110 | - | Sound91 = Instance.new("Sound") |
110 | + | antinoob = "Made By Bob444732" |
111 | - | Sound92 = Instance.new("Sound") |
111 | + | |
112 | - | Sound93 = Instance.new("Sound") |
112 | + | function Echo(msg) |
113 | - | Sound94 = Instance.new("Sound") |
113 | + | if echo == true then |
114 | - | Sound95 = Instance.new("Sound") |
114 | + | game:GetService("Chat"):Chat(Tool.Parent.Head,msg,Enum.ChatColor.Green) |
115 | - | Sound96 = Instance.new("Sound") |
115 | + | |
116 | - | Sound97 = Instance.new("Sound") |
116 | + | |
117 | - | Sound98 = Instance.new("Sound") |
117 | + | |
118 | - | Sound99 = Instance.new("Sound") |
118 | + | function CCR(tehmice) |
119 | - | Sound100 = Instance.new("Sound") |
119 | + | if tehmice.Target and tehmice.Target.Parent and tehmice.Target.Parent:FindFirstChild("Torso") ~= nil and tehmice.Target.Parent:FindFirstChild("Humanoid") then --Check If you clicked a player |
120 | - | Sound101 = Instance.new("Sound") |
120 | + | print'Removing stuff' |
121 | - | Sound102 = Instance.new("Sound") |
121 | + | Beepz() |
122 | - | Sound103 = Instance.new("Sound") |
122 | + | Laserat(tehmice.Hit.p) |
123 | - | Sound104 = Instance.new("Sound") |
123 | + | Echo("Transformation Tech On") |
124 | - | Sound105 = Instance.new("Sound") |
124 | + | b = Instance.new'Part' |
125 | - | Sound106 = Instance.new("Sound") |
125 | + | b.formFactor = [[Custom]] |
126 | - | Sound107 = Instance.new("Sound") |
126 | + | b.BrickColor = BrickColor.Blue() |
127 | - | Sound108 = Instance.new("Sound") |
127 | + | b.Size = Vector3.new(7,0.2,7) |
128 | - | Sound109 = Instance.new("Sound") |
128 | + | b.CanCollide = false |
129 | - | Sound110 = Instance.new("Sound") |
129 | + | b.Transparency = 0.5 |
130 | - | Sound111 = Instance.new("Sound") |
130 | + | b.TopSurface = [[Smooth]] |
131 | - | Sound112 = Instance.new("Sound") |
131 | + | b.BottomSurface = [[Smooth]] |
132 | - | Sound113 = Instance.new("Sound") |
132 | + | b.CFrame = tehmice.Target.Parent.Head.CFrame + Vector3.new(0,2,0) |
133 | - | Sound114 = Instance.new("Sound") |
133 | + | v = Instance.new'BodyVelocity' |
134 | - | Sound115 = Instance.new("Sound") |
134 | + | v.velocity = Vector3.new(0,-20,0) |
135 | - | Sound116 = Instance.new("Sound") |
135 | + | v.Parent = b |
136 | - | Sound117 = Instance.new("Sound") |
136 | + | b.Parent = Workspace |
137 | - | Sound118 = Instance.new("Sound") |
137 | + | game:service'Debris':AddItem(b,4) |
138 | - | Sound119 = Instance.new("Sound") |
138 | + | player.Character.Humanoid.MaxHealth = math.huge |
139 | - | Sound120 = Instance.new("Sound") |
139 | + | player.Character.Humanoid.Health = math.huge |
140 | - | Sound121 = Instance.new("Sound") |
140 | + | ps = player.Character:GetChildren()--No character check because the tool is already equipped |
141 | - | Sound122 = Instance.new("Sound") |
141 | + | for i = 1,#ps do--psi = pressure |
142 | - | Sound123 = Instance.new("Sound") |
142 | + | if ps[i]:IsA("BodyColors") then ps[i]:remove() end |
143 | - | Sound124 = Instance.new("Sound") |
143 | + | if ps[i]:IsA("Hat") then ps[i]:remove() end |
144 | - | Sound125 = Instance.new("Sound") |
144 | + | if ps[i]:IsA("ShirtGraphic") then ps[i]:remove() end |
145 | - | Sound126 = Instance.new("Sound") |
145 | + | if ps[i]:IsA("Pants") then ps[i]:remove() end |
146 | - | Sound127 = Instance.new("Sound") |
146 | + | if ps[i]:IsA("Shirt") then ps[i]:remove() end |
147 | - | Sound128 = Instance.new("Sound") |
147 | + | if ps[i]:IsA("CharacterMesh") then ps[i]:remove() end |
148 | - | Sound129 = Instance.new("Sound") |
148 | + | if ps[i]:IsA("Model") then ps[i]:remove() end |
149 | - | Sound130 = Instance.new("Sound") |
149 | + | |
150 | - | Sound131 = Instance.new("Sound") |
150 | + | if player.Character.Torso:FindFirstChild("roblox") ~= nil then player.Character.Torso:FindFirstChild("roblox"):remove() end |
151 | - | Sound132 = Instance.new("Sound") |
151 | + | player.Character.Head.Transparency = 1 |
152 | - | Sound133 = Instance.new("Sound") |
152 | + | if player.Character.Head:FindFirstChild("face") ~= nil then player.Character.Head.face:remove() end |
153 | - | Sound134 = Instance.new("Sound") |
153 | + | pls = tehmice.Target.Parent:GetChildren() |
154 | - | Sound135 = Instance.new("Sound") |
154 | + | Echo("Taking on "..tehmice.Target.Parent.Name.."'s Form...") |
155 | - | Sound136 = Instance.new("Sound") |
155 | + | for i = 1,#pls do |
156 | - | Sound137 = Instance.new("Sound") |
156 | + | if pls[i]:IsA("Shirt") then pls[i]:clone().Parent = player.Character end |
157 | - | Sound138 = Instance.new("Sound") |
157 | + | if pls[i]:IsA("Hat") then pls[i]:clone().Parent = player.Character end |
158 | - | Sound139 = Instance.new("Sound") |
158 | + | if pls[i]:IsA("ShirtGraphic") then pls[i]:clone().Parent = player.Character end |
159 | - | Sound140 = Instance.new("Sound") |
159 | + | if pls[i]:IsA("Pants") then pls[i]:clone().Parent = player.Character end |
160 | - | Sound141 = Instance.new("Sound") |
160 | + | if pls[i]:IsA("BodyColors") then pls[i]:clone().Parent = player.Character end |
161 | - | Sound142 = Instance.new("Sound") |
161 | + | if pls[i]:IsA("CharacterMesh") then pls[i]:clone().Parent = player.Character end |
162 | - | Sound143 = Instance.new("Sound") |
162 | + | |
163 | - | Sound144 = Instance.new("Sound") |
163 | + | mod = Instance.new'Model' --Make Fake Head |
164 | - | Sound145 = Instance.new("Sound") |
164 | + | mod.Name = tehmice.Target.Parent.Name |
165 | - | Sound146 = Instance.new("Sound") |
165 | + | mod.Parent = player.Character |
166 | - | Part147 = Instance.new("Part") |
166 | + | fh = tehmice.Target.Parent.Head:clone() |
167 | - | Motor148 = Instance.new("Motor") |
167 | + | fh.CFrame = player.Character.Head.CFrame |
168 | - | Snap149 = Instance.new("Snap") |
168 | + | fh.Parent = mod |
169 | - | Motor150 = Instance.new("Motor") |
169 | + | w = Instance.new'Weld' |
170 | - | Motor151 = Instance.new("Motor") |
170 | + | w.Part1 = player.Character.Head |
171 | - | Motor152 = Instance.new("Motor") |
171 | + | w.Part0 = fh |
172 | - | BlockMesh153 = Instance.new("BlockMesh") |
172 | + | w.Parent = fh |
173 | - | Decal154 = Instance.new("Decal") |
173 | + | mod:MakeJoints() |
174 | - | Decal155 = Instance.new("Decal") |
174 | + | hum = Instance.new'Humanoid' |
175 | - | Part156 = Instance.new("Part") |
175 | + | hum.MaxHealth = 0 |
176 | - | Part157 = Instance.new("Part") |
176 | + | hum.Parent = mod |
177 | - | Humanoid158 = Instance.new("Humanoid") |
177 | + | |
178 | - | BodyColors159 = Instance.new("BodyColors") |
178 | + | |
179 | - | IntValue160 = Instance.new("IntValue") |
179 | + | |
180 | - | Part161 = Instance.new("Part") |
180 | + | function Fire(mouse) |
181 | - | Part162 = Instance.new("Part") |
181 | + | script.Gun:Play() |
182 | - | Script163 = Instance.new("Script") |
182 | + | Laserat(mouse.Hit.p) |
183 | - | Script164 = Instance.new("Script") |
183 | + | if mouse.Target ~= nil then |
184 | - | Script165 = Instance.new("Script") |
184 | + | mouse.Target:BreakJoints() |
185 | - | Script166 = Instance.new("Script") |
185 | + | |
186 | - | Sound167 = Instance.new("Sound") |
186 | + | |
187 | - | Model0.Name = "sanic" |
187 | + | |
188 | - | Model0.Parent = mas |
188 | + | |
189 | - | Part1.Name = "Head" |
189 | + | function Beep() |
190 | - | Part1.Parent = Model0 |
190 | + | script.Beep:Play() |
191 | - | Part1.CFrame = CFrame.new(140, 6.00000906, -142.500015, 0, 0, -1, 0, 1, 0, 1, 0, 0) |
191 | + | |
192 | - | Part1.Orientation = Vector3.new(0, -90, 0) |
192 | + | |
193 | - | Part1.Position = Vector3.new(140, 6.00000906, -142.500015) |
193 | + | function Beepz() |
194 | - | Part1.Rotation = Vector3.new(0, -90, 0) |
194 | + | script.Beepz:Play() |
195 | - | Part1.Color = Color3.new(0.960784, 0.803922, 0.188235) |
195 | + | |
196 | - | Part1.Transparency = 0.98000001907349 |
196 | + | |
197 | - | Part1.Size = Vector3.new(2, 2, 1) |
197 | + | function Tick() |
198 | - | Part1.BrickColor = BrickColor.new("Bright yellow") |
198 | + | script.Tick:Play() |
199 | end | |
200 | - | Part1.brickColor = BrickColor.new("Bright yellow") |
200 | + | |
201 | - | Part1.FormFactor = Enum.FormFactor.Symmetric |
201 | + | function Laserat(tgt) |
202 | - | Part1.formFactor = Enum.FormFactor.Symmetric |
202 | + | p = Instance.new("Part") |
203 | p.formFactor = "Custom" | |
204 | - | SpecialMesh2.Scale = Vector3.new(1.25, 1.25, 1.25) |
204 | + | p.BrickColor = Tool.Gun.BrickColor |
205 | - | Sound3.Parent = Part1 |
205 | + | p.Size = Vector3.new(1,1,1) |
206 | - | Sound3.SoundId = "rbxasset://sounds/uuhhh.wav" |
206 | + | p.Transparency = 0.7 |
207 | - | Sound4.Parent = Part1 |
207 | + | p.Anchored = true |
208 | - | Sound4.SoundId = "rbxasset://sounds/splat.wav" |
208 | + | p.CanCollide = true |
209 | - | Sound5.Parent = Part1 |
209 | + | mag = (Tool.Gun.Position - tgt).magnitude |
210 | - | Sound5.SoundId = "rbxasset://sounds/swoosh.wav" |
210 | + | lv = mag / 2 |
211 | - | Sound6.Parent = Part1 |
211 | + | p.CFrame = CFrame.new(Tool.Gun.Position,tgt) |
212 | - | Sound6.SoundId = "rbxasset://sounds/hit.wav" |
212 | + | p.CFrame = p.CFrame + p.CFrame.lookVector *lv |
213 | - | Sound7.Parent = Part1 |
213 | + | p.Parent = Workspace |
214 | - | Sound7.SoundId = "rbxasset://sounds/button.wav" |
214 | + | m = Instance.new("BlockMesh") |
215 | - | Sound8.Parent = Part1 |
215 | + | m.Scale = Vector3.new(0.2,0.2,mag) |
216 | - | Sound8.Looped = true |
216 | + | m.Parent = p |
217 | - | Sound8.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
217 | + | game:GetService("Debris"):AddItem(p,0.1) |
218 | - | Sound9.Parent = Part1 |
218 | + | |
219 | - | Sound9.SoundId = "rbxasset://sounds/uuhhh.wav" |
219 | + | |
220 | - | Sound10.Parent = Part1 |
220 | + | |
221 | - | Sound10.SoundId = "rbxasset://sounds/splat.wav" |
221 | + | function STools(mice) |
222 | - | Sound11.Parent = Part1 |
222 | + | if CTOL == 4 then CTOL = 0 end |
223 | - | Sound11.SoundId = "rbxasset://sounds/swoosh.wav" |
223 | + | CTOL = CTOL + 1 |
224 | - | Sound12.Parent = Part1 |
224 | + | if CTOL == 1 then |
225 | - | Sound12.SoundId = "rbxasset://sounds/hit.wav" |
225 | + | Echo("Mode: Transformation") |
226 | - | Sound13.Parent = Part1 |
226 | + | Beepz() |
227 | - | Sound13.SoundId = "rbxasset://sounds/button.wav" |
227 | + | |
228 | - | Sound14.Parent = Part1 |
228 | + | if CTOL == 2 then |
229 | - | Sound14.Looped = true |
229 | + | Echo("Mode: Drag Ray") |
230 | - | Sound14.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
230 | + | Beepz() |
231 | - | Sound15.Parent = Part1 |
231 | + | |
232 | - | Sound15.SoundId = "rbxasset://sounds/uuhhh.wav" |
232 | + | if CTOL == 3 then |
233 | - | Sound16.Parent = Part1 |
233 | + | Echo("Mode: Gun") |
234 | - | Sound16.SoundId = "rbxasset://sounds/splat.wav" |
234 | + | Beepz() |
235 | - | Sound17.Parent = Part1 |
235 | + | |
236 | - | Sound17.SoundId = "rbxasset://sounds/swoosh.wav" |
236 | + | |
237 | - | Sound18.Parent = Part1 |
237 | + | |
238 | - | Sound18.SoundId = "rbxasset://sounds/hit.wav" |
238 | + | |
239 | - | Sound19.Parent = Part1 |
239 | + | function keys(key,mice) |
240 | - | Sound19.SoundId = "rbxasset://sounds/button.wav" |
240 | + | if key == "q" then STools(mice) end |
241 | - | Sound20.Parent = Part1 |
241 | + | |
242 | - | Sound20.Looped = true |
242 | + | |
243 | - | Sound20.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
243 | + | function DS() |
244 | - | Sound21.Parent = Part1 |
244 | + | if Tool.Parent == Workspace then |
245 | - | Sound21.SoundId = "rbxasset://sounds/uuhhh.wav" |
245 | + | Tool.Gun.BrickColor = BrickColor.Random() |
246 | - | Sound22.Parent = Part1 |
246 | + | |
247 | - | Sound22.SoundId = "rbxasset://sounds/splat.wav" |
247 | + | |
248 | - | Sound23.Parent = Part1 |
248 | + | |
249 | - | Sound23.SoundId = "rbxasset://sounds/swoosh.wav" |
249 | + | function Drag(mouse) |
250 | - | Sound24.Parent = Part1 |
250 | + | mousedown = true |
251 | - | Sound24.SoundId = "rbxasset://sounds/hit.wav" |
251 | + | tgt = mouse.Target |
252 | - | Sound25.Parent = Part1 |
252 | + | an = false |
253 | - | Sound25.SoundId = "rbxasset://sounds/button.wav" |
253 | + | if tgt.Name ~= "Torso" then tgt:BreakJoints() end |
254 | - | Sound26.Parent = Part1 |
254 | + | if tgt.Name == "Base" then return end |
255 | - | Sound26.Looped = true |
255 | + | if tgt ~= nil then |
256 | - | Sound26.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
256 | + | if tgt.Anchored == false then an = false end |
257 | - | Sound27.Parent = Part1 |
257 | + | if tgt.Anchored == true then an = true end |
258 | - | Sound27.SoundId = "rbxasset://sounds/uuhhh.wav" |
258 | + | while mousedown do |
259 | - | Sound28.Parent = Part1 |
259 | + | tgt.CFrame = mouse.Hit |
260 | - | Sound28.SoundId = "rbxasset://sounds/splat.wav" |
260 | + | tgt.Anchored = true |
261 | - | Sound29.Parent = Part1 |
261 | + | Laserat(mouse.Hit.p) |
262 | - | Sound29.SoundId = "rbxasset://sounds/swoosh.wav" |
262 | + | Tick() |
263 | - | Sound30.Parent = Part1 |
263 | + | |
264 | - | Sound30.SoundId = "rbxasset://sounds/hit.wav" |
264 | + | |
265 | - | Sound31.Parent = Part1 |
265 | + | if an == false then tgt.Anchored = false end |
266 | - | Sound31.SoundId = "rbxasset://sounds/button.wav" |
266 | + | |
267 | - | Sound32.Parent = Part1 |
267 | + | |
268 | - | Sound32.Looped = true |
268 | + | |
269 | - | Sound32.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
269 | + | function ChTools(mice) |
270 | - | Sound33.Parent = Part1 |
270 | + | if CTOL == 1 then CCR(mice) end |
271 | - | Sound33.SoundId = "rbxasset://sounds/uuhhh.wav" |
271 | + | if CTOL == 2 then Drag(mice) end |
272 | - | Sound34.Parent = Part1 |
272 | + | if CTOL == 3 then Fire(mice) end |
273 | - | Sound34.SoundId = "rbxasset://sounds/splat.wav" |
273 | + | |
274 | - | Sound35.Parent = Part1 |
274 | + | |
275 | - | Sound35.SoundId = "rbxasset://sounds/swoosh.wav" |
275 | + | function EQ(mice) |
276 | - | Sound36.Parent = Part1 |
276 | + | player = game.Players.LocalPlayer |
277 | - | Sound36.SoundId = "rbxasset://sounds/hit.wav" |
277 | + | mouse = mice |
278 | - | Sound37.Parent = Part1 |
278 | + | mouse.Icon = "http://www.roblox.com/asset/?id=59983185" |
279 | - | Sound37.SoundId = "rbxasset://sounds/button.wav" |
279 | + | mouse.Button1Down:connect(function() ChTools(mice) end) |
280 | - | Sound38.Parent = Part1 |
280 | + | mouse.Button1Up:connect(function() mousedown = false end) |
281 | - | Sound38.Looped = true |
281 | + | mouse.KeyDown:connect(function(key) keys(key,mice) end) |
282 | - | Sound38.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
282 | + | |
283 | - | Sound39.Parent = Part1 |
283 | + | |
284 | - | Sound39.SoundId = "rbxasset://sounds/uuhhh.wav" |
284 | + | script.Parent.Equipped:connect(EQ) |
285 | - | Sound40.Parent = Part1 |
285 | + | script.Parent.Unequipped:connect(DS) |
286 | - | Sound40.SoundId = "rbxasset://sounds/splat.wav" |
286 | + | |
287 | - | Sound41.Parent = Part1 |
287 | + | |
288 | - | Sound41.SoundId = "rbxasset://sounds/swoosh.wav" |
288 | + | |
289 | - | Sound42.Parent = Part1 |
289 | + | Sound10.Name = "Beep" |
290 | - | Sound42.SoundId = "rbxasset://sounds/hit.wav" |
290 | + | Sound10.Parent = LocalScript9 |
291 | - | Sound43.Parent = Part1 |
291 | + | Sound10.SoundId = "http://www.roblox.com/asset/?id=2101144" |
292 | - | Sound43.SoundId = "rbxasset://sounds/button.wav" |
292 | + | Sound11.Name = "Beepz" |
293 | - | Sound44.Parent = Part1 |
293 | + | Sound11.Parent = LocalScript9 |
294 | - | Sound44.Looped = true |
294 | + | Sound11.SoundId = "http://www.roblox.com/asset/?id=18472672" |
295 | - | Sound44.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
295 | + | Sound12.Name = "Tick" |
296 | - | Sound45.Parent = Part1 |
296 | + | Sound12.Parent = LocalScript9 |
297 | - | Sound45.SoundId = "rbxasset://sounds/uuhhh.wav" |
297 | + | Sound12.SoundId = "http://www.roblox.com/asset/?id=18472672" |
298 | - | Sound46.Parent = Part1 |
298 | + | Sound13.Name = "Gun" |
299 | - | Sound46.SoundId = "rbxasset://sounds/splat.wav" |
299 | + | Sound13.Parent = LocalScript9 |
300 | - | Sound47.Parent = Part1 |
300 | + | Sound13.SoundId = "http://www.roblox.com/asset/?id=18472672" |
301 | - | Sound47.SoundId = "rbxasset://sounds/swoosh.wav" |
301 | + | |
302 | - | Sound48.Parent = Part1 |
302 | + | |
303 | - | Sound48.SoundId = "rbxasset://sounds/hit.wav" |
303 | + | |
304 | - | Sound49.Parent = Part1 |
304 | + | |
305 | - | Sound49.SoundId = "rbxasset://sounds/button.wav" |
305 | + | |
306 | - | Sound50.Parent = Part1 |
306 | + | |
307 | - | Sound50.Looped = true |
307 | + | |
308 | - | Sound50.SoundId = "rbxasset://sounds/bfsl-minifigfoots1.mp3" |
308 | + | |
309 | - | Sound51.Parent = Part1 |
309 | + | |
310 | - | Sound51.SoundId = "rbxasset://sounds/uuhhh.wav" |
310 | + |