SHOW:
|
|
- or go back to the newest paste.
1 | --void Script bbuilder fe script converter V2 | |
2 | ||
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,Mouse,mouse,UserInputService,ContextActionService = owner | |
5 | local RealPlayer = Player | |
6 | do print("FE Compatibility code by Mokiros")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end | |
7 | ||
8 | --[[ * Leonardo Da Vinci * ]]----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | |
9 | ||
10 | -- mediafire | |
11 | script.Parent = nil | |
12 | script:ClearAllChildren() | |
13 | ||
14 | if script.Parent ~= nil then | |
15 | print("NOT NIL, TAKE COVER") | |
16 | script:Remove() | |
17 | end | |
18 | ||
19 | Player = game.Players.LocalPlayer | |
20 | Character = Player.Character | |
21 | ||
22 | coroutine.resume(coroutine.create(function() | |
23 | Character.Humanoid.MaxHealth = math.huge -- Better with this cause you cannot die c: easy scripting :D -- In a fight it's a bit.. Yeah xD | |
24 | wait() | |
25 | Character.Humanoid.Health = Character.Humanoid.MaxHealth | |
26 | end)) | |
27 | ||
28 | Character.Torso.CFrame = Character.Torso.CFrame + Vector3.new(0,10,0) | |
29 | ||
30 | Sit = Character.Humanoid.Sit | |
31 | ||
32 | ArmLength = 4 -- Looks best at 4 LOCKDOWN ON DIS | |
33 | ||
34 | --[[ * Parts and stuff * ]]-- | |
35 | ||
36 | pcall(function() Character["£HoverCraft"]:Remove() end) | |
37 | pcall(function() Player.Backpack.BNS:Remove() end) | |
38 | ||
39 | HoverCraft = Instance.new("Model") | |
40 | HoverCraft.Name = "£HoverCraft" | |
41 | HoverCraft.Parent = Character | |
42 | ||
43 | Credits = Instance.new("Hint") | |
44 | Credits.Text = "People working on spider: bob371 - Penjuin3" | |
45 | Credits.Parent = HoverCraft -- Danke xD | |
46 | ||
47 | Seat = Instance.new("VehicleSeat") | |
48 | Seat.Anchored = false | |
49 | Seat.CanCollide = true | |
50 | Seat.Locked = true | |
51 | Seat.HeadsUpDisplay = false | |
52 | Seat.Size = Vector3.new(4,1,4) | |
53 | Seat.TopSurface = 0 | |
54 | Seat.BottomSurface = 0 | |
55 | Seat.BrickColor = BrickColor.Black() | |
56 | Seat.Parent = HoverCraft | |
57 | Seat.CFrame = Character.Torso.CFrame - Vector3.new(0,3,0) | |
58 | ||
59 | PartA = Instance.new("Part") | |
60 | PartA.Anchored = false | |
61 | PartA.CanCollide = true | |
62 | PartA.Locked = true | |
63 | PartA.formFactor = "Custom" | |
64 | PartA.Size = Vector3.new(6,0.5,12) | |
65 | PartA.TopSurface = 0 | |
66 | PartA.BottomSurface = 0 | |
67 | PartA.Parent = HoverCraft | |
68 | WeldA = Instance.new("Weld") | |
69 | WeldA.Part0 = PartA | |
70 | WeldA.Part1 = Seat | |
71 | WeldA.Parent = Seat | |
72 | WeldA.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
73 | ||
74 | PartB = Instance.new("Part") | |
75 | PartB.Anchored = false | |
76 | PartB.CanCollide = true | |
77 | PartB.Locked = true | |
78 | PartB.formFactor = "Custom" | |
79 | PartB.Size = Vector3.new(12,0.5,6) | |
80 | PartB.TopSurface = 0 | |
81 | PartB.BottomSurface = 0 | |
82 | PartB.Parent = HoverCraft | |
83 | PartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
84 | WeldB = Instance.new("Weld") | |
85 | WeldB.Part0 = PartA | |
86 | WeldB.Part1 = PartB | |
87 | WeldB.Parent = PartB | |
88 | WeldB.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
89 | ||
90 | PartB = Instance.new("Part") | |
91 | PartB.Anchored = false | |
92 | PartB.CanCollide = true | |
93 | PartB.Locked = true | |
94 | PartB.formFactor = "Custom" | |
95 | PartB.Size = Vector3.new(12,0.5,6) | |
96 | PartB.TopSurface = 0 | |
97 | PartB.BottomSurface = 0 | |
98 | PartB.Parent = HoverCraft | |
99 | PartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
100 | WeldB = Instance.new("Weld") | |
101 | WeldB.Part0 = PartA | |
102 | WeldB.Part1 = PartB | |
103 | WeldB.Parent = PartB | |
104 | WeldB.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
105 | ||
106 | PartC = Instance.new("Part") | |
107 | PartC.Anchored = false | |
108 | PartC.CanCollide = true | |
109 | PartC.Locked = true | |
110 | PartC.formFactor = "Custom" | |
111 | PartC.Size = Vector3.new(12,0.5,4) | |
112 | PartC.TopSurface = 0 | |
113 | PartC.BottomSurface = 0 | |
114 | PartC.Parent = HoverCraft | |
115 | PartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
116 | WeldC = Instance.new("Weld") | |
117 | WeldC.Part0 = PartA | |
118 | WeldC.Part1 = PartC | |
119 | WeldC.Parent = PartC | |
120 | WeldC.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,math.pi/2/2,0) | |
121 | ||
122 | PartD = Instance.new("Part") | |
123 | PartD.Anchored = false | |
124 | PartD.CanCollide = true | |
125 | PartD.Locked = true | |
126 | PartD.formFactor = "Custom" | |
127 | PartD.Size = Vector3.new(12,0.5,4) | |
128 | PartD.TopSurface = 0 | |
129 | PartD.BottomSurface = 0 | |
130 | PartD.Parent = HoverCraft | |
131 | PartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
132 | WeldD = Instance.new("Weld") | |
133 | WeldD.Part0 = PartA | |
134 | WeldD.Part1 = PartD | |
135 | WeldD.Parent = PartD | |
136 | WeldD.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,-math.pi/2/2,0) | |
137 | ||
138 | PartE = Instance.new("Part") | |
139 | PartE.Anchored = false | |
140 | PartE.CanCollide = true | |
141 | PartE.Locked = true | |
142 | PartE.formFactor = "Custom" | |
143 | PartE.Size = Vector3.new(1,1,4) | |
144 | PartE.TopSurface = 0 | |
145 | PartE.BottomSurface = 0 | |
146 | PartE.BrickColor = BrickColor.Black() | |
147 | PartE.Parent = HoverCraft | |
148 | PartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
149 | WeldE = Instance.new("Weld") | |
150 | WeldE.Part0 = PartA | |
151 | WeldE.Part1 = PartE | |
152 | WeldE.Parent = PartE | |
153 | WeldE.C0 = CFrame.new(4,0,4) * CFrame.Angles(0,-math.pi/2/2,0) | |
154 | ||
155 | PartF = Instance.new("Part") | |
156 | PartF.Anchored = false | |
157 | PartF.CanCollide = true | |
158 | PartF.Locked = true | |
159 | PartF.formFactor = "Custom" | |
160 | PartF.Size = Vector3.new(1,1,4) | |
161 | PartF.TopSurface = 0 | |
162 | PartF.BottomSurface = 0 | |
163 | PartF.BrickColor = BrickColor.Black() | |
164 | PartF.Parent = HoverCraft | |
165 | PartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
166 | WeldF = Instance.new("Weld") | |
167 | WeldF.Part0 = PartA | |
168 | WeldF.Part1 = PartF | |
169 | WeldF.Parent = PartF | |
170 | WeldF.C0 = CFrame.new(-4,0,-4) * CFrame.Angles(0,-math.pi/2/2,0) | |
171 | ||
172 | PartG = Instance.new("Part") | |
173 | PartG.Anchored = false | |
174 | PartG.CanCollide = true | |
175 | PartG.Locked = true | |
176 | PartG.formFactor = "Custom" | |
177 | PartG.Size = Vector3.new(1,1,4) | |
178 | PartG.TopSurface = 0 | |
179 | PartG.BottomSurface = 0 | |
180 | PartG.BrickColor = BrickColor.Black() | |
181 | PartG.Parent = HoverCraft | |
182 | PartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
183 | WeldG = Instance.new("Weld") | |
184 | WeldG.Part0 = PartA | |
185 | WeldG.Part1 = PartG | |
186 | WeldG.Parent = PartG | |
187 | WeldG.C0 = CFrame.new(4,0,-4) * CFrame.Angles(0,math.pi/2/2,0) | |
188 | ||
189 | PartH = Instance.new("Part") | |
190 | PartH.Anchored = false | |
191 | PartH.CanCollide = true | |
192 | PartH.Locked = true | |
193 | PartH.formFactor = "Custom" | |
194 | PartH.Size = Vector3.new(1,1,4) | |
195 | PartH.TopSurface = 0 | |
196 | PartH.BottomSurface = 0 | |
197 | PartH.BrickColor = BrickColor.Black() | |
198 | PartH.Parent = HoverCraft | |
199 | PartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
200 | WeldH = Instance.new("Weld") | |
201 | WeldH.Part0 = PartA | |
202 | WeldH.Part1 = PartH | |
203 | WeldH.Parent = PartH | |
204 | WeldH.C0 = CFrame.new(-4,0,4) * CFrame.Angles(0,math.pi/2/2,0) | |
205 | ||
206 | PartI = Instance.new("Part") | |
207 | PartI.Anchored = false | |
208 | PartI.CanCollide = true | |
209 | PartI.Locked = true | |
210 | PartI.formFactor = "Custom" | |
211 | PartI.Size = Vector3.new(4,0.5,3.5) | |
212 | PartI.TopSurface = 0 | |
213 | PartI.BottomSurface = 0 | |
214 | PartI.Parent = HoverCraft | |
215 | PartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
216 | WeldI = Instance.new("Weld") | |
217 | WeldI.Part0 = PartA | |
218 | WeldI.Part1 = PartI | |
219 | WeldI.Parent = PartI | |
220 | WeldI.C0 = CFrame.new(-3.25,1.5,3.25) * CFrame.Angles(0,math.pi/2/2,math.pi/2/2) | |
221 | ||
222 | PartJ = Instance.new("Part") | |
223 | PartJ.Anchored = false | |
224 | PartJ.CanCollide = true | |
225 | PartJ.Locked = true | |
226 | PartJ.formFactor = "Custom" | |
227 | PartJ.Size = Vector3.new(4,0.5,3.5) | |
228 | PartJ.TopSurface = 0 | |
229 | PartJ.BottomSurface = 0 | |
230 | PartJ.Parent = HoverCraft | |
231 | PartJ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
232 | WeldJ = Instance.new("Weld") | |
233 | WeldJ.Part0 = PartA | |
234 | WeldJ.Part1 = PartJ | |
235 | WeldJ.Parent = PartJ | |
236 | WeldJ.C0 = CFrame.new(3.25,1.5,-3.25) * CFrame.Angles(0,math.pi/2/2,-math.pi/2/2) | |
237 | ||
238 | PartK = Instance.new("Part") | |
239 | PartK.Anchored = false | |
240 | PartK.CanCollide = true | |
241 | PartK.Locked = true | |
242 | PartK.formFactor = "Custom" | |
243 | PartK.Size = Vector3.new(4,0.5,3.5) | |
244 | PartK.TopSurface = 0 | |
245 | PartK.BottomSurface = 0 | |
246 | PartK.Parent = HoverCraft | |
247 | PartK.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
248 | WeldK = Instance.new("Weld") | |
249 | WeldK.Part0 = PartA | |
250 | WeldK.Part1 = PartK | |
251 | WeldK.Parent = PartK | |
252 | WeldK.C0 = CFrame.new(3.25,1.5,3.25) * CFrame.Angles(0,-math.pi/2/2,-math.pi/2/2) | |
253 | ||
254 | PartL = Instance.new("Part") | |
255 | PartL.Anchored = false | |
256 | PartL.CanCollide = true | |
257 | PartL.Locked = true | |
258 | PartL.formFactor = "Custom" | |
259 | PartL.Size = Vector3.new(4,0.5,3.5) | |
260 | PartL.TopSurface = 0 | |
261 | PartL.BottomSurface = 0 | |
262 | PartL.Parent = HoverCraft | |
263 | PartL.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
264 | WeldL = Instance.new("Weld") | |
265 | WeldL.Part0 = PartA | |
266 | WeldL.Part1 = PartL | |
267 | WeldL.Parent = PartL | |
268 | WeldL.C0 = CFrame.new(-3.25,1.5,-3.25) * CFrame.Angles(0,-math.pi/2/2,math.pi/2/2) | |
269 | ||
270 | PartM = Instance.new("Part") | |
271 | PartM.Anchored = false | |
272 | PartM.CanCollide = true | |
273 | PartM.Locked = true | |
274 | PartM.formFactor = "Custom" | |
275 | PartM.Size = Vector3.new(1,1,4) | |
276 | PartM.TopSurface = 0 | |
277 | PartM.BottomSurface = 0 | |
278 | PartM.BrickColor = BrickColor.Black() | |
279 | PartM.Parent = HoverCraft | |
280 | PartM.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
281 | WeldM = Instance.new("Weld") | |
282 | WeldM.Part0 = PartA | |
283 | WeldM.Part1 = PartM | |
284 | WeldM.Parent = PartM | |
285 | WeldM.C0 = CFrame.new(-2.25,2.75,-2.25) * CFrame.Angles(0,-math.pi/2/2,0) | |
286 | ||
287 | PartN = Instance.new("Part") | |
288 | PartN.Anchored = false | |
289 | PartN.CanCollide = true | |
290 | PartN.Locked = true | |
291 | PartN.formFactor = "Custom" | |
292 | PartN.Size = Vector3.new(1,1,4) | |
293 | PartN.TopSurface = 0 | |
294 | PartN.BottomSurface = 0 | |
295 | PartN.BrickColor = BrickColor.Black() | |
296 | PartN.Parent = HoverCraft | |
297 | PartN.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
298 | WeldN = Instance.new("Weld") | |
299 | WeldN.Part0 = PartA | |
300 | WeldN.Part1 = PartN | |
301 | WeldN.Parent = PartN | |
302 | WeldN.C0 = CFrame.new(2.25,2.75,2.25) * CFrame.Angles(0,-math.pi/2/2,0) | |
303 | ||
304 | PartO = Instance.new("Part") | |
305 | PartO.Anchored = false | |
306 | PartO.CanCollide = true | |
307 | PartO.Locked = true | |
308 | PartO.formFactor = "Custom" | |
309 | PartO.Size = Vector3.new(1,1,4) | |
310 | PartO.TopSurface = 0 | |
311 | PartO.BottomSurface = 0 | |
312 | PartO.BrickColor = BrickColor.Black() | |
313 | PartO.Parent = HoverCraft | |
314 | PartO.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
315 | WeldO = Instance.new("Weld") | |
316 | WeldO.Part0 = PartA | |
317 | WeldO.Part1 = PartO | |
318 | WeldO.Parent = PartO | |
319 | WeldO.C0 = CFrame.new(-2.25,2.75,2.25) * CFrame.Angles(0,math.pi/2/2,0) | |
320 | ||
321 | PartP = Instance.new("Part") | |
322 | PartP.Anchored = false | |
323 | PartP.CanCollide = true | |
324 | PartP.Locked = true | |
325 | PartP.formFactor = "Custom" | |
326 | PartP.Size = Vector3.new(1,1,4) | |
327 | PartP.TopSurface = 0 | |
328 | PartP.BottomSurface = 0 | |
329 | PartP.BrickColor = BrickColor.Black() | |
330 | PartP.Parent = HoverCraft | |
331 | PartP.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
332 | WeldP = Instance.new("Weld") | |
333 | WeldP.Part0 = PartA | |
334 | WeldP.Part1 = PartP | |
335 | WeldP.Parent = PartP | |
336 | WeldP.C0 = CFrame.new(2.25,2.75,-2.25) * CFrame.Angles(0,math.pi/2/2,0) | |
337 | ||
338 | PartQ = Instance.new("Part") | |
339 | PartQ.Anchored = false | |
340 | PartQ.CanCollide = true | |
341 | PartQ.Locked = true | |
342 | PartQ.formFactor = "Custom" | |
343 | PartQ.Size = Vector3.new(1,1,2.5) | |
344 | PartQ.TopSurface = 0 | |
345 | PartQ.BottomSurface = 0 | |
346 | PartQ.BrickColor = BrickColor.Black() | |
347 | PartQ.Parent = HoverCraft | |
348 | PartQ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
349 | WeldQ = Instance.new("Weld") | |
350 | WeldQ.Part0 = PartA | |
351 | WeldQ.Part1 = PartQ | |
352 | WeldQ.Parent = PartQ | |
353 | WeldQ.C0 = CFrame.new(0,2.75,3.5) * CFrame.Angles(0,math.pi/2,0) | |
354 | ||
355 | PartR = Instance.new("Part") | |
356 | PartR.Anchored = false | |
357 | PartR.CanCollide = true | |
358 | PartR.Locked = true | |
359 | PartR.formFactor = "Custom" | |
360 | PartR.Size = Vector3.new(1,1,2.5) | |
361 | PartR.TopSurface = 0 | |
362 | PartR.BottomSurface = 0 | |
363 | PartR.BrickColor = BrickColor.Black() | |
364 | PartR.Parent = HoverCraft | |
365 | PartR.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
366 | WeldR = Instance.new("Weld") | |
367 | WeldR.Part0 = PartA | |
368 | WeldR.Part1 = PartR | |
369 | WeldR.Parent = PartR | |
370 | WeldR.C0 = CFrame.new(0,2.75,-3.5) * CFrame.Angles(0,math.pi/2,0) | |
371 | ||
372 | PartS = Instance.new("Part") | |
373 | PartS.Anchored = false | |
374 | PartS.CanCollide = true | |
375 | PartS.Locked = true | |
376 | PartS.formFactor = "Custom" | |
377 | PartS.Size = Vector3.new(1,1,2.5) | |
378 | PartS.TopSurface = 0 | |
379 | PartS.BottomSurface = 0 | |
380 | PartS.BrickColor = BrickColor.Black() | |
381 | PartS.Parent = HoverCraft | |
382 | PartS.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
383 | WeldS = Instance.new("Weld") | |
384 | WeldS.Part0 = PartA | |
385 | WeldS.Part1 = PartS | |
386 | WeldS.Parent = PartS | |
387 | WeldS.C0 = CFrame.new(3.5,2.75,0) * CFrame.Angles(0,math.pi,0) | |
388 | ||
389 | PartT = Instance.new("Part") | |
390 | PartT.Anchored = false | |
391 | PartT.CanCollide = true | |
392 | PartT.Locked = true | |
393 | PartT.formFactor = "Custom" | |
394 | PartT.Size = Vector3.new(1,1,2.5) | |
395 | PartT.TopSurface = 0 | |
396 | PartT.BottomSurface = 0 | |
397 | PartT.BrickColor = BrickColor.Black() | |
398 | PartT.Parent = HoverCraft | |
399 | PartT.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
400 | WeldT = Instance.new("Weld") | |
401 | WeldT.Part0 = PartA | |
402 | WeldT.Part1 = PartT | |
403 | WeldT.Parent = PartT | |
404 | WeldT.C0 = CFrame.new(-3.5,2.75,0) * CFrame.Angles(0,math.pi,0) | |
405 | ||
406 | PartU = Instance.new("Part") | |
407 | PartU.Anchored = false | |
408 | PartU.CanCollide = true | |
409 | PartU.Locked = true | |
410 | PartU.formFactor = "Custom" | |
411 | PartU.Size = Vector3.new(4,1,4) | |
412 | PartU.TopSurface = 0 | |
413 | PartU.BottomSurface = 0 | |
414 | PartU.BrickColor = BrickColor.Black() | |
415 | PartU.Parent = HoverCraft | |
416 | PartU.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
417 | WeldU = Instance.new("Weld") | |
418 | WeldU.Part0 = Seat | |
419 | WeldU.Part1 = PartU | |
420 | WeldU.Parent = PartU | |
421 | WeldU.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,math.pi/2/2,0) | |
422 | ||
423 | PartV = Instance.new("Part") | |
424 | PartV.Anchored = false | |
425 | PartV.CanCollide = false | |
426 | PartV.Locked = true | |
427 | PartV.formFactor = "Custom" | |
428 | PartV.Size = Vector3.new(3,4,1) | |
429 | PartV.TopSurface = 0 | |
430 | PartV.BottomSurface = 0 | |
431 | PartV.BrickColor = BrickColor.Black() | |
432 | PartV.Parent = HoverCraft | |
433 | PartV.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
434 | WeldV = Instance.new("Weld") | |
435 | WeldV.Part0 = Seat | |
436 | WeldV.Part1 = PartV | |
437 | WeldV.Parent = PartV | |
438 | WeldV.C0 = CFrame.new(0,2,1) | |
439 | ||
440 | PartW = Instance.new("Part") | |
441 | PartW.Anchored = false | |
442 | PartW.CanCollide = false | |
443 | PartW.Locked = true | |
444 | PartW.formFactor = "Custom" | |
445 | PartW.Size = Vector3.new(2.7,3.7,0.5) | |
446 | PartW.TopSurface = 0 | |
447 | PartW.BottomSurface = 0 | |
448 | PartW.Parent = HoverCraft | |
449 | PartW.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
450 | WeldW = Instance.new("Weld") | |
451 | WeldW.Part0 = Seat | |
452 | WeldW.Part1 = PartW | |
453 | WeldW.Parent = PartW | |
454 | WeldW.C0 = CFrame.new(0,2,0.7) | |
455 | ||
456 | PartX = Instance.new("Part") | |
457 | PartX.Anchored = false | |
458 | PartX.CanCollide = false | |
459 | PartX.Locked = true | |
460 | PartX.formFactor = "Custom" | |
461 | PartX.Size = Vector3.new(1.2,1,3) | |
462 | PartX.TopSurface = 0 | |
463 | PartX.BottomSurface = 0 | |
464 | PartX.BrickColor = BrickColor.Black() | |
465 | PartX.Parent = HoverCraft | |
466 | PartX.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
467 | WeldX = Instance.new("Weld") | |
468 | WeldX.Part0 = Seat | |
469 | WeldX.Part1 = PartX | |
470 | WeldX.Parent = PartX | |
471 | WeldX.C0 = CFrame.new(1.5,1.8,-0.2) | |
472 | ||
473 | PartY = Instance.new("Part") | |
474 | PartY.Anchored = false | |
475 | PartY.CanCollide = false | |
476 | PartY.Locked = true | |
477 | PartY.formFactor = "Custom" | |
478 | PartY.Size = Vector3.new(1.2,1,3) | |
479 | PartY.TopSurface = 0 | |
480 | PartY.BottomSurface = 0 | |
481 | PartY.BrickColor = BrickColor.Black() | |
482 | PartY.Parent = HoverCraft | |
483 | PartY.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
484 | WeldY = Instance.new("Weld") | |
485 | WeldY.Part0 = Seat | |
486 | WeldY.Part1 = PartY | |
487 | WeldY.Parent = PartY | |
488 | WeldY.C0 = CFrame.new(-1.5,1.8,-0.2) | |
489 | ||
490 | PartZ = Instance.new("Part") | |
491 | PartZ.Anchored = false | |
492 | PartZ.CanCollide = true | |
493 | PartZ.Locked = true | |
494 | PartZ.formFactor = "Custom" | |
495 | PartZ.Size = Vector3.new(2.7,0.5,2.8) | |
496 | PartZ.TopSurface = 0 | |
497 | PartZ.BottomSurface = 0 | |
498 | PartZ.Parent = HoverCraft | |
499 | PartZ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
500 | WeldZ = Instance.new("Weld") | |
501 | WeldZ.Part0 = Seat | |
502 | WeldZ.Part1 = PartZ | |
503 | WeldZ.Parent = PartZ | |
504 | WeldZ.C0 = CFrame.new(0,0.3,0) | |
505 | ||
506 | WindowWshr = true | |
507 | ||
508 | WPartB = Instance.new("Part") | |
509 | WPartB.Anchored = false | |
510 | WPartB.CanCollide = WindowWshr | |
511 | WPartB.Locked = true | |
512 | WPartB.formFactor = "Custom" | |
513 | WPartB.Size = Vector3.new(0.5,3,3) | |
514 | WPartB.TopSurface = 0 | |
515 | WPartB.BottomSurface = 0 | |
516 | WPartB.BrickColor = BrickColor.Blue() | |
517 | WPartB.Transparency = 0.75 | |
518 | WPartB.Reflectance = 0.1 | |
519 | WPartB.Parent = HoverCraft | |
520 | WPartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
521 | WWeldB = Instance.new("Weld") | |
522 | WWeldB.Part0 = PartA | |
523 | WWeldB.Part1 = WPartB | |
524 | WWeldB.Parent = WPartB | |
525 | WWeldB.C0 = CFrame.new(2,4,2) * CFrame.Angles(0,-math.pi/2/2,math.pi/10) | |
526 | ||
527 | WPartC = Instance.new("Part") | |
528 | WPartC.Anchored = false | |
529 | WPartC.CanCollide = WindowWshr | |
530 | WPartC.Locked = true | |
531 | WPartC.formFactor = "Custom" | |
532 | WPartC.Size = Vector3.new(0.5,3,3) | |
533 | WPartC.TopSurface = 0 | |
534 | WPartC.BottomSurface = 0 | |
535 | WPartC.BrickColor = BrickColor.Blue() | |
536 | WPartC.Transparency = 0.75 | |
537 | WPartC.Reflectance = 0.1 | |
538 | WPartC.Parent = HoverCraft | |
539 | WPartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
540 | WWeldC = Instance.new("Weld") | |
541 | WWeldC.Part0 = PartA | |
542 | WWeldC.Part1 = WPartC | |
543 | WWeldC.Parent = WPartC | |
544 | WWeldC.C0 = CFrame.new(2,4,-2) * CFrame.Angles(0,math.pi/2/2,math.pi/10) | |
545 | ||
546 | WPartD = Instance.new("Part") | |
547 | WPartD.Anchored = false | |
548 | WPartD.CanCollide = WindowWshr | |
549 | WPartD.Locked = true | |
550 | WPartD.formFactor = "Custom" | |
551 | WPartD.Size = Vector3.new(0.5,3,3) | |
552 | WPartD.TopSurface = 0 | |
553 | WPartD.BottomSurface = 0 | |
554 | WPartD.BrickColor = BrickColor.Blue() | |
555 | WPartD.Transparency = 0.75 | |
556 | WPartD.Reflectance = 0.1 | |
557 | WPartD.Parent = HoverCraft | |
558 | WPartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
559 | WWeldD = Instance.new("Weld") | |
560 | WWeldD.Part0 = PartA | |
561 | WWeldD.Part1 = WPartD | |
562 | WWeldD.Parent = WPartD | |
563 | WWeldD.C0 = CFrame.new(-2,4,-2) * CFrame.Angles(0,-math.pi/2/2,-math.pi/10) | |
564 | ||
565 | WPartE = Instance.new("Part") | |
566 | WPartE.Anchored = false | |
567 | WPartE.CanCollide = WindowWshr | |
568 | WPartE.Locked = true | |
569 | WPartE.formFactor = "Custom" | |
570 | WPartE.Size = Vector3.new(0.5,3,3) | |
571 | WPartE.TopSurface = 0 | |
572 | WPartE.BottomSurface = 0 | |
573 | WPartE.BrickColor = BrickColor.Blue() | |
574 | WPartE.Transparency = 0.75 | |
575 | WPartE.Reflectance = 0.1 | |
576 | WPartE.Parent = HoverCraft | |
577 | WPartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
578 | WWeldE = Instance.new("Weld") | |
579 | WWeldE.Part0 = PartA | |
580 | WWeldE.Part1 = WPartE | |
581 | WWeldE.Parent = WPartE | |
582 | WWeldE.C0 = CFrame.new(-2,4,2) * CFrame.Angles(0,math.pi/2/2,-math.pi/10) | |
583 | ||
584 | WPartF = Instance.new("Part") | |
585 | WPartF.Anchored = false | |
586 | WPartF.CanCollide = WindowWshr | |
587 | WPartF.Locked = true | |
588 | WPartF.formFactor = "Custom" | |
589 | WPartF.Size = Vector3.new(0.5,3,1.8) | |
590 | WPartF.TopSurface = 0 | |
591 | WPartF.BottomSurface = 0 | |
592 | WPartF.BrickColor = BrickColor.Blue() | |
593 | WPartF.Transparency = 0.75 | |
594 | WPartF.Reflectance = 0.1 | |
595 | WPartF.Parent = HoverCraft | |
596 | WPartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
597 | WWeldF = Instance.new("Weld") | |
598 | WWeldF.Part0 = PartA | |
599 | WWeldF.Part1 = WPartF | |
600 | WWeldF.Parent = WPartF | |
601 | WWeldF.C0 = CFrame.new(3.075,4,0) * CFrame.Angles(0,0,math.pi/10) | |
602 | ||
603 | WPartG = Instance.new("Part") | |
604 | WPartG.Anchored = false | |
605 | WPartG.CanCollide = WindowWshr | |
606 | WPartG.Locked = true | |
607 | WPartG.formFactor = "Custom" | |
608 | WPartG.Size = Vector3.new(0.5,3,1.8) | |
609 | WPartG.TopSurface = 0 | |
610 | WPartG.BottomSurface = 0 | |
611 | WPartG.BrickColor = BrickColor.Blue() | |
612 | WPartG.Transparency = 0.75 | |
613 | WPartG.Reflectance = 0.1 | |
614 | WPartG.Parent = HoverCraft | |
615 | WPartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
616 | WWeldG = Instance.new("Weld") | |
617 | WWeldG.Part0 = PartA | |
618 | WWeldG.Part1 = WPartG | |
619 | WWeldG.Parent = WPartG | |
620 | WWeldG.C0 = CFrame.new(-3.075,4,0) * CFrame.Angles(0,0,-math.pi/10) | |
621 | ||
622 | WPartH = Instance.new("Part") | |
623 | WPartH.Anchored = false | |
624 | WPartH.CanCollide = WindowWshr | |
625 | WPartH.Locked = true | |
626 | WPartH.formFactor = "Custom" | |
627 | WPartH.Size = Vector3.new(0.5,3,1.8) | |
628 | WPartH.TopSurface = 0 | |
629 | WPartH.BottomSurface = 0 | |
630 | WPartH.BrickColor = BrickColor.Blue() | |
631 | WPartH.Transparency = 0.75 | |
632 | WPartH.Reflectance = 0.1 | |
633 | WPartH.Parent = HoverCraft | |
634 | WPartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
635 | WWeldH = Instance.new("Weld") | |
636 | WWeldH.Part0 = PartA | |
637 | WWeldH.Part1 = WPartH | |
638 | WWeldH.Parent = WPartH | |
639 | WWeldH.C0 = CFrame.new(0,4,3.075) * CFrame.Angles(0,math.pi/2,-math.pi/10) | |
640 | ||
641 | WPartI = Instance.new("Part") | |
642 | WPartI.Anchored = false | |
643 | WPartI.CanCollide = WindowWshr | |
644 | WPartI.Locked = true | |
645 | WPartI.formFactor = "Custom" | |
646 | WPartI.Size = Vector3.new(0.5,3,1.8) | |
647 | WPartI.TopSurface = 0 | |
648 | WPartI.BottomSurface = 0 | |
649 | WPartI.BrickColor = BrickColor.Blue() | |
650 | WPartI.Transparency = 0.75 | |
651 | WPartI.Reflectance = 0.1 | |
652 | WPartI.Parent = HoverCraft | |
653 | WPartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
654 | WWeldI = Instance.new("Weld") | |
655 | WWeldI.Part0 = PartA | |
656 | WWeldI.Part1 = WPartI | |
657 | WWeldI.Parent = WPartI | |
658 | WWeldI.C0 = CFrame.new(0,4,-3.075) * CFrame.Angles(0,math.pi/2,math.pi/10) | |
659 | ||
660 | WPartJ = Instance.new("Part") | |
661 | WPartJ.Anchored = false | |
662 | WPartJ.CanCollide = WindowWshr | |
663 | WPartJ.Locked = true | |
664 | WPartJ.formFactor = "Custom" | |
665 | WPartJ.Size = Vector3.new(0.55,3.2,0.55) | |
666 | WPartJ.TopSurface = 0 | |
667 | WPartJ.BottomSurface = 0 | |
668 | WPartJ.BrickColor = BrickColor.Black() | |
669 | WPartJ.Parent = HoverCraft | |
670 | WPartJ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
671 | WWeldJ = Instance.new("Weld") | |
672 | WWeldJ.Part0 = PartA | |
673 | WWeldJ.Part1 = WPartJ | |
674 | WWeldJ.Parent = WPartJ | |
675 | WWeldJ.C0 = CFrame.new(1,4,-3.075) * CFrame.Angles(0,math.pi/2/2,math.pi/10) | |
676 | ||
677 | WPartK = Instance.new("Part") | |
678 | WPartK.Anchored = false | |
679 | WPartK.CanCollide = WindowWshr | |
680 | WPartK.Locked = true | |
681 | WPartK.formFactor = "Custom" | |
682 | WPartK.Size = Vector3.new(0.55,3.2,0.55) | |
683 | WPartK.TopSurface = 0 | |
684 | WPartK.BottomSurface = 0 | |
685 | WPartK.BrickColor = BrickColor.Black() | |
686 | WPartK.Parent = HoverCraft | |
687 | WPartK.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
688 | WWeldK = Instance.new("Weld") | |
689 | WWeldK.Part0 = PartA | |
690 | WWeldK.Part1 = WPartK | |
691 | WWeldK.Parent = WPartK | |
692 | WWeldK.C0 = CFrame.new(1,4,-3.075) * CFrame.Angles(0,math.pi/2,math.pi/10) | |
693 | ||
694 | WPartL = Instance.new("Part") | |
695 | WPartL.Anchored = false | |
696 | WPartL.CanCollide = WindowWshr | |
697 | WPartL.Locked = true | |
698 | WPartL.formFactor = "Custom" | |
699 | WPartL.Size = Vector3.new(0.55,3.2,0.55) | |
700 | WPartL.TopSurface = 0 | |
701 | WPartL.BottomSurface = 0 | |
702 | WPartL.BrickColor = BrickColor.Black() | |
703 | WPartL.Parent = HoverCraft | |
704 | WPartL.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
705 | WWeldL = Instance.new("Weld") | |
706 | WWeldL.Part0 = PartA | |
707 | WWeldL.Part1 = WPartL | |
708 | WWeldL.Parent = WPartL | |
709 | WWeldL.C0 = CFrame.new(-1,4,-3.075) * CFrame.Angles(0,math.pi/2,math.pi/10) | |
710 | ||
711 | WPartM = Instance.new("Part") | |
712 | WPartM.Anchored = false | |
713 | WPartM.CanCollide = WindowWshr | |
714 | WPartM.Locked = true | |
715 | WPartM.formFactor = "Custom" | |
716 | WPartM.Size = Vector3.new(0.55,3.2,0.55) | |
717 | WPartM.TopSurface = 0 | |
718 | WPartM.BottomSurface = 0 | |
719 | WPartM.BrickColor = BrickColor.Black() | |
720 | WPartM.Parent = HoverCraft | |
721 | WPartM.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
722 | WWeldM = Instance.new("Weld") | |
723 | WWeldM.Part0 = PartA | |
724 | WWeldM.Part1 = WPartM | |
725 | WWeldM.Parent = WPartM | |
726 | WWeldM.C0 = CFrame.new(-1,4,-3.075) * CFrame.Angles(0,-math.pi/2/2,-math.pi/10) | |
727 | ||
728 | WPartN = Instance.new("Part") | |
729 | WPartN.Anchored = false | |
730 | WPartN.CanCollide = WindowWshr | |
731 | WPartN.Locked = true | |
732 | WPartN.formFactor = "Custom" | |
733 | WPartN.Size = Vector3.new(0.55,3.2,0.55) | |
734 | WPartN.TopSurface = 0 | |
735 | WPartN.BottomSurface = 0 | |
736 | WPartN.BrickColor = BrickColor.Black() | |
737 | WPartN.Parent = HoverCraft | |
738 | WPartN.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
739 | WWeldN = Instance.new("Weld") | |
740 | WWeldN.Part0 = PartA | |
741 | WWeldN.Part1 = WPartN | |
742 | WWeldN.Parent = WPartN | |
743 | WWeldN.C0 = CFrame.new(-3.075,4,-1) * CFrame.Angles(0,-math.pi/2/2,-math.pi/10) | |
744 | ||
745 | WPartO = Instance.new("Part") | |
746 | WPartO.Anchored = false | |
747 | WPartO.CanCollide = WindowWshr | |
748 | WPartO.Locked = true | |
749 | WPartO.formFactor = "Custom" | |
750 | WPartO.Size = Vector3.new(0.55,3.2,0.55) | |
751 | WPartO.TopSurface = 0 | |
752 | WPartO.BottomSurface = 0 | |
753 | WPartO.BrickColor = BrickColor.Black() | |
754 | WPartO.Parent = HoverCraft | |
755 | WPartO.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
756 | WWeldO = Instance.new("Weld") | |
757 | WWeldO.Part0 = PartA | |
758 | WWeldO.Part1 = WPartO | |
759 | WWeldO.Parent = WPartO | |
760 | WWeldO.C0 = CFrame.new(-3.075,4,-1) * CFrame.Angles(0,-math.pi,math.pi/10) | |
761 | ||
762 | WPartP = Instance.new("Part") | |
763 | WPartP.Anchored = false | |
764 | WPartP.CanCollide = WindowWshr | |
765 | WPartP.Locked = true | |
766 | WPartP.formFactor = "Custom" | |
767 | WPartP.Size = Vector3.new(0.55,3.2,0.55) | |
768 | WPartP.TopSurface = 0 | |
769 | WPartP.BottomSurface = 0 | |
770 | WPartP.BrickColor = BrickColor.Black() | |
771 | WPartP.Parent = HoverCraft | |
772 | WPartP.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
773 | WWeldP = Instance.new("Weld") | |
774 | WWeldP.Part0 = PartA | |
775 | WWeldP.Part1 = WPartP | |
776 | WWeldP.Parent = WPartP | |
777 | WWeldP.C0 = CFrame.new(-3.075,4,1) * CFrame.Angles(0,-math.pi,math.pi/10) | |
778 | ||
779 | WPartQ = Instance.new("Part") | |
780 | WPartQ.Anchored = false | |
781 | WPartQ.CanCollide = WindowWshr | |
782 | WPartQ.Locked = true | |
783 | WPartQ.formFactor = "Custom" | |
784 | WPartQ.Size = Vector3.new(0.55,3.2,0.55) | |
785 | WPartQ.TopSurface = 0 | |
786 | WPartQ.BottomSurface = 0 | |
787 | WPartQ.BrickColor = BrickColor.Black() | |
788 | WPartQ.Parent = HoverCraft | |
789 | WPartQ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
790 | WWeldQ = Instance.new("Weld") | |
791 | WWeldQ.Part0 = PartA | |
792 | WWeldQ.Part1 = WPartQ | |
793 | WWeldQ.Parent = WPartQ | |
794 | WWeldQ.C0 = CFrame.new(-3.075,4,1) * CFrame.Angles(0,math.pi/2/2,-math.pi/10) | |
795 | ||
796 | WPartR = Instance.new("Part") | |
797 | WPartR.Anchored = false | |
798 | WPartR.CanCollide = WindowWshr | |
799 | WPartR.Locked = true | |
800 | WPartR.formFactor = "Custom" | |
801 | WPartR.Size = Vector3.new(0.55,3.2,0.55) | |
802 | WPartR.TopSurface = 0 | |
803 | WPartR.BottomSurface = 0 | |
804 | WPartR.BrickColor = BrickColor.Black() | |
805 | WPartR.Parent = HoverCraft | |
806 | WPartR.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
807 | WWeldR = Instance.new("Weld") | |
808 | WWeldR.Part0 = PartA | |
809 | WWeldR.Part1 = WPartR | |
810 | WWeldR.Parent = WPartR | |
811 | WWeldR.C0 = CFrame.new(-1,4,3.075) * CFrame.Angles(0,math.pi/2/2,-math.pi/10) | |
812 | ||
813 | WPartS = Instance.new("Part") | |
814 | WPartS.Anchored = false | |
815 | WPartS.CanCollide = WindowWshr | |
816 | WPartS.Locked = true | |
817 | WPartS.formFactor = "Custom" | |
818 | WPartS.Size = Vector3.new(0.55,3.2,0.55) | |
819 | WPartS.TopSurface = 0 | |
820 | WPartS.BottomSurface = 0 | |
821 | WPartS.BrickColor = BrickColor.Black() | |
822 | WPartS.Parent = HoverCraft | |
823 | WPartS.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
824 | WWeldS = Instance.new("Weld") | |
825 | WWeldS.Part0 = PartA | |
826 | WWeldS.Part1 = WPartS | |
827 | WWeldS.Parent = WPartS | |
828 | WWeldS.C0 = CFrame.new(-1,4,3.075) * CFrame.Angles(0,math.pi/2,-math.pi/10) | |
829 | ||
830 | WPartT = Instance.new("Part") | |
831 | WPartT.Anchored = false | |
832 | WPartT.CanCollide = WindowWshr | |
833 | WPartT.Locked = true | |
834 | WPartT.formFactor = "Custom" | |
835 | WPartT.Size = Vector3.new(0.55,3.2,0.55) | |
836 | WPartT.TopSurface = 0 | |
837 | WPartT.BottomSurface = 0 | |
838 | WPartT.BrickColor = BrickColor.Black() | |
839 | WPartT.Parent = HoverCraft | |
840 | WPartT.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
841 | WWeldT = Instance.new("Weld") | |
842 | WWeldT.Part0 = PartA | |
843 | WWeldT.Part1 = WPartT | |
844 | WWeldT.Parent = WPartT | |
845 | WWeldT.C0 = CFrame.new(1,4,3.075) * CFrame.Angles(0,-math.pi/2,math.pi/10) | |
846 | ||
847 | WPartU = Instance.new("Part") | |
848 | WPartU.Anchored = false | |
849 | WPartU.CanCollide = WindowWshr | |
850 | WPartU.Locked = true | |
851 | WPartU.formFactor = "Custom" | |
852 | WPartU.Size = Vector3.new(0.55,3.2,0.55) | |
853 | WPartU.TopSurface = 0 | |
854 | WPartU.BottomSurface = 0 | |
855 | WPartU.BrickColor = BrickColor.Black() | |
856 | WPartU.Parent = HoverCraft | |
857 | WPartU.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
858 | WWeldU = Instance.new("Weld") | |
859 | WWeldU.Part0 = PartA | |
860 | WWeldU.Part1 = WPartU | |
861 | WWeldU.Parent = WPartU | |
862 | WWeldU.C0 = CFrame.new(1,4,3.075) * CFrame.Angles(0,-math.pi/2/2,math.pi/10) | |
863 | ||
864 | WPartV = Instance.new("Part") | |
865 | WPartV.Anchored = false | |
866 | WPartV.CanCollide = WindowWshr | |
867 | WPartV.Locked = true | |
868 | WPartV.formFactor = "Custom" | |
869 | WPartV.Size = Vector3.new(0.55,3.2,0.55) | |
870 | WPartV.TopSurface = 0 | |
871 | WPartV.BottomSurface = 0 | |
872 | WPartV.BrickColor = BrickColor.Black() | |
873 | WPartV.Parent = HoverCraft | |
874 | WPartV.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
875 | WWeldV = Instance.new("Weld") | |
876 | WWeldV.Part0 = PartA | |
877 | WWeldV.Part1 = WPartV | |
878 | WWeldV.Parent = WPartV | |
879 | WWeldV.C0 = CFrame.new(3.075,4,1) * CFrame.Angles(0,-math.pi/2/2,math.pi/10) | |
880 | ||
881 | WPartW = Instance.new("Part") | |
882 | WPartW.Anchored = false | |
883 | WPartW.CanCollide = WindowWshr | |
884 | WPartW.Locked = true | |
885 | WPartW.formFactor = "Custom" | |
886 | WPartW.Size = Vector3.new(0.55,3.2,0.55) | |
887 | WPartW.TopSurface = 0 | |
888 | WPartW.BottomSurface = 0 | |
889 | WPartW.BrickColor = BrickColor.Black() | |
890 | WPartW.Parent = HoverCraft | |
891 | WPartW.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
892 | WWeldW = Instance.new("Weld") | |
893 | WWeldW.Part0 = PartA | |
894 | WWeldW.Part1 = WPartW | |
895 | WWeldW.Parent = WPartW | |
896 | WWeldW.C0 = CFrame.new(3.075,4,1) * CFrame.Angles(0,-math.pi,-math.pi/10) | |
897 | ||
898 | WPartX = Instance.new("Part") | |
899 | WPartX.Anchored = false | |
900 | WPartX.CanCollide = WindowWshr | |
901 | WPartX.Locked = true | |
902 | WPartX.formFactor = "Custom" | |
903 | WPartX.Size = Vector3.new(0.55,3.2,0.55) | |
904 | WPartX.TopSurface = 0 | |
905 | WPartX.BottomSurface = 0 | |
906 | WPartX.BrickColor = BrickColor.Black() | |
907 | WPartX.Parent = HoverCraft | |
908 | WPartX.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
909 | WWeldX = Instance.new("Weld") | |
910 | WWeldX.Part0 = PartA | |
911 | WWeldX.Part1 = WPartX | |
912 | WWeldX.Parent = WPartX | |
913 | WWeldX.C0 = CFrame.new(3.075,4,-1) * CFrame.Angles(0,-math.pi,-math.pi/10) | |
914 | ||
915 | WPartY = Instance.new("Part") | |
916 | WPartY.Anchored = false | |
917 | WPartY.CanCollide = WindowWshr | |
918 | WPartY.Locked = true | |
919 | WPartY.formFactor = "Custom" | |
920 | WPartY.Size = Vector3.new(0.55,3.2,0.55) | |
921 | WPartY.TopSurface = 0 | |
922 | WPartY.BottomSurface = 0 | |
923 | WPartY.BrickColor = BrickColor.Black() | |
924 | WPartY.Parent = HoverCraft | |
925 | WPartY.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
926 | WWeldY = Instance.new("Weld") | |
927 | WWeldY.Part0 = PartA | |
928 | WWeldY.Part1 = WPartY | |
929 | WWeldY.Parent = WPartY | |
930 | WWeldY.C0 = CFrame.new(3.075,4,-1) * CFrame.Angles(0,math.pi/2/2,math.pi/10) | |
931 | ||
932 | WHPartB = Instance.new("Part") | |
933 | WHPartB.Anchored = false | |
934 | WHPartB.CanCollide = WindowWshr | |
935 | WHPartB.Locked = true | |
936 | WHPartB.formFactor = "Custom" | |
937 | WHPartB.Size = Vector3.new(3,0.55,1.25) | |
938 | WHPartB.TopSurface = 0 | |
939 | WHPartB.BottomSurface = 0 | |
940 | WHPartB.BrickColor = BrickColor.Black() | |
941 | WHPartB.Parent = HoverCraft | |
942 | WHPartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
943 | WHWeldB = Instance.new("Weld") | |
944 | WHWeldB.Part0 = PartA | |
945 | WHWeldB.Part1 = WHPartB | |
946 | WHWeldB.Parent = WHPartB | |
947 | WHWeldB.C0 = CFrame.new(2.5,5.5,0) * CFrame.Angles(0,math.pi/2,0) | |
948 | ||
949 | WHPartC = Instance.new("Part") | |
950 | WHPartC.Anchored = false | |
951 | WHPartC.CanCollide = WindowWshr | |
952 | WHPartC.Locked = true | |
953 | WHPartC.formFactor = "Custom" | |
954 | WHPartC.Size = Vector3.new(3,0.55,1.25) | |
955 | WHPartC.TopSurface = 0 | |
956 | WHPartC.BottomSurface = 0 | |
957 | WHPartC.BrickColor = BrickColor.Black() | |
958 | WHPartC.Parent = HoverCraft | |
959 | WHPartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
960 | WHWeldC = Instance.new("Weld") | |
961 | WHWeldC.Part0 = PartA | |
962 | WHWeldC.Part1 = WHPartC | |
963 | WHWeldC.Parent = WHPartC | |
964 | WHWeldC.C0 = CFrame.new(-2.5,5.5,0) * CFrame.Angles(0,math.pi/2,0) | |
965 | ||
966 | WHPartD = Instance.new("Part") | |
967 | WHPartD.Anchored = false | |
968 | WHPartD.CanCollide = WindowWshr | |
969 | WHPartD.Locked = true | |
970 | WHPartD.formFactor = "Custom" | |
971 | WHPartD.Size = Vector3.new(3,0.55,1.25) | |
972 | WHPartD.TopSurface = 0 | |
973 | WHPartD.BottomSurface = 0 | |
974 | WHPartD.BrickColor = BrickColor.Black() | |
975 | WHPartD.Parent = HoverCraft | |
976 | WHPartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
977 | WHWeldD = Instance.new("Weld") | |
978 | WHWeldD.Part0 = PartA | |
979 | WHWeldD.Part1 = WHPartD | |
980 | WHWeldD.Parent = WHPartD | |
981 | WHWeldD.C0 = CFrame.new(0,5.5,-2.5) * CFrame.Angles(0,0,0) | |
982 | ||
983 | WHPartE = Instance.new("Part") | |
984 | WHPartE.Anchored = false | |
985 | WHPartE.CanCollide = WindowWshr | |
986 | WHPartE.Locked = true | |
987 | WHPartE.formFactor = "Custom" | |
988 | WHPartE.Size = Vector3.new(3,0.55,1.25) | |
989 | WHPartE.TopSurface = 0 | |
990 | WHPartE.BottomSurface = 0 | |
991 | WHPartE.BrickColor = BrickColor.Black() | |
992 | WHPartE.Parent = HoverCraft | |
993 | WHPartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
994 | WHWeldE = Instance.new("Weld") | |
995 | WHWeldE.Part0 = PartA | |
996 | WHWeldE.Part1 = WHPartE | |
997 | WHWeldE.Parent = WHPartE | |
998 | WHWeldE.C0 = CFrame.new(0,5.5,2.5) * CFrame.Angles(0,0,0) | |
999 | ||
1000 | WHPartF = Instance.new("Part") | |
1001 | WHPartF.Anchored = false | |
1002 | WHPartF.CanCollide = WindowWshr | |
1003 | WHPartF.Locked = true | |
1004 | WHPartF.formFactor = "Custom" | |
1005 | WHPartF.Size = Vector3.new(2.25,0.55,1.25) | |
1006 | WHPartF.TopSurface = 0 | |
1007 | WHPartF.BottomSurface = 0 | |
1008 | WHPartF.BrickColor = BrickColor.Black() | |
1009 | WHPartF.Parent = HoverCraft | |
1010 | WHPartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1011 | WHWeldF = Instance.new("Weld") | |
1012 | WHWeldF.Part0 = PartA | |
1013 | WHWeldF.Part1 = WHPartF | |
1014 | WHWeldF.Parent = WHPartF | |
1015 | WHWeldF.C0 = CFrame.new(1.8,5.5,1.8) * CFrame.Angles(0,math.pi/2/2,0) | |
1016 | ||
1017 | WHPartG = Instance.new("Part") | |
1018 | WHPartG.Anchored = false | |
1019 | WHPartG.CanCollide = WindowWshr | |
1020 | WHPartG.Locked = true | |
1021 | WHPartG.formFactor = "Custom" | |
1022 | WHPartG.Size = Vector3.new(2.25,0.55,1.25) | |
1023 | WHPartG.TopSurface = 0 | |
1024 | WHPartG.BottomSurface = 0 | |
1025 | WHPartG.BrickColor = BrickColor.Black() | |
1026 | WHPartG.Parent = HoverCraft | |
1027 | WHPartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1028 | WHWeldG = Instance.new("Weld") | |
1029 | WHWeldG.Part0 = PartA | |
1030 | WHWeldG.Part1 = WHPartG | |
1031 | WHWeldG.Parent = WHPartG | |
1032 | WHWeldG.C0 = CFrame.new(-1.8,5.5,-1.8) * CFrame.Angles(0,math.pi/2/2,0) | |
1033 | ||
1034 | WHPartH = Instance.new("Part") | |
1035 | WHPartH.Anchored = false | |
1036 | WHPartH.CanCollide = WindowWshr | |
1037 | WHPartH.Locked = true | |
1038 | WHPartH.formFactor = "Custom" | |
1039 | WHPartH.Size = Vector3.new(2.25,0.55,1.25) | |
1040 | WHPartH.TopSurface = 0 | |
1041 | WHPartH.BottomSurface = 0 | |
1042 | WHPartH.BrickColor = BrickColor.Black() | |
1043 | WHPartH.Parent = HoverCraft | |
1044 | WHPartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1045 | WHWeldH = Instance.new("Weld") | |
1046 | WHWeldH.Part0 = PartA | |
1047 | WHWeldH.Part1 = WHPartH | |
1048 | WHWeldH.Parent = WHPartH | |
1049 | WHWeldH.C0 = CFrame.new(-1.8,5.5,1.8) * CFrame.Angles(0,-math.pi/2/2,0) | |
1050 | ||
1051 | WHPartI = Instance.new("Part") | |
1052 | WHPartI.Anchored = false | |
1053 | WHPartI.CanCollide = WindowWshr | |
1054 | WHPartI.Locked = true | |
1055 | WHPartI.formFactor = "Custom" | |
1056 | WHPartI.Size = Vector3.new(2.25,0.55,1.25) | |
1057 | WHPartI.TopSurface = 0 | |
1058 | WHPartI.BottomSurface = 0 | |
1059 | WHPartI.BrickColor = BrickColor.Black() | |
1060 | WHPartI.Parent = HoverCraft | |
1061 | WHPartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1062 | WHWeldI = Instance.new("Weld") | |
1063 | WHWeldI.Part0 = PartA | |
1064 | WHWeldI.Part1 = WHPartI | |
1065 | WHWeldI.Parent = WHPartI | |
1066 | WHWeldI.C0 = CFrame.new(1.8,5.5,-1.8) * CFrame.Angles(0,-math.pi/2/2,0) | |
1067 | ||
1068 | HPartB = Instance.new("Part") | |
1069 | HPartB.Anchored = false | |
1070 | HPartB.CanCollide = WindowWshr | |
1071 | HPartB.Locked = true | |
1072 | HPartB.formFactor = "Custom" | |
1073 | HPartB.Size = Vector3.new(0.4,2,0.4) | |
1074 | HPartB.TopSurface = 0 | |
1075 | HPartB.BottomSurface = 0 | |
1076 | HPartB.Parent = HoverCraft | |
1077 | HPartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1078 | HWeldB = Instance.new("Weld") | |
1079 | HWeldB.Part0 = PartA | |
1080 | HWeldB.Part1 = HPartB | |
1081 | HWeldB.Parent = HPartB | |
1082 | HWeldB.C0 = CFrame.new(0,5.8,2.5) * CFrame.Angles(0,0,math.pi/2) | |
1083 | ||
1084 | HPartC = Instance.new("Part") | |
1085 | HPartC.Anchored = false | |
1086 | HPartC.CanCollide = WindowWshr | |
1087 | HPartC.Locked = true | |
1088 | HPartC.formFactor = "Custom" | |
1089 | HPartC.Size = Vector3.new(1.95,0.3,1.95) | |
1090 | HPartC.TopSurface = 0 | |
1091 | HPartC.BottomSurface = 0 | |
1092 | HPartC.Parent = HoverCraft | |
1093 | HPartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1094 | HWeldC = Instance.new("Weld") | |
1095 | HWeldC.Part0 = HPartB | |
1096 | HWeldC.Part1 = HPartC | |
1097 | HWeldC.Parent = HPartC | |
1098 | HWeldC.C0 = CFrame.new(0,0,-1) * CFrame.Angles(0,0,-math.pi/2) | |
1099 | ||
1100 | HPartD = Instance.new("Part") | |
1101 | HPartD.Anchored = false | |
1102 | HPartD.CanCollide = WindowWshr | |
1103 | HPartD.Locked = true | |
1104 | HPartD.formFactor = "Custom" | |
1105 | HPartD.Size = Vector3.new(1.95,0.3,1.95) | |
1106 | HPartD.TopSurface = 0 | |
1107 | HPartD.BottomSurface = 0 | |
1108 | HPartD.Parent = HoverCraft | |
1109 | HPartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1110 | HWeldD = Instance.new("Weld") | |
1111 | HWeldD.Part0 = HPartC | |
1112 | HWeldD.Part1 = HPartD | |
1113 | HWeldD.Parent = HPartD | |
1114 | HWeldD.C0 = CFrame.new(0,0,-3) * CFrame.Angles(0,0,0) | |
1115 | ||
1116 | HPartE = Instance.new("Part") | |
1117 | HPartE.Anchored = false | |
1118 | HPartE.CanCollide = WindowWshr | |
1119 | HPartE.Locked = true | |
1120 | HPartE.formFactor = "Custom" | |
1121 | HPartE.Size = Vector3.new(1.95,0.3,1.95) | |
1122 | HPartE.TopSurface = 0 | |
1123 | HPartE.BottomSurface = 0 | |
1124 | HPartE.Parent = HoverCraft | |
1125 | HPartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1126 | HWeldE = Instance.new("Weld") | |
1127 | HWeldE.Part0 = HPartC | |
1128 | HWeldE.Part1 = HPartE | |
1129 | HWeldE.Parent = HPartE | |
1130 | HWeldE.C0 = CFrame.new(1.5,0,-1.5) * CFrame.Angles(0,0,0) | |
1131 | ||
1132 | HPartF = Instance.new("Part") | |
1133 | HPartF.Anchored = false | |
1134 | HPartF.CanCollide = WindowWshr | |
1135 | HPartF.Locked = true | |
1136 | HPartF.formFactor = "Custom" | |
1137 | HPartF.Size = Vector3.new(1.95,0.3,1.95) | |
1138 | HPartF.TopSurface = 0 | |
1139 | HPartF.BottomSurface = 0 | |
1140 | HPartF.Parent = HoverCraft | |
1141 | HPartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1142 | HWeldF = Instance.new("Weld") | |
1143 | HWeldF.Part0 = HPartC | |
1144 | HWeldF.Part1 = HPartF | |
1145 | HWeldF.Parent = HPartF | |
1146 | HWeldF.C0 = CFrame.new(-1.5,0,-1.5) * CFrame.Angles(0,0,0) | |
1147 | ||
1148 | HPartG = Instance.new("Part") | |
1149 | HPartG.Anchored = false | |
1150 | HPartG.CanCollide = WindowWshr | |
1151 | HPartG.Locked = true | |
1152 | HPartG.formFactor = "Custom" | |
1153 | HPartG.Size = Vector3.new(1.95,0.3,1.95) | |
1154 | HPartG.TopSurface = 0 | |
1155 | HPartG.BottomSurface = 0 | |
1156 | HPartG.BrickColor = BrickColor.Black() | |
1157 | HPartG.Parent = HoverCraft | |
1158 | HPartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1159 | HWeldG = Instance.new("Weld") | |
1160 | HWeldG.Part0 = HPartC | |
1161 | HWeldG.Part1 = HPartG | |
1162 | HWeldG.Parent = HPartG | |
1163 | HWeldG.C0 = CFrame.new(0,-0.05,-1.5) * CFrame.Angles(0,math.pi/2/2,0) | |
1164 | ||
1165 | HPartH = Instance.new("Part") | |
1166 | HPartH.Anchored = false | |
1167 | HPartH.CanCollide = WindowWshr | |
1168 | HPartH.Locked = true | |
1169 | HPartH.formFactor = "Custom" | |
1170 | HPartH.Size = Vector3.new(1.95,0.3,2.2) | |
1171 | HPartH.TopSurface = 0 | |
1172 | HPartH.BottomSurface = 0 | |
1173 | HPartH.Parent = HoverCraft | |
1174 | HPartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1175 | HWeldH = Instance.new("Weld") | |
1176 | HWeldH.Part0 = HPartG | |
1177 | HWeldH.Part1 = HPartH | |
1178 | HWeldH.Parent = HPartH | |
1179 | HWeldH.C0 = CFrame.new(1.5,0.05,0) * CFrame.Angles(0,0,0) | |
1180 | ||
1181 | HPartI = Instance.new("Part") | |
1182 | HPartI.Anchored = false | |
1183 | HPartI.CanCollide = WindowWshr | |
1184 | HPartI.Locked = true | |
1185 | HPartI.formFactor = "Custom" | |
1186 | HPartI.Size = Vector3.new(1.95,0.3,2.2) | |
1187 | HPartI.TopSurface = 0 | |
1188 | HPartI.BottomSurface = 0 | |
1189 | HPartI.Parent = HoverCraft | |
1190 | HPartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1191 | HWeldI = Instance.new("Weld") | |
1192 | HWeldI.Part0 = HPartG | |
1193 | HWeldI.Part1 = HPartI | |
1194 | HWeldI.Parent = HPartI | |
1195 | HWeldI.C0 = CFrame.new(-1.5,0.05,0) * CFrame.Angles(0,0,0) | |
1196 | ||
1197 | HPartJ = Instance.new("Part") | |
1198 | HPartJ.Anchored = false | |
1199 | HPartJ.CanCollide = WindowWshr | |
1200 | HPartJ.Locked = true | |
1201 | HPartJ.formFactor = "Custom" | |
1202 | HPartJ.Size = Vector3.new(1.95,0.3,2.2) | |
1203 | HPartJ.TopSurface = 0 | |
1204 | HPartJ.BottomSurface = 0 | |
1205 | HPartJ.Parent = HoverCraft | |
1206 | HPartJ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1207 | HWeldJ = Instance.new("Weld") | |
1208 | HWeldJ.Part0 = HPartG | |
1209 | HWeldJ.Part1 = HPartJ | |
1210 | HWeldJ.Parent = HPartJ | |
1211 | HWeldJ.C0 = CFrame.new(0,0.05,1.5) * CFrame.Angles(0,math.pi/2,0) | |
1212 | ||
1213 | HPartK = Instance.new("Part") | |
1214 | HPartK.Anchored = false | |
1215 | HPartK.CanCollide = WindowWshr | |
1216 | HPartK.Locked = true | |
1217 | HPartK.formFactor = "Custom" | |
1218 | HPartK.Size = Vector3.new(1.95,0.3,2.2) | |
1219 | HPartK.TopSurface = 0 | |
1220 | HPartK.BottomSurface = 0 | |
1221 | HPartK.Parent = HoverCraft | |
1222 | HPartK.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1223 | HWeldK = Instance.new("Weld") | |
1224 | HWeldK.Part0 = HPartG | |
1225 | HWeldK.Part1 = HPartK | |
1226 | HWeldK.Parent = HPartK | |
1227 | HWeldK.C0 = CFrame.new(0,0.05,-1.5) * CFrame.Angles(0,math.pi/2,0) | |
1228 | ||
1229 | GunPartA = Instance.new("Part") | |
1230 | GunPartA.Anchored = false | |
1231 | GunPartA.CanCollide = true | |
1232 | GunPartA.Locked = true | |
1233 | GunPartA.formFactor = "Custom" | |
1234 | GunPartA.Size = Vector3.new(2.1,2.5,1) | |
1235 | GunPartA.TopSurface = 0 | |
1236 | GunPartA.BottomSurface = 0 | |
1237 | GunPartA.Parent = HoverCraft | |
1238 | GunPartA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1239 | GunWeldA = Instance.new("Weld") | |
1240 | GunWeldA.Part0 = Seat | |
1241 | GunWeldA.Part1 = GunPartA | |
1242 | GunWeldA.Parent = GunPartA | |
1243 | GunWeldA.C0 = CFrame.new(0,1.1,-3.5) | |
1244 | ||
1245 | GunPartB = Instance.new("Part") | |
1246 | GunPartB.Anchored = false | |
1247 | GunPartB.CanCollide = true | |
1248 | GunPartB.Locked = true | |
1249 | GunPartB.formFactor = "Custom" | |
1250 | GunPartB.Size = Vector3.new(2,2,2) | |
1251 | GunPartB.TopSurface = 0 | |
1252 | GunPartB.BottomSurface = 0 | |
1253 | GunPartB.Parent = HoverCraft | |
1254 | GunPartB.BrickColor = BrickColor.Black() | |
1255 | GunPartB.Shape = "Ball" | |
1256 | GunPartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1257 | GunWeldB = Instance.new("Weld") | |
1258 | GunWeldB.Part0 = Seat | |
1259 | GunWeldB.Part1 = GunPartB | |
1260 | GunWeldB.Parent = GunPartB | |
1261 | GunWeldB.C0 = CFrame.new(0,1.3,-3.8) | |
1262 | ||
1263 | GunPartC = Instance.new("Part") | |
1264 | GunPartC.Anchored = false | |
1265 | GunPartC.CanCollide = true | |
1266 | GunPartC.Locked = true | |
1267 | GunPartC.formFactor = "Custom" | |
1268 | GunPartC.Size = Vector3.new(1.2,1.2,2.4) | |
1269 | GunPartC.TopSurface = 0 | |
1270 | GunPartC.BottomSurface = 0 | |
1271 | GunPartC.Parent = HoverCraft | |
1272 | GunPartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1273 | GunWeldC = Instance.new("Weld") | |
1274 | GunWeldC.Part0 = GunPartB | |
1275 | GunWeldC.Part1 = GunPartC | |
1276 | GunWeldC.Parent = GunPartC | |
1277 | GunWeldC.C0 = CFrame.new(0,0,-1) | |
1278 | ||
1279 | GunPartD = Instance.new("Part") | |
1280 | GunPartD.Anchored = false | |
1281 | GunPartD.CanCollide = true | |
1282 | GunPartD.Locked = true | |
1283 | GunPartD.formFactor = "Custom" | |
1284 | GunPartD.Size = Vector3.new(2,2,2) | |
1285 | GunPartD.TopSurface = 0 | |
1286 | GunPartD.BottomSurface = 0 | |
1287 | GunPartD.Parent = HoverCraft | |
1288 | GunPartD.BrickColor = BrickColor.Black() | |
1289 | GunPartD.Shape = "Ball" | |
1290 | GunPartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1291 | GunWeldD = Instance.new("Weld") | |
1292 | GunWeldD.Part0 = GunPartC | |
1293 | GunWeldD.Part1 = GunPartD | |
1294 | GunWeldD.Parent = GunPartD | |
1295 | GunWeldD.C0 = CFrame.new(0,0,-1) | |
1296 | ||
1297 | GunPartE = Instance.new("Part") | |
1298 | GunPartE.Anchored = false | |
1299 | GunPartE.CanCollide = true | |
1300 | GunPartE.Locked = true | |
1301 | GunPartE.formFactor = "Custom" | |
1302 | GunPartE.Size = Vector3.new(1.2,0.4,1.8) | |
1303 | GunPartE.TopSurface = 0 | |
1304 | GunPartE.BottomSurface = 0 | |
1305 | GunPartE.Parent = HoverCraft | |
1306 | GunPartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1307 | GunWeldE = Instance.new("Weld") | |
1308 | GunWeldE.Part0 = GunPartD | |
1309 | GunWeldE.Part1 = GunPartE | |
1310 | GunWeldE.Parent = GunPartE | |
1311 | GunWeldE.C0 = CFrame.new(0,-0.5,-1) * CFrame.Angles(0.2,0,0) | |
1312 | ||
1313 | GunPartF = Instance.new("Part") | |
1314 | GunPartF.Anchored = false | |
1315 | GunPartF.CanCollide = true | |
1316 | GunPartF.Locked = true | |
1317 | GunPartF.formFactor = "Custom" | |
1318 | GunPartF.Size = Vector3.new(1.2,0.4,1.8) | |
1319 | GunPartF.TopSurface = 0 | |
1320 | GunPartF.BottomSurface = 0 | |
1321 | GunPartF.Parent = HoverCraft | |
1322 | GunPartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1323 | GunWeldF = Instance.new("Weld") | |
1324 | GunWeldF.Part0 = GunPartD | |
1325 | GunWeldF.Part1 = GunPartF | |
1326 | GunWeldF.Parent = GunPartF | |
1327 | GunWeldF.C0 = CFrame.new(1,-0.35,-1) * CFrame.Angles(0.2,0,0.3) | |
1328 | ||
1329 | GunPartG = Instance.new("Part") | |
1330 | GunPartG.Anchored = false | |
1331 | GunPartG.CanCollide = true | |
1332 | GunPartG.Locked = true | |
1333 | GunPartG.formFactor = "Custom" | |
1334 | GunPartG.Size = Vector3.new(1.2,0.4,1.8) | |
1335 | GunPartG.TopSurface = 0 | |
1336 | GunPartG.BottomSurface = 0 | |
1337 | GunPartG.Parent = HoverCraft | |
1338 | GunPartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1339 | GunWeldG = Instance.new("Weld") | |
1340 | GunWeldG.Part0 = GunPartD | |
1341 | GunWeldG.Part1 = GunPartG | |
1342 | GunWeldG.Parent = GunPartG | |
1343 | GunWeldG.C0 = CFrame.new(-1,-0.35,-1) * CFrame.Angles(0.2,0,-0.3) | |
1344 | ||
1345 | GunPartH = Instance.new("Part") | |
1346 | GunPartH.Anchored = false | |
1347 | GunPartH.CanCollide = true | |
1348 | GunPartH.Locked = true | |
1349 | GunPartH.formFactor = "Custom" | |
1350 | GunPartH.Size = Vector3.new(1.2,0.4,1.2) | |
1351 | GunPartH.TopSurface = 0 | |
1352 | GunPartH.BottomSurface = 0 | |
1353 | GunPartH.Parent = HoverCraft | |
1354 | GunPartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1355 | GunWeldH = Instance.new("Weld") | |
1356 | GunWeldH.Part0 = GunPartD | |
1357 | GunWeldH.Part1 = GunPartH | |
1358 | GunWeldH.Parent = GunPartH | |
1359 | GunWeldH.C0 = CFrame.new(-0.8,-0.2,-1.9) * CFrame.Angles(0.5,math.pi/2/2,-0.4) | |
1360 | ||
1361 | GunPartI = Instance.new("Part") | |
1362 | GunPartI.Anchored = false | |
1363 | GunPartI.CanCollide = true | |
1364 | GunPartI.Locked = true | |
1365 | GunPartI.formFactor = "Custom" | |
1366 | GunPartI.Size = Vector3.new(1.2,0.4,1.2) | |
1367 | GunPartI.TopSurface = 0 | |
1368 | GunPartI.BottomSurface = 0 | |
1369 | GunPartI.Parent = HoverCraft | |
1370 | GunPartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1371 | GunWeldI = Instance.new("Weld") | |
1372 | GunWeldI.Part0 = GunPartD | |
1373 | GunWeldI.Part1 = GunPartI | |
1374 | GunWeldI.Parent = GunPartI | |
1375 | GunWeldI.C0 = CFrame.new(0.8,-0.2,-1.9) * CFrame.Angles(0.5,-math.pi/2/2,0.4) | |
1376 | ||
1377 | GunPartJ = Instance.new("Part") | |
1378 | GunPartJ.Anchored = false | |
1379 | GunPartJ.CanCollide = true | |
1380 | GunPartJ.Locked = true | |
1381 | GunPartJ.formFactor = "Custom" | |
1382 | GunPartJ.Size = Vector3.new(1.6,0.4,1.2) | |
1383 | GunPartJ.TopSurface = 0 | |
1384 | GunPartJ.BottomSurface = 0 | |
1385 | GunPartJ.Parent = HoverCraft | |
1386 | GunPartJ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1387 | GunWeldJ = Instance.new("Weld") | |
1388 | GunWeldJ.Part0 = GunPartD | |
1389 | GunWeldJ.Part1 = GunPartJ | |
1390 | GunWeldJ.Parent = GunPartJ | |
1391 | GunWeldJ.C0 = CFrame.new(0,-0.2,-2.2) * CFrame.Angles(0.3,0,0) | |
1392 | ||
1393 | GunPartJ = Instance.new("Part") | |
1394 | GunPartJ.Anchored = false | |
1395 | GunPartJ.CanCollide = true | |
1396 | GunPartJ.Locked = true | |
1397 | GunPartJ.formFactor = "Custom" | |
1398 | GunPartJ.Size = Vector3.new(1.6,0.4,1.2) | |
1399 | GunPartJ.TopSurface = 0 | |
1400 | GunPartJ.BottomSurface = 0 | |
1401 | GunPartJ.Parent = HoverCraft | |
1402 | GunPartJ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1403 | GunWeldJ = Instance.new("Weld") | |
1404 | GunWeldJ.Part0 = GunPartD | |
1405 | GunWeldJ.Part1 = GunPartJ | |
1406 | GunWeldJ.Parent = GunPartJ | |
1407 | GunWeldJ.C0 = CFrame.new(0,-0.2,-2.2) * CFrame.Angles(0.3,0,0) | |
1408 | ||
1409 | GunPartK = Instance.new("Part") | |
1410 | GunPartK.Anchored = false | |
1411 | GunPartK.CanCollide = true | |
1412 | GunPartK.Locked = true | |
1413 | GunPartK.formFactor = "Custom" | |
1414 | GunPartK.Size = Vector3.new(2,2,2) | |
1415 | GunPartK.TopSurface = 0 | |
1416 | GunPartK.BottomSurface = 0 | |
1417 | GunPartK.BrickColor = BrickColor.Black() | |
1418 | GunPartK.Shape = "Ball" | |
1419 | GunPartK.Parent = HoverCraft | |
1420 | GunPartK.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1421 | GunWeldK = Instance.new("Weld") | |
1422 | GunWeldK.Part0 = GunPartC | |
1423 | GunWeldK.Part1 = GunPartK | |
1424 | GunWeldK.Parent = GunPartK | |
1425 | GunWeldK.C0 = CFrame.new(0,0.1,-1) * CFrame.Angles(0,0,0) | |
1426 | ||
1427 | GunPartL = Instance.new("Part") | |
1428 | GunPartL.Anchored = false | |
1429 | GunPartL.CanCollide = true | |
1430 | GunPartL.Locked = true | |
1431 | GunPartL.formFactor = "Custom" | |
1432 | GunPartL.Size = Vector3.new(1.6,1.2,0.4) | |
1433 | GunPartL.TopSurface = 0 | |
1434 | GunPartL.BottomSurface = 0 | |
1435 | GunPartL.Parent = HoverCraft | |
1436 | GunPartL.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1437 | GunWeldL = Instance.new("Weld") | |
1438 | GunWeldL.Part0 = GunPartK | |
1439 | GunWeldL.Part1 = GunPartL | |
1440 | GunWeldL.Parent = GunPartL | |
1441 | GunWeldL.C0 = CFrame.new(0,0.6,0.2) * CFrame.Angles(0,0,0) | |
1442 | ||
1443 | GunPartM = Instance.new("Part") | |
1444 | GunPartM.Anchored = false | |
1445 | GunPartM.CanCollide = true | |
1446 | GunPartM.Locked = true | |
1447 | GunPartM.formFactor = "Custom" | |
1448 | GunPartM.Size = Vector3.new(1.3,1.2,0.4) | |
1449 | GunPartM.TopSurface = 0 | |
1450 | GunPartM.BottomSurface = 0 | |
1451 | GunPartM.Parent = HoverCraft | |
1452 | GunPartM.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1453 | GunWeldM = Instance.new("Weld") | |
1454 | GunWeldM.Part0 = GunPartL | |
1455 | GunWeldM.Part1 = GunPartM | |
1456 | GunWeldM.Parent = GunPartM | |
1457 | GunWeldM.C0 = CFrame.new(1.2,-0.1,0) * CFrame.Angles(0,0,-0.2) | |
1458 | ||
1459 | GunPartN = Instance.new("Part") | |
1460 | GunPartN.Anchored = false | |
1461 | GunPartN.CanCollide = true | |
1462 | GunPartN.Locked = true | |
1463 | GunPartN.formFactor = "Custom" | |
1464 | GunPartN.Size = Vector3.new(1.3,1.2,0.4) | |
1465 | GunPartN.TopSurface = 0 | |
1466 | GunPartN.BottomSurface = 0 | |
1467 | GunPartN.Parent = HoverCraft | |
1468 | GunPartN.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1469 | GunWeldN = Instance.new("Weld") | |
1470 | GunWeldN.Part0 = GunPartL | |
1471 | GunWeldN.Part1 = GunPartN | |
1472 | GunWeldN.Parent = GunPartN | |
1473 | GunWeldN.C0 = CFrame.new(-1.2,-0.1,0) * CFrame.Angles(0,0,0.2) | |
1474 | ||
1475 | GunPartO = Instance.new("Part") | |
1476 | GunPartO.Anchored = false | |
1477 | GunPartO.CanCollide = true | |
1478 | GunPartO.Locked = true | |
1479 | GunPartO.formFactor = "Custom" | |
1480 | GunPartO.Size = Vector3.new(1.6,0.4,1.4) | |
1481 | GunPartO.TopSurface = 0 | |
1482 | GunPartO.BottomSurface = 0 | |
1483 | GunPartO.Parent = HoverCraft | |
1484 | GunPartO.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1485 | GunWeldO = Instance.new("Weld") | |
1486 | GunWeldO.Part0 = GunPartL | |
1487 | GunWeldO.Part1 = GunPartO | |
1488 | GunWeldO.Parent = GunPartO | |
1489 | GunWeldO.C0 = CFrame.new(0,0.6,-0.5) * CFrame.Angles(0.24,0,0) | |
1490 | ||
1491 | GunPartP = Instance.new("Part") | |
1492 | GunPartP.Anchored = false | |
1493 | GunPartP.CanCollide = true | |
1494 | GunPartP.Locked = true | |
1495 | GunPartP.formFactor = "Custom" | |
1496 | GunPartP.Size = Vector3.new(1.4,0.4,1.4) | |
1497 | GunPartP.TopSurface = 0 | |
1498 | GunPartP.BottomSurface = 0 | |
1499 | GunPartP.Parent = HoverCraft | |
1500 | GunPartP.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1501 | GunWeldP = Instance.new("Weld") | |
1502 | GunWeldP.Part0 = GunPartO | |
1503 | GunWeldP.Part1 = GunPartP | |
1504 | GunWeldP.Parent = GunPartP | |
1505 | GunWeldP.C0 = CFrame.new(-1.3,-0.15,0) * CFrame.Angles(0,0,0.25) | |
1506 | ||
1507 | GunPartQ = Instance.new("Part") | |
1508 | GunPartQ.Anchored = false | |
1509 | GunPartQ.CanCollide = true | |
1510 | GunPartQ.Locked = true | |
1511 | GunPartQ.formFactor = "Custom" | |
1512 | GunPartQ.Size = Vector3.new(1.4,0.4,1.4) | |
1513 | GunPartQ.TopSurface = 0 | |
1514 | GunPartQ.BottomSurface = 0 | |
1515 | GunPartQ.Parent = HoverCraft | |
1516 | GunPartQ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1517 | GunWeldQ = Instance.new("Weld") | |
1518 | GunWeldQ.Part0 = GunPartO | |
1519 | GunWeldQ.Part1 = GunPartQ | |
1520 | GunWeldQ.Parent = GunPartQ | |
1521 | GunWeldQ.C0 = CFrame.new(1.3,-0.15,0) * CFrame.Angles(0,0,-0.25) | |
1522 | ||
1523 | GunPartR = Instance.new("Part") | |
1524 | GunPartR.Anchored = false | |
1525 | GunPartR.CanCollide = true | |
1526 | GunPartR.Locked = true | |
1527 | GunPartR.formFactor = "Custom" | |
1528 | GunPartR.Size = Vector3.new(0.4,1,1.4) | |
1529 | GunPartR.TopSurface = 0 | |
1530 | GunPartR.BottomSurface = 0 | |
1531 | GunPartR.Parent = HoverCraft | |
1532 | GunPartR.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1533 | GunWeldR = Instance.new("Weld") | |
1534 | GunWeldR.Part0 = GunPartO | |
1535 | GunWeldR.Part1 = GunPartR | |
1536 | GunWeldR.Parent = GunPartR | |
1537 | GunWeldR.C0 = CFrame.new(1.65,-0.8,0) * CFrame.Angles(0,0,-0.25) | |
1538 | ||
1539 | GunPartS = Instance.new("Part") | |
1540 | GunPartS.Anchored = false | |
1541 | GunPartS.CanCollide = true | |
1542 | GunPartS.Locked = true | |
1543 | GunPartS.formFactor = "Custom" | |
1544 | GunPartS.Size = Vector3.new(0.4,1,1.4) | |
1545 | GunPartS.TopSurface = 0 | |
1546 | GunPartS.BottomSurface = 0 | |
1547 | GunPartS.Parent = HoverCraft | |
1548 | GunPartS.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1549 | GunWeldS = Instance.new("Weld") | |
1550 | GunWeldS.Part0 = GunPartO | |
1551 | GunWeldS.Part1 = GunPartS | |
1552 | GunWeldS.Parent = GunPartS | |
1553 | GunWeldS.C0 = CFrame.new(-1.65,-0.8,0) * CFrame.Angles(0,0,0.25) | |
1554 | ||
1555 | GunPartT = Instance.new("Part") | |
1556 | GunPartT.Anchored = false | |
1557 | GunPartT.CanCollide = true | |
1558 | GunPartT.Locked = true | |
1559 | GunPartT.formFactor = "Custom" | |
1560 | GunPartT.Size = Vector3.new(1.4,0.5,3) | |
1561 | GunPartT.TopSurface = 0 | |
1562 | GunPartT.BottomSurface = 0 | |
1563 | GunPartT.Parent = HoverCraft | |
1564 | GunPartT.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1565 | GunWeldT = Instance.new("Weld") | |
1566 | GunWeldT.Part0 = GunPartO | |
1567 | GunWeldT.Part1 = GunPartT | |
1568 | GunWeldT.Parent = GunPartT | |
1569 | GunWeldT.C0 = CFrame.new(0,-0.59,-1.89) * CFrame.Angles(-0.4,0,0) | |
1570 | ||
1571 | GunPartU = Instance.new("Part") | |
1572 | GunPartU.Anchored = false | |
1573 | GunPartU.CanCollide = true | |
1574 | GunPartU.Locked = true | |
1575 | GunPartU.formFactor = "Custom" | |
1576 | GunPartU.Size = Vector3.new(1.4,0.5,3) | |
1577 | GunPartU.TopSurface = 0 | |
1578 | GunPartU.BottomSurface = 0 | |
1579 | GunPartU.Parent = HoverCraft | |
1580 | GunPartU.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1581 | GunWeldU = Instance.new("Weld") | |
1582 | GunWeldU.Part0 = GunPartT | |
1583 | GunWeldU.Part1 = GunPartU | |
1584 | GunWeldU.Parent = GunPartU | |
1585 | GunWeldU.C0 = CFrame.new(-1.2,-0.15,0) * CFrame.Angles(0,0,0.25) | |
1586 | ||
1587 | GunPartV = Instance.new("Part") | |
1588 | GunPartV.Anchored = false | |
1589 | GunPartV.CanCollide = true | |
1590 | GunPartV.Locked = true | |
1591 | GunPartV.formFactor = "Custom" | |
1592 | GunPartV.Size = Vector3.new(1.4,0.5,3) | |
1593 | GunPartV.TopSurface = 0 | |
1594 | GunPartV.BottomSurface = 0 | |
1595 | GunPartV.Parent = HoverCraft | |
1596 | GunPartV.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1597 | GunWeldV = Instance.new("Weld") | |
1598 | GunWeldV.Part0 = GunPartT | |
1599 | GunWeldV.Part1 = GunPartV | |
1600 | GunWeldV.Parent = GunPartV | |
1601 | GunWeldV.C0 = CFrame.new(1.2,-0.15,0) * CFrame.Angles(0,0,-0.25) | |
1602 | ||
1603 | GunPartW = Instance.new("Part") | |
1604 | GunPartW.Anchored = false | |
1605 | GunPartW.CanCollide = true | |
1606 | GunPartW.Locked = true | |
1607 | GunPartW.formFactor = "Custom" | |
1608 | GunPartW.Size = Vector3.new(0.4,0.85,3) | |
1609 | GunPartW.TopSurface = 0 | |
1610 | GunPartW.BottomSurface = 0 | |
1611 | GunPartW.Parent = HoverCraft | |
1612 | GunPartW.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1613 | GunWeldW = Instance.new("Weld") | |
1614 | GunWeldW.Part0 = GunPartT | |
1615 | GunWeldW.Part1 = GunPartW | |
1616 | GunWeldW.Parent = GunPartW | |
1617 | GunWeldW.C0 = CFrame.new(1.7,-0.45,0) * CFrame.Angles(0,0,-0.25) | |
1618 | ||
1619 | GunPartX = Instance.new("Part") | |
1620 | GunPartX.Anchored = false | |
1621 | GunPartX.CanCollide = true | |
1622 | GunPartX.Locked = true | |
1623 | GunPartX.formFactor = "Custom" | |
1624 | GunPartX.Size = Vector3.new(0.4,0.85,3) | |
1625 | GunPartX.TopSurface = 0 | |
1626 | GunPartX.BottomSurface = 0 | |
1627 | GunPartX.Parent = HoverCraft | |
1628 | GunPartX.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1629 | GunWeldX = Instance.new("Weld") | |
1630 | GunWeldX.Part0 = GunPartT | |
1631 | GunWeldX.Part1 = GunPartX | |
1632 | GunWeldX.Parent = GunPartX | |
1633 | GunWeldX.C0 = CFrame.new(-1.7,-0.45,0) * CFrame.Angles(0,0,0.25) | |
1634 | ||
1635 | GunPartY = Instance.new("Part") | |
1636 | GunPartY.Anchored = false | |
1637 | GunPartY.CanCollide = true | |
1638 | GunPartY.Locked = true | |
1639 | GunPartY.formFactor = "Custom" | |
1640 | GunPartY.Size = Vector3.new(0.1,1,1) | |
1641 | GunPartY.TopSurface = 0 | |
1642 | GunPartY.BottomSurface = 0 | |
1643 | GunPartY.Parent = HoverCraft | |
1644 | GunPartY.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1645 | GunWeldY = Instance.new("Weld") | |
1646 | GunWeldY.Part0 = GunPartX | |
1647 | GunWeldY.Part1 = GunPartY | |
1648 | GunWeldY.Parent = GunPartY | |
1649 | GunWeldY.C0 = CFrame.new(0,-0.4,-0.6) * CFrame.Angles(math.pi/2/2,0,0) | |
1650 | ||
1651 | GunPartZ = Instance.new("Part") | |
1652 | GunPartZ.Anchored = false | |
1653 | GunPartZ.CanCollide = true | |
1654 | GunPartZ.Locked = true | |
1655 | GunPartZ.formFactor = "Custom" | |
1656 | GunPartZ.Size = Vector3.new(0.1,1,1) | |
1657 | GunPartZ.TopSurface = 0 | |
1658 | GunPartZ.BottomSurface = 0 | |
1659 | GunPartZ.Parent = HoverCraft | |
1660 | GunPartZ.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1661 | GunWeldZ = Instance.new("Weld") | |
1662 | GunWeldZ.Part0 = GunPartW | |
1663 | GunWeldZ.Part1 = GunPartZ | |
1664 | GunWeldZ.Parent = GunPartZ | |
1665 | GunWeldZ.C0 = CFrame.new(0,-0.4,-0.6) * CFrame.Angles(math.pi/2/2,0,0) | |
1666 | ||
1667 | -- WE NEED FANGS doing that c: | |
1668 | ||
1669 | EyePartA = Instance.new("Part") | |
1670 | EyePartA.Anchored = false | |
1671 | EyePartA.CanCollide = true | |
1672 | EyePartA.Locked = true | |
1673 | EyePartA.formFactor = "Custom" | |
1674 | EyePartA.Size = Vector3.new(0.6,0.6,0.6) | |
1675 | EyePartA.TopSurface = 0 | |
1676 | EyePartA.BottomSurface = 0 | |
1677 | EyePartA.BrickColor = BrickColor.Black() | |
1678 | EyePartA.Parent = HoverCraft | |
1679 | EyeMeshA = Instance.new("SpecialMesh",EyePartA) | |
1680 | EyeMeshA.MeshType = "Sphere" | |
1681 | EyePartA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1682 | EyeWeldA = Instance.new("Weld") | |
1683 | EyeWeldA.Part0 = GunPartT | |
1684 | EyeWeldA.Part1 = EyePartA | |
1685 | EyeWeldA.Parent = EyePartA | |
1686 | EyeWeldA.C0 = CFrame.new(1,0.3,0) * CFrame.Angles(0,0,0) | |
1687 | ||
1688 | EyePartB = Instance.new("Part") | |
1689 | EyePartB.Anchored = false | |
1690 | EyePartB.CanCollide = true | |
1691 | EyePartB.Locked = true | |
1692 | EyePartB.formFactor = "Custom" | |
1693 | EyePartB.Size = Vector3.new(0.6,0.6,0.6) | |
1694 | EyePartB.TopSurface = 0 | |
1695 | EyePartB.BottomSurface = 0 | |
1696 | EyePartB.BrickColor = BrickColor.Black() | |
1697 | EyePartB.Parent = HoverCraft | |
1698 | EyeMeshB = Instance.new("SpecialMesh",EyePartB) | |
1699 | EyeMeshB.MeshType = "Sphere" | |
1700 | EyePartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1701 | EyeWeldB = Instance.new("Weld") | |
1702 | EyeWeldB.Part0 = GunPartT | |
1703 | EyeWeldB.Part1 = EyePartB | |
1704 | EyeWeldB.Parent = EyePartB | |
1705 | EyeWeldB.C0 = CFrame.new(-1,0.2,0) * CFrame.Angles(0,0,0) | |
1706 | ||
1707 | -- WARK SLAIV >:o | |
1708 | ||
1709 | J1PartA = Instance.new("Part") | |
1710 | J1PartA.Anchored = false | |
1711 | J1PartA.CanCollide = true | |
1712 | J1PartA.Locked = true | |
1713 | J1PartA.formFactor = "Custom" | |
1714 | J1PartA.Shape = "Ball" | |
1715 | J1PartA.Size = Vector3.new(2,2,2) | |
1716 | J1PartA.TopSurface = 0 | |
1717 | J1PartA.BottomSurface = 0 | |
1718 | J1PartA.BrickColor = BrickColor.Black() | |
1719 | J1PartA.Parent = HoverCraft | |
1720 | J1PartA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1721 | J1WeldA = Instance.new("Weld") | |
1722 | J1WeldA.Part0 = PartI | |
1723 | J1WeldA.Part1 = J1PartA | |
1724 | J1WeldA.Parent = J1PartA | |
1725 | J1WeldA.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
1726 | ||
1727 | J1PartB = Instance.new("Part") | |
1728 | J1PartB.Anchored = false | |
1729 | J1PartB.CanCollide = true | |
1730 | J1PartB.Locked = true | |
1731 | J1PartB.formFactor = "Custom" | |
1732 | J1PartB.Size = Vector3.new(1,ArmLength,1) | |
1733 | J1PartB.TopSurface = 0 | |
1734 | J1PartB.BottomSurface = 0 | |
1735 | J1PartB.Parent = HoverCraft | |
1736 | J1PartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1737 | J1WeldB = Instance.new("Weld") | |
1738 | J1WeldB.Part0 = J1PartA | |
1739 | J1WeldB.Part1 = J1PartB | |
1740 | J1WeldB.Parent = J1PartB | |
1741 | J1WeldB.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1742 | ||
1743 | J1PartC = Instance.new("Part") | |
1744 | J1PartC.Anchored = false | |
1745 | J1PartC.CanCollide = true | |
1746 | J1PartC.Locked = true | |
1747 | J1PartC.formFactor = "Custom" | |
1748 | J1PartC.Shape = "Ball" | |
1749 | J1PartC.Size = Vector3.new(2,2,2) | |
1750 | J1PartC.TopSurface = 0 | |
1751 | J1PartC.BottomSurface = 0 | |
1752 | J1PartC.BrickColor = BrickColor.Black() | |
1753 | J1PartC.Parent = HoverCraft | |
1754 | J1PartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1755 | J1WeldC = Instance.new("Weld") | |
1756 | J1WeldC.Part0 = J1PartB | |
1757 | J1WeldC.Part1 = J1PartC | |
1758 | J1WeldC.Parent = J1PartC | |
1759 | J1WeldC.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1760 | ||
1761 | J1PartD = Instance.new("Part") | |
1762 | J1PartD.Anchored = false | |
1763 | J1PartD.CanCollide = true | |
1764 | J1PartD.Locked = true | |
1765 | J1PartD.formFactor = "Custom" | |
1766 | J1PartD.Size = Vector3.new(1,ArmLength,1) | |
1767 | J1PartD.TopSurface = 0 | |
1768 | J1PartD.BottomSurface = 0 | |
1769 | J1PartD.Parent = HoverCraft | |
1770 | J1PartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1771 | J1WeldD = Instance.new("Weld") | |
1772 | J1WeldD.Part0 = J1PartC | |
1773 | J1WeldD.Part1 = J1PartD | |
1774 | J1WeldD.Parent = J1PartD | |
1775 | J1WeldD.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1776 | ||
1777 | J1PartE = Instance.new("Part") | |
1778 | J1PartE.Anchored = false | |
1779 | J1PartE.CanCollide = true | |
1780 | J1PartE.Locked = true | |
1781 | J1PartE.formFactor = "Custom" | |
1782 | J1PartE.Shape = "Ball" | |
1783 | J1PartE.Size = Vector3.new(2,2,2) | |
1784 | J1PartE.TopSurface = 0 | |
1785 | J1PartE.BottomSurface = 0 | |
1786 | J1PartE.BrickColor = BrickColor.Black() | |
1787 | J1PartE.Parent = HoverCraft | |
1788 | J1PartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1789 | J1WeldE = Instance.new("Weld") | |
1790 | J1WeldE.Part0 = J1PartD | |
1791 | J1WeldE.Part1 = J1PartE | |
1792 | J1WeldE.Parent = J1PartE | |
1793 | J1WeldE.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1794 | ||
1795 | J1PartF = Instance.new("Part") | |
1796 | J1PartF.Anchored = false | |
1797 | J1PartF.CanCollide = true | |
1798 | J1PartF.Locked = true | |
1799 | J1PartF.formFactor = "Custom" | |
1800 | J1PartF.Size = Vector3.new(1,ArmLength,1) | |
1801 | J1PartF.TopSurface = 0 | |
1802 | J1PartF.BottomSurface = 0 | |
1803 | J1PartF.Parent = HoverCraft | |
1804 | J1PartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1805 | J1WeldF = Instance.new("Weld") | |
1806 | J1WeldF.Part0 = J1PartE | |
1807 | J1WeldF.Part1 = J1PartF | |
1808 | J1WeldF.Parent = J1PartF | |
1809 | J1WeldF.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1810 | ||
1811 | J1PartG = Instance.new("Part") | |
1812 | J1PartG.Anchored = false | |
1813 | J1PartG.CanCollide = true | |
1814 | J1PartG.Locked = true | |
1815 | J1PartG.formFactor = "Custom" | |
1816 | J1PartG.Shape = "Ball" | |
1817 | J1PartG.Size = Vector3.new(2,2,2) | |
1818 | J1PartG.TopSurface = 0 | |
1819 | J1PartG.BottomSurface = 0 | |
1820 | J1PartG.BrickColor = BrickColor.Black() | |
1821 | J1PartG.Parent = HoverCraft | |
1822 | J1PartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1823 | J1WeldG = Instance.new("Weld") | |
1824 | J1WeldG.Part0 = J1PartF | |
1825 | J1WeldG.Part1 = J1PartG | |
1826 | J1WeldG.Parent = J1PartG | |
1827 | J1WeldG.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1828 | ||
1829 | J1PartH = Instance.new("Part") | |
1830 | J1PartH.Anchored = false | |
1831 | J1PartH.CanCollide = true | |
1832 | J1PartH.Locked = true | |
1833 | J1PartH.formFactor = "Custom" | |
1834 | J1PartH.Size = Vector3.new(1,1,ArmLength/2) | |
1835 | J1PartH.TopSurface = 0 | |
1836 | J1PartH.BottomSurface = 0 | |
1837 | J1PartH.Parent = HoverCraft | |
1838 | J1PartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1839 | J1WeldH = Instance.new("Weld") | |
1840 | J1WeldH.Part0 = J1PartG | |
1841 | J1WeldH.Part1 = J1PartH | |
1842 | J1WeldH.Parent = J1PartH | |
1843 | J1WeldH.C0 = CFrame.new(0,math.pi/5,ArmLength/4) * CFrame.Angles(-math.pi/5,0,0) | |
1844 | ||
1845 | J1PartI = Instance.new("Part") | |
1846 | J1PartI.Anchored = false | |
1847 | J1PartI.CanCollide = true | |
1848 | J1PartI.Locked = true | |
1849 | J1PartI.formFactor = "Custom" | |
1850 | J1PartI.Size = Vector3.new(1,1,ArmLength/2) | |
1851 | J1PartI.TopSurface = 0 | |
1852 | J1PartI.BottomSurface = 0 | |
1853 | J1PartI.Parent = HoverCraft | |
1854 | J1PartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1855 | J1WeldI = Instance.new("Weld") | |
1856 | J1WeldI.Part0 = J1PartG | |
1857 | J1WeldI.Part1 = J1PartI | |
1858 | J1WeldI.Parent = J1PartI | |
1859 | J1WeldI.C0 = CFrame.new(0,math.pi/5,-ArmLength/4) * CFrame.Angles(math.pi/5,0,0) | |
1860 | ||
1861 | J2PartA = Instance.new("Part") | |
1862 | J2PartA.Anchored = false | |
1863 | J2PartA.CanCollide = true | |
1864 | J2PartA.Locked = true | |
1865 | J2PartA.formFactor = "Custom" | |
1866 | J2PartA.Shape = "Ball" | |
1867 | J2PartA.Size = Vector3.new(2,2,2) | |
1868 | J2PartA.TopSurface = 0 | |
1869 | J2PartA.BottomSurface = 0 | |
1870 | J2PartA.BrickColor = BrickColor.Black() | |
1871 | J2PartA.Parent = HoverCraft | |
1872 | J2PartA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1873 | J2WeldA = Instance.new("Weld") | |
1874 | J2WeldA.Part0 = PartJ | |
1875 | J2WeldA.Part1 = J2PartA | |
1876 | J2WeldA.Parent = J2PartA | |
1877 | J2WeldA.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,math.pi,0) | |
1878 | ||
1879 | J2PartB = Instance.new("Part") | |
1880 | J2PartB.Anchored = false | |
1881 | J2PartB.CanCollide = true | |
1882 | J2PartB.Locked = true | |
1883 | J2PartB.formFactor = "Custom" | |
1884 | J2PartB.Size = Vector3.new(1,ArmLength,1) | |
1885 | J2PartB.TopSurface = 0 | |
1886 | J2PartB.BottomSurface = 0 | |
1887 | J2PartB.Parent = HoverCraft | |
1888 | J2PartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1889 | J2WeldB = Instance.new("Weld") | |
1890 | J2WeldB.Part0 = J2PartA | |
1891 | J2WeldB.Part1 = J2PartB | |
1892 | J2WeldB.Parent = J2PartB | |
1893 | J2WeldB.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1894 | ||
1895 | J2PartC = Instance.new("Part") | |
1896 | J2PartC.Anchored = false | |
1897 | J2PartC.CanCollide = true | |
1898 | J2PartC.Locked = true | |
1899 | J2PartC.formFactor = "Custom" | |
1900 | J2PartC.Shape = "Ball" | |
1901 | J2PartC.Size = Vector3.new(2,2,2) | |
1902 | J2PartC.TopSurface = 0 | |
1903 | J2PartC.BottomSurface = 0 | |
1904 | J2PartC.BrickColor = BrickColor.Black() | |
1905 | J2PartC.Parent = HoverCraft | |
1906 | J2PartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1907 | J2WeldC = Instance.new("Weld") | |
1908 | J2WeldC.Part0 = J2PartB | |
1909 | J2WeldC.Part1 = J2PartC | |
1910 | J2WeldC.Parent = J2PartC | |
1911 | J2WeldC.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1912 | ||
1913 | J2PartD = Instance.new("Part") | |
1914 | J2PartD.Anchored = false | |
1915 | J2PartD.CanCollide = true | |
1916 | J2PartD.Locked = true | |
1917 | J2PartD.formFactor = "Custom" | |
1918 | J2PartD.Size = Vector3.new(1,ArmLength,1) | |
1919 | J2PartD.TopSurface = 0 | |
1920 | J2PartD.BottomSurface = 0 | |
1921 | J2PartD.Parent = HoverCraft | |
1922 | J2PartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1923 | J2WeldD = Instance.new("Weld") | |
1924 | J2WeldD.Part0 = J2PartC | |
1925 | J2WeldD.Part1 = J2PartD | |
1926 | J2WeldD.Parent = J2PartD | |
1927 | J2WeldD.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1928 | ||
1929 | J2PartE = Instance.new("Part") | |
1930 | J2PartE.Anchored = false | |
1931 | J2PartE.CanCollide = true | |
1932 | J2PartE.Locked = true | |
1933 | J2PartE.formFactor = "Custom" | |
1934 | J2PartE.Shape = "Ball" | |
1935 | J2PartE.Size = Vector3.new(2,2,2) | |
1936 | J2PartE.TopSurface = 0 | |
1937 | J2PartE.BottomSurface = 0 | |
1938 | J2PartE.BrickColor = BrickColor.Black() | |
1939 | J2PartE.Parent = HoverCraft | |
1940 | J2PartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1941 | J2WeldE = Instance.new("Weld") | |
1942 | J2WeldE.Part0 = J2PartD | |
1943 | J2WeldE.Part1 = J2PartE | |
1944 | J2WeldE.Parent = J2PartE | |
1945 | J2WeldE.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1946 | ||
1947 | J2PartF = Instance.new("Part") | |
1948 | J2PartF.Anchored = false | |
1949 | J2PartF.CanCollide = true | |
1950 | J2PartF.Locked = true | |
1951 | J2PartF.formFactor = "Custom" | |
1952 | J2PartF.Size = Vector3.new(1,ArmLength,1) | |
1953 | J2PartF.TopSurface = 0 | |
1954 | J2PartF.BottomSurface = 0 | |
1955 | J2PartF.Parent = HoverCraft | |
1956 | J2PartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1957 | J2WeldF = Instance.new("Weld") | |
1958 | J2WeldF.Part0 = J2PartE | |
1959 | J2WeldF.Part1 = J2PartF | |
1960 | J2WeldF.Parent = J2PartF | |
1961 | J2WeldF.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1962 | ||
1963 | J2PartG = Instance.new("Part") | |
1964 | J2PartG.Anchored = false | |
1965 | J2PartG.CanCollide = true | |
1966 | J2PartG.Locked = true | |
1967 | J2PartG.formFactor = "Custom" | |
1968 | J2PartG.Shape = "Ball" | |
1969 | J2PartG.Size = Vector3.new(2,2,2) | |
1970 | J2PartG.TopSurface = 0 | |
1971 | J2PartG.BottomSurface = 0 | |
1972 | J2PartG.BrickColor = BrickColor.Black() | |
1973 | J2PartG.Parent = HoverCraft | |
1974 | J2PartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1975 | J2WeldG = Instance.new("Weld") | |
1976 | J2WeldG.Part0 = J2PartF | |
1977 | J2WeldG.Part1 = J2PartG | |
1978 | J2WeldG.Parent = J2PartG | |
1979 | J2WeldG.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
1980 | ||
1981 | J2PartH = Instance.new("Part") | |
1982 | J2PartH.Anchored = false | |
1983 | J2PartH.CanCollide = true | |
1984 | J2PartH.Locked = true | |
1985 | J2PartH.formFactor = "Custom" | |
1986 | J2PartH.Size = Vector3.new(1,1,ArmLength/2) | |
1987 | J2PartH.TopSurface = 0 | |
1988 | J2PartH.BottomSurface = 0 | |
1989 | J2PartH.Parent = HoverCraft | |
1990 | J2PartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
1991 | J2WeldH = Instance.new("Weld") | |
1992 | J2WeldH.Part0 = J2PartG | |
1993 | J2WeldH.Part1 = J2PartH | |
1994 | J2WeldH.Parent = J2PartH | |
1995 | J2WeldH.C0 = CFrame.new(0,math.pi/5,ArmLength/4) * CFrame.Angles(-math.pi/5,0,0) | |
1996 | ||
1997 | J2PartI = Instance.new("Part") | |
1998 | J2PartI.Anchored = false | |
1999 | J2PartI.CanCollide = true | |
2000 | J2PartI.Locked = true | |
2001 | J2PartI.formFactor = "Custom" | |
2002 | J2PartI.Size = Vector3.new(1,1,ArmLength/2) | |
2003 | J2PartI.TopSurface = 0 | |
2004 | J2PartI.BottomSurface = 0 | |
2005 | J2PartI.Parent = HoverCraft | |
2006 | J2PartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2007 | J2WeldI = Instance.new("Weld") | |
2008 | J2WeldI.Part0 = J2PartG | |
2009 | J2WeldI.Part1 = J2PartI | |
2010 | J2WeldI.Parent = J2PartI | |
2011 | J2WeldI.C0 = CFrame.new(0,math.pi/5,-ArmLength/4) * CFrame.Angles(math.pi/5,0,0) | |
2012 | ||
2013 | J3PartA = Instance.new("Part") | |
2014 | J3PartA.Anchored = false | |
2015 | J3PartA.CanCollide = true | |
2016 | J3PartA.Locked = true | |
2017 | J3PartA.formFactor = "Custom" | |
2018 | J3PartA.Shape = "Ball" | |
2019 | J3PartA.Size = Vector3.new(2,2,2) | |
2020 | J3PartA.TopSurface = 0 | |
2021 | J3PartA.BottomSurface = 0 | |
2022 | J3PartA.BrickColor = BrickColor.Black() | |
2023 | J3PartA.Parent = HoverCraft | |
2024 | J3PartA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2025 | J3WeldA = Instance.new("Weld") | |
2026 | J3WeldA.Part0 = PartK | |
2027 | J3WeldA.Part1 = J3PartA | |
2028 | J3WeldA.Parent = J3PartA | |
2029 | J3WeldA.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,math.pi,0) | |
2030 | ||
2031 | J3PartB = Instance.new("Part") | |
2032 | J3PartB.Anchored = false | |
2033 | J3PartB.CanCollide = true | |
2034 | J3PartB.Locked = true | |
2035 | J3PartB.formFactor = "Custom" | |
2036 | J3PartB.Size = Vector3.new(1,ArmLength,1) | |
2037 | J3PartB.TopSurface = 0 | |
2038 | J3PartB.BottomSurface = 0 | |
2039 | J3PartB.Parent = HoverCraft | |
2040 | J3PartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2041 | J3WeldB = Instance.new("Weld") | |
2042 | J3WeldB.Part0 = J3PartA | |
2043 | J3WeldB.Part1 = J3PartB | |
2044 | J3WeldB.Parent = J3PartB | |
2045 | J3WeldB.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2046 | ||
2047 | J3PartC = Instance.new("Part") | |
2048 | J3PartC.Anchored = false | |
2049 | J3PartC.CanCollide = true | |
2050 | J3PartC.Locked = true | |
2051 | J3PartC.formFactor = "Custom" | |
2052 | J3PartC.Shape = "Ball" | |
2053 | J3PartC.Size = Vector3.new(2,2,2) | |
2054 | J3PartC.TopSurface = 0 | |
2055 | J3PartC.BottomSurface = 0 | |
2056 | J3PartC.BrickColor = BrickColor.Black() | |
2057 | J3PartC.Parent = HoverCraft | |
2058 | J3PartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2059 | J3WeldC = Instance.new("Weld") | |
2060 | J3WeldC.Part0 = J3PartB | |
2061 | J3WeldC.Part1 = J3PartC | |
2062 | J3WeldC.Parent = J3PartC | |
2063 | J3WeldC.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2064 | ||
2065 | J3PartD = Instance.new("Part") | |
2066 | J3PartD.Anchored = false | |
2067 | J3PartD.CanCollide = true | |
2068 | J3PartD.Locked = true | |
2069 | J3PartD.formFactor = "Custom" | |
2070 | J3PartD.Size = Vector3.new(1,ArmLength,1) | |
2071 | J3PartD.TopSurface = 0 | |
2072 | J3PartD.BottomSurface = 0 | |
2073 | J3PartD.Parent = HoverCraft | |
2074 | J3PartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2075 | J3WeldD = Instance.new("Weld") | |
2076 | J3WeldD.Part0 = J3PartC | |
2077 | J3WeldD.Part1 = J3PartD | |
2078 | J3WeldD.Parent = J3PartD | |
2079 | J3WeldD.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2080 | ||
2081 | J3PartE = Instance.new("Part") | |
2082 | J3PartE.Anchored = false | |
2083 | J3PartE.CanCollide = true | |
2084 | J3PartE.Locked = true | |
2085 | J3PartE.formFactor = "Custom" | |
2086 | J3PartE.Shape = "Ball" | |
2087 | J3PartE.Size = Vector3.new(2,2,2) | |
2088 | J3PartE.TopSurface = 0 | |
2089 | J3PartE.BottomSurface = 0 | |
2090 | J3PartE.BrickColor = BrickColor.Black() | |
2091 | J3PartE.Parent = HoverCraft | |
2092 | J3PartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2093 | J3WeldE = Instance.new("Weld") | |
2094 | J3WeldE.Part0 = J3PartD | |
2095 | J3WeldE.Part1 = J3PartE | |
2096 | J3WeldE.Parent = J3PartE | |
2097 | J3WeldE.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2098 | ||
2099 | J3PartF = Instance.new("Part") | |
2100 | J3PartF.Anchored = false | |
2101 | J3PartF.CanCollide = true | |
2102 | J3PartF.Locked = true | |
2103 | J3PartF.formFactor = "Custom" | |
2104 | J3PartF.Size = Vector3.new(1,ArmLength,1) | |
2105 | J3PartF.TopSurface = 0 | |
2106 | J3PartF.BottomSurface = 0 | |
2107 | J3PartF.Parent = HoverCraft | |
2108 | J3PartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2109 | J3WeldF = Instance.new("Weld") | |
2110 | J3WeldF.Part0 = J3PartE | |
2111 | J3WeldF.Part1 = J3PartF | |
2112 | J3WeldF.Parent = J3PartF | |
2113 | J3WeldF.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2114 | ||
2115 | J3PartG = Instance.new("Part") | |
2116 | J3PartG.Anchored = false | |
2117 | J3PartG.CanCollide = true | |
2118 | J3PartG.Locked = true | |
2119 | J3PartG.formFactor = "Custom" | |
2120 | J3PartG.Shape = "Ball" | |
2121 | J3PartG.Size = Vector3.new(2,2,2) | |
2122 | J3PartG.TopSurface = 0 | |
2123 | J3PartG.BottomSurface = 0 | |
2124 | J3PartG.BrickColor = BrickColor.Black() | |
2125 | J3PartG.Parent = HoverCraft | |
2126 | J3PartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2127 | J3WeldG = Instance.new("Weld") | |
2128 | J3WeldG.Part0 = J3PartF | |
2129 | J3WeldG.Part1 = J3PartG | |
2130 | J3WeldG.Parent = J3PartG | |
2131 | J3WeldG.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2132 | ||
2133 | J3PartH = Instance.new("Part") | |
2134 | J3PartH.Anchored = false | |
2135 | J3PartH.CanCollide = true | |
2136 | J3PartH.Locked = true | |
2137 | J3PartH.formFactor = "Custom" | |
2138 | J3PartH.Size = Vector3.new(1,1,ArmLength/2) | |
2139 | J3PartH.TopSurface = 0 | |
2140 | J3PartH.BottomSurface = 0 | |
2141 | J3PartH.Parent = HoverCraft | |
2142 | J3PartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2143 | J3WeldH = Instance.new("Weld") | |
2144 | J3WeldH.Part0 = J3PartG | |
2145 | J3WeldH.Part1 = J3PartH | |
2146 | J3WeldH.Parent = J3PartH | |
2147 | J3WeldH.C0 = CFrame.new(0,math.pi/5,ArmLength/4) * CFrame.Angles(-math.pi/5,0,0) | |
2148 | ||
2149 | J3PartI = Instance.new("Part") | |
2150 | J3PartI.Anchored = false | |
2151 | J3PartI.CanCollide = true | |
2152 | J3PartI.Locked = true | |
2153 | J3PartI.formFactor = "Custom" | |
2154 | J3PartI.Size = Vector3.new(1,1,ArmLength/2) | |
2155 | J3PartI.TopSurface = 0 | |
2156 | J3PartI.BottomSurface = 0 | |
2157 | J3PartI.Parent = HoverCraft | |
2158 | J3PartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2159 | J3WeldI = Instance.new("Weld") | |
2160 | J3WeldI.Part0 = J3PartG | |
2161 | J3WeldI.Part1 = J3PartI | |
2162 | J3WeldI.Parent = J3PartI | |
2163 | J3WeldI.C0 = CFrame.new(0,math.pi/5,-ArmLength/4) * CFrame.Angles(math.pi/5,0,0) | |
2164 | ||
2165 | J4PartA = Instance.new("Part") | |
2166 | J4PartA.Anchored = false | |
2167 | J4PartA.CanCollide = true | |
2168 | J4PartA.Locked = true | |
2169 | J4PartA.formFactor = "Custom" | |
2170 | J4PartA.Shape = "Ball" | |
2171 | J4PartA.Size = Vector3.new(2,2,2) | |
2172 | J4PartA.TopSurface = 0 | |
2173 | J4PartA.BottomSurface = 0 | |
2174 | J4PartA.BrickColor = BrickColor.Black() | |
2175 | J4PartA.Parent = HoverCraft | |
2176 | J4PartA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2177 | J4WeldA = Instance.new("Weld") | |
2178 | J4WeldA.Part0 = PartL | |
2179 | J4WeldA.Part1 = J4PartA | |
2180 | J4WeldA.Parent = J4PartA | |
2181 | J4WeldA.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2182 | ||
2183 | J4PartB = Instance.new("Part") | |
2184 | J4PartB.Anchored = false | |
2185 | J4PartB.CanCollide = true | |
2186 | J4PartB.Locked = true | |
2187 | J4PartB.formFactor = "Custom" | |
2188 | J4PartB.Size = Vector3.new(1,ArmLength,1) | |
2189 | J4PartB.TopSurface = 0 | |
2190 | J4PartB.BottomSurface = 0 | |
2191 | J4PartB.Parent = HoverCraft | |
2192 | J4PartB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2193 | J4WeldB = Instance.new("Weld") | |
2194 | J4WeldB.Part0 = J4PartA | |
2195 | J4WeldB.Part1 = J4PartB | |
2196 | J4WeldB.Parent = J4PartB | |
2197 | J4WeldB.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2198 | ||
2199 | J4PartC = Instance.new("Part") | |
2200 | J4PartC.Anchored = false | |
2201 | J4PartC.CanCollide = true | |
2202 | J4PartC.Locked = true | |
2203 | J4PartC.formFactor = "Custom" | |
2204 | J4PartC.Shape = "Ball" | |
2205 | J4PartC.Size = Vector3.new(2,2,2) | |
2206 | J4PartC.TopSurface = 0 | |
2207 | J4PartC.BottomSurface = 0 | |
2208 | J4PartC.BrickColor = BrickColor.Black() | |
2209 | J4PartC.Parent = HoverCraft | |
2210 | J4PartC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2211 | J4WeldC = Instance.new("Weld") | |
2212 | J4WeldC.Part0 = J4PartB | |
2213 | J4WeldC.Part1 = J4PartC | |
2214 | J4WeldC.Parent = J4PartC | |
2215 | J4WeldC.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2216 | ||
2217 | J4PartD = Instance.new("Part") | |
2218 | J4PartD.Anchored = false | |
2219 | J4PartD.CanCollide = true | |
2220 | J4PartD.Locked = true | |
2221 | J4PartD.formFactor = "Custom" | |
2222 | J4PartD.Size = Vector3.new(1,ArmLength,1) | |
2223 | J4PartD.TopSurface = 0 | |
2224 | J4PartD.BottomSurface = 0 | |
2225 | J4PartD.Parent = HoverCraft | |
2226 | J4PartD.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2227 | J4WeldD = Instance.new("Weld") | |
2228 | J4WeldD.Part0 = J4PartC | |
2229 | J4WeldD.Part1 = J4PartD | |
2230 | J4WeldD.Parent = J4PartD | |
2231 | J4WeldD.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2232 | ||
2233 | J4PartE = Instance.new("Part") | |
2234 | J4PartE.Anchored = false | |
2235 | J4PartE.CanCollide = true | |
2236 | J4PartE.Locked = true | |
2237 | J4PartE.formFactor = "Custom" | |
2238 | J4PartE.Shape = "Ball" | |
2239 | J4PartE.Size = Vector3.new(2,2,2) | |
2240 | J4PartE.TopSurface = 0 | |
2241 | J4PartE.BottomSurface = 0 | |
2242 | J4PartE.BrickColor = BrickColor.Black() | |
2243 | J4PartE.Parent = HoverCraft | |
2244 | J4PartE.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2245 | J4WeldE = Instance.new("Weld") | |
2246 | J4WeldE.Part0 = J4PartD | |
2247 | J4WeldE.Part1 = J4PartE | |
2248 | J4WeldE.Parent = J4PartE | |
2249 | J4WeldE.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2250 | ||
2251 | J4PartF = Instance.new("Part") | |
2252 | J4PartF.Anchored = false | |
2253 | J4PartF.CanCollide = true | |
2254 | J4PartF.Locked = true | |
2255 | J4PartF.formFactor = "Custom" | |
2256 | J4PartF.Size = Vector3.new(1,ArmLength,1) | |
2257 | J4PartF.TopSurface = 0 | |
2258 | J4PartF.BottomSurface = 0 | |
2259 | J4PartF.Parent = HoverCraft | |
2260 | J4PartF.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2261 | J4WeldF = Instance.new("Weld") | |
2262 | J4WeldF.Part0 = J4PartE | |
2263 | J4WeldF.Part1 = J4PartF | |
2264 | J4WeldF.Parent = J4PartF | |
2265 | J4WeldF.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2266 | ||
2267 | J4PartG = Instance.new("Part") | |
2268 | J4PartG.Anchored = false | |
2269 | J4PartG.CanCollide = true | |
2270 | J4PartG.Locked = true | |
2271 | J4PartG.formFactor = "Custom" | |
2272 | J4PartG.Shape = "Ball" | |
2273 | J4PartG.Size = Vector3.new(2,2,2) | |
2274 | J4PartG.TopSurface = 0 | |
2275 | J4PartG.BottomSurface = 0 | |
2276 | J4PartG.BrickColor = BrickColor.Black() | |
2277 | J4PartG.Parent = HoverCraft | |
2278 | J4PartG.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2279 | J4WeldG = Instance.new("Weld") | |
2280 | J4WeldG.Part0 = J4PartF | |
2281 | J4WeldG.Part1 = J4PartG | |
2282 | J4WeldG.Parent = J4PartG | |
2283 | J4WeldG.C0 = CFrame.new(0,ArmLength/2,0) * CFrame.Angles(0,0,0) | |
2284 | ||
2285 | J4PartH = Instance.new("Part") | |
2286 | J4PartH.Anchored = false | |
2287 | J4PartH.CanCollide = true | |
2288 | J4PartH.Locked = true | |
2289 | J4PartH.formFactor = "Custom" | |
2290 | J4PartH.Size = Vector3.new(1,1,ArmLength/2) | |
2291 | J4PartH.TopSurface = 0 | |
2292 | J4PartH.BottomSurface = 0 | |
2293 | J4PartH.Parent = HoverCraft | |
2294 | J4PartH.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2295 | J4WeldH = Instance.new("Weld") | |
2296 | J4WeldH.Part0 = J4PartG | |
2297 | J4WeldH.Part1 = J4PartH | |
2298 | J4WeldH.Parent = J4PartH | |
2299 | J4WeldH.C0 = CFrame.new(0,math.pi/5,ArmLength/4) * CFrame.Angles(-math.pi/5,0,0) | |
2300 | ||
2301 | J4PartI = Instance.new("Part") | |
2302 | J4PartI.Anchored = false | |
2303 | J4PartI.CanCollide = true | |
2304 | J4PartI.Locked = true | |
2305 | J4PartI.formFactor = "Custom" | |
2306 | J4PartI.Size = Vector3.new(1,1,ArmLength/2) | |
2307 | J4PartI.TopSurface = 0 | |
2308 | J4PartI.BottomSurface = 0 | |
2309 | J4PartI.Parent = HoverCraft | |
2310 | J4PartI.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2311 | J4WeldI = Instance.new("Weld") | |
2312 | J4WeldI.Part0 = J4PartG | |
2313 | J4WeldI.Part1 = J4PartI | |
2314 | J4WeldI.Parent = J4PartI | |
2315 | J4WeldI.C0 = CFrame.new(0,math.pi/5,-ArmLength/4) * CFrame.Angles(math.pi/5,0,0) | |
2316 | ||
2317 | Balloon = Instance.new("Part") | |
2318 | Balloon.Anchored = false | |
2319 | Balloon.CanCollide = true | |
2320 | Balloon.Locked = true | |
2321 | Balloon.formFactor = "Custom" | |
2322 | Balloon.Size = Vector3.new(0.3,0.3,0.3) | |
2323 | Balloon.Transparency = 1 | |
2324 | Balloon.TopSurface = 0 | |
2325 | Balloon.BottomSurface = 0 | |
2326 | Balloon.BrickColor = BrickColor.Black() | |
2327 | Balloon.Parent = HoverCraft | |
2328 | Balloon.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2329 | BalloonW = Instance.new("Weld") | |
2330 | BalloonW.Part0 = PartA | |
2331 | BalloonW.Part1 = Balloon | |
2332 | BalloonW.Parent = Balloon | |
2333 | BalloonW.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2334 | BalloonM = Instance.new("SpecialMesh") | |
2335 | BalloonM.MeshType = "Sphere" | |
2336 | BalloonM.Scale = Vector3.new(1,1,1) | |
2337 | BalloonM.Parent = Balloon | |
2338 | ||
2339 | Jump = false | |
2340 | ||
2341 | Gyro = Instance.new("BodyGyro") | |
2342 | Gyro.maxTorque = Vector3.new(math.huge,0,math.huge) | |
2343 | Gyro.cframe = CFrame.new(0,0,0) | |
2344 | Gyro.Parent = Seat | |
2345 | ||
2346 | AngleVelocity = Instance.new("BodyAngularVelocity") | |
2347 | AngleVelocity.maxTorque = Vector3.new(0,math.huge,0) | |
2348 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2349 | AngleVelocity.Parent = Seat | |
2350 | ||
2351 | DriveVelocity = Instance.new("BodyVelocity") | |
2352 | DriveVelocity.maxForce = Vector3.new(0,0,0) | |
2353 | DriveVelocity.Parent = Seat | |
2354 | ||
2355 | function FTBurn(BurntModel) | |
2356 | coroutine.resume(coroutine.create(function() | |
2357 | char = BurntModel | |
2358 | ||
2359 | model = Instance.new("Model") | |
2360 | model.Name = "Burnt" | |
2361 | model.Parent = char | |
2362 | ||
2363 | for _,j in pairs (char:GetChildren()) do | |
2364 | if j.className == "CharacterMesh" then | |
2365 | j:Remove() | |
2366 | end end | |
2367 | ||
2368 | local part = Instance.new("Part") | |
2369 | part.Anchored = false | |
2370 | part.CanCollide = false | |
2371 | part.Locked = true | |
2372 | part.formFactor = "Symmetric" | |
2373 | part.TopSurface = 0 | |
2374 | part.BottomSurface = 0 | |
2375 | part.BrickColor = BrickColor.new("Really black") | |
2376 | part.Size = Vector3.new(1,1,1) | |
2377 | part.Parent = model | |
2378 | local mesh = Instance.new("SpecialMesh") | |
2379 | mesh.MeshType = "Brick" | |
2380 | mesh.Scale = Vector3.new(1.01,2.005,1.01) | |
2381 | mesh.Parent = part | |
2382 | weld = Instance.new("Weld") | |
2383 | weld.Parent = char["Left Arm"] | |
2384 | weld.Part0 = weld.Parent | |
2385 | weld.Part1 = part | |
2386 | weld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2387 | local part = Instance.new("Part") | |
2388 | part.Anchored = false | |
2389 | part.CanCollide = false | |
2390 | part.Locked = true | |
2391 | part.formFactor = "Symmetric" | |
2392 | part.TopSurface = 0 | |
2393 | part.BottomSurface = 0 | |
2394 | part.BrickColor = BrickColor.new("Really black") | |
2395 | part.Size = Vector3.new(1,1,1) | |
2396 | part.Parent = model | |
2397 | local mesh = Instance.new("SpecialMesh") | |
2398 | mesh.MeshType = "Brick" | |
2399 | mesh.Scale = Vector3.new(1.01,2.005,1.01) | |
2400 | mesh.Parent = part | |
2401 | weld = Instance.new("Weld") | |
2402 | weld.Parent = char["Right Arm"] | |
2403 | weld.Part0 = weld.Parent | |
2404 | weld.Part1 = part | |
2405 | weld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2406 | local part = Instance.new("Part") | |
2407 | part.Anchored = false | |
2408 | part.CanCollide = false | |
2409 | part.Locked = true | |
2410 | part.formFactor = "Symmetric" | |
2411 | part.TopSurface = 0 | |
2412 | part.BottomSurface = 0 | |
2413 | part.BrickColor = BrickColor.new("Really black") | |
2414 | part.Size = Vector3.new(1,1,1) | |
2415 | part.Parent = model | |
2416 | local mesh = Instance.new("SpecialMesh") | |
2417 | mesh.MeshType = "Brick" | |
2418 | mesh.Scale = Vector3.new(1.01,2.005,1.01) | |
2419 | mesh.Parent = part | |
2420 | weld = Instance.new("Weld") | |
2421 | weld.Parent = char["Left Leg"] | |
2422 | weld.Part0 = weld.Parent | |
2423 | weld.Part1 = part | |
2424 | weld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2425 | local part = Instance.new("Part") | |
2426 | part.Anchored = false | |
2427 | part.CanCollide = false | |
2428 | part.Locked = true | |
2429 | part.formFactor = "Symmetric" | |
2430 | part.TopSurface = 0 | |
2431 | part.BottomSurface = 0 | |
2432 | part.BrickColor = BrickColor.new("Really black") | |
2433 | part.Size = Vector3.new(1,1,1) | |
2434 | part.Parent = model | |
2435 | local mesh = Instance.new("SpecialMesh") | |
2436 | mesh.MeshType = "Brick" | |
2437 | mesh.Scale = Vector3.new(1.01,2.005,1.01) | |
2438 | mesh.Parent = part | |
2439 | weld = Instance.new("Weld") | |
2440 | weld.Parent = char["Right Leg"] | |
2441 | weld.Part0 = weld.Parent | |
2442 | weld.Part1 = part | |
2443 | weld.C0 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0,0,0) | |
2444 | local part = Instance.new("Part") | |
2445 | part.Anchored = false | |
2446 | part.CanCollide = false | |
2447 | part.Locked = true | |
2448 | part.formFactor = "Symmetric" | |
2449 | part.TopSurface = 0 | |
2450 | part.BottomSurface = 0 | |
2451 | part.BrickColor = BrickColor.new("Really black") | |
2452 | part.Size = Vector3.new(1,1,1) | |
2453 | part.Parent = model | |
2454 | local mesh = Instance.new("SpecialMesh") | |
2455 | mesh.MeshType = "Brick" | |
2456 | mesh.Scale = Vector3.new(2.005,2.005,1.01) | |
2457 | mesh.Parent = part | |
2458 | weld = Instance.new("Weld") | |
2459 | weld.Parent = char["Torso"] | |
2460 | weld.Part0 = weld.Parent | |
2461 | weld.Part1 = part | |
2462 | local part = Instance.new("Part") | |
2463 | part.Anchored = false | |
2464 | part.CanCollide = false | |
2465 | part.Locked = true | |
2466 | part.formFactor = "Symmetric" | |
2467 | part.TopSurface = 0 | |
2468 | part.BottomSurface = 0 | |
2469 | part.BrickColor = BrickColor.new("Really black") | |
2470 | part.Size = Vector3.new(1,1,1) | |
2471 | part.Parent = model | |
2472 | local mesh = Instance.new("SpecialMesh") | |
2473 | mesh.MeshType = "Head" | |
2474 | mesh.Scale = Vector3.new(1.26,1.26,1.26) | |
2475 | mesh.Parent = part | |
2476 | weld = Instance.new("Weld") | |
2477 | weld.Parent = char["Head"] | |
2478 | weld.Part0 = weld.Parent | |
2479 | weld.Part1 = part | |
2480 | ||
2481 | for i,v in pairs(char:GetChildren()) do if v.className == "Part" then Instance.new("Fire").Parent = v end end | |
2482 | for i,v in pairs(model:GetChildren()) do if v.className == "Part" then v.Transparency = 1 end end | |
2483 | for i = 1,1000 do wait() | |
2484 | for i,v in pairs(model:GetChildren()) do if v.className == "Part" then v.Transparency = v.Transparency - 0.001 end end | |
2485 | char.Humanoid.Health = char.Humanoid.Health - 0.11 | |
2486 | end | |
2487 | for i,v in pairs(char:GetChildren()) do if v.className == "Part" then v.BrickColor = BrickColor.new("Really black") end end | |
2488 | model:Remove() | |
2489 | char:BreakJoints() | |
2490 | ||
2491 | ||
2492 | ||
2493 | end)) | |
2494 | end | |
2495 | ||
2496 | function LegsDown() | |
2497 | if Mode == 1 then Velocity.Parent = Seat end | |
2498 | for i = 1,6 do wait() | |
2499 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2500 | J1WeldC.C0 = J1WeldC.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2501 | J1WeldE.C0 = J1WeldE.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2502 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2503 | J2WeldC.C0 = J2WeldC.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2504 | J2WeldE.C0 = J2WeldE.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2505 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2506 | J3WeldC.C0 = J3WeldC.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2507 | J3WeldE.C0 = J3WeldE.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2508 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2509 | J4WeldC.C0 = J4WeldC.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2510 | J4WeldE.C0 = J4WeldE.C0 * CFrame.Angles(0,0,-(-math.pi/(math.pi*10))) | |
2511 | end | |
2512 | end | |
2513 | ||
2514 | function LegsUp() | |
2515 | for i = 1,6 do wait() | |
2516 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2517 | J1WeldC.C0 = J1WeldC.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2518 | J1WeldE.C0 = J1WeldE.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2519 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2520 | J2WeldC.C0 = J2WeldC.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2521 | J2WeldE.C0 = J2WeldE.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2522 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2523 | J3WeldC.C0 = J3WeldC.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2524 | J3WeldE.C0 = J3WeldE.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2525 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2526 | J4WeldC.C0 = J4WeldC.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2527 | J4WeldE.C0 = J4WeldE.C0 * CFrame.Angles(0,0,(-math.pi/(math.pi*10))) | |
2528 | end | |
2529 | end | |
2530 | ||
2531 | Legs = 0 | |
2532 | LegsDown() | |
2533 | ||
2534 | function TempSeats() | |
2535 | ||
2536 | local PartAA = Instance.new("Seat") | |
2537 | PartAA.Anchored = false | |
2538 | PartAA.CanCollide = false | |
2539 | PartAA.Locked = true | |
2540 | PartAA.formFactor = "Custom" | |
2541 | PartAA.Size = Vector3.new(2,0.5,2) | |
2542 | PartAA.TopSurface = 0 | |
2543 | PartAA.BottomSurface = 0 | |
2544 | PartAA.BrickColor = BrickColor.Black() | |
2545 | PartAA.Parent = HoverCraft | |
2546 | PartAA.Name = "TempSeatA" | |
2547 | PartAA.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2548 | local WeldAA = Instance.new("Weld") | |
2549 | WeldAA.Part0 = Seat | |
2550 | WeldAA.Part1 = PartAA | |
2551 | WeldAA.Parent = PartAA | |
2552 | WeldAA.C0 = CFrame.new(0,0.25,4.75) * CFrame.Angles(0,math.pi,0) | |
2553 | ||
2554 | local PartBB = Instance.new("Seat") | |
2555 | PartBB.Anchored = false | |
2556 | PartBB.CanCollide = false | |
2557 | PartBB.Locked = true | |
2558 | PartBB.formFactor = "Custom" | |
2559 | PartBB.Size = Vector3.new(2,0.5,2) | |
2560 | PartBB.TopSurface = 0 | |
2561 | PartBB.BottomSurface = 0 | |
2562 | PartBB.BrickColor = BrickColor.Black() | |
2563 | PartBB.Parent = HoverCraft | |
2564 | PartBB.Name = "TempSeatB" | |
2565 | PartBB.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2566 | local WeldBB = Instance.new("Weld") | |
2567 | WeldBB.Part0 = Seat | |
2568 | WeldBB.Part1 = PartBB | |
2569 | WeldBB.Parent = PartBB | |
2570 | WeldBB.C0 = CFrame.new(-4.75,0.25,0) * CFrame.Angles(0,math.pi/2,0) | |
2571 | ||
2572 | local PartCC = Instance.new("Seat") | |
2573 | PartCC.Anchored = false | |
2574 | PartCC.CanCollide = false | |
2575 | PartCC.Locked = true | |
2576 | PartCC.formFactor = "Custom" | |
2577 | PartCC.Size = Vector3.new(2,0.5,2) | |
2578 | PartCC.TopSurface = 0 | |
2579 | PartCC.BottomSurface = 0 | |
2580 | PartCC.BrickColor = BrickColor.Black() | |
2581 | PartCC.Parent = HoverCraft | |
2582 | PartCC.Name = "TempSeatC" | |
2583 | PartCC.CFrame = Character.Torso.CFrame - Vector3.new(0,2,0) | |
2584 | local WeldCC = Instance.new("Weld") | |
2585 | WeldCC.Part0 = Seat | |
2586 | WeldCC.Part1 = PartCC | |
2587 | WeldCC.Parent = PartCC | |
2588 | WeldCC.C0 = CFrame.new(4.75,0.25,0) * CFrame.Angles(0,-math.pi/2,0) | |
2589 | ||
2590 | coroutine.resume(coroutine.create(function() | |
2591 | for i = 1,0,-0.1 do | |
2592 | PartAA.Transparency = i | |
2593 | PartBB.Transparency = i | |
2594 | PartCC.Transparency = i | |
2595 | wait() | |
2596 | end | |
2597 | end)) | |
2598 | end | |
2599 | ||
2600 | ||
2601 | ||
2602 | function DelTempSeats() | |
2603 | pcall(function() | |
2604 | local PartAA = HoverCraft.TempSeatA | |
2605 | local PartBB = HoverCraft.TempSeatB | |
2606 | local PartCC = HoverCraft.TempSeatC | |
2607 | coroutine.resume(coroutine.create(function() | |
2608 | for i = 0,1,0.1 do | |
2609 | PartAA.Transparency = i | |
2610 | PartBB.Transparency = i | |
2611 | PartCC.Transparency = i | |
2612 | wait() | |
2613 | end | |
2614 | PartAA:Destroy() | |
2615 | PartBB:Destroy() | |
2616 | PartCC:Destroy() | |
2617 | end)) | |
2618 | end) | |
2619 | end | |
2620 | ||
2621 | function MakeBall() | |
2622 | DriveVelocity.maxForce = Vector3.new(0,0,0) | |
2623 | DriveVelocity.velocity = Vector3.new(0,0,0) | |
2624 | wait() | |
2625 | Balloon.Transparency = 0 | |
2626 | BalloonW.C0 = CFrame.new(0,12,0) * CFrame.Angles(0,0,0) | |
2627 | for i = 1,30 do wait() | |
2628 | BalloonW.C0 = BalloonW.C0 + Vector3.new(0,0.74,0) | |
2629 | BalloonM.Scale = BalloonM.Scale + Vector3.new(5,5,5) | |
2630 | end | |
2631 | DriveVelocity.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
2632 | DriveVelocity.velocity = Vector3.new(0,math.pi*ArmLength,0) | |
2633 | end | |
2634 | ||
2635 | function dmgcounter(part,name) | |
2636 | dmgcm = Instance.new("Model", part.Parent) | |
2637 | dmgcm.Name = name | |
2638 | dmgc = Instance.new("Part", dmgcm) | |
2639 | dmgc.Name = "Head" | |
2640 | dmgc.BrickColor = BrickColor.new("Bright red") | |
2641 | dmgc.FormFactor = "Custom" | |
2642 | dmgc.Size = Vector3.new(0.7,0.2,0.7) | |
2643 | dmgc.TopSurface = "Smooth" | |
2644 | dmgc.BottomSurface = "Smooth" | |
2645 | dmgc.CanCollide = false | |
2646 | dmgc.Anchored = true | |
2647 | Instance.new("Humanoid", dmgcm).MaxHealth = 0 | |
2648 | game:GetService("Debris"):AddItem(dmgcm,3) | |
2649 | dmgc.CFrame = CFrame.new(part.CFrame.x+math.random(-2,2),math.random(7,8),part.CFrame.z+math.random(-2,2)) | |
2650 | coroutine.resume(coroutine.create(function() | |
2651 | while true do | |
2652 | wait(0.1) | |
2653 | dmgc.CFrame = dmgc.CFrame*CFrame.new(0,0.01,0) | |
2654 | end | |
2655 | end)) | |
2656 | end | |
2657 | ||
2658 | function DeleBall() | |
2659 | for i = 1,30 do wait() | |
2660 | BalloonW.C0 = BalloonW.C0 - Vector3.new(0,0.74,0) | |
2661 | BalloonM.Scale = BalloonM.Scale - Vector3.new(5,5,5) | |
2662 | end | |
2663 | Balloon.Transparency = 1 | |
2664 | BalloonW.C0 = CFrame.new(0,0,0) * CFrame.Angles(0,0,0) | |
2665 | DriveVelocity.maxForce = Vector3.new(0,0,0) | |
2666 | DriveVelocity.velocity = Vector3.new(0,0,0) | |
2667 | end | |
2668 | ||
2669 | Blah = true | |
2670 | EndBlah = true | |
2671 | ||
2672 | Mode = 0 -- 0=Spider,1=Balloon | |
2673 | Walking = false | |
2674 | Walk = false | |
2675 | WalkA = false | |
2676 | WalkD = false | |
2677 | WalkS = false | |
2678 | WalkW = false | |
2679 | ||
2680 | --------------------------------------------------------------------------------------------------------------- | |
2681 | ||
2682 | function SpiderWalkW() | |
2683 | if not Walk then | |
2684 | Walk = true | |
2685 | if WalkW then | |
2686 | ||
2687 | for i = 1, 2 do wait() | |
2688 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2689 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2690 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2691 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2692 | end | |
2693 | DriveVelocity.maxForce = Vector3.new(math.huge,0,math.huge) | |
2694 | while (Mode == 0) and WalkW do wait() | |
2695 | for i = 1,4 do wait() | |
2696 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2697 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2698 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2699 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2700 | DriveVelocity.velocity = Seat.CFrame.lookVector * 20 | |
2701 | ||
2702 | end | |
2703 | for i = 1,4 do wait() | |
2704 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2705 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2706 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2707 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2708 | DriveVelocity.velocity = Seat.CFrame.lookVector * 20 | |
2709 | ||
2710 | end | |
2711 | end | |
2712 | DriveVelocity.maxForce = Vector3.new(0,0,0) | |
2713 | DriveVelocity.velocity = Vector3.new(0,0,0) | |
2714 | for i = 1, 2 do wait() | |
2715 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2716 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2717 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2718 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2719 | end | |
2720 | ||
2721 | end | |
2722 | Walk = false | |
2723 | end | |
2724 | end | |
2725 | ||
2726 | --------------------------------------------------------------------------------------------------------------- | |
2727 | ||
2728 | function SpiderWalkS() | |
2729 | if not Walk then | |
2730 | Walk = true | |
2731 | if WalkS then | |
2732 | ||
2733 | for i = 1, 2 do wait() | |
2734 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2735 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2736 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2737 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2738 | end | |
2739 | DriveVelocity.maxForce = Vector3.new(math.huge,0,math.huge) | |
2740 | ||
2741 | while (Mode == 0) and WalkS do wait() | |
2742 | for i = 1,4 do wait() | |
2743 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2744 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2745 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2746 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2747 | DriveVelocity.velocity = Seat.CFrame.lookVector * -15 | |
2748 | ||
2749 | end | |
2750 | for i = 1,4 do wait() | |
2751 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2752 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2753 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2754 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2755 | DriveVelocity.velocity = Seat.CFrame.lookVector * -15 | |
2756 | ||
2757 | end | |
2758 | end | |
2759 | DriveVelocity.maxForce = Vector3.new(0,0,0) | |
2760 | DriveVelocity.velocity = Vector3.new(0,0,0) | |
2761 | for i = 1, 2 do wait() | |
2762 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2763 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2764 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2765 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2766 | end | |
2767 | ||
2768 | end | |
2769 | Walk = false | |
2770 | end | |
2771 | end | |
2772 | ||
2773 | --------------------------------------------------------------------------------------------------------------- | |
2774 | ||
2775 | function SpiderWalkA() | |
2776 | if not Walk then | |
2777 | Walk = true | |
2778 | if WalkA then | |
2779 | ||
2780 | for i = 1, 2 do wait() | |
2781 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2782 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2783 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2784 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2785 | end | |
2786 | AngleVelocity.angularvelocity = Vector3.new(0,3,0) | |
2787 | while (Mode == 0) and WalkA do wait() | |
2788 | for i = 1,4 do wait() | |
2789 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2790 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2791 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2792 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2793 | end | |
2794 | for i = 1,4 do wait() | |
2795 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2796 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2797 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2798 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2799 | end | |
2800 | end | |
2801 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2802 | for i = 1, 2 do wait() | |
2803 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2804 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2805 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2806 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2807 | end | |
2808 | ||
2809 | end | |
2810 | Walk = false | |
2811 | ||
2812 | ||
2813 | elseif Walk then | |
2814 | ||
2815 | if WalkW then | |
2816 | AngleVelocity.angularvelocity = Vector3.new(0,0.5,0) | |
2817 | while (Mode == 0) and WalkW and WalkA do wait() end | |
2818 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2819 | end | |
2820 | ||
2821 | end | |
2822 | end | |
2823 | ||
2824 | --------------------------------------------------------------------------------------------------------------- | |
2825 | ||
2826 | function SpiderWalkD() | |
2827 | if not Walk then | |
2828 | Walk = true | |
2829 | if WalkD then | |
2830 | ||
2831 | for i = 1, 2 do wait() | |
2832 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2833 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2834 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2835 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2836 | end | |
2837 | AngleVelocity.angularvelocity = Vector3.new(0,-3,0) | |
2838 | while (Mode == 0) and WalkD do wait() | |
2839 | for i = 1,4 do wait() | |
2840 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2841 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2842 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2843 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2844 | end | |
2845 | for i = 1,4 do wait() | |
2846 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2847 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2848 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2849 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles((-math.pi/(math.pi*10)),0,0) | |
2850 | end | |
2851 | end | |
2852 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2853 | for i = 1, 2 do wait() | |
2854 | J1WeldA.C0 = J1WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2855 | J2WeldA.C0 = J2WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2856 | J3WeldA.C0 = J3WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2857 | J4WeldA.C0 = J4WeldA.C0 * CFrame.Angles(-(-math.pi/(math.pi*10)),0,0) | |
2858 | end | |
2859 | ||
2860 | end | |
2861 | Walk = false | |
2862 | ||
2863 | ||
2864 | elseif Walk then | |
2865 | ||
2866 | if WalkW then | |
2867 | AngleVelocity.angularvelocity = Vector3.new(0,-0.5,0) | |
2868 | while (Mode == 0) and WalkW and WalkD do wait() end | |
2869 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2870 | end | |
2871 | ||
2872 | end | |
2873 | end | |
2874 | ||
2875 | function BFlyW() | |
2876 | ||
2877 | end | |
2878 | ||
2879 | function BFlyA() | |
2880 | if not Walk then | |
2881 | Walk = true | |
2882 | if WalkA then | |
2883 | ||
2884 | AngleVelocity.angularvelocity = Vector3.new(0,1,0) | |
2885 | while WalkA do wait() end | |
2886 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2887 | ||
2888 | end | |
2889 | Walk = false | |
2890 | end | |
2891 | end | |
2892 | ||
2893 | function BFlyS() | |
2894 | if not Walk then | |
2895 | Walk = true | |
2896 | if WalkS then | |
2897 | ||
2898 | ||
2899 | end | |
2900 | Walk = false | |
2901 | end | |
2902 | end | |
2903 | ||
2904 | function BFlyD() | |
2905 | if not Walk then | |
2906 | Walk = true | |
2907 | if WalkD then | |
2908 | ||
2909 | AngleVelocity.angularvelocity = Vector3.new(0,-1,0) | |
2910 | while WalkD do wait() end | |
2911 | AngleVelocity.angularvelocity = Vector3.new(0,0,0) | |
2912 | ||
2913 | end | |
2914 | Walk = false | |
2915 | end | |
2916 | end | |
2917 | ||
2918 | ---- | |
2919 | ||
2920 | function HatchUp() | |
2921 | for i = 1,12 do wait() | |
2922 | HWeldB.C0 = HWeldB.C0 * CFrame.Angles(0,-math.pi/24,0) | |
2923 | end | |
2924 | end | |
2925 | ||
2926 | function HatchDown() | |
2927 | for i = 1,12 do wait() | |
2928 | HWeldB.C0 = HWeldB.C0 * CFrame.Angles(0,math.pi/24,0) | |
2929 | end | |
2930 | end | |
2931 | ||
2932 | ---- | |
2933 | ||
2934 | function CloseJaw() | |
2935 | for i = 1,7 do wait() | |
2936 | GunWeldD.C0 = GunWeldD.C0 * CFrame.Angles(0.1,0,0) | |
2937 | GunWeldK.C0 = GunWeldK.C0 * CFrame.Angles(-0.1,0,0) | |
2938 | end | |
2939 | end | |
2940 | function OpenJaw() | |
2941 | for i = 1,7 do wait() | |
2942 | GunWeldD.C0 = GunWeldD.C0 * CFrame.Angles(-0.1,0,0) | |
2943 | GunWeldK.C0 = GunWeldK.C0 * CFrame.Angles(0.1,0,0) | |
2944 | end | |
2945 | end | |
2946 | ||
2947 | function Shoot() | |
2948 | end | |
2949 | ||
2950 | --------------------------------------------------------------------------------------------------------------- | |
2951 | ||
2952 | Seats = false | |
2953 | ||
2954 | hatch = true | |
2955 | ||
2956 | if script.Parent == nil or script.Parent.Name == Player.Name or script.Parent.Parent.Name == Player.Name then | |
2957 | Hopper = Instance.new("HopperBin") | |
2958 | Hopper.Name = "BNS" | |
2959 | Hopper.Parent = Player.Backpack | |
2960 | end | |
2961 | ||
2962 | function onKeyDown(key) | |
2963 | if Blah == true then | |
2964 | Blah = false | |
2965 | ||
2966 | if key == "f" then | |
2967 | OpenJaw() | |
2968 | Shoot() | |
2969 | CloseJaw() | |
2970 | end | |
2971 | ||
2972 | if key == "e" then | |
2973 | if Mode == 0 then | |
2974 | if hatch then | |
2975 | hatch = false | |
2976 | HatchUp() | |
2977 | elseif not hatch then | |
2978 | hatch = true | |
2979 | HatchDown() | |
2980 | end | |
2981 | end | |
2982 | end | |
2983 | ||
2984 | if key == "l" then | |
2985 | if Seats == false then | |
2986 | if HoverCraft:FindFirstChild("TempSeatA") or HoverCraft:FindFirstChild("TempSeatB") or HoverCraft:FindFirstChild("TempSeatC") then | |
2987 | Seats = true | |
2988 | DelTempSeats() | |
2989 | Seats = false | |
2990 | else | |
2991 | Seats = true | |
2992 | TempSeats() | |
2993 | Seats = false | |
2994 | end | |
2995 | end | |
2996 | end | |
2997 | ||
2998 | if string.byte(key) == 8 then | |
2999 | Character.Torso.CFrame = Seat.CFrame*CFrame.new(0,2,0) | |
3000 | end | |
3001 | ||
3002 | if key == "/" then -- shift key :3 | |
3003 | if Mode == 0 and not Walk then | |
3004 | if not Jump then | |
3005 | Jump = true | |
3006 | LegsDown() | |
3007 | DriveVelocity.maxForce = Vector3.new(math.huge,math.huge,math.huge) | |
3008 | DriveVelocity.velocity = Vector3.new(Seat.CFrame.lookVector.x * 30,15,Seat.CFrame.lookVector.z * 30) | |
3009 | wait() | |
3010 | LegsUp() | |
3011 | wait(0.6) | |
3012 | DriveVelocity.maxForce = Vector3.new(0,0,0) | |
3013 | DriveVelocity.velocity = Vector3.new(0,0,0) | |
3014 | wait(0.7) | |
3015 | Jump = false | |
3016 | end | |
3017 | end | |
3018 | end | |
3019 | ||
3020 | if key == "p" and (not WalkW and not WalkA and not WalkS and not WalkD) and not Walk then | |
3021 | if Mode == 0 then | |
3022 | Mode = 1 | |
3023 | if not hatch then HatchDown() hatch = true end -- c: | |
3024 | LegsUp() | |
3025 | LegsUp() | |
3026 | MakeBall() | |
3027 | elseif Mode == 1 then | |
3028 | Mode = 0 | |
3029 | ||
3030 | DeleBall() | |
3031 | LegsDown() | |
3032 | LegsDown() | |
3033 | ||
3034 | end | |
3035 | ||
3036 | end | |
3037 | ||
3038 | Sit = Character.Humanoid.Sit | |
3039 | ||
3040 | if Mode == 0 and Sit then | |
3041 | ||
3042 | if key == "w" then | |
3043 | WalkW = true | |
3044 | coroutine.resume(coroutine.create(function() | |
3045 | SpiderWalkW() | |
3046 | end)) | |
3047 | ||
3048 | elseif key == "a" then | |
3049 | WalkA = true | |
3050 | coroutine.resume(coroutine.create(function() | |
3051 | SpiderWalkA() | |
3052 | end)) | |
3053 | ||
3054 | elseif key == "s" then | |
3055 | WalkS = true | |
3056 | coroutine.resume(coroutine.create(function() | |
3057 | SpiderWalkS() | |
3058 | end)) | |
3059 | ||
3060 | elseif key == "d" then | |
3061 | WalkD = true | |
3062 | coroutine.resume(coroutine.create(function() | |
3063 | SpiderWalkD() | |
3064 | end)) | |
3065 | end | |
3066 | ||
3067 | elseif Mode == 1 and Sit then | |
3068 | ||
3069 | if key == "w" then | |
3070 | WalkW = true | |
3071 | coroutine.resume(coroutine.create(function() | |
3072 | BFlyW() | |
3073 | end)) | |
3074 | ||
3075 | elseif key == "a" then | |
3076 | WalkA = true | |
3077 | coroutine.resume(coroutine.create(function() | |
3078 | BFlyA() | |
3079 | end)) | |
3080 | ||
3081 | elseif key == "s" then | |
3082 | WalkS = true | |
3083 | coroutine.resume(coroutine.create(function() | |
3084 | BFlyS() | |
3085 | end)) | |
3086 | ||
3087 | elseif key == "d" then | |
3088 | WalkD = true | |
3089 | coroutine.resume(coroutine.create(function() | |
3090 | BFlyD() | |
3091 | end)) | |
3092 | ||
3093 | end | |
3094 | ||
3095 | end | |
3096 | ||
3097 | Blah = true | |
3098 | end | |
3099 | end | |
3100 | ||
3101 | function onKeyUp(key) | |
3102 | key = key:lower() | |
3103 | if key == "w" then | |
3104 | WalkW = false | |
3105 | elseif key == "a" then | |
3106 | WalkA = false | |
3107 | elseif key == "s" then | |
3108 | WalkS = false | |
3109 | elseif key == "d" then | |
3110 | WalkD = false | |
3111 | end | |
3112 | end | |
3113 | ||
3114 | function Selected(Mouse) | |
3115 | Mouse.Icon = "rbxasset://textures\\GunCursor.png" | |
3116 | Mouse.KeyDown:connect(onKeyDown) | |
3117 | Mouse.KeyUp:connect(onKeyUp) | |
3118 | Mouse.Button1Down:connect(function() onButton1Down(Mouse) end) | |
3119 | end | |
3120 | ||
3121 | Hopper.Selected:connect(Selected) |