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