SHOW:
|
|
- or go back to the newest paste.
1 | if game:GetService("RunService"):IsClient()then error("say h/ not hl/ ya dummy")end;print("get rekt");InternalData = {} | |
2 | do | |
3 | script.Parent = owner.Character | |
4 | local Event = Instance.new("RemoteEvent");Event.Name = "UserInput" | |
5 | local function NewFakeEvent() | |
6 | local Bind = Instance.new("BindableEvent") | |
7 | local Fake;Fake = {Connections = {}, | |
8 | fakeEvent=true; | |
9 | Connect=function(self,Func) | |
10 | Bind.Event:connect(Func) | |
11 | self.Connections[Bind] = true | |
12 | return setmetatable({Connected = true},{ | |
13 | __index = function (self,Index) | |
14 | if Index:lower() == "disconnect" then | |
15 | return function() Fake.Connections[Bind] = false;self.Connected = false end | |
16 | end | |
17 | return Fake[Index] | |
18 | end; | |
19 | __tostring = function() return "Connection" end; | |
20 | }) | |
21 | end} | |
22 | Fake.connect = Fake.Connect;return Fake; | |
23 | end | |
24 | local Mouse = {Target=nil,Hit=CFrame.new(),KeyUp=NewFakeEvent(),KeyDown=NewFakeEvent(),Button1Up=NewFakeEvent(),Button1Down=NewFakeEvent()} | |
25 | local UserInputService = {InputBegan=NewFakeEvent(),InputEnded=NewFakeEvent()} | |
26 | local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...) | |
27 | self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil | |
28 | end};ContextActionService.UnBindAction = ContextActionService.BindAction | |
29 | local function TriggerEvent(self,Event,...) | |
30 | local Trigger = Mouse[Event] | |
31 | if Trigger and Trigger.fakeEvent and Trigger.Connections then | |
32 | for Connection,Active in pairs(Trigger.Connections) do if Active then Connection:Fire(...) end end | |
33 | end | |
34 | end | |
35 | Mouse.TrigEvent = TriggerEvent;UserInputService.TrigEvent = TriggerEvent | |
36 | Event.OnServerEvent:Connect(function(FiredBy,Input) | |
37 | if FiredBy.Name ~= owner.Name then return end | |
38 | if Input.MouseEvent then | |
39 | Mouse.Target = Input.Target;Mouse.Hit = Input.Hit | |
40 | else | |
41 | local Begin = Input.UserInputState == Enum.UserInputState.Begin | |
42 | if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TrigEvent(Begin and "Button1Down" or "Button1Up") end | |
43 | for _,Action in pairs(ContextActionService.Actions) do | |
44 | for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end | |
45 | end | |
46 | Mouse:TrigEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower()) | |
47 | UserInputService:TrigEvent(Begin and "InputBegan" or "InputEnded",Input,false) | |
48 | end | |
49 | end) | |
50 | InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService | |
51 | Event.Parent = NLS([[ | |
52 | local Player = owner;local Event = script:WaitForChild("UserInput");local UserInputService = game:GetService("UserInputService");local Mouse = Player:GetMouse() | |
53 | local Input = function(Input,gameProcessedEvent) | |
54 | if gameProcessedEvent then return end | |
55 | Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState}) | |
56 | end | |
57 | UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input) | |
58 | local Hit,Target | |
59 | while wait(1/30) do | |
60 | if Hit ~= Mouse.Hit or Target ~= Mouse.Target then | |
61 | Hit,Target = Mouse.Hit,Mouse.Target;Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit}) | |
62 | end | |
63 | end | |
64 | ]],owner.Character) | |
65 | end | |
66 | RealGame = game;game = setmetatable({},{ | |
67 | __index = function (self,Index) | |
68 | local Sandbox = function (Thing) | |
69 | if Thing:IsA("Player") then | |
70 | local RealPlayer = Thing | |
71 | return setmetatable({},{ | |
72 | __index = function (self,Index) | |
73 | local Type = type(RealPlayer[Index]) | |
74 | if Type == "function" then | |
75 | if Index:lower() == "getmouse" or Index:lower() == "mouse" then | |
76 | return function (self)return InternalData["Mouse"] end | |
77 | end | |
78 | return function (self,...)return RealPlayer[Index](RealPlayer,...) end | |
79 | end | |
80 | return RealPlayer[Index] | |
81 | end; | |
82 | __tostring = function(self) return RealPlayer.Name end | |
83 | }) | |
84 | end | |
85 | end | |
86 | if RealGame[Index] then | |
87 | local Type = type(RealGame[Index]) | |
88 | if Type == "function" then | |
89 | if Index:lower() == "getservice" or Index:lower() == "service" then | |
90 | return function (self,Service) | |
91 | local FakeServices = { | |
92 | ["players"] = function() | |
93 | return setmetatable({},{ | |
94 | __index = function (self2,Index2) | |
95 | local RealService = RealGame:GetService(Service) | |
96 | local Type2 = type(Index2) | |
97 | if Type2 == "function" then | |
98 | return function (self,...) return RealService[Index2](RealService,...)end | |
99 | else | |
100 | if Index2:lower() == "localplayer" then return Sandbox(owner) end | |
101 | return RealService[Index2] | |
102 | end | |
103 | end; | |
104 | __tostring = function(self) return RealGame:GetService(Service).Name end | |
105 | }) | |
106 | end; | |
107 | ["contextactionservice"] = function() return InternalData["ContextActionService"] end; | |
108 | ["userinputservice"] = function() return InternalData["UserInputService"] end; | |
109 | ["runservice"] = function() | |
110 | return setmetatable({},{ | |
111 | __index = function(self2,Index2) | |
112 | local RealService = RealGame:GetService(Service) | |
113 | local Type2 = type(Index2) | |
114 | if Type2 == "function" then | |
115 | return function (self,...) return RealService[Index2](RealService,...) end | |
116 | else | |
117 | local RunServices = { | |
118 | ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return RealGame:GetService("RunService").Stepped:Connect(Function) end end; | |
119 | ["renderstepped"] = function() return RealService["Stepped"] end | |
120 | } | |
121 | if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end | |
122 | return RealService[Index2] | |
123 | end | |
124 | end | |
125 | }) | |
126 | end | |
127 | } | |
128 | if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end | |
129 | return RealGame:GetService(Service) | |
130 | end | |
131 | end | |
132 | return function (self,...) return RealGame[Index](RealGame,...) end | |
133 | else | |
134 | if game:GetService(Index) then return game:GetService(Index) end | |
135 | return RealGame[Index] | |
136 | end | |
137 | end | |
138 | return nil | |
139 | end | |
140 | });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("running the script noob") | |
141 | ||
142 | A = true | |
143 | if A == true then | |
144 | Model = Instance.new("Model") | |
145 | Model.Name = "Weapon" | |
146 | p = Instance.new("Part", Model) | |
147 | p.Name = "Part" | |
148 | p.TopSurface = 0 | |
149 | p.BottomSurface = 0 | |
150 | p.formFactor = "Custom" | |
151 | p.Size = Vector3.new(10, 12, 10) | |
152 | p.CFrame = CFrame.new(35.4000015, 7.0999999, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
153 | p.BrickColor = BrickColor.new("Medium stone grey") | |
154 | p.Transparency = 0 | |
155 | p.Reflectance = .1 | |
156 | p.Material = Enum.Material.Concrete | |
157 | m = Instance.new("CylinderMesh") | |
158 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
159 | m.Parent = p | |
160 | p = Instance.new("Part", Model) | |
161 | p.Name = "Part" | |
162 | p.TopSurface = 0 | |
163 | p.BottomSurface = 0 | |
164 | p.formFactor = "Custom" | |
165 | p.Size = Vector3.new(2, 12.8, 2) | |
166 | p.CFrame = CFrame.new(35.4000015, 7.19999981, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
167 | p.BrickColor = BrickColor.new("Bright yellow") | |
168 | p.Transparency = 0 | |
169 | p.Reflectance = .1 | |
170 | p.Material = Enum.Material.Plastic | |
171 | m = Instance.new("CylinderMesh") | |
172 | m.Scale = Vector3.new(1, 1, 1) | |
173 | m.Parent = p | |
174 | p = Instance.new("Part", Model) | |
175 | p.Name = "Part" | |
176 | p.TopSurface = 0 | |
177 | p.BottomSurface = 0 | |
178 | p.formFactor = "Custom" | |
179 | p.Size = Vector3.new(1.79, 5, 1) | |
180 | p.CFrame = CFrame.new(29.7000179, 8.89999485, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
181 | p.BrickColor = BrickColor.new("Bright yellow") | |
182 | p.Transparency = 0 | |
183 | p.Reflectance = .1 | |
184 | p.Material = Enum.Material.Plastic | |
185 | p = Instance.new("Part", Model) | |
186 | p.Name = "Part" | |
187 | p.TopSurface = 0 | |
188 | p.BottomSurface = 0 | |
189 | p.formFactor = "Custom" | |
190 | p.Size = Vector3.new(5, 1.40, 0.99) | |
191 | p.CFrame = CFrame.new(29.7000198, 10.4999943, 63.3000031, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
192 | p.BrickColor = BrickColor.new("Bright yellow") | |
193 | p.Transparency = 0 | |
194 | p.Reflectance = .1 | |
195 | p.Material = Enum.Material.Plastic | |
196 | m = Instance.new("SpecialMesh") | |
197 | m.Scale = Vector3.new(1, 1, 1) | |
198 | m.Parent = p | |
199 | m.MeshType = Enum.MeshType.Wedge | |
200 | p = Instance.new("Part", Model) | |
201 | p.Name = "Center" | |
202 | p.TopSurface = 0 | |
203 | p.BottomSurface = 0 | |
204 | p.formFactor = "Custom" | |
205 | p.Size = Vector3.new(12.5, 5.80, 27.6) | |
206 | p.CFrame = CFrame.new(43.0000076, 9.30000114, 62.8999977, 1.06581131e-014, -8.74229471e-008, 1, -7.10542736e-015, 1, 8.742294e-008, -1, -7.10542736e-015, -4.37113776e-008) | |
207 | p.BrickColor = BrickColor.new("Bright yellow") | |
208 | p.Transparency = 1 | |
209 | p.Reflectance = .1 | |
210 | p.Material = Enum.Material.Plastic | |
211 | p = Instance.new("Part", Model) | |
212 | p.Name = "Part" | |
213 | p.TopSurface = 0 | |
214 | p.BottomSurface = 0 | |
215 | p.formFactor = "Custom" | |
216 | p.Size = Vector3.new(6.80, 1, 6.00) | |
217 | p.CFrame = CFrame.new(51.9999924, 9.06999207, 68.6000443, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
218 | p.BrickColor = BrickColor.new("Bright yellow") | |
219 | p.Transparency = 0 | |
220 | p.Reflectance = .1 | |
221 | p.Material = Enum.Material.Plastic | |
222 | p = Instance.new("Part", Model) | |
223 | p.Name = "Part" | |
224 | p.TopSurface = 0 | |
225 | p.BottomSurface = 0 | |
226 | p.formFactor = "Custom" | |
227 | p.Size = Vector3.new(11, 5.40, 2.79) | |
228 | p.CFrame = CFrame.new(56.5999718, 9.76999664, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
229 | p.BrickColor = BrickColor.new("Bright yellow") | |
230 | p.Transparency = 0 | |
231 | p.Reflectance = .1 | |
232 | p.Material = Enum.Material.Plastic | |
233 | m = Instance.new("SpecialMesh") | |
234 | m.Scale = Vector3.new(1, 1, 1) | |
235 | m.Parent = p | |
236 | m.MeshType = Enum.MeshType.Wedge | |
237 | p = Instance.new("Part", Model) | |
238 | p.Name = "Part" | |
239 | p.TopSurface = 0 | |
240 | p.BottomSurface = 0 | |
241 | p.formFactor = "Custom" | |
242 | p.Size = Vector3.new(2.60, 11, 1.99) | |
243 | p.CFrame = CFrame.new(39.4000015, 10.7699995, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
244 | p.BrickColor = BrickColor.new("Bright yellow") | |
245 | p.Transparency = 0 | |
246 | p.Reflectance = .1 | |
247 | p.Material = Enum.Material.Plastic | |
248 | p = Instance.new("Part", Model) | |
249 | p.Name = "Part" | |
250 | p.TopSurface = 0 | |
251 | p.BottomSurface = 0 | |
252 | p.formFactor = "Custom" | |
253 | p.Size = Vector3.new(3.20, 11.0, 5) | |
254 | p.CFrame = CFrame.new(35.9000092, 11.0999928, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
255 | p.BrickColor = BrickColor.new("Bright yellow") | |
256 | p.Transparency = 0 | |
257 | p.Reflectance = .1 | |
258 | p.Material = Enum.Material.Plastic | |
259 | p = Instance.new("Part", Model) | |
260 | p.Name = "Part" | |
261 | p.TopSurface = 0 | |
262 | p.BottomSurface = 0 | |
263 | p.formFactor = "Custom" | |
264 | p.Size = Vector3.new(1.99, 1, 1) | |
265 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
266 | p.BrickColor = BrickColor.new("Mid gray") | |
267 | p.Transparency = 0 | |
268 | p.Reflectance = .1 | |
269 | p.Material = Enum.Material.Plastic | |
270 | p = Instance.new("Part", Model) | |
271 | p.Name = "Part" | |
272 | p.TopSurface = 0 | |
273 | p.BottomSurface = 0 | |
274 | p.formFactor = "Custom" | |
275 | p.Size = Vector3.new(1, 1, 4.59) | |
276 | p.CFrame = CFrame.new(49.099987, 18.1699905, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
277 | p.BrickColor = BrickColor.new("Mid gray") | |
278 | p.Transparency = 0 | |
279 | p.Reflectance = .1 | |
280 | p.Material = Enum.Material.Plastic | |
281 | p = Instance.new("Part", Model) | |
282 | p.Name = "Part" | |
283 | p.TopSurface = 0 | |
284 | p.BottomSurface = 0 | |
285 | p.formFactor = "Custom" | |
286 | p.Size = Vector3.new(1, 12.6, 9.80) | |
287 | p.CFrame = CFrame.new(40.2999878, 6.77000237, 63.0000038, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
288 | p.BrickColor = BrickColor.new("Bright yellow") | |
289 | p.Transparency = 0 | |
290 | p.Reflectance = .1 | |
291 | p.Material = Enum.Material.Plastic | |
292 | p = Instance.new("Part", Model) | |
293 | p.Name = "Part" | |
294 | p.TopSurface = 0 | |
295 | p.BottomSurface = 0 | |
296 | p.formFactor = "Custom" | |
297 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
298 | p.CFrame = CFrame.new(32.2000008, 12.5999899, 63.2999992, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
299 | p.BrickColor = BrickColor.new("Bright yellow") | |
300 | p.Transparency = 0 | |
301 | p.Reflectance = .1 | |
302 | p.Material = Enum.Material.Plastic | |
303 | m = Instance.new("SpecialMesh") | |
304 | m.Scale = Vector3.new(1, 1, 1) | |
305 | m.Parent = p | |
306 | m.MeshType = Enum.MeshType.Wedge | |
307 | p = Instance.new("Part", Model) | |
308 | p.Name = "Part" | |
309 | p.TopSurface = 0 | |
310 | p.BottomSurface = 0 | |
311 | p.formFactor = "Custom" | |
312 | p.Size = Vector3.new(11, 0.60, 1.99) | |
313 | p.CFrame = CFrame.new(39.3999825, 12.3699951, 63.0000267, 1.49008779e-008, 2.39330944e-007, -0.999990225, 6.66761935e-009, 0.99999392, 2.39331769e-007, 0.999994516, -6.66753408e-009, -7.45059765e-008) | |
314 | p.BrickColor = BrickColor.new("Bright yellow") | |
315 | p.Transparency = 0 | |
316 | p.Reflectance = .1 | |
317 | p.Material = Enum.Material.Plastic | |
318 | m = Instance.new("SpecialMesh") | |
319 | m.Scale = Vector3.new(1, 1, 1) | |
320 | m.Parent = p | |
321 | m.MeshType = Enum.MeshType.Wedge | |
322 | p = Instance.new("Part", Model) | |
323 | p.Name = "Part" | |
324 | p.TopSurface = 0 | |
325 | p.BottomSurface = 0 | |
326 | p.formFactor = "Custom" | |
327 | p.Size = Vector3.new(3.20, 11, 5.60) | |
328 | p.CFrame = CFrame.new(50.1999855, 14.0699921, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
329 | p.BrickColor = BrickColor.new("Bright yellow") | |
330 | p.Transparency = 0 | |
331 | p.Reflectance = .1 | |
332 | p.Material = Enum.Material.Plastic | |
333 | p = Instance.new("Part", Model) | |
334 | p.Name = "Part" | |
335 | p.TopSurface = 0 | |
336 | p.BottomSurface = 0 | |
337 | p.formFactor = "Custom" | |
338 | p.Size = Vector3.new(5, 13, 3.79) | |
339 | p.CFrame = CFrame.new(43.2999916, 9.56999779, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
340 | p.BrickColor = BrickColor.new("Bright yellow") | |
341 | p.Transparency = 0 | |
342 | p.Reflectance = .1 | |
343 | p.Material = Enum.Material.Plastic | |
344 | p = Instance.new("Part", Model) | |
345 | p.Name = "Part" | |
346 | p.TopSurface = 0 | |
347 | p.BottomSurface = 0 | |
348 | p.formFactor = "Custom" | |
349 | p.Size = Vector3.new(5.19, 1.39, 2.39) | |
350 | p.CFrame = CFrame.new(39.6000061, 12.599987, 63.2999992, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
351 | p.BrickColor = BrickColor.new("Bright yellow") | |
352 | p.Transparency = 0 | |
353 | p.Reflectance = .1 | |
354 | p.Material = Enum.Material.Plastic | |
355 | m = Instance.new("SpecialMesh") | |
356 | m.Scale = Vector3.new(1, 1, 1) | |
357 | m.Parent = p | |
358 | m.MeshType = Enum.MeshType.Wedge | |
359 | p = Instance.new("Part", Model) | |
360 | p.Name = "Part" | |
361 | p.TopSurface = 0 | |
362 | p.BottomSurface = 0 | |
363 | p.formFactor = "Custom" | |
364 | p.Size = Vector3.new(5.19, 1, 1) | |
365 | p.CFrame = CFrame.new(46.2999878, 15.069993, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
366 | p.BrickColor = BrickColor.new("Mid gray") | |
367 | p.Transparency = 0 | |
368 | p.Reflectance = .1 | |
369 | p.Material = Enum.Material.Plastic | |
370 | p = Instance.new("Part", Model) | |
371 | p.Name = "Part" | |
372 | p.TopSurface = 0 | |
373 | p.BottomSurface = 0 | |
374 | p.formFactor = "Custom" | |
375 | p.Size = Vector3.new(3.20, 5, 4) | |
376 | p.CFrame = CFrame.new(32.200016, 9.59999657, 63.3000221, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
377 | p.BrickColor = BrickColor.new("Bright yellow") | |
378 | p.Transparency = 0 | |
379 | p.Reflectance = .1 | |
380 | p.Material = Enum.Material.Plastic | |
381 | p = Instance.new("Part", Model) | |
382 | p.Name = "Part" | |
383 | p.TopSurface = 0 | |
384 | p.BottomSurface = 0 | |
385 | p.formFactor = "Custom" | |
386 | p.Size = Vector3.new(6, 6.79, 2.79) | |
387 | p.CFrame = CFrame.new(51.9999924, 9.06999302, 70.5000458, -1, 0, -4.37113883e-008, 0, 1, 0, 4.37113883e-008, 0, -1) | |
388 | p.BrickColor = BrickColor.new("Bright yellow") | |
389 | p.Transparency = 0 | |
390 | p.Reflectance = .1 | |
391 | p.Material = Enum.Material.Plastic | |
392 | m = Instance.new("SpecialMesh") | |
393 | m.Scale = Vector3.new(1, 1, 1) | |
394 | m.Parent = p | |
395 | m.MeshType = Enum.MeshType.Wedge | |
396 | p = Instance.new("Part", Model) | |
397 | p.Name = "Part" | |
398 | p.TopSurface = 0 | |
399 | p.BottomSurface = 0 | |
400 | p.formFactor = "Custom" | |
401 | p.Size = Vector3.new(0.60, 7.40, 3.79) | |
402 | p.CFrame = CFrame.new(43.2999916, 12.3699942, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
403 | p.BrickColor = BrickColor.new("Black") | |
404 | p.Transparency = 0 | |
405 | p.Reflectance = .1 | |
406 | p.Material = Enum.Material.Plastic | |
407 | p = Instance.new("Part", Model) | |
408 | p.Name = "Part" | |
409 | p.TopSurface = 0 | |
410 | p.BottomSurface = 0 | |
411 | p.formFactor = "Custom" | |
412 | p.Size = Vector3.new(6.80, 1, 6.00) | |
413 | p.CFrame = CFrame.new(51.9999924, 9.06999588, 57.3999977, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
414 | p.BrickColor = BrickColor.new("Bright yellow") | |
415 | p.Transparency = 0 | |
416 | p.Reflectance = .1 | |
417 | p.Material = Enum.Material.Plastic | |
418 | p = Instance.new("Part", Model) | |
419 | p.Name = "Part" | |
420 | p.TopSurface = 0 | |
421 | p.BottomSurface = 0 | |
422 | p.formFactor = "Custom" | |
423 | p.Size = Vector3.new(11, 3.20, 2.19) | |
424 | p.CFrame = CFrame.new(54.0999756, 14.0699921, 63.0000076, 1.49011612e-008, 5.89458523e-007, -0.999990225, -3.49571337e-007, 0.99999392, 5.89460512e-007, 0.999994278, 3.49571422e-007, -4.47034836e-008) | |
425 | p.BrickColor = BrickColor.new("Bright yellow") | |
426 | p.Transparency = 0 | |
427 | p.Reflectance = .1 | |
428 | p.Material = Enum.Material.Plastic | |
429 | m = Instance.new("SpecialMesh") | |
430 | m.Scale = Vector3.new(1, 1, 1) | |
431 | m.Parent = p | |
432 | m.MeshType = Enum.MeshType.Wedge | |
433 | p = Instance.new("Part", Model) | |
434 | p.Name = "Part" | |
435 | p.TopSurface = 0 | |
436 | p.BottomSurface = 0 | |
437 | p.formFactor = "Custom" | |
438 | p.Size = Vector3.new(2.60, 11, 2.39) | |
439 | p.CFrame = CFrame.new(32.1999741, 10.7699986, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
440 | p.BrickColor = BrickColor.new("Bright yellow") | |
441 | p.Transparency = 0 | |
442 | p.Reflectance = .1 | |
443 | p.Material = Enum.Material.Plastic | |
444 | p = Instance.new("Part", Model) | |
445 | p.Name = "Part" | |
446 | p.TopSurface = 0 | |
447 | p.BottomSurface = 0 | |
448 | p.formFactor = "Custom" | |
449 | p.Size = Vector3.new(5.19, 1, 1) | |
450 | p.CFrame = CFrame.new(46.2999878, 15.0699921, 58.4000015, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
451 | p.BrickColor = BrickColor.new("Mid gray") | |
452 | p.Transparency = 0 | |
453 | p.Reflectance = .1 | |
454 | p.Material = Enum.Material.Plastic | |
455 | p = Instance.new("Part", Model) | |
456 | p.Name = "Part" | |
457 | p.TopSurface = 0 | |
458 | p.BottomSurface = 0 | |
459 | p.formFactor = "Custom" | |
460 | p.Size = Vector3.new(5, 0.80, 0.79) | |
461 | p.CFrame = CFrame.new(30.6000195, 11.5999937, 63.3000107, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
462 | p.BrickColor = BrickColor.new("Bright yellow") | |
463 | p.Transparency = 0 | |
464 | p.Reflectance = .1 | |
465 | p.Material = Enum.Material.Plastic | |
466 | m = Instance.new("SpecialMesh") | |
467 | m.Scale = Vector3.new(1, 1, 1) | |
468 | m.Parent = p | |
469 | m.MeshType = Enum.MeshType.Wedge | |
470 | p = Instance.new("Part", Model) | |
471 | p.Name = "Part" | |
472 | p.TopSurface = 0 | |
473 | p.BottomSurface = 0 | |
474 | p.formFactor = "Custom" | |
475 | p.Size = Vector3.new(10, 12, 10) | |
476 | p.CFrame = CFrame.new(51.8000298, 7.099998, 63.0000191, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
477 | p.BrickColor = BrickColor.new("Medium stone grey") | |
478 | p.Transparency = 0 | |
479 | p.Reflectance = .1 | |
480 | p.Material = Enum.Material.Concrete | |
481 | m = Instance.new("CylinderMesh") | |
482 | m.Scale = Vector3.new(1, 1.02999997, 1) | |
483 | m.Parent = p | |
484 | p = Instance.new("Part", Model) | |
485 | p.Name = "Part" | |
486 | p.TopSurface = 0 | |
487 | p.BottomSurface = 0 | |
488 | p.formFactor = "Custom" | |
489 | p.Size = Vector3.new(0.60, 5.19, 5) | |
490 | p.CFrame = CFrame.new(35.9000015, 13, 63.2999992, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
491 | p.BrickColor = BrickColor.new("Bright yellow") | |
492 | p.Transparency = 0 | |
493 | p.Reflectance = .1 | |
494 | p.Material = Enum.Material.Plastic | |
495 | p = Instance.new("Part", Model) | |
496 | p.Name = "Part" | |
497 | p.TopSurface = 0 | |
498 | p.BottomSurface = 0 | |
499 | p.formFactor = "Custom" | |
500 | p.Size = Vector3.new(6, 6.79, 2.79) | |
501 | p.CFrame = CFrame.new(51.9999847, 9.06999207, 55.5, 1, 0, 0, 0, 1, 0, 0, 0, 1) | |
502 | p.BrickColor = BrickColor.new("Bright yellow") | |
503 | p.Transparency = 0 | |
504 | p.Reflectance = .1 | |
505 | p.Material = Enum.Material.Plastic | |
506 | m = Instance.new("SpecialMesh") | |
507 | m.Scale = Vector3.new(1, 1, 1) | |
508 | m.Parent = p | |
509 | m.MeshType = Enum.MeshType.Wedge | |
510 | p = Instance.new("Part", Model) | |
511 | p.Name = "Part" | |
512 | p.TopSurface = 0 | |
513 | p.BottomSurface = 0 | |
514 | p.formFactor = "Custom" | |
515 | p.Size = Vector3.new(2.79, 7.40, 0.79) | |
516 | p.CFrame = CFrame.new(44.7999916, 14.0699921, 63.2000008, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
517 | p.BrickColor = BrickColor.new("Black") | |
518 | p.Transparency = 0 | |
519 | p.Reflectance = .1 | |
520 | p.Material = Enum.Material.Plastic | |
521 | p = Instance.new("Part", Model) | |
522 | p.Name = "Part" | |
523 | p.TopSurface = 0 | |
524 | p.BottomSurface = 0 | |
525 | p.formFactor = "Custom" | |
526 | p.Size = Vector3.new(5.40, 11, 10) | |
527 | p.CFrame = CFrame.new(50.1999893, 9.76999474, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
528 | p.BrickColor = BrickColor.new("Bright yellow") | |
529 | p.Transparency = 0 | |
530 | p.Reflectance = .1 | |
531 | p.Material = Enum.Material.Plastic | |
532 | p = Instance.new("Part", Model) | |
533 | p.Name = "Part" | |
534 | p.TopSurface = 0 | |
535 | p.BottomSurface = 0 | |
536 | p.formFactor = "Custom" | |
537 | p.Size = Vector3.new(11, 0.60, 2.39) | |
538 | p.CFrame = CFrame.new(32.1999855, 12.3699961, 62.9999733, -1.49008788e-008, -2.3933373e-007, 0.999990225, 6.6675625e-009, 0.99999392, 2.39334668e-007, -0.999994516, 6.66761935e-009, 7.45059765e-008) | |
539 | p.BrickColor = BrickColor.new("Bright yellow") | |
540 | p.Transparency = 0 | |
541 | p.Reflectance = .1 | |
542 | p.Material = Enum.Material.Plastic | |
543 | m = Instance.new("SpecialMesh") | |
544 | m.Scale = Vector3.new(1, 1, 1) | |
545 | m.Parent = p | |
546 | m.MeshType = Enum.MeshType.Wedge | |
547 | p = Instance.new("Part", Model) | |
548 | p.Name = "Part" | |
549 | p.TopSurface = 0 | |
550 | p.BottomSurface = 0 | |
551 | p.formFactor = "Custom" | |
552 | p.Size = Vector3.new(4, 13, 1) | |
553 | p.CFrame = CFrame.new(40.8999939, 10.0700006, 63, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
554 | p.BrickColor = BrickColor.new("Bright yellow") | |
555 | p.Transparency = 0 | |
556 | p.Reflectance = .1 | |
557 | p.Material = Enum.Material.Plastic | |
558 | p = Instance.new("Part", Model) | |
559 | p.Name = "Part" | |
560 | p.TopSurface = 0 | |
561 | p.BottomSurface = 0 | |
562 | p.formFactor = "Custom" | |
563 | p.Size = Vector3.new(10.1, 1, 0.99) | |
564 | p.CFrame = CFrame.new(51.8999825, 18.1699867, 62.9999733, 1.49008796e-008, 2.39336913e-007, -0.999990225, 6.66744882e-009, 0.99999392, 2.39337737e-007, 0.999994516, -6.66736355e-009, -7.45059765e-008) | |
565 | p.BrickColor = BrickColor.new("Mid gray") | |
566 | p.Transparency = 0 | |
567 | p.Reflectance = .1 | |
568 | p.Material = Enum.Material.Plastic | |
569 | m = Instance.new("SpecialMesh") | |
570 | m.Scale = Vector3.new(1, 1, 1) | |
571 | m.Parent = p | |
572 | m.MeshType = Enum.MeshType.Wedge | |
573 | p = Instance.new("Part", Model) | |
574 | p.Name = "Part" | |
575 | p.TopSurface = 0 | |
576 | p.BottomSurface = 0 | |
577 | p.formFactor = "Custom" | |
578 | p.Size = Vector3.new(1, 1, 4.59) | |
579 | p.CFrame = CFrame.new(49.099987, 18.1699944, 67.5999985, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
580 | p.BrickColor = BrickColor.new("Mid gray") | |
581 | p.Transparency = 0 | |
582 | p.Reflectance = .1 | |
583 | p.Material = Enum.Material.Plastic | |
584 | p = Instance.new("Part", Model) | |
585 | p.Name = "Part" | |
586 | p.TopSurface = 0 | |
587 | p.BottomSurface = 0 | |
588 | p.formFactor = "Custom" | |
589 | p.Size = Vector3.new(1.99, 1, 1) | |
590 | p.CFrame = CFrame.new(51.8999863, 16.6699886, 67.5999908, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
591 | p.BrickColor = BrickColor.new("Mid gray") | |
592 | p.Transparency = 0 | |
593 | p.Reflectance = .1 | |
594 | p.Material = Enum.Material.Plastic | |
595 | p = Instance.new("Part", Model) | |
596 | p.Name = "Part" | |
597 | p.TopSurface = 0 | |
598 | p.BottomSurface = 0 | |
599 | p.formFactor = "Custom" | |
600 | p.Size = Vector3.new(1, 1, 4.59) | |
601 | p.CFrame = CFrame.new(49.099987, 18.1699867, 63.0000153, 0, -5.38727239e-028, 0.999999642, -0.999999642, -5.38727287e-028, 9.62964972e-035, 5.38727335e-028, -0.999999762, -4.37113776e-008) | |
602 | p.BrickColor = BrickColor.new("Mid gray") | |
603 | p.Transparency = 0 | |
604 | p.Reflectance = .1 | |
605 | p.Material = Enum.Material.Plastic | |
606 | p = Instance.new("Part", Model) | |
607 | p.Name = "Part" | |
608 | p.TopSurface = 0 | |
609 | p.BottomSurface = 0 | |
610 | p.formFactor = "Custom" | |
611 | p.Size = Vector3.new(10.1, 1, 0.99) | |
612 | p.CFrame = CFrame.new(46.2999916, 18.1699886, 63.0000229, -1.49008823e-008, -2.39345496e-007, 0.999990225, 6.66727829e-009, 0.99999392, 2.39346434e-007, -0.999994516, 6.66733513e-009, 7.45059765e-008) | |
613 | p.BrickColor = BrickColor.new("Mid gray") | |
614 | p.Transparency = 0 | |
615 | p.Reflectance = .1 | |
616 | p.Material = Enum.Material.Plastic | |
617 | m = Instance.new("SpecialMesh") | |
618 | m.Scale = Vector3.new(1, 1, 1) | |
619 | m.Parent = p | |
620 | m.MeshType = Enum.MeshType.Wedge | |
621 | ||
622 | Spawn = function() | |
623 | Modelc = Model:clone() | |
624 | for _, v in pairs(Modelc:children()) do | |
625 | if v.className == "Part" then | |
626 | if v.Name ~= "Center" then | |
627 | w = Instance.new("Weld") | |
628 | w.Part0 = Modelc.Center | |
629 | w.Part1 = v | |
630 | w.C1 = v.CFrame:inverse() * CFrame.new(v.Position) | |
631 | w.C0 = Modelc.Center.CFrame:inverse() * CFrame.new(v.Position) | |
632 | w.Parent = w.Part0 | |
633 | end | |
634 | end | |
635 | end | |
636 | return Modelc | |
637 | end | |
638 | ||
639 | CameraRadius = 66 | |
640 | TimeStopRadius = 66 | |
641 | ||
642 | RightShoulderC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
643 | RightShoulderC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
644 | LeftShoulderC0 = CFrame.new(-1, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
645 | LeftShoulderC1 = CFrame.new(0.5, 0.5, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
646 | RightHipC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
647 | RightHipC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0) | |
648 | LeftHipC0 = CFrame.new(-1, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
649 | LeftHipC1 = CFrame.new(-0.5, 1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0) | |
650 | NeckC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
651 | NeckC1 = CFrame.new(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
652 | RootJointC0 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
653 | RootJointC1 = CFrame.new(0, 0, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0) | |
654 | ||
655 | getWelds = function(c) --designate weld variables | |
656 | local t = c.Torso | |
657 | local hrp = c.HumanoidRootPart.RootJoint | |
658 | RightShoulder = t:FindFirstChild("Right Shoulder") | |
659 | LeftShoulder = t:FindFirstChild("Left Shoulder") | |
660 | RightHip = t:FindFirstChild("Right Hip") | |
661 | LeftHip = t:FindFirstChild("Left Hip") | |
662 | RootJoint = hrp | |
663 | Neck = t:FindFirstChild("Neck") | |
664 | end | |
665 | resetWelds = function(ext, occ) --extent 1-3; occlusion | |
666 | --1 == reset desiredangle/currentangle | |
667 | --2 == reset C0/C1 | |
668 | --3 == reset both des/cur/c0/c1 | |
669 | local r = { | |
670 | RightShoulder, | |
671 | LeftShoulder, | |
672 | RightHip, | |
673 | LeftHip, | |
674 | RootJoint, | |
675 | Neck, | |
676 | Grip | |
677 | } | |
678 | for _, v in pairs(r) do | |
679 | for i = 1, #occ do | |
680 | if occ[i] == v then | |
681 | table.remove(r, _) | |
682 | end | |
683 | end | |
684 | end | |
685 | for _, v in pairs(r) do | |
686 | if v.Name == "Right Shoulder" then | |
687 | if ext == 1 then | |
688 | v.DesiredAngle = 0 | |
689 | v.CurrentAngle = 0 | |
690 | elseif ext == 2 then | |
691 | v.C0 = RightShoulderC0 | |
692 | v.C1 = RightShoulderC1 | |
693 | elseif ext == 3 then | |
694 | v.DesiredAngle = 0 | |
695 | v.CurrentAngle = 0 | |
696 | v.C0 = RightShoulderC0 | |
697 | v.C1 = RightShoulderC1 | |
698 | end | |
699 | elseif v.Name == "Left Shoulder" then | |
700 | if ext == 1 then | |
701 | v.DesiredAngle = 0 | |
702 | v.CurrentAngle = 0 | |
703 | elseif ext == 2 then | |
704 | v.C0 = LeftShoulderC0 | |
705 | v.C1 = LeftShoulderC1 | |
706 | elseif ext == 3 then | |
707 | v.DesiredAngle = 0 | |
708 | v.CurrentAngle = 0 | |
709 | v.C0 = LeftShoulderC0 | |
710 | v.C1 = LeftShoulderC1 | |
711 | end | |
712 | elseif v.Name == "Right Hip" then | |
713 | if ext == 1 then | |
714 | v.DesiredAngle = 0 | |
715 | v.CurrentAngle = 0 | |
716 | elseif ext == 2 then | |
717 | v.C0 = RightHipC0 | |
718 | v.C1 = RightHipC1 | |
719 | elseif ext == 3 then | |
720 | v.DesiredAngle = 0 | |
721 | v.CurrentAngle = 0 | |
722 | v.C0 = RightHipC0 | |
723 | v.C1 = RightHipC1 | |
724 | end | |
725 | elseif v.Name == "Left Hip" then | |
726 | if ext == 1 then | |
727 | v.DesiredAngle = 0 | |
728 | v.CurrentAngle = 0 | |
729 | elseif ext == 2 then | |
730 | v.C0 = LeftHipC0 | |
731 | v.C1 = LeftHipC1 | |
732 | elseif ext == 3 then | |
733 | v.DesiredAngle = 0 | |
734 | v.CurrentAngle = 0 | |
735 | v.C0 = LeftHipC0 | |
736 | v.C1 = LeftHipC1 | |
737 | end | |
738 | elseif v.Name == "Neck" then | |
739 | if ext == 1 then | |
740 | v.DesiredAngle = 0 | |
741 | v.CurrentAngle = 0 | |
742 | elseif ext == 2 then | |
743 | v.C0 = NeckC0 | |
744 | v.C1 = NeckC1 | |
745 | elseif ext == 3 then | |
746 | v.DesiredAngle = 0 | |
747 | v.CurrentAngle = 0 | |
748 | v.C0 = NeckC0 | |
749 | v.C1 = NeckC1 | |
750 | end | |
751 | elseif v.Name == "RootJoint" then | |
752 | if ext == 1 then | |
753 | v.DesiredAngle = 0 | |
754 | v.CurrentAngle = 0 | |
755 | elseif ext == 2 then | |
756 | v.C0 = RootJointC0 | |
757 | v.C1 = RootJointC1 | |
758 | elseif ext == 3 then | |
759 | v.DesiredAngle = 0 | |
760 | v.CurrentAngle = 0 | |
761 | v.C0 = RootJointC0 | |
762 | v.C1 = RootJointC1 | |
763 | end | |
764 | elseif v.Name == "RightGrip" then | |
765 | if ext == 1 then | |
766 | elseif ext == 2 then | |
767 | Grip.C0 = nGrip.C0 | |
768 | Grip.C1 = nGrip.C1 | |
769 | elseif ext == 3 then | |
770 | Grip.C0 = nGrip.C0 | |
771 | Grip.C1 = nGrip.C1 | |
772 | end | |
773 | end | |
774 | end | |
775 | end | |
776 | ||
777 | ||
778 | doitdocdoit = function() | |
779 | if deb == false then | |
780 | return | |
781 | end | |
782 | deb = false | |
783 | ||
784 | vPlayer = game.Players.LocalPlayer | |
785 | cPlayer = vPlayer.Character | |
786 | Anim = cPlayer.Animate | |
787 | Anim.Disabled = true | |
788 | Hum = cPlayer.Humanoid | |
789 | Hum.Name = "NOPE" | |
790 | Hum.WalkSpeed = 0 | |
791 | getWelds(cPlayer) | |
792 | resetWelds(3, {}) | |
793 | ||
794 | bodypos = Instance.new("BodyPosition") | |
795 | bodypos.P = 4000 | |
796 | bodypos.maxForce = Vector3.new(5000000, 50000000, 5000000) * 5000 | |
797 | bodypos.position = cPlayer.Torso.Position + Vector3.new(0, .5, 0) | |
798 | bodypos.Parent = cPlayer.Torso | |
799 | ||
800 | dir = cPlayer.HumanoidRootPart.CFrame.lookVector | |
801 | CPlayer = cPlayer | |
802 | partpos = Instance.new("Part", workspace) | |
803 | partpos.Transparency = 1 | |
804 | partpos.CanCollide = false | |
805 | partpos.Anchored = true | |
806 | partpos.CFrame = cPlayer.Torso.CFrame | |
807 | ||
808 | sound = Instance.new("Sound") | |
809 | sound.Parent = partpos | |
810 | sound.Volume = 1 | |
811 | sound.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
812 | -- sound.SoundId="http://www.roblox.com/asset/?id=168009623" | |
813 | sound2 = Instance.new("Sound") | |
814 | sound2.Parent = workspace.CurrentCamera | |
815 | sound2.Volume = 1 | |
816 | sound2.SoundId = "http://www.roblox.com/asset/?id=468760371" | |
817 | -- sound2.SoundId="http://www.roblox.com/asset/?id=168009623" | |
818 | sound:Play() | |
819 | sound2:Play() | |
820 | expected = 10 | |
821 | did = false | |
822 | pooted = 0 | |
823 | sos = game:GetService("RunService").Stepped:connect(function() | |
824 | pooted = pooted + 1 | |
825 | if pooted >= expected + 1 then | |
826 | sos:disconnect() | |
827 | did = true | |
828 | return | |
829 | end | |
830 | resetWelds(3, {}) | |
831 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
832 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
833 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
834 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(0), math.rad(0)) | |
835 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
836 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
837 | end) | |
838 | --[[sound=Instance.new("Sound") | |
839 | sound.Parent=cPlayer.Torso | |
840 | sound.Volume=1 | |
841 | sound.SoundId="http://www.roblox.com/asset/?id=316900066" | |
842 | sound:Play()]]-- | |
843 | while did == false do | |
844 | wait() | |
845 | end | |
846 | ||
847 | expected = 10 | |
848 | did = false | |
849 | pooted = 0 | |
850 | sos = game:GetService("RunService").Stepped:connect(function() | |
851 | pooted = pooted + 1 | |
852 | if pooted >= expected + 1 then | |
853 | sos:disconnect() | |
854 | did = true | |
855 | return | |
856 | end | |
857 | resetWelds(3, {}) | |
858 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
859 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
860 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
861 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
862 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted / 2), math.rad(0), math.rad(-pooted * 9)) | |
863 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted), math.rad(pooted / 3), math.rad(pooted * 10)) | |
864 | end) | |
865 | while did == false do | |
866 | wait() | |
867 | end | |
868 | wait(.2) | |
869 | expected = 5 | |
870 | did = false | |
871 | pooted = 0 | |
872 | nubhit = nil | |
873 | sos = game:GetService("RunService").Stepped:connect(function() | |
874 | pooted = pooted + 1 | |
875 | if pooted >= expected + 1 then | |
876 | sos:disconnect() | |
877 | did = true | |
878 | return | |
879 | end | |
880 | resetWelds(3, {}) | |
881 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 8), math.rad(0), math.rad(pooted)) | |
882 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-12 - pooted * 9), math.rad(pooted * 9), math.rad(0)) | |
883 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
884 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-12), math.rad(0), math.rad(0)) | |
885 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(-90 + pooted * 40)) | |
886 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-10 + pooted * 4), math.rad(3.3), math.rad(90 - pooted * 34)) | |
887 | if nubhit == nil then | |
888 | bodypos.position = bodypos.position + dir * 4 | |
889 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * 4, bodypos.position + dir * 20) | |
890 | --bodypos.position=bodypos.position + dir*9 | |
891 | --cPlayer.Torso.CFrame=CFrame.new(bodypos.position+dir*9,bodypos.position+dir*20) | |
892 | end | |
893 | if nubhit == nil and pooted >= 2 then | |
894 | pos = bodypos.position + dir * 2 | |
895 | radi = 6 | |
896 | for _, v in pairs(workspace:children()) do | |
897 | h = v:FindFirstChild("Humanoid") | |
898 | t = v:FindFirstChild("Torso") | |
899 | if h ~= nil and t ~= nil and v ~= cPlayer then | |
900 | if (t.Position - pos).magnitude <= radi then | |
901 | print(":>") | |
902 | nubhit = v | |
903 | break | |
904 | end | |
905 | end | |
906 | end | |
907 | end | |
908 | if nubhit ~= nil then | |
909 | if nubhit.Torso:FindFirstChild("PART1") == nil then | |
910 | v = Instance.new("BodyVelocity") | |
911 | v.P = 4000 | |
912 | v.maxForce = Vector3.new(500000000000, 500000000000, 500000000000) | |
913 | v.velocity = dir * 4 + Vector3.new(0, 4, 0) | |
914 | v.Name = "PART1" | |
915 | v.Parent = nubhit.Torso | |
916 | game:GetService("Debris"):AddItem(v, 5) | |
917 | coroutine.resume(coroutine.create(function(v) | |
918 | for i = 1, 100 do | |
919 | v.velocity = v.velocity - Vector3.new(0, .07, 0) | |
920 | wait() | |
921 | end | |
922 | end), v) | |
923 | v = Instance.new("BodyGyro") | |
924 | v.P = 20 | |
925 | v.D = 30 | |
926 | v.maxTorque = Vector3.new(5000000, 5000000, 5000000) | |
927 | v.cframe = CPlayer.Torso.CFrame * CFrame.fromEulerAnglesXYZ(math.pi / 2, math.pi, 0) | |
928 | v.Name = "PART1" | |
929 | v.Parent = nubhit.Torso | |
930 | game:GetService("Debris"):AddItem(v, 5) | |
931 | end | |
932 | end | |
933 | end) | |
934 | while did == false do | |
935 | wait() | |
936 | end | |
937 | if nubhit == nil then | |
938 | sound:Stop() | |
939 | wait(.5) | |
940 | sound2:Stop() | |
941 | else | |
942 | expected = 32 | |
943 | did = false | |
944 | pooted = 0 | |
945 | sos = game:GetService("RunService").Stepped:connect(function() | |
946 | pooted = pooted + 1 | |
947 | if pooted >= expected + 1 then | |
948 | sos:disconnect() | |
949 | did = true | |
950 | return | |
951 | end | |
952 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.03), math.rad(0), math.rad(.03)) | |
953 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, .02) * CFrame.fromEulerAnglesXYZ(math.rad(-.05), math.rad(.08), math.rad(0)) | |
954 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
955 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.04), math.rad(0), math.rad(0)) | |
956 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.05), math.rad(0), math.rad(.1)) | |
957 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(.2), math.rad(0.05), math.rad(-.05)) | |
958 | bodypos.position = bodypos.position + dir * .05 | |
959 | cPlayer.Torso.CFrame = CFrame.new(bodypos.position + dir * .05, bodypos.position + dir * 20) | |
960 | end) | |
961 | while did == false do | |
962 | wait() | |
963 | end | |
964 | bodypos.Parent = nil | |
965 | expected = 12 | |
966 | did = false | |
967 | pooted = 0 | |
968 | sos = game:GetService("RunService").Stepped:connect(function() | |
969 | pooted = pooted + 1 | |
970 | if pooted >= expected + 1 then | |
971 | sos:disconnect() | |
972 | did = true | |
973 | return | |
974 | end | |
975 | RightShoulder.C0 = RightShoulder.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4.5), math.rad(0), math.rad(-.15)) | |
976 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, -.07) * CFrame.fromEulerAnglesXYZ(math.rad(5.6), math.rad(-4.5), math.rad(1.25)) | |
977 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
978 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1.24), math.rad(0), math.rad(0)) | |
979 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(-2.5), math.rad(-8)) | |
980 | RootJoint.C0 = RootJoint.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-.5), math.rad(-.5), math.rad(7)) | |
981 | end) | |
982 | ||
983 | while did == false do | |
984 | wait() | |
985 | end | |
986 | expected = 6 | |
987 | did = false | |
988 | pooted = 0 | |
989 | sos = game:GetService("RunService").Stepped:connect(function() | |
990 | pooted = pooted + 1 | |
991 | if pooted >= expected + 1 then | |
992 | sos:disconnect() | |
993 | did = true | |
994 | return | |
995 | end | |
996 | resetWelds(3, {}) | |
997 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(pooted * 18)) | |
998 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 5), math.rad(0), math.rad(-pooted * 18)) | |
999 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
1000 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
1001 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 5), math.rad(0), math.rad(0)) | |
1002 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 6), math.rad(0), math.rad(pooted * 1)) | |
1003 | print(":(") | |
1004 | end) | |
1005 | wait(.3) | |
1006 | while did == false do | |
1007 | wait() | |
1008 | end | |
1009 | resetWelds(3, { | |
1010 | "Neck" | |
1011 | }) | |
1012 | expected = 5 | |
1013 | did = false | |
1014 | pooted = 0 | |
1015 | p = Instance.new("Part", workspace) | |
1016 | p.Name = "ORB" | |
1017 | p.TopSurface = 0 | |
1018 | p.BottomSurface = 0 | |
1019 | p.formFactor = "Custom" | |
1020 | p.CFrame = cPlayer.Torso.CFrame | |
1021 | m = Instance.new("SpecialMesh", p) | |
1022 | m.MeshType = "Sphere" | |
1023 | p.BrickColor = BrickColor:White() | |
1024 | p.Size = Vector3.new(1, 1, 1) | |
1025 | p.CanCollide = false | |
1026 | p.Anchored = true | |
1027 | game:GetService("Debris"):AddItem(p, 5) | |
1028 | coroutine.resume(coroutine.create(function(p) | |
1029 | nubhit.Torso.Anchored = true | |
1030 | for i = 1, 10 do | |
1031 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(5, 5, 5) | |
1032 | p.Transparency = .5 + i / 20 | |
1033 | wait() | |
1034 | end | |
1035 | p:Remove() | |
1036 | end), p) | |
1037 | sos = game:GetService("RunService").Stepped:connect(function() | |
1038 | pooted = pooted + 1 | |
1039 | if pooted >= expected + 1 then | |
1040 | sos:disconnect() | |
1041 | did = true | |
1042 | return | |
1043 | end | |
1044 | resetWelds(3, {}) | |
1045 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(-pooted * 12), math.rad(pooted * 10)) | |
1046 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 10), math.rad(pooted * 12), math.rad(-pooted * 10)) | |
1047 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-pooted * 10)) | |
1048 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(pooted * 9)) | |
1049 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 - pooted * 6), math.rad(0), math.rad(0)) | |
1050 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, pooted * .03, -pooted * .1) * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 9.5), math.rad(0), math.rad(pooted * .2)) | |
1051 | print(":(") | |
1052 | end) | |
1053 | ||
1054 | while did == false do | |
1055 | wait() | |
1056 | end | |
1057 | wait(1) | |
1058 | expected = 5 | |
1059 | did = false | |
1060 | pooted = 0 | |
1061 | sos = game:GetService("RunService").Stepped:connect(function() | |
1062 | pooted = pooted + 1 | |
1063 | if pooted >= expected + 1 then | |
1064 | sos:disconnect() | |
1065 | did = true | |
1066 | return | |
1067 | end | |
1068 | resetWelds(3, {}) | |
1069 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
1070 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
1071 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
1072 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
1073 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
1074 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
1075 | print(":(") | |
1076 | end) | |
1077 | while did == false do | |
1078 | wait() | |
1079 | end | |
1080 | wait(.8) | |
1081 | expected = 5 | |
1082 | did = false | |
1083 | pooted = 0 | |
1084 | bodypos.Parent = cPlayer.Torso | |
1085 | workspace.CurrentCamera.CameraType = "Follow" | |
1086 | sos = game:GetService("RunService").Stepped:connect(function() | |
1087 | pooted = pooted + 1 | |
1088 | if pooted >= expected + 1 then | |
1089 | sos:disconnect() | |
1090 | did = true | |
1091 | return | |
1092 | end | |
1093 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-3)) | |
1094 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(3)) | |
1095 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-8)) | |
1096 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(8)) | |
1097 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-14), math.rad(0), math.rad(0)) | |
1098 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
1099 | ||
1100 | bodypos.position = bodypos.position + Vector3.new(0, 240, 0) | |
1101 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 240, 0) | |
1102 | ||
1103 | print(":(") | |
1104 | end) | |
1105 | local DIOPLS = Instance.new("Sound", cPlayer.Torso) | |
1106 | DIOPLS.SoundId = "rbxassetid://316900066" | |
1107 | DIOPLS.Volume = 1 | |
1108 | DIOPLS:Play() | |
1109 | Instance.new("DistortionSoundEffect", DIOPLS).Level = 1 | |
1110 | game:GetService("Debris"):AddItem(DIOPLS, 19) | |
1111 | while did == false do | |
1112 | wait() | |
1113 | end | |
1114 | wait(.8) | |
1115 | LOL = Spawn() | |
1116 | LOL.Parent = workspace | |
1117 | LOL:MakeJoints() | |
1118 | LOL:MoveTo(cPlayer.Torso.CFrame.p) | |
1119 | C = LOL.Center | |
1120 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 1200, 0)) * CFrame.new(8, 0, 0) | |
1121 | ||
1122 | bb = Instance.new("BodyPosition") | |
1123 | bb.Parent = C | |
1124 | bb.maxForce = Vector3.new(50000000000000000, 50000000000000000, 50000000000000000) | |
1125 | bb.position = bb.Parent.Position | |
1126 | C.CFrame = CFrame.new(bb.position) | |
1127 | orig = bb.position | |
1128 | ||
1129 | gg = Instance.new("BodyGyro") | |
1130 | gg.P = 15000 | |
1131 | gg.D = 100 | |
1132 | gg.maxTorque = Vector3.new(500000000, 500000000, 500000000) | |
1133 | gg.cframe = CFrame.new(C.Position, Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(10), math.rad(10), 0) | |
1134 | gg.Parent = C | |
1135 | ||
1136 | expected = 80 | |
1137 | did = false | |
1138 | pooted = 0 | |
1139 | ||
1140 | resetWelds(3, {}) | |
1141 | ||
1142 | Hum.PlatformStand = true | |
1143 | ||
1144 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(180)) | |
1145 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, .4, 0) * CFrame.fromEulerAnglesXYZ(math.rad(30), math.rad(0), math.rad(-180)) | |
1146 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(-8)) | |
1147 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-8), math.rad(0), math.rad(8)) | |
1148 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-45), math.rad(0), math.rad(0)) | |
1149 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1150 | ||
1151 | bodypos.Parent = nil | |
1152 | w = Instance.new("Weld") | |
1153 | w.Part0 = C | |
1154 | w.Part1 = cPlayer.Torso | |
1155 | w.C0 = CFrame.new(.3, 5.6, -7) * CFrame.fromEulerAnglesXYZ(math.pi / .9, math.pi / 10, 0) | |
1156 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1157 | w.Parent = w.Part0 | |
1158 | ||
1159 | sos = game:GetService("RunService").Stepped:connect(function() | |
1160 | pooted = pooted + 1 | |
1161 | if pooted >= expected + 1 then | |
1162 | sos:disconnect() | |
1163 | did = true | |
1164 | return | |
1165 | end | |
1166 | ||
1167 | bb.position = orig - Vector3.new(0, 1202 / 80 * pooted, 0) | |
1168 | C.CFrame = C.CFrame - Vector3.new(0, 1202 / 80, 0) | |
1169 | print(":(") | |
1170 | end) | |
1171 | ||
1172 | while did == false do | |
1173 | wait() | |
1174 | end | |
1175 | C.CFrame = CFrame.new(nubhit.Torso.Position + Vector3.new(0, 4, 0), Vector3.new(nubhit.Torso.Position.x, C.Position.y, nubhit.Torso.Position.z)) * CFrame.fromEulerAnglesXYZ(-math.rad(5), math.rad(5), 0) | |
1176 | C.CFrame = C.CFrame * CFrame.new(8, 0, 0) | |
1177 | bl2 = Instance.new("Part") | |
1178 | bl2.TopSurface = 0 | |
1179 | bl2.BottomSurface = 0 | |
1180 | bl2.CanCollide = false | |
1181 | bl2.formFactor = "Symmetric" | |
1182 | local ShockWaveSound = Instance.new("Sound", bl2) | |
1183 | ShockWaveSound.SoundId = "rbxassetid://138186576" | |
1184 | ShockWaveSound.Pitch = 0.8 | |
1185 | ShockWaveSound.Volume = 1 | |
1186 | ShockWaveSound:Play() | |
1187 | Instance.new("DistortionSoundEffect", ShockWaveSound).Level = 1 | |
1188 | m = Instance.new("SpecialMesh") | |
1189 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1190 | m.Scale = Vector3.new(1, 4, 1) | |
1191 | m.Parent = bl2 | |
1192 | bl2.Size = Vector3.new(1, 1, 1) | |
1193 | bl2.Anchored = false | |
1194 | bl2.Name = "c" | |
1195 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
1196 | bl2.BrickColor = BrickColor.new("White") | |
1197 | bl2.Parent = CPlayer | |
1198 | coroutine.resume(coroutine.create(function(p) | |
1199 | for i = 1, 10 do | |
1200 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(8, 0, 8) | |
1201 | p.Transparency = .25 + i * .075 | |
1202 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(5), 0) | |
1203 | wait() | |
1204 | end | |
1205 | p:Remove() | |
1206 | end), bl2) | |
1207 | bl2.Anchored = true | |
1208 | ||
1209 | bl2 = Instance.new("Part") | |
1210 | bl2.TopSurface = 0 | |
1211 | bl2.BottomSurface = 0 | |
1212 | bl2.CanCollide = false | |
1213 | bl2.formFactor = "Symmetric" | |
1214 | m = Instance.new("SpecialMesh") | |
1215 | m.MeshId = "http://www.roblox.com/asset/?id=20329976" | |
1216 | m.Scale = Vector3.new(1, 6, 1) | |
1217 | m.Parent = bl2 | |
1218 | bl2.Size = Vector3.new(1, 1, 1) | |
1219 | bl2.Anchored = false | |
1220 | bl2.Name = "c" | |
1221 | bl2.CFrame = CFrame.new(C.Position) - Vector3.new(0, 2, 0) | |
1222 | bl2.BrickColor = BrickColor.new("White") | |
1223 | bl2.Parent = CPlayer | |
1224 | coroutine.resume(coroutine.create(function(p) | |
1225 | for i = 1, 20 do | |
1226 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(6, 0, 6) | |
1227 | p.Transparency = i / 20 | |
1228 | p.CFrame = p.CFrame * CFrame.fromEulerAnglesXYZ(0, math.rad(3), 0) | |
1229 | wait() | |
1230 | end | |
1231 | p:Remove() | |
1232 | end), bl2) | |
1233 | bl2.Anchored = true | |
1234 | ||
1235 | gg.cframe = gg.cframe * CFrame.fromEulerAnglesXYZ(math.rad(10), -math.rad(10), 0) | |
1236 | expected = 3 | |
1237 | did = false | |
1238 | pooted = 0 | |
1239 | workspace.CurrentCamera.CameraType = "Follow" | |
1240 | sos = game:GetService("RunService").Stepped:connect(function() | |
1241 | pooted = pooted + 1 | |
1242 | if pooted >= expected + 1 then | |
1243 | sos:disconnect() | |
1244 | did = true | |
1245 | return | |
1246 | end | |
1247 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1248 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1249 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-4), math.rad(0), math.rad(0)) | |
1250 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(4), math.rad(0), math.rad(0)) | |
1251 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1252 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
1253 | ||
1254 | w.C0 = w.C0 * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
1255 | ||
1256 | print(":(") | |
1257 | end) | |
1258 | while did == false do | |
1259 | wait() | |
1260 | end | |
1261 | wait(.3) | |
1262 | expected = 5 | |
1263 | did = false | |
1264 | pooted = 0 | |
1265 | workspace.CurrentCamera.CameraType = "Follow" | |
1266 | sos = game:GetService("RunService").Stepped:connect(function() | |
1267 | pooted = pooted + 1 | |
1268 | if pooted >= expected + 1 then | |
1269 | sos:disconnect() | |
1270 | did = true | |
1271 | return | |
1272 | end | |
1273 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1274 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1275 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-8)) | |
1276 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(8)) | |
1277 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(5), math.rad(0), math.rad(0)) | |
1278 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(14), math.rad(0), math.rad(0)) | |
1279 | ||
1280 | w.C0 = w.C0 * CFrame.new(0, 0, -.04) * CFrame.fromEulerAnglesXYZ(math.rad(15), 0, 0) | |
1281 | ||
1282 | print(":(") | |
1283 | end) | |
1284 | while did == false do | |
1285 | wait() | |
1286 | end | |
1287 | expected = 203 | |
1288 | did = false | |
1289 | pooted = 0 | |
1290 | workspace.CurrentCamera.CameraType = "Follow" | |
1291 | sos = game:GetService("RunService").Stepped:connect(function() | |
1292 | pooted = pooted + 1 | |
1293 | if pooted >= expected + 1 then | |
1294 | sos:disconnect() | |
1295 | did = true | |
1296 | return | |
1297 | end | |
1298 | resetWelds(3, { | |
1299 | RightHip, | |
1300 | LeftHip, | |
1301 | RootJoint, | |
1302 | Neck | |
1303 | }) | |
1304 | RightShoulder.C0 = RightShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(60) - math.cos(time() * 70) * 2) | |
1305 | LeftShoulder.C0 = LeftShoulderC0 * CFrame.new(math.random(-20, 20) / 200, math.cos(time() * 30), math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.sin(time() * 20) / 3, math.sin(time() * 20) / 5, math.rad(-60) + math.sin(time() * 60) * 2) | |
1306 | RightHip.C0 = RightHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(-30)) | |
1307 | LeftHip.C0 = LeftHipC0 * CFrame.fromEulerAnglesXYZ(math.rad(-18), math.rad(0), math.rad(30)) | |
1308 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20), math.rad(0), math.rad(0)) | |
1309 | RootJoint.C0 = RootJointC0 * CFrame.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) * CFrame.fromEulerAnglesXYZ(math.rad(80), math.rad(0), math.rad(0)) | |
1310 | w.C0 = w.C0 * CFrame.new(math.random(-20, 20) / 2000, math.random(-20, 20) / 2000, math.random(-20, 20) / 2000) * CFrame.fromEulerAnglesXYZ(0, 0, 0) | |
1311 | C.CFrame = C.CFrame + Vector3.new(math.random(-20, 20) / 200, math.random(-20, 20) / 200, math.random(-20, 20) / 200) | |
1312 | ||
1313 | if pooted / 2 == math.floor(pooted / 2) then | |
1314 | p = cPlayer["Right Arm"]:clone() | |
1315 | p.Anchored = true | |
1316 | p.CanCollide = false | |
1317 | p.Parent = workspace | |
1318 | p.Transparency = .5 | |
1319 | game:GetService("Debris"):AddItem(p, .2) | |
1320 | p = cPlayer["Left Arm"]:clone() | |
1321 | p.Anchored = true | |
1322 | p.CanCollide = false | |
1323 | p.Parent = workspace | |
1324 | p.Transparency = .5 | |
1325 | game:GetService("Debris"):AddItem(p, .2) | |
1326 | ||
1327 | p = Instance.new("Part", workspace) | |
1328 | p.Name = "ORB" | |
1329 | p.TopSurface = 0 | |
1330 | p.BottomSurface = 0 | |
1331 | p.formFactor = "Custom" | |
1332 | p.CFrame = cPlayer.Torso.CFrame + cPlayer.Torso.CFrame.lookVector * 3 + Vector3.new(math.random(-20, 20) / 15, math.random(-20, 20) / 15 - .8, math.random(-20, 20) / 15) | |
1333 | m = Instance.new("SpecialMesh", p) | |
1334 | m.MeshType = "Sphere" | |
1335 | p.BrickColor = BrickColor:White() | |
1336 | p.Size = Vector3.new(.4, .4, .4) | |
1337 | p.CanCollide = false | |
1338 | p.Anchored = true | |
1339 | game:GetService("Debris"):AddItem(p, 5) | |
1340 | coroutine.resume(coroutine.create(function(p) | |
1341 | for i = 1, 8 do | |
1342 | p.Mesh.Scale = p.Mesh.Scale + Vector3.new(1, 1, 1) | |
1343 | p.Transparency = i / 8 | |
1344 | wait() | |
1345 | end | |
1346 | p:Remove() | |
1347 | end), p) | |
1348 | ||
1349 | end | |
1350 | ||
1351 | print(":)") | |
1352 | end) | |
1353 | while did == false do | |
1354 | wait() | |
1355 | end | |
1356 | wait(.5) | |
1357 | expected = 20 | |
1358 | did = false | |
1359 | pooted = 0 | |
1360 | workspace.CurrentCamera.CameraType = "Follow" | |
1361 | sos = game:GetService("RunService").Stepped:connect(function() | |
1362 | pooted = pooted + 1 | |
1363 | if pooted >= expected + 1 then | |
1364 | sos:disconnect() | |
1365 | did = true | |
1366 | return | |
1367 | end | |
1368 | resetWelds(3, { | |
1369 | Neck, | |
1370 | RootJoint, | |
1371 | RightHip, | |
1372 | LeftHip | |
1373 | }) | |
1374 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(2 * pooted), math.rad(0), math.rad(5 * pooted)) | |
1375 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-9 * pooted)) | |
1376 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(-2)) | |
1377 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(4 * pooted)) | |
1378 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(0), math.rad(2)) | |
1379 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1380 | w.C0 = w.C0 * CFrame.new(0, 0.03, .03) * CFrame.fromEulerAnglesXYZ(math.rad(2), math.rad(2), math.rad(0)) | |
1381 | print(":)") | |
1382 | end) | |
1383 | while did == false do | |
1384 | wait() | |
1385 | end | |
1386 | wait(2) | |
1387 | expected = 5 | |
1388 | did = false | |
1389 | pooted = 0 | |
1390 | workspace.CurrentCamera.CameraType = "Follow" | |
1391 | w.Parent = nil | |
1392 | bodypos.position = cPlayer.Torso.Position - Vector3.new(0, 1, 0) | |
1393 | poo = cPlayer.Torso.CFrame.lookVector | |
1394 | cPlayer.Torso.CFrame = CFrame.new(cPlayer.Torso.Position, cPlayer.Torso.Position + C.CFrame.lookVector * 50) | |
1395 | bodypos.Parent = cPlayer.Torso | |
1396 | sos = game:GetService("RunService").Stepped:connect(function() | |
1397 | pooted = pooted + 1 | |
1398 | if pooted >= expected + 1 then | |
1399 | sos:disconnect() | |
1400 | did = true | |
1401 | return | |
1402 | end | |
1403 | resetWelds(3, {}) | |
1404 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(80 - pooted * 35)) | |
1405 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(10), math.rad(0), math.rad(-190 + pooted * 28)) | |
1406 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(6), math.rad(0), math.rad(-80 + pooted * 4)) | |
1407 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(8), math.rad(0), math.rad(84 - pooted * 4)) | |
1408 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(20 + pooted * 10), math.rad(0), math.rad(0)) | |
1409 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -pooted * .25) * CFrame.fromEulerAnglesXYZ(math.rad(-20 + pooted * 9), math.rad(0), math.rad(0)) | |
1410 | print(":)") | |
1411 | end) | |
1412 | while did == false do | |
1413 | wait() | |
1414 | end | |
1415 | wait(.7) | |
1416 | expected = 5 | |
1417 | did = false | |
1418 | pooted = 0 | |
1419 | sos = game:GetService("RunService").Stepped:connect(function() | |
1420 | pooted = pooted + 1 | |
1421 | if pooted >= expected + 1 then | |
1422 | sos:disconnect() | |
1423 | did = true | |
1424 | return | |
1425 | end | |
1426 | resetWelds(3, {}) | |
1427 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0.05 * pooted, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(pooted * 6)) | |
1428 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 2), math.rad(0), math.rad(-pooted * 6)) | |
1429 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(-57 + pooted * 20)) | |
1430 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-pooted * 2), math.rad(0), math.rad(57 - pooted * 20)) | |
1431 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(pooted * 4), math.rad(0), math.rad(0)) | |
1432 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, -.1 * pooted) * CFrame.fromEulerAnglesXYZ(math.rad(-57 + pooted * 20), math.rad(0), math.rad(0)) | |
1433 | print(":(") | |
1434 | end) | |
1435 | while did == false do | |
1436 | wait() | |
1437 | end | |
1438 | wait(.2) | |
1439 | expected = 10 | |
1440 | did = false | |
1441 | pooted = 0 | |
1442 | workspace.CurrentCamera.CameraType = "Follow" | |
1443 | g = Instance.new("BodyGyro") | |
1444 | g.Parent = cPlayer.Torso | |
1445 | sos = game:GetService("RunService").Stepped:connect(function() | |
1446 | pooted = pooted + 1 | |
1447 | if pooted >= expected + 1 then | |
1448 | sos:disconnect() | |
1449 | did = true | |
1450 | return | |
1451 | end | |
1452 | RightShoulder.C0 = RightShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(-2), math.rad(0), math.rad(-2)) | |
1453 | LeftShoulder.C0 = LeftShoulder.C0 * CFrame.new(0, 0, 0) * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(2)) | |
1454 | RightHip.C0 = RightHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(-4)) | |
1455 | LeftHip.C0 = LeftHip.C0 * CFrame.fromEulerAnglesXYZ(math.rad(1), math.rad(0), math.rad(4)) | |
1456 | Neck.C0 = Neck.C0 * CFrame.fromEulerAnglesXYZ(math.rad(-7), math.rad(0), math.rad(0)) | |
1457 | RootJoint.C0 = RootJoint.C0 * CFrame.new(0, 0, .05) * CFrame.fromEulerAnglesXYZ(math.rad(0), math.rad(0), math.rad(0)) | |
1458 | if pooted >= 2 then | |
1459 | bodypos.position = bodypos.position + Vector3.new(0, 12, 0) - dir * 5 | |
1460 | cPlayer.Torso.CFrame = cPlayer.Torso.CFrame + Vector3.new(0, 12, 0) - dir * 5 | |
1461 | end | |
1462 | print(":(") | |
1463 | end) | |
1464 | while did == false do | |
1465 | wait() | |
1466 | end | |
1467 | wait(.2) | |
1468 | bodypos:Remove() | |
1469 | wait(.5) | |
1470 | ||
1471 | e = Instance.new("Explosion") | |
1472 | e.BlastRadius = 30 | |
1473 | e.Position = C.Position | |
1474 | e.BlastPressure = e.BlastPressure * 2.5 | |
1475 | e.Parent = workspace | |
1476 | s = Instance.new("Sound", C) | |
1477 | s.SoundId = "rbxassetid://258057783" | |
1478 | s.Volume = 1 | |
1479 | s:Play() | |
1480 | Instance.new("DistortionSoundEffect", s).Level = 1 | |
1481 | g:Remove() | |
1482 | --dun | |
1483 | nubhit.Torso.Anchored = false | |
1484 | Hum.PlatformStand = false | |
1485 | C.Anchored = true | |
1486 | ||
1487 | coroutine.resume(coroutine.create(function(t) | |
1488 | wait(3) | |
1489 | p = Instance.new("Sound") | |
1490 | p.SoundId = "http://www.roblox.com/asset/?id=154677261" | |
1491 | p.Parent = t | |
1492 | p.Volume = 1 | |
1493 | p:Play() | |
1494 | end), C) | |
1495 | game:GetService("Debris"):AddItem(LOL, 5) | |
1496 | end | |
1497 | resetWelds(3, {}) | |
1498 | workspace.CurrentCamera.CameraType = "Custom" | |
1499 | Hum.WalkSpeed = 16 | |
1500 | Hum.Name = "Humanoid" | |
1501 | bodypos:Remove() | |
1502 | partpos:Remove() | |
1503 | Anim.Parent = nil | |
1504 | wait(.1) | |
1505 | Anim.Disabled = false | |
1506 | Anim.Parent = cPlayer | |
1507 | deb = true | |
1508 | end | |
1509 | ||
1510 | Tool = Instance.new("HopperBin") | |
1511 | Tool.Name = "ROAD ROLLER DA" | |
1512 | Tool.Parent = game.Players.LocalPlayer.Backpack | |
1513 | Tool.Selected:connect(function(mouse) | |
1514 | mouse.Button1Down:connect(function() | |
1515 | doitdocdoit() | |
1516 | end) | |
1517 | end) | |
1518 | ||
1519 | end |