SHOW:
|
|
- or go back to the newest paste.
1 | --just put this on the top of a script and boom 89% works | |
2 | --note this does not work on big scripts | |
3 | if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end | |
4 | local Player,game,owner = owner,game | |
5 | local RealPlayer = Player | |
6 | do | |
7 | local rp = RealPlayer | |
8 | script.Parent = rp.Character | |
9 | ||
10 | --RemoteEvent for communicating | |
11 | local Event = Instance.new("RemoteEvent") | |
12 | Event.Name = "UserInput_Event" | |
13 | ||
14 | --Fake event to make stuff like Mouse.KeyDown work | |
15 | local function fakeEvent() | |
16 | local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end} | |
17 | t.connect = t.Connect | |
18 | return t | |
19 | end | |
20 | ||
21 | --Creating fake input objects with fake variables | |
22 | local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()} | |
23 | local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()} | |
24 | local CAS = {Actions={},BindAction=function(self,name,fun,touch,...) | |
25 | CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil | |
26 | end} | |
27 | --Merged 2 functions into one by checking amount of arguments | |
28 | CAS.UnbindAction = CAS.BindAction | |
29 | ||
30 | --This function will trigger the events that have been :Connect()'ed | |
31 | local function te(self,ev,...) | |
32 | local t = m[ev] | |
33 | if t and t._fakeEvent then | |
34 | for _,f in pairs(t.Functions) do | |
35 | f(...) | |
36 | end | |
37 | end | |
38 | end | |
39 | m.TrigEvent = te | |
40 | UIS.TrigEvent = te | |
41 | ||
42 | Event.OnServerEvent:Connect(function(plr,io) | |
43 | if plr~=rp then return end | |
44 | m.Target = io.Target | |
45 | m.Hit = io.Hit | |
46 | if not io.isMouse then | |
47 | local b = io.UserInputState == Enum.UserInputState.Begin | |
48 | if io.UserInputType == Enum.UserInputType.MouseButton1 then | |
49 | return m:TrigEvent(b and "Button1Down" or "Button1Up") | |
50 | end | |
51 | for _,t in pairs(CAS.Actions) do | |
52 | for _,k in pairs(t.Keys) do | |
53 | if k==io.KeyCode then | |
54 | t.Function(t.Name,io.UserInputState,io) | |
55 | end | |
56 | end | |
57 | end | |
58 | m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower()) | |
59 | UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false) | |
60 | end | |
61 | end) | |
62 | Event.Parent = NLS([==[ | |
63 | local Player = game:GetService("Players").LocalPlayer | |
64 | local Event = script:WaitForChild("UserInput_Event") | |
65 | ||
66 | local Mouse = Player:GetMouse() | |
67 | local UIS = game:GetService("UserInputService") | |
68 | local input = function(io,a) | |
69 | if a then return end | |
70 | --Since InputObject is a client-side instance, we create and pass table instead | |
71 | Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target}) | |
72 | end | |
73 | UIS.InputBegan:Connect(input) | |
74 | UIS.InputEnded:Connect(input) | |
75 | ||
76 | local h,t | |
77 | --Give the server mouse data 30 times every second, but only if the values changed | |
78 | --If player is not moving their mouse, client won't fire events | |
79 | while wait(1/30) do | |
80 | if h~=Mouse.Hit or t~=Mouse.Target then | |
81 | h,t=Mouse.Hit,Mouse.Target | |
82 | Event:FireServer({isMouse=true,Target=t,Hit=h}) | |
83 | end | |
84 | end]==],Player.Character) | |
85 | ||
86 | ----Sandboxed game object that allows the usage of client-side methods and services | |
87 | --Real game object | |
88 | local _rg = game | |
89 | ||
90 | --Metatable for fake service | |
91 | local fsmt = { | |
92 | __index = function(self,k) | |
93 | local s = rawget(self,"_RealService") | |
94 | if s then return s[k] end | |
95 | end, | |
96 | __newindex = function(self,k,v) | |
97 | local s = rawget(self,"_RealService") | |
98 | if s then s[k]=v end | |
99 | end, | |
100 | __call = function(self,...) | |
101 | local s = rawget(self,"_RealService") | |
102 | if s then return s(...) end | |
103 | end | |
104 | } | |
105 | local function FakeService(t,RealService) | |
106 | t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService | |
107 | return setmetatable(t,fsmt) | |
108 | end | |
109 | ||
110 | --Fake game object | |
111 | local g = { | |
112 | GetService = function(self,s) | |
113 | return self[s] | |
114 | end, | |
115 | Players = FakeService({ | |
116 | LocalPlayer = FakeService({GetMouse=function(self)return m end},Player) | |
117 | },"Players"), | |
118 | UserInputService = FakeService(UIS,"UserInputService"), | |
119 | ContextActionService = FakeService(CAS,"ContextActionService"), | |
120 | } | |
121 | rawset(g.Players,"localPlayer",g.Players.LocalPlayer) | |
122 | g.service = g.GetService | |
123 | ||
124 | g.RunService = FakeService({ | |
125 | RenderStepped = _rg:GetService("RunService").Heartbeat, | |
126 | BindToRenderStep = function(self,name,_,fun) | |
127 | self._btrs[name] = self.Heartbeat:Connect(fun) | |
128 | end, | |
129 | UnbindFromRenderStep = function(self,name) | |
130 | self._btrs[name]:Disconnect() | |
131 | end, | |
132 | },"RunService") | |
133 | ||
134 | setmetatable(g,{ | |
135 | __index=function(self,s) | |
136 | return _rg:GetService(s) or typeof(_rg[s])=="function" | |
137 | and function(_,...)return _rg[s](_rg,...)end or _rg[s] | |
138 | end, | |
139 | __newindex = fsmt.__newindex, | |
140 | __call = fsmt.__call | |
141 | }) | |
142 | --Changing owner to fake player object to support owner:GetMouse() | |
143 | game,owner = g,g.Players.LocalPlayer | |
144 | end | |
145 | ||
146 | ||
147 | ||
148 | local p = game.Players.LocalPlayer | |
149 | local char = p.Character | |
150 | local mouse = p:GetMouse() | |
151 | local larm = char["Left Arm"] | |
152 | local rarm = char["Right Arm"] | |
153 | local lleg = char["Left Leg"] | |
154 | local rleg = char["Right Leg"] | |
155 | local hed = char.Head | |
156 | local torso = char.Torso | |
157 | local hum = char.Humanoid | |
158 | local cam = game.Workspace.CurrentCamera | |
159 | local root = char.HumanoidRootPart | |
160 | local deb = false | |
161 | local shot = 0 | |
162 | local l = game:GetService("Lighting") | |
163 | local rs = game:GetService("RunService").RenderStepped | |
164 | local stanceToggle = "Bong" | |
165 | math.randomseed(os.time()) | |
166 | hum.WalkSpeed = 8 | |
167 | ---------------------------------------------------- | |
168 | ---------------------------------------------------- | |
169 | ---------------------------------------------------- | |
170 | Debounces = { | |
171 | CanPuff = true; | |
172 | CanJoke = true; | |
173 | Bong = true; | |
174 | Pipe = false; | |
175 | Blunt = false; | |
176 | NoIdl = false; | |
177 | on = false; | |
178 | } | |
179 | ||
180 | ---------------------------------------------------- | |
181 | ||
182 | function lerp(a, b, t) -- Linear interpolation | |
183 | return a + (b - a)*t | |
184 | end | |
185 | ||
186 | function slerp(a, b, t) --Spherical interpolation | |
187 | dot = a:Dot(b) | |
188 | if dot > 0.99999 or dot < -0.99999 then | |
189 | return t <= 0.5 and a or b | |
190 | else | |
191 | r = math.acos(dot) | |
192 | return (a*math.sin((1 - t)*r) + b*math.sin(t*r)) / math.sin(r) | |
193 | end | |
194 | end | |
195 | ||
196 | function matrixInterpolate(a, b, t) | |
197 | local ax, ay, az, a00, a01, a02, a10, a11, a12, a20, a21, a22 = a:components() | |
198 | local bx, by, bz, b00, b01, b02, b10, b11, b12, b20, b21, b22 = b:components() | |
199 | local v0 = lerp(Vector3.new(ax, ay, az), Vector3.new(bx , by , bz), t) -- Position | |
200 | local v1 = slerp(Vector3.new(a00, a01, a02), Vector3.new(b00, b01, b02), t) -- Vector right | |
201 | local v2 = slerp(Vector3.new(a10, a11, a12), Vector3.new(b10, b11, b12), t) -- Vector up | |
202 | local v3 = slerp(Vector3.new(a20, a21, a22), Vector3.new(b20, b21, b22), t) -- Vector back | |
203 | local t = v1:Dot(v2) | |
204 | if not (t < 0 or t == 0 or t > 0) then -- Failsafe | |
205 | return CFrame.new() | |
206 | end | |
207 | return CFrame.new( | |
208 | v0.x, v0.y, v0.z, | |
209 | v1.x, v1.y, v1.z, | |
210 | v2.x, v2.y, v2.z, | |
211 | v3.x, v3.y, v3.z) | |
212 | end | |
213 | ---------------------------------------------------- | |
214 | function genWeld(a,b) | |
215 | local w = Instance.new("Weld",a) | |
216 | w.Part0 = a | |
217 | w.Part1 = b | |
218 | return w | |
219 | end | |
220 | function weld(a, b) | |
221 | local weld = Instance.new("Weld") | |
222 | weld.Name = "W" | |
223 | weld.Part0 = a | |
224 | weld.Part1 = b | |
225 | weld.C0 = a.CFrame:inverse() * b.CFrame | |
226 | weld.Parent = a | |
227 | return weld; | |
228 | end | |
229 | ---------------------------------------------------- | |
230 | function Lerp(c1,c2,al) | |
231 | local com1 = {c1.X,c1.Y,c1.Z,c1:toEulerAnglesXYZ()} | |
232 | local com2 = {c2.X,c2.Y,c2.Z,c2:toEulerAnglesXYZ()} | |
233 | for i,v in pairs(com1) do | |
234 | com1[i] = v+(com2[i]-v)*al | |
235 | end | |
236 | return CFrame.new(com1[1],com1[2],com1[3]) * CFrame.Angles(select(4,unpack(com1))) | |
237 | end | |
238 | ---------------------------------------------------- | |
239 | newWeld = function(wp0, wp1, wc0x, wc0y, wc0z) | |
240 | local wld = Instance.new("Weld", wp1) | |
241 | wld.Part0 = wp0 | |
242 | wld.Part1 = wp1 | |
243 | wld.C0 = CFrame.new(wc0x, wc0y, wc0z) | |
244 | end | |
245 | ---------------------------------------------------- | |
246 | newWeld(torso, larm, -1.5, 0.5, 0) | |
247 | larm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
248 | newWeld(torso, rarm, 1.5, 0.5, 0) | |
249 | rarm.Weld.C1 = CFrame.new(0, 0.5, 0) | |
250 | newWeld(torso, hed, 0, 1.5, 0) | |
251 | newWeld(torso, lleg, -0.5, -1, 0) | |
252 | lleg.Weld.C1 = CFrame.new(0, 1, 0) | |
253 | newWeld(torso, rleg, 0.5, -1, 0) | |
254 | rleg.Weld.C1 = CFrame.new(0, 1, 0) | |
255 | newWeld(root, torso, 0, -1, 0) | |
256 | torso.Weld.C1 = CFrame.new(0, -1, 0) | |
257 | ---------------------------------------------------- | |
258 | z = Instance.new("Sound",char) | |
259 | z.SoundId = "rbxassetid://143065500" | |
260 | z.Looped = true | |
261 | z.Pitch = .94 | |
262 | z.Volume = 1 | |
263 | wait(1) | |
264 | z:Play() | |
265 | ---------------------------------------------------- | |
266 | pa = Instance.new("Part", torso) | |
267 | pa.Name = "Fat" | |
268 | pa.Transparency = 1 | |
269 | pa.CanCollide = false | |
270 | pa.Anchored = false | |
271 | pa.Locked = true | |
272 | pa.Size = Vector3.new(1,1,1) | |
273 | weld = Instance.new("Weld", pa) | |
274 | weld.Part0 = pa | |
275 | weld.Part1 = torso | |
276 | weld.C0 = CFrame.new(0, 0, -1.5) | |
277 | weld.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-50), math.rad(0), math.rad(0)) | |
278 | s = Instance.new("Smoke", pa) | |
279 | s.Color = Color3.new(1,1,1) | |
280 | s.Opacity = 1 | |
281 | s.RiseVelocity = 4 | |
282 | s.Enabled = false | |
283 | ---------------------------------------------------- | |
284 | local m = Instance.new("Model") | |
285 | m.Name = "Bong" | |
286 | p1 = Instance.new("Part", m) | |
287 | p1.Material = "Neon" | |
288 | p1.BrickColor = BrickColor.new("Black") | |
289 | p1.Name = "Lip" | |
290 | p1.FormFactor = Enum.FormFactor.Symmetric | |
291 | p1.Size = Vector3.new(1, 1, 1) | |
292 | p1.CFrame = CFrame.new(28.499649, 10.9996414, -11.4994812, -0.999972343, 6.21378422e-006, -0.00049701333, -0.000477582216, -5.70863485e-005, 0.999959588, -1.02631748e-005, 0.999939203, 2.50376761e-005) | |
293 | p1.CanCollide = false | |
294 | p1.Locked = true | |
295 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
296 | p1.TopSurface = Enum.SurfaceType.Smooth | |
297 | b1 = Instance.new("SpecialMesh", p1) | |
298 | b1.MeshId = "http://www.roblox.com/asset/?id=3270017" | |
299 | b1.TextureId = "" | |
300 | b1.MeshType = Enum.MeshType.FileMesh | |
301 | b1.Name = "Mesh" | |
302 | p2 = Instance.new("Part", m) | |
303 | p2.Material = "Neon" | |
304 | p2.BrickColor = BrickColor.new("Earth green") | |
305 | p2.Material = Enum.Material.SmoothPlastic | |
306 | p2.Transparency = 0.20000000298023 | |
307 | p2.Name = "Tube" | |
308 | p2.FormFactor = Enum.FormFactor.Symmetric | |
309 | p2.Size = Vector3.new(1, 3, 1) | |
310 | p2.CFrame = CFrame.new(28.4998627, 9.49954987, -11.4992342, 0.000220132133, -5.49961114e-005, 0.999972463, -7.23355697e-005, 0.999959707, 3.55862139e-005, -0.999939203, -0.000104385108, 0.000236587104) | |
311 | p2.CanCollide = false | |
312 | p2.Locked = true | |
313 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
314 | p2.TopSurface = Enum.SurfaceType.Smooth | |
315 | b2 = Instance.new("CylinderMesh", p2) | |
316 | b2.Name = "Mesh" | |
317 | p3 = Instance.new("Part", m) | |
318 | p3.BrickColor = BrickColor.new("Earth green") | |
319 | p3.Name = "Devil's Lettuce" | |
320 | p3.Size = Vector3.new(1, 1.20000005, 1) | |
321 | p3.CFrame = CFrame.new(27.1619816, 8.50439644, -11.4991903, 0.754621029, -0.656118929, 2.5186062e-005, 0.656095922, 0.754624128, -5.45315925e-005, 8.17945693e-006, 2.26873817e-005, 0.999939263) | |
322 | p3.CanCollide = false | |
323 | p3.Locked = true | |
324 | b3 = Instance.new("SpecialMesh", p3) | |
325 | b3.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
326 | b3.TextureId = "http://www.roblox.com/asset/?id=1290030" | |
327 | b3.MeshType = Enum.MeshType.FileMesh | |
328 | b3.VertexColor = Vector3.new(0.5, 70, 0) | |
329 | b3.Name = "Mesh" | |
330 | b3.Scale = Vector3.new(0.199999988, 0.199999988, 0.199999988) | |
331 | p4 = Instance.new("Part", m) | |
332 | p4.BrickColor = BrickColor.new("Black") | |
333 | p4.Name = "Bowl" | |
334 | p4.FormFactor = Enum.FormFactor.Symmetric | |
335 | p4.Size = Vector3.new(1, 1, 1) | |
336 | p4.CFrame = CFrame.new(27.243679, 8.40425396, -11.4991856, -0.754621029, 0.656118929, 0.000100085585, -0.656095922, -0.754624128, 1.05888903e-005, 9.10690069e-005, -2.26873672e-005, 0.999939263) | |
337 | p4.CanCollide = false | |
338 | p4.Locked = true | |
339 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
340 | p4.TopSurface = Enum.SurfaceType.Smooth | |
341 | b4 = Instance.new("SpecialMesh", p4) | |
342 | b4.MeshId = "http://www.roblox.com/asset/?id=19380188" | |
343 | b4.TextureId = "" | |
344 | b4.MeshType = Enum.MeshType.FileMesh | |
345 | b4.Name = "Mesh" | |
346 | b4.Scale = Vector3.new(0.400000006, 0.400000006, 0.400000006) | |
347 | p5 = Instance.new("Part", m) | |
348 | p5.BrickColor = BrickColor.new("Black") | |
349 | p5.Material = Enum.Material.SmoothPlastic | |
350 | p5.Name = "Stem" | |
351 | p5.FormFactor = Enum.FormFactor.Symmetric | |
352 | p5.Size = Vector3.new(1, 1, 1) | |
353 | p5.CFrame = CFrame.new(27.8998299, 7.64966011, -11.4992504, -0.754621029, -0.656118929, -3.68308465e-005, -0.656095922, 0.754624128, 4.44071593e-005, 7.25091377e-006, 2.26873672e-005, -0.999939263) | |
354 | p5.CanCollide = false | |
355 | p5.Locked = true | |
356 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
357 | p5.TopSurface = Enum.SurfaceType.Smooth | |
358 | b5 = Instance.new("CylinderMesh", p5) | |
359 | b5.Name = "Mesh" | |
360 | b5.Scale = Vector3.new(1, 1.79999995, 0.200000003) | |
361 | p6 = Instance.new("Part", m) | |
362 | p6.Material = "Neon" | |
363 | p6.BrickColor = BrickColor.new("Earth green") | |
364 | p6.Material = Enum.Material.SmoothPlastic | |
365 | p6.Transparency = 0.20000000298023 | |
366 | p6.Name = "Bong" | |
367 | p6.FormFactor = Enum.FormFactor.Symmetric | |
368 | p6.Size = Vector3.new(1, 1, 1) | |
369 | p6.CFrame = CFrame.new(28.5000229, 7.34961605, -11.4990406, -0.000452600536, 0.00015476234, -0.999972343, -1.39447293e-005, 0.999959707, 0.000174246117, 0.999939203, -1.80333263e-005, -0.000469060004) | |
370 | p6.CanCollide = false | |
371 | p6.Locked = true | |
372 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
373 | p6.TopSurface = Enum.SurfaceType.Smooth | |
374 | b6 = Instance.new("SpecialMesh", p6) | |
375 | b6.MeshType = Enum.MeshType.Sphere | |
376 | b6.Name = "Mesh" | |
377 | b6.Scale = Vector3.new(1.79999995, 1.79999995, 1.79999995) | |
378 | p7 = Instance.new("Part", m) | |
379 | p7.Material = "Neon" | |
380 | p7.BrickColor = BrickColor.new("Pastel Blue") | |
381 | p7.Material = Enum.Material.SmoothPlastic | |
382 | p7.Name = "Water" | |
383 | p7.FormFactor = Enum.FormFactor.Symmetric | |
384 | p7.Size = Vector3.new(1, 1, 1) | |
385 | p7.CFrame = CFrame.new(28.5000248, 7.25962019, -11.4990396, -0.000452600565, 0.000154762354, -0.999972343, -1.39616022e-005, 0.999959707, 0.000174246117, 0.999939322, -1.80501975e-005, -0.000469060033) | |
386 | p7.CanCollide = false | |
387 | p7.Locked = true | |
388 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
389 | p7.TopSurface = Enum.SurfaceType.Smooth | |
390 | b7 = Instance.new("SpecialMesh", p7) | |
391 | b7.MeshType = Enum.MeshType.Sphere | |
392 | b7.Name = "Mesh" | |
393 | b7.Scale = Vector3.new(1.5999999, 1.39999986, 1.5999999) | |
394 | w1 = Instance.new("Weld", p1) | |
395 | w1.Name = "Tube_Weld" | |
396 | w1.Part0 = p1 | |
397 | w1.C0 = CFrame.new(28.505003, 11.5008535, -10.9858503, -0.999999881, -0.000485179946, -1.08338909e-007, -8.74227695e-008, -4.31100962e-005, 1, -0.000485179946, 0.999999881, 4.31100489e-005) | |
398 | w1.Part1 = p2 | |
399 | w1.C1 = CFrame.new(-11.5057898, -9.49978542, -28.4976711, 0.000226438046, -8.63153255e-005, -1, -4.31497574e-005, 1, -8.63251043e-005, 1, 4.31693043e-005, 0.000226438046) | |
400 | w2 = Instance.new("Weld", p2) | |
401 | w2.Name = "Devil's Lettuce_Weld" | |
402 | w2.Part0 = p2 | |
403 | w2.C0 = CFrame.new(-11.5057898, -9.49978542, -28.4976711, 0.000226438046, -8.63153255e-005, -1, -4.31497574e-005, 1, -8.63251043e-005, 1, 4.31693043e-005, 0.000226438046) | |
404 | w2.Part1 = p3 | |
405 | w2.C1 = CFrame.new(-26.0778522, 11.4040451, 11.4999485, 0.75464958, 0.656128049, 1.23602822e-005, -0.656128049, 0.75464958, 4.29936699e-005, 1.88816703e-005, -4.05550818e-005, 1) | |
406 | w3 = Instance.new("Weld", p3) | |
407 | w3.Name = "Bowl_Weld" | |
408 | w3.Part0 = p3 | |
409 | w3.C0 = CFrame.new(-26.0778522, 11.4040451, 11.4999485, 0.75464958, 0.656128049, 1.23602822e-005, -0.656128049, 0.75464958, 4.29936699e-005, 1.88816703e-005, -4.05550818e-005, 1) | |
410 | w3.Part1 = p4 | |
411 | w3.C1 = CFrame.new(26.0749397, -11.5332241, 11.4973526, -0.75464958, -0.656128049, 8.68942152e-005, 0.656128049, -0.75464958, -4.29936554e-005, 9.37840305e-005, 2.45685878e-005, 1) | |
412 | w4 = Instance.new("Weld", p4) | |
413 | w4.Name = "Stem_Weld" | |
414 | w4.Part0 = p4 | |
415 | w4.C0 = CFrame.new(26.0749397, -11.5332241, 11.4973526, -0.75464958, -0.656128049, 8.68942152e-005, 0.656128049, -0.75464958, -4.29936554e-005, 9.37840305e-005, 2.45685878e-005, 1) | |
416 | w4.Part1 = p5 | |
417 | w4.C1 = CFrame.new(26.0740185, 12.5332232, -11.4995804, -0.75464958, -0.656128049, 3.07102709e-006, -0.656128049, 0.75464958, 4.29936554e-005, -3.05268914e-005, 3.04301557e-005, -1) | |
418 | w5 = Instance.new("Weld", p5) | |
419 | w5.Name = "Bong_Weld" | |
420 | w5.Part0 = p5 | |
421 | w5.C0 = CFrame.new(26.0740185, 12.5332232, -11.4995804, -0.75464958, -0.656128049, 3.07102709e-006, -0.656128049, 0.75464958, 4.29936554e-005, -3.05268914e-005, 3.04301557e-005, -1) | |
422 | w5.Part1 = p6 | |
423 | w5.C1 = CFrame.new(11.5130777, -7.35474873, 28.493494, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581) | |
424 | w6 = Instance.new("Weld", p6) | |
425 | w6.Name = "Water_Weld" | |
426 | w6.Part0 = p6 | |
427 | w6.C0 = CFrame.new(11.5130777, -7.35474873, 28.493494, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581) | |
428 | w6.Part1 = p7 | |
429 | w6.C1 = CFrame.new(11.5130777, -7.26474905, 28.4935093, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581) | |
430 | w7 = Instance.new("Weld", p7) | |
431 | w7.Name = "Head_Weld" | |
432 | w7.Part0 = p7 | |
433 | w7.C0 = CFrame.new(11.5130777, -7.26474905, 28.4935093, -0.000458917581, 2.98023224e-008, 0.99999994, 0.000166644895, 1, 2.98023224e-008, -0.999999881, 0.000166644895, -0.000458917581) | |
434 | m.Parent = torso | |
435 | m:MakeJoints() | |
436 | ---------------------------------------------------- | |
437 | weld2 = Instance.new("Weld", torso.Bong) | |
438 | weld2.Part0 = torso | |
439 | weld2.Part1 = torso.Bong.Tube | |
440 | weld2.C0 = CFrame.new(0, -.5, -1.5) | |
441 | weld2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)) | |
442 | ---------------------------------------------------- | |
443 | local m2 = Instance.new("Model") | |
444 | m2.Name = "Blunt" | |
445 | p1 = Instance.new("Part", m2) | |
446 | p1.Transparency = 1 | |
447 | p1.BrickColor = BrickColor.new("CGA brown") | |
448 | p1.Name = "Handle" | |
449 | p1.FormFactor = Enum.FormFactor.Custom | |
450 | p1.Size = Vector3.new(0.400000006, 0.200000003, 0.200000003) | |
451 | p1.CFrame = CFrame.new(30.5498123, 9.24952984, -12.2989969, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
452 | p1.CanCollide = false | |
453 | p1.Locked = true | |
454 | p1.BottomSurface = Enum.SurfaceType.Smooth | |
455 | p1.TopSurface = Enum.SurfaceType.Smooth | |
456 | b1 = Instance.new("SpecialMesh", p1) | |
457 | b1.MeshType = Enum.MeshType.Cylinder | |
458 | b1.Name = "Mesh" | |
459 | p2 = Instance.new("Part", m2) | |
460 | p2.Transparency = 1 | |
461 | p2.BrickColor = BrickColor.new("CGA brown") | |
462 | p2.Name = "Joint11" | |
463 | p2.FormFactor = Enum.FormFactor.Custom | |
464 | p2.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
465 | p2.CFrame = CFrame.new(30.5498104, 9.24934578, -12.4989843, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
466 | p2.CanCollide = false | |
467 | p2.Locked = true | |
468 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
469 | p2.TopSurface = Enum.SurfaceType.Smooth | |
470 | b2 = Instance.new("SpecialMesh", p2) | |
471 | b2.MeshType = Enum.MeshType.Cylinder | |
472 | b2.Name = "Mesh" | |
473 | b2.Scale = Vector3.new(0.300000012, 1, 1) | |
474 | p3 = Instance.new("Part", m2) | |
475 | p3.Transparency = 1 | |
476 | p3.BrickColor = BrickColor.new("CGA brown") | |
477 | p3.Name = "Joint10" | |
478 | p3.FormFactor = Enum.FormFactor.Custom | |
479 | p3.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
480 | p3.CFrame = CFrame.new(30.5498104, 9.24934673, -12.5489807, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
481 | p3.CanCollide = false | |
482 | p3.Locked = true | |
483 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
484 | p3.TopSurface = Enum.SurfaceType.Smooth | |
485 | b3 = Instance.new("SpecialMesh", p3) | |
486 | b3.MeshType = Enum.MeshType.Cylinder | |
487 | b3.Name = "Mesh" | |
488 | b3.Scale = Vector3.new(0.300000012, 1, 1) | |
489 | p4 = Instance.new("Part", m2) | |
490 | p4.Transparency = 1 | |
491 | p4.BrickColor = BrickColor.new("CGA brown") | |
492 | p4.Name = "Joint9" | |
493 | p4.FormFactor = Enum.FormFactor.Custom | |
494 | p4.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
495 | p4.CFrame = CFrame.new(30.5498104, 9.24934673, -12.5989771, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
496 | p4.CanCollide = false | |
497 | p4.Locked = true | |
498 | p4.BottomSurface = Enum.SurfaceType.Smooth | |
499 | p4.TopSurface = Enum.SurfaceType.Smooth | |
500 | b4 = Instance.new("SpecialMesh", p4) | |
501 | b4.MeshType = Enum.MeshType.Cylinder | |
502 | b4.Name = "Mesh" | |
503 | b4.Scale = Vector3.new(0.300000012, 1, 1) | |
504 | p5 = Instance.new("Part", m2) | |
505 | p5.Transparency = 1 | |
506 | p5.BrickColor = BrickColor.new("CGA brown") | |
507 | p5.Name = "Joint8" | |
508 | p5.FormFactor = Enum.FormFactor.Custom | |
509 | p5.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
510 | p5.CFrame = CFrame.new(30.5498104, 9.24934769, -12.6489735, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
511 | p5.CanCollide = false | |
512 | p5.Locked = true | |
513 | p5.BottomSurface = Enum.SurfaceType.Smooth | |
514 | p5.TopSurface = Enum.SurfaceType.Smooth | |
515 | b5 = Instance.new("SpecialMesh", p5) | |
516 | b5.MeshType = Enum.MeshType.Cylinder | |
517 | b5.Name = "Mesh" | |
518 | b5.Scale = Vector3.new(0.300000012, 1, 1) | |
519 | p6 = Instance.new("Part", m2) | |
520 | p6.Transparency = 1 | |
521 | p6.BrickColor = BrickColor.new("CGA brown") | |
522 | p6.Name = "Joint7" | |
523 | p6.FormFactor = Enum.FormFactor.Custom | |
524 | p6.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
525 | p6.CFrame = CFrame.new(30.5498104, 9.24934769, -12.6989698, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
526 | p6.CanCollide = false | |
527 | p6.Locked = true | |
528 | p6.BottomSurface = Enum.SurfaceType.Smooth | |
529 | p6.TopSurface = Enum.SurfaceType.Smooth | |
530 | b6 = Instance.new("SpecialMesh", p6) | |
531 | b6.MeshType = Enum.MeshType.Cylinder | |
532 | b6.Name = "Mesh" | |
533 | b6.Scale = Vector3.new(0.300000012, 1, 1) | |
534 | p7 = Instance.new("Part", m2) | |
535 | p7.Transparency = 1 | |
536 | p7.BrickColor = BrickColor.new("CGA brown") | |
537 | p7.Name = "Joint6" | |
538 | p7.FormFactor = Enum.FormFactor.Custom | |
539 | p7.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
540 | p7.CFrame = CFrame.new(30.5498104, 9.24934864, -12.7489662, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
541 | p7.CanCollide = false | |
542 | p7.Locked = true | |
543 | p7.BottomSurface = Enum.SurfaceType.Smooth | |
544 | p7.TopSurface = Enum.SurfaceType.Smooth | |
545 | b7 = Instance.new("SpecialMesh", p7) | |
546 | b7.MeshType = Enum.MeshType.Cylinder | |
547 | b7.Name = "Mesh" | |
548 | b7.Scale = Vector3.new(0.300000012, 1, 1) | |
549 | p8 = Instance.new("Part", m2) | |
550 | p8.Transparency = 1 | |
551 | p8.BrickColor = BrickColor.new("CGA brown") | |
552 | p8.Name = "Joint5" | |
553 | p8.FormFactor = Enum.FormFactor.Custom | |
554 | p8.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
555 | p8.CFrame = CFrame.new(30.5498104, 9.24934864, -12.7989626, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
556 | p8.CanCollide = false | |
557 | p8.Locked = true | |
558 | p8.BottomSurface = Enum.SurfaceType.Smooth | |
559 | p8.TopSurface = Enum.SurfaceType.Smooth | |
560 | b8 = Instance.new("SpecialMesh", p8) | |
561 | b8.MeshType = Enum.MeshType.Cylinder | |
562 | b8.Name = "Mesh" | |
563 | b8.Scale = Vector3.new(0.300000012, 1, 1) | |
564 | p9 = Instance.new("Part", m2) | |
565 | p9.Transparency = 1 | |
566 | p9.BrickColor = BrickColor.new("CGA brown") | |
567 | p9.Name = "Joint4" | |
568 | p9.FormFactor = Enum.FormFactor.Custom | |
569 | p9.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
570 | p9.CFrame = CFrame.new(30.5498104, 9.24934959, -12.848959, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
571 | p9.CanCollide = false | |
572 | p9.Locked = true | |
573 | p9.BottomSurface = Enum.SurfaceType.Smooth | |
574 | p9.TopSurface = Enum.SurfaceType.Smooth | |
575 | b9 = Instance.new("SpecialMesh", p9) | |
576 | b9.MeshType = Enum.MeshType.Cylinder | |
577 | b9.Name = "Mesh" | |
578 | b9.Scale = Vector3.new(0.300000012, 1, 1) | |
579 | p10 = Instance.new("Part", m2) | |
580 | p10.Transparency = 1 | |
581 | p10.BrickColor = BrickColor.new("CGA brown") | |
582 | p10.Name = "Joint3" | |
583 | p10.FormFactor = Enum.FormFactor.Custom | |
584 | p10.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
585 | p10.CFrame = CFrame.new(30.5498104, 9.24934959, -12.8989553, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
586 | p10.CanCollide = false | |
587 | p10.Locked = true | |
588 | p10.BottomSurface = Enum.SurfaceType.Smooth | |
589 | p10.TopSurface = Enum.SurfaceType.Smooth | |
590 | b10 = Instance.new("SpecialMesh", p10) | |
591 | b10.MeshType = Enum.MeshType.Cylinder | |
592 | b10.Name = "Mesh" | |
593 | b10.Scale = Vector3.new(0.300000012, 1, 1) | |
594 | p11 = Instance.new("Part", m2) | |
595 | p11.Transparency = 1 | |
596 | p11.BrickColor = BrickColor.new("CGA brown") | |
597 | p11.Name = "Joint3" | |
598 | p11.FormFactor = Enum.FormFactor.Custom | |
599 | p11.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
600 | p11.CFrame = CFrame.new(30.5498104, 9.24935055, -12.9489517, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
601 | p11.CanCollide = false | |
602 | p11.Locked = true | |
603 | p11.BottomSurface = Enum.SurfaceType.Smooth | |
604 | p11.TopSurface = Enum.SurfaceType.Smooth | |
605 | b11 = Instance.new("SpecialMesh", p11) | |
606 | b11.MeshType = Enum.MeshType.Cylinder | |
607 | b11.Name = "Mesh" | |
608 | b11.Scale = Vector3.new(0.300000012, 1, 1) | |
609 | p12 = Instance.new("Part", m2) | |
610 | p12.Transparency = 1 | |
611 | p12.BrickColor = BrickColor.new("CGA brown") | |
612 | p12.Name = "Joint2" | |
613 | p12.FormFactor = Enum.FormFactor.Custom | |
614 | p12.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
615 | p12.CFrame = CFrame.new(30.5498104, 9.24935055, -12.9989481, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
616 | p12.CanCollide = false | |
617 | p12.Locked = true | |
618 | p12.BottomSurface = Enum.SurfaceType.Smooth | |
619 | p12.TopSurface = Enum.SurfaceType.Smooth | |
620 | b12 = Instance.new("SpecialMesh", p12) | |
621 | b12.MeshType = Enum.MeshType.Cylinder | |
622 | b12.Name = "Mesh" | |
623 | b12.Scale = Vector3.new(0.300000012, 1, 1) | |
624 | p13 = Instance.new("Part", m2) | |
625 | p13.Transparency = 1 | |
626 | p13.BrickColor = BrickColor.new("CGA brown") | |
627 | p13.Name = "Joint1" | |
628 | p13.FormFactor = Enum.FormFactor.Custom | |
629 | p13.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003) | |
630 | p13.CFrame = CFrame.new(30.5498104, 9.2493515, -13.0489445, -6.35227434e-006, -1.18419912e-005, 0.999973059, -7.23406483e-005, 0.999959469, -7.5179214e-006, -0.999939501, -0.000104367107, 1.01497435e-005) | |
631 | p13.CanCollide = false | |
632 | p13.Locked = true | |
633 | p13.BottomSurface = Enum.SurfaceType.Smooth | |
634 | p13.TopSurface = Enum.SurfaceType.Smooth | |
635 | b13 = Instance.new("SpecialMesh", p13) | |
636 | b13.MeshType = Enum.MeshType.Cylinder | |
637 | b13.Name = "Mesh" | |
638 | b13.Scale = Vector3.new(0.300000012, 1, 1) | |
639 | w1 = Instance.new("Weld", p1) | |
640 | w1.Name = "Joint11_Weld" | |
641 | w1.Part0 = p1 | |
642 | w1.C0 = CFrame.new(-12.2991934, -9.25106144, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
643 | w1.Part1 = p2 | |
644 | w1.C1 = CFrame.new(-12.4991941, -9.25089169, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
645 | w2 = Instance.new("Weld", p2) | |
646 | w2.Name = "Joint10_Weld" | |
647 | w2.Part0 = p2 | |
648 | w2.C0 = CFrame.new(-12.4991941, -9.25089169, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
649 | w2.Part1 = p3 | |
650 | w2.C1 = CFrame.new(-12.5491943, -9.25089645, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
651 | w3 = Instance.new("Weld", p3) | |
652 | w3.Name = "Joint9_Weld" | |
653 | w3.Part0 = p3 | |
654 | w3.C0 = CFrame.new(-12.5491943, -9.25089645, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
655 | w3.Part1 = p4 | |
656 | w3.C1 = CFrame.new(-12.5991945, -9.25090027, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
657 | w4 = Instance.new("Weld", p4) | |
658 | w4.Name = "Joint8_Weld" | |
659 | w4.Part0 = p4 | |
660 | w4.C0 = CFrame.new(-12.5991945, -9.25090027, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
661 | w4.Part1 = p5 | |
662 | w4.C1 = CFrame.new(-12.6491947, -9.25090504, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
663 | w5 = Instance.new("Weld", p5) | |
664 | w5.Name = "Joint7_Weld" | |
665 | w5.Part0 = p5 | |
666 | w5.C0 = CFrame.new(-12.6491947, -9.25090504, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
667 | w5.Part1 = p6 | |
668 | w5.C1 = CFrame.new(-12.6991949, -9.25090885, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
669 | w6 = Instance.new("Weld", p6) | |
670 | w6.Name = "Joint6_Weld" | |
671 | w6.Part0 = p6 | |
672 | w6.C0 = CFrame.new(-12.6991949, -9.25090885, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
673 | w6.Part1 = p7 | |
674 | w6.C1 = CFrame.new(-12.7491951, -9.25091362, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
675 | w7 = Instance.new("Weld", p7) | |
676 | w7.Name = "Joint5_Weld" | |
677 | w7.Part0 = p7 | |
678 | w7.C0 = CFrame.new(-12.7491951, -9.25091362, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
679 | w7.Part1 = p8 | |
680 | w7.C1 = CFrame.new(-12.7991953, -9.25091743, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
681 | w8 = Instance.new("Weld", p8) | |
682 | w8.Name = "Joint4_Weld" | |
683 | w8.Part0 = p8 | |
684 | w8.C0 = CFrame.new(-12.7991953, -9.25091743, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
685 | w8.Part1 = p9 | |
686 | w8.C1 = CFrame.new(-12.8491955, -9.2509222, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
687 | w9 = Instance.new("Weld", p9) | |
688 | w9.Name = "Joint3_Weld" | |
689 | w9.Part0 = p9 | |
690 | w9.C0 = CFrame.new(-12.8491955, -9.2509222, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
691 | w9.Part1 = p10 | |
692 | w9.C1 = CFrame.new(-12.8991957, -9.25092602, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
693 | w10 = Instance.new("Weld", p10) | |
694 | w10.Name = "Joint3_Weld" | |
695 | w10.Part0 = p10 | |
696 | w10.C0 = CFrame.new(-12.8991957, -9.25092602, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
697 | w10.Part1 = p11 | |
698 | w10.C1 = CFrame.new(-12.9491959, -9.25093079, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
699 | w11 = Instance.new("Weld", p11) | |
700 | w11.Name = "Joint2_Weld" | |
701 | w11.Part0 = p11 | |
702 | w11.C0 = CFrame.new(-12.9491959, -9.25093079, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
703 | w11.Part1 = p12 | |
704 | w11.C1 = CFrame.new(-12.9991961, -9.2509346, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
705 | w12 = Instance.new("Weld", p12) | |
706 | w12.Name = "Joint1_Weld" | |
707 | w12.Part0 = p12 | |
708 | w12.C0 = CFrame.new(-12.9991961, -9.2509346, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
709 | w12.Part1 = p13 | |
710 | w12.C1 = CFrame.new(-13.0491962, -9.25093937, -30.5498657, -4.37113883e-008, -8.63075256e-005, -1, 0, 1, -8.63075256e-005, 1, -3.77262197e-012, -4.37113883e-008) | |
711 | m2.Parent = larm | |
712 | m2:MakeJoints() | |
713 | ---------------------------------------------------- | |
714 | weld3 = Instance.new("Weld", larm.Blunt) | |
715 | weld3.Part0 = larm | |
716 | weld3.Part1 = p1 | |
717 | weld3.C0 = CFrame.new(0, 0, 0) | |
718 | weld3.C1 = CFrame.new(-.4, -.8, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(130)) | |
719 | ---------------------------------------------------- | |
720 | local m3 = Instance.new("Model") | |
721 | m3.Name = "Pipe" | |
722 | p1 = Instance.new("Part", m3) | |
723 | p1.Transparency = 1 | |
724 | p1.BrickColor = BrickColor.new("Lime green") | |
725 | p1.Name = "Ganja" | |
726 | p1.Size = Vector3.new(1, 1.20000005, 1) | |
727 | p1.CFrame = CFrame.new(34.4998474, 9.47253323, -12.1971197, 0.999142408, 0.0395895876, 0.00966008008, -0.0395250656, 0.999140501, -0.00866904482, -0.00997729599, 0.00824850239, 0.999855876) | |
728 | p1.CanCollide = false | |
729 | p1.Locked = true | |
730 | b1 = Instance.new("SpecialMesh", p1) | |
731 | b1.MeshId = "http://www.roblox.com/asset/?id=1290033" | |
732 | b1.TextureId = "http://www.roblox.com/asset/?id=1290030" | |
733 | b1.MeshType = Enum.MeshType.FileMesh | |
734 | b1.Name = "Mesh" | |
735 | b1.VertexColor = Vector3.new(1, 1, 0) | |
736 | b1.Scale = Vector3.new(0.25, 0.25, 0.25) | |
737 | p2 = Instance.new("Part", m3) | |
738 | p2.Transparency = 1 | |
739 | p2.BrickColor = BrickColor.new("Reddish brown") | |
740 | p2.Name = "Bowl" | |
741 | p2.FormFactor = Enum.FormFactor.Custom | |
742 | p2.Size = Vector3.new(0.200000003, 0.600000024, 0.200000003) | |
743 | p2.CFrame = CFrame.new(34.5002136, 9.30045128, -12.1985321, 0.999142408, -0.0395896509, -0.00965970568, -0.0395250618, -0.999140382, 0.00867650099, -0.0099772159, -0.0082559688, -0.999855697) | |
744 | p2.CanCollide = false | |
745 | p2.Locked = true | |
746 | p2.BottomSurface = Enum.SurfaceType.Smooth | |
747 | p2.TopSurface = Enum.SurfaceType.Smooth | |
748 | b2 = Instance.new("SpecialMesh", p2) | |
749 | b2.MeshId = "http://www.roblox.com/asset/?id=1038653" | |
750 | b2.TextureId = "http://www.roblox.com/asset/?id=63422869" | |
751 | b2.MeshType = Enum.MeshType.FileMesh | |
752 | b2.Name = "Mesh" | |
753 | b2.Scale = Vector3.new(0.5, 0.75, 0.5) | |
754 | p3 = Instance.new("Part", m3) | |
755 | p3.Transparency = 1 | |
756 | p3.BrickColor = BrickColor.new("Reddish brown") | |
757 | p3.Name = "Handle" | |
758 | p3.FormFactor = Enum.FormFactor.Custom | |
759 | p3.Size = Vector3.new(0.200000003, 1.29999995, 0.200000003) | |
760 | p3.CFrame = CFrame.new(34.4998512, 9.09950542, -13.0488882, -0.999973059, -6.22216612e-006, 1.18450553e-005, 7.51431071e-006, 1.40070915e-005, -0.999959469, -1.02808699e-005, -0.999939501, 1.80210918e-005) | |
761 | p3.CanCollide = false | |
762 | p3.Locked = true | |
763 | p3.BottomSurface = Enum.SurfaceType.Smooth | |
764 | p3.TopSurface = Enum.SurfaceType.Smooth | |
765 | b3 = Instance.new("CylinderMesh", p3) | |
766 | b3.Name = "Mesh" | |
767 | w1 = Instance.new("Weld", p1) | |
768 | w1.Name = "Bowl_Weld" | |
769 | w1.Part0 = p1 | |
770 | w1.C0 = CFrame.new(-34.2188034, -10.7307339, 11.9460506, 0.999168873, -0.0395192951, -0.00998879783, 0.0396024287, 0.999181271, 0.00826664828, 0.00965392869, -0.00865535904, 0.999915898) | |
771 | w1.Part1 = p2 | |
772 | w1.C1 = CFrame.new(-34.2259827, 10.5586996, -11.9460554, 0.999168873, -0.0395192914, -0.00998871867, -0.0396024957, -0.999181211, -0.00827411562, -0.00965355337, 0.00866281614, -0.999915838) | |
773 | w2 = Instance.new("Weld", p2) | |
774 | w2.Name = "Handle_Weld" | |
775 | w2.Part0 = p2 | |
776 | w2.C0 = CFrame.new(-34.2259827, 10.5586996, -11.9460554, 0.999168873, -0.0395192914, -0.00998871867, -0.0396024957, -0.999181211, -0.00827411562, -0.00965355337, 0.00866281614, -0.999915838) | |
777 | w2.Part1 = p3 | |
778 | w2.C1 = CFrame.new(34.5000114, -13.0499754, 9.09998798, -1, -3.60887031e-009, -8.74227766e-008, 8.74227766e-008, 4.37113883e-008, -1, 3.60887409e-009, -1, -4.37113883e-008) | |
779 | w3 = Instance.new("Weld", p3) | |
780 | w3.Name = "Handle_Weld" | |
781 | w3.Part0 = p3 | |
782 | w3.C0 = CFrame.new(34.5000114, -13.0499754, 9.09998798, -1, -3.60887031e-009, -8.74227766e-008, 8.74227766e-008, 4.37113883e-008, -1, 3.60887409e-009, -1, -4.37113883e-008) | |
783 | m3.Parent = larm | |
784 | m3:MakeJoints() | |
785 | ---------------------------------------------------- | |
786 | weld4 = Instance.new("Weld", larm.Pipe) | |
787 | weld4.Part0 = larm | |
788 | weld4.Part1 = p3 | |
789 | weld4.C0 = CFrame.new(0, 0, 0) | |
790 | weld4.C1 = CFrame.new(-.8, .7, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(40)) | |
791 | ---------------------------------------------------- | |
792 | local m4 = Instance.new("Model") | |
793 | m4.Name = "Match" | |
794 | p1 = Instance.new("Part", m4) | |
795 | p1.CanCollide = false | |
796 | p1.Transparency = 1 | |
797 | p1.BrickColor = BrickColor.new("Brown") | |
798 | p1.Material = "Marble" | |
799 | p1.Name = "Match" | |
800 | p1.Size = Vector3.new(1, 2.4, 1) | |
801 | p1.CFrame = CFrame.new(-8.20000362, 1.18600059, -10.0000038, 1.00000048, -0.00011438923, 0.000152289867, 0.000114176073, 0.999999344, 0.00107795233, -0.000152289867, -0.00107795768, 0.999999762) | |
802 | b1 = Instance.new("BlockMesh", p1) | |
803 | b1.Name = "Mesh" | |
804 | b1.Scale = Vector3.new(0.14, 1, 0.14) | |
805 | p2 = Instance.new("Part", m4) | |
806 | p2.CanCollide = false | |
807 | p2.Transparency = 1 | |
808 | p2.BrickColor = BrickColor.new("Really black") | |
809 | p2.Shape = "Ball" | |
810 | p2.Material = "Sand" | |
811 | p2.Name = "MatchHead" | |
812 | p2.Size = Vector3.new(1, 1, 1) | |
813 | p2.CFrame = CFrame.new(-8.20000267, 2.48600006, -10.0000038, 1.00000048, -0.000109304514, -3.49245965e-009, 0.000109255525, 0.999999404, 0.00103000901, 1.41153578e-008, -0.00103003171, 0.999999821) | |
814 | b2 = Instance.new("SpecialMesh", p2) | |
815 | b2.MeshType = "Sphere" | |
816 | b2.Name = "Mesh" | |
817 | b2.Scale = Vector3.new(0.3, 0.6, 0.3) | |
818 | x1 = Instance.new("Fire",p2) | |
819 | x1.Heat = 4 | |
820 | x1.Size = 2 | |
821 | x1.Enabled = false | |
822 | x1.Color = Color3.new(236, 139, 70) | |
823 | x1.SecondaryColor = Color3.new(0, 0, 0) | |
824 | w1 = Instance.new("Weld", p2) | |
825 | w1.Part0 = p1 | |
826 | w1.C0 = CFrame.new(8.19834042, -1.19771659, 9.99996376, 1, 0.00011420052, -0.000152360211, -0.000114364695, 0.999999404, -0.00107794593, 0.000152237015, 0.00107796339, 0.999999404) | |
827 | w1.Part1 = p2 | |
828 | w1.C1 = CFrame.new(8.19972706, -2.49719477, 9.99743366, 1, 0.000109279979, -5.62802924e-008, -0.000109279979, 0.999999464, -0.00103001995, -5.62802924e-008, 0.00103001995, 0.999999464) | |
829 | m4.Parent = rarm | |
830 | m4:MakeJoints() | |
831 | ---------------------------------------------------- | |
832 | weld5 = Instance.new("Weld", p1) | |
833 | weld5.Part0 = p1 | |
834 | weld5.Part1 = rarm | |
835 | weld5.C0 = CFrame.new(0, 0, 0) | |
836 | weld5.C1 = CFrame.new(.2, -.8, .3) * CFrame.Angles(math.rad(-150), math.rad(0), math.rad(0)) | |
837 | ---------------------------------------------------- | |
838 | function Burn() | |
839 | local bk=torso.Bong["Devil's Lettuce"].Mesh | |
840 | bk.VertexColor=Vector3.new(0,0,0) | |
841 | local pl=Instance.new("PointLight",bk.Parent) | |
842 | pl.Brightness=0 pl.Color=Color3.new(1,0,0) | |
843 | for i=1,50 do wait()bk.VertexColor=bk.VertexColor+Vector3.new(.05,0,0)pl.Brightness=pl.Brightness+0.05 end | |
844 | for i=1,50 do wait()bk.VertexColor=bk.VertexColor-Vector3.new(.05,0,0)pl.Brightness=pl.Brightness-0.05 end | |
845 | pl:Remove() | |
846 | end | |
847 | ---------------------------------------------------- | |
848 | function Burn2() | |
849 | local bk=larm.Pipe.Ganja.Mesh | |
850 | bk.VertexColor=Vector3.new(0,0,0) | |
851 | local pl=Instance.new("PointLight",bk.Parent) | |
852 | pl.Brightness=0 pl.Color=Color3.new(1,0,0) | |
853 | for i=1,50 do wait()bk.VertexColor=bk.VertexColor+Vector3.new(.05,0,0)pl.Brightness=pl.Brightness+0.05 end | |
854 | for i=1,50 do wait()bk.VertexColor=bk.VertexColor-Vector3.new(.05,0,0)pl.Brightness=pl.Brightness-0.05 end | |
855 | pl:Remove() | |
856 | end | |
857 | ---------------------------------------------------- | |
858 | function Burn3() | |
859 | local brn=larm.Blunt.Joint1 | |
860 | brn.BrickColor = BrickColor.new("Dusty rose") | |
861 | wait(.5) | |
862 | brn.BrickColor = BrickColor.new("Bright red") | |
863 | wait(.5) | |
864 | brn.BrickColor = BrickColor.new("Really red") | |
865 | wait(1) | |
866 | brn.BrickColor = BrickColor.new("Black") | |
867 | wait(.5) | |
868 | brn.BrickColor = BrickColor.new("Really black") | |
869 | wait(1) | |
870 | brn.BrickColor = BrickColor.new("White") | |
871 | end | |
872 | ---------------------------------------------------- | |
873 | function Match1() | |
874 | for i = 1, 10 do wait() | |
875 | for i,v in pairs(m4:GetChildren()) do | |
876 | if v:IsA("Part") then | |
877 | v.Transparency = v.Transparency - 0.1 | |
878 | end | |
879 | end | |
880 | end | |
881 | x1.Enabled = true | |
882 | end | |
883 | ---------------------------------------------------- | |
884 | function Match2() | |
885 | for i = 1, 10 do wait() | |
886 | for i,v in pairs(m4:GetChildren()) do | |
887 | if v:IsA("Part") then | |
888 | v.Transparency = v.Transparency + 0.1 | |
889 | end | |
890 | end | |
891 | end | |
892 | x1.Enabled = false | |
893 | end | |
894 | ---------------------------------------------------- | |
895 | print("snoop dawg motherfiker")--Dun change plox | |
896 | ---------------------------------------------------- | |
897 | function Snoop() | |
898 | pits = {0.7, 0.75, 0.8, 0.85, 0.9, 0.95, 1} | |
899 | ||
900 | if math.random(1,3) == 1 then | |
901 | cgh = Instance.new("Sound",hed) | |
902 | cgh.SoundId = "rbxassetid://186581757" | |
903 | cgh.Pitch = pits[math.random(1,#pits)] | |
904 | cgh.Volume = 1 | |
905 | wait(.1) | |
906 | cgh:Play() | |
907 | end | |
908 | ||
909 | frogSequence = {177231086,177235819,177231110,177231125,177235637,177231141,177231148,177231162,177231174,177231186} | |
910 | snoopSequence = {175425918,175425940,175425986,175426013,175426270,175426298,175426373,175426397,175426407,175426432,175426443,175426561,175426586,175426607,175426620,175426638,175426653,175426666,175426691,175426764,175426777,175426972,175426988,175426999,175427017,175427038,175427054,175427092,175427110,175427137,175427148,175427177} | |
911 | ||
912 | fatboysraidmcdonalds = { | |
913 | SelectFromTable = function(tab) | |
914 | if #tab == 0 then | |
915 | return nil | |
916 | else | |
917 | return tab[math.random(1,#tab)] | |
918 | end | |
919 | end, | |
920 | ["Clamp"] = function(n,a,b) | |
921 | n = tonumber(n or 0) or 0 | |
922 | a = tonumber(a or -math.huge) or -math.huge | |
923 | b = tonumber(b or math.huge) or math.huge | |
924 | if a > b then | |
925 | a,b = b,a | |
926 | end | |
927 | return math.max(a,math.min(b,n)) | |
928 | end, | |
929 | ["Slerp"] = function(val) | |
930 | val = fatboysraidmcdonalds.Clamp(val,0,1) | |
931 | local input = math.pi/2 + (val*math.pi); | |
932 | local sine = math.sin(input); | |
933 | local scale = -sine/2; | |
934 | return 0.5 + scale; | |
935 | end, | |
936 | ["Bounce"] = function(val) | |
937 | val = val%2 | |
938 | if val <= 1 then | |
939 | return val | |
940 | else | |
941 | return 2 - val | |
942 | end | |
943 | end, | |
944 | ["Camera"] = { | |
945 | ["Smooth"] = function(t) | |
946 | local start = tick() | |
947 | local now = start | |
948 | local targ = start + t | |
949 | local Diff = now - start | |
950 | local cam = Workspace.CurrentCamera | |
951 | local orig = cam.FieldOfView | |
952 | local diff,distance,offset | |
953 | if orig >= 70 then | |
954 | distance = 50 | |
955 | offset = orig - 70 | |
956 | diff = offset/distance | |
957 | else | |
958 | distance = 120 - orig | |
959 | offset = 0 | |
960 | diff = 0 | |
961 | end | |
962 | local speed = 0.5 + (math.random()*1.5) | |
963 | while now <= targ do | |
964 | cam.FieldOfView = orig + (fatboysraidmcdonalds.Slerp(fatboysraidmcdonalds.Bounce(diff + (Diff*speed))) * distance) | |
965 | wait() | |
966 | now = tick() | |
967 | Diff = now - start | |
968 | end | |
969 | cam.FieldOfView = orig | |
970 | return Diff | |
971 | end, | |
972 | ["Headache"] = function(t) | |
973 | local now = tick() | |
974 | local targ = tick() + t | |
975 | local cam = Workspace.CurrentCamera | |
976 | local fixes = { | |
977 | ["FieldOfView"] = cam.FieldOfView, | |
978 | ["TiltUnits"] = 0, | |
979 | } | |
980 | while now <= targ do | |
981 | local fov = 60 + math.random()*60 | |
982 | local pan = -8 + (math.random()*16) | |
983 | local tilt = -9 + (math.random()*18) | |
984 | local roll = (-math.pi/2) + (math.random()*(math.pi*4)) | |
985 | fixes.TiltUnits = fixes.TiltUnits + tilt | |
986 | cam.FieldOfView = fov | |
987 | cam:TiltUnits(tilt) | |
988 | wait() | |
989 | now = tick() | |
990 | end | |
991 | cam.FieldOfView = fixes.FieldOfView | |
992 | cam:TiltUnits(-fixes.TiltUnits) | |
993 | return t + (now - targ) | |
994 | end | |
995 | }, | |
996 | ["Control"] = function(t,switch) | |
997 | switch = switch == nil and true or switch | |
998 | local phase = math.min((tonumber(t or 10) or 10),math.random() + (switch and 2 or 0)) | |
999 | local pick | |
1000 | if switch then | |
1001 | pick = fatboysraidmcdonalds.Camera.Smooth | |
1002 | else | |
1003 | pick = {} | |
1004 | for i,v in pairs(fatboysraidmcdonalds.Camera) do | |
1005 | if i ~= "Smooth" then | |
1006 | table.insert(pick,v) | |
1007 | end | |
1008 | end | |
1009 | pick = fatboysraidmcdonalds.SelectFromTable(pick) | |
1010 | end | |
1011 | local offset = pick(phase) | |
1012 | t = t - offset | |
1013 | if t >= 1 then | |
1014 | fatboysraidmcdonalds.Control(t,not switch) | |
1015 | elseif t > 0 then | |
1016 | fatboysraidmcdonalds.Control(t,false) | |
1017 | end | |
1018 | end, | |
1019 | ["Snoop"] = function(t) | |
1020 | local snoopy = Instance.new("Part") | |
1021 | snoopy.Anchored = true | |
1022 | snoopy.Locked = true | |
1023 | snoopy.CanCollide = false | |
1024 | snoopy.FormFactor = "Custom" | |
1025 | snoopy.Transparency = 1 | |
1026 | snoopy.Size = Vector3.new(2,2,1) | |
1027 | local lol = Instance.new("BillboardGui") | |
1028 | lol.Name = "anim" | |
1029 | lol.Adornee = lol.Parent | |
1030 | lol.AlwaysOnTop = false | |
1031 | lol.Size = UDim2.new(1.5,0,1.5,0) | |
1032 | lol.SizeOffset = Vector2.new(-0.5,-0.5) | |
1033 | lol.Parent = snoopy | |
1034 | local cam = Workspace.CurrentCamera | |
1035 | local function Pos(p) | |
1036 | return p + cam.Focus.p | |
1037 | end | |
1038 | local function newSnoop(tiem) | |
1039 | Spawn(function() | |
1040 | local new = snoopy:Clone() | |
1041 | local anim = new:WaitForChild("anim") | |
1042 | animGui(anim,snoopSequence,0.05) | |
1043 | local tack = tick() | |
1044 | local start = tack | |
1045 | local wow = tack*(((math.random()*2)-1)*57) | |
1046 | local s,c,r = math.sin(wow)*math.random(200,225)*0.01,math.cos(wow)*math.random(175,200)*0.01,-1 + (math.random()*2) | |
1047 | local dist = 10 | |
1048 | local xp,yp,zp = dist*-s,dist*-r,dist*-c | |
1049 | local xe,ye,ze = dist*s,dist*r,dist*c | |
1050 | local pos,targ = Vector3.new(xp,yp,zp),Vector3.new(xe,ye,ze) | |
1051 | new.CFrame = Pos(CFrame.new(pos)) | |
1052 | new.Parent = cam | |
1053 | tiem = tack + tiem | |
1054 | while tack <= tiem do | |
1055 | local diff = fatboysraidmcdonalds.Clamp((tack-start)/(tiem-start),0,1) | |
1056 | new.CFrame = Pos(CFrame.new(pos + ((targ-pos)*diff))) | |
1057 | wait() | |
1058 | tack = tick() | |
1059 | end | |
1060 | new.CFrame = Pos(CFrame.new(targ)) | |
1061 | new:destroy() | |
1062 | end) | |
1063 | end | |
1064 | local now = tick() | |
1065 | local targ = now + t | |
1066 | while now <= targ do | |
1067 | local diff = targ - now | |
1068 | newSnoop(math.min(diff,0.75 + math.random()*0.5)) | |
1069 | wait() | |
1070 | now = tick() | |
1071 | end | |
1072 | end, | |
1073 | ["Illuminati"] = function(t,frame) | |
1074 | local decal = e | |
1075 | local audio = 168907893 | |
1076 | local img = Instance.new("ImageLabel",frame) | |
1077 | img.BackgroundTransparency = 1 | |
1078 | img.BorderSizePixel = 0 | |
1079 | img.ImageTransparency = 0.5 | |
1080 | img.ZIndex = 10 | |
1081 | img.Size = UDim2.new(0.1,0,0.1,0) | |
1082 | img.Position = UDim2.new(0.45,0,0.45,0) | |
1083 | img.Image = "http://www.roblox.com/asset/?id="..tostring(decal) | |
1084 | local sound = Instance.new("Sound",img) | |
1085 | sound.Volume = 0.75 | |
1086 | sound.Looped = true | |
1087 | sound.PlayOnRemove = false | |
1088 | sound.SoundId = "http://www.roblox.com/asset/?id="..tostring(audio) | |
1089 | sound:Play() | |
1090 | img:TweenSizeAndPosition(UDim2.new(1,0,1,0),UDim2.new(0,0,0,0),"Out","Linear",t+1.5) | |
1091 | img.Changed:connect(function(p) | |
1092 | if p ~= "ImageTransparency" then | |
1093 | local x = img.Size.X.Scale | |
1094 | img.ImageTransparency = 1 - x | |
1095 | sound.Volume = x | |
1096 | end | |
1097 | end) | |
1098 | end | |
1099 | } | |
1100 | ||
1101 | function animGui(lol,sequence,speed) | |
1102 | local img = Instance.new("ImageLabel",lol) | |
1103 | img.BackgroundTransparency = 1 | |
1104 | img.BorderSizePixel = 0 | |
1105 | img.Size = UDim2.new(2.25,0,5,0) | |
1106 | img.Position = UDim2.new(0,0,-2.5,0) | |
1107 | Spawn(function() | |
1108 | local now = tick() | |
1109 | while img:IsDescendantOf(game) do | |
1110 | img.Image = "http://www.roblox.com/asset/?id="..tostring(sequence[(math.floor((tick()-now)/speed)%#sequence)+1]-1) | |
1111 | wait() | |
1112 | end | |
1113 | end) | |
1114 | return img | |
1115 | end | |
1116 | ||
1117 | function Rainbow(h) | |
1118 | local h,s,v = h%1,1,1 | |
1119 | local r, g, b | |
1120 | ||
1121 | local i = math.floor(h * 6); | |
1122 | local f = h * 6 - i; | |
1123 | local p = v * (1 - s); | |
1124 | local q = v * (1 - f * s); | |
1125 | local t = v * (1 - (1 - f) * s); | |
1126 | ||
1127 | i = i % 6 | |
1128 | ||
1129 | if i == 0 then r, g, b = v, t, p | |
1130 | elseif i == 1 then r, g, b = q, v, p | |
1131 | elseif i == 2 then r, g, b = p, v, t | |
1132 | elseif i == 3 then r, g, b = p, q, v | |
1133 | elseif i == 4 then r, g, b = t, p, v | |
1134 | elseif i == 5 then r, g, b = v, p, q | |
1135 | end | |
1136 | ||
1137 | return r, g, b | |
1138 | end | |
1139 | ||
1140 | local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui) | |
1141 | gui.Name = "SnoopyMcSnooperson" | |
1142 | local frame = Instance.new("Frame",gui) | |
1143 | frame.Size = UDim2.new(1,0,1,0) | |
1144 | frame.BackgroundTransparency = 1 | |
1145 | local snoop = animGui(frame,snoopSequence,0.05) | |
1146 | snoop.Size = UDim2.new(0.25,0,0.50,0) | |
1147 | snoop.Position = UDim2.new(-0.25,0,0.25,0) | |
1148 | frog = animGui(frame,frogSequence,0.05) | |
1149 | frog.Size = UDim2.new(0.25,0,0.50,0) | |
1150 | frog.Position = UDim2.new(1,0,0.25,0) | |
1151 | ||
1152 | trollLabels = {snoopSequence,frogSequence,"Can I have a large pizza with please, cheese?","thomas the weed engine","get out of my face","ur gone and i gutta stay hi111","a duble rainbow... wut dos it men??22/?/","im so high bro","im so high bruh","whoa im tripin balz man","get out of my face","ellomenartiy","WORK 8 HOURS\nPLAY 8 HOURS\nSLEEP 8 HOURS","fite the powur bruh","fite the man11","usa females are payed 20 cents less bru its unfair","why am i doing this to myself","the woods are my home man","run free little bro","teach me ur ways, snoopie-san kawabi","how much for a bong","i luv this bong man","oh yeah its right in my bronchioles man","is this real life??","this is a robbery","this is why my mom doesnt like me"} | |
1153 | snoop:TweenPosition(UDim2.new(0,0,0.25,0), "Out", "Sine", 1, true) | |
1154 | frog:TweenPosition(UDim2.new(0.75,0,0.25,0), "Out","Sine", 1, true) | |
1155 | Spawn(function() | |
1156 | local start = tick() | |
1157 | local last = start | |
1158 | local ending = false | |
1159 | local tiem = 10 | |
1160 | Spawn(function() | |
1161 | fatboysraidmcdonalds.Control(tiem) | |
1162 | end) | |
1163 | Spawn(function() | |
1164 | fatboysraidmcdonalds.Snoop(tiem) | |
1165 | end) | |
1166 | Spawn(function() | |
1167 | fatboysraidmcdonalds.Illuminati(tiem,frame) | |
1168 | end) | |
1169 | while true do | |
1170 | local tack = tick() | |
1171 | local now = tack-start | |
1172 | frog.Rotation = now*360 | |
1173 | if now <= tiem then | |
1174 | local k = math.min(now/2,0.5) | |
1175 | frame.BackgroundTransparency = 1 - k | |
1176 | if tack - last >= 0.25 then | |
1177 | for i = 1,3 do | |
1178 | local wow = tack*(((math.random()*2)-1)*57) | |
1179 | local s,c = math.sin(wow)*math.random(200,225)*0.01,math.cos(wow)*math.random(175,200)*0.01 | |
1180 | local dist = 0.5 | |
1181 | local xp,yp = dist+(dist*s),dist+(dist*c) | |
1182 | local xe,ye = dist-(dist*s),dist-(dist*c) | |
1183 | local funk | |
1184 | if i == 1 then | |
1185 | funk = trollLabels[math.random(1,2)] | |
1186 | else | |
1187 | funk = trollLabels[math.random(3,#trollLabels)] | |
1188 | end | |
1189 | local ngui | |
1190 | local size = math.random()*0.25 | |
1191 | if funk == snoopSequence then | |
1192 | ngui = animGui(frame,funk,0.05) | |
1193 | ngui.Size = UDim2.new(size,0,size*2,0) | |
1194 | ngui.ImageTransparency = (frame.BackgroundTransparency*2) - 1 | |
1195 | elseif funk == frogSequence then | |
1196 | ngui = animGui(frame,funk,0.05) | |
1197 | ngui.Size = UDim2.new(size,0,size,0) | |
1198 | ngui.ImageTransparency = (frame.BackgroundTransparency*2) - 1 | |
1199 | else | |
1200 | ngui = Instance.new("TextLabel",frame) | |
1201 | local bt = frame.BackgroundTransparency | |
1202 | ngui.TextTransparency = (bt-0.5)/0.5 | |
1203 | ngui.TextStrokeTransparency = bt | |
1204 | ngui.BackgroundTransparency = 1 | |
1205 | ngui.TextColor3 = Color3.new(math.random(),math.random(),math.random()) | |
1206 | ngui.Font = "ArialBold" | |
1207 | ngui.Text = funk | |
1208 | ngui.Size = UDim2.new(size*0.5,0,size*0.5,0) | |
1209 | ngui.TextScaled = true | |
1210 | ngui.TextWrapped = false | |
1211 | ngui.FontSize = "Size48" | |
1212 | end | |
1213 | ngui.Position = UDim2.new(xp,0,yp,0) | |
1214 | ngui:TweenPosition(UDim2.new(xe,0,ye,0), "Out", "Linear", math.random(35,80)*0.035*i, true,function() | |
1215 | ngui:destroy() | |
1216 | end) | |
1217 | if i == 1 then | |
1218 | local sp = 500*(1-(math.random()*2)) | |
1219 | ngui.Changed:connect(function(prop) | |
1220 | if prop ~= "Rotation" and prop ~= "ImageTransparency" then | |
1221 | ngui.Rotation = (tick()-tack)*sp | |
1222 | ngui.ImageTransparency = (frame.BackgroundTransparency*2) - 1 | |
1223 | end | |
1224 | end) | |
1225 | else | |
1226 | ngui.Changed:connect(function(prop) | |
1227 | if prop ~= "TextTransparency" and prop ~= "TextStrokeTransparency" then | |
1228 | local bt = frame.BackgroundTransparency | |
1229 | ngui.TextTransparency = (bt-0.5)/0.5 | |
1230 | ngui.TextStrokeTransparency = bt | |
1231 | end | |
1232 | end) | |
1233 | end | |
1234 | end | |
1235 | last = tack | |
1236 | end | |
1237 | else | |
1238 | if not ending then | |
1239 | ending = true | |
1240 | snoop:TweenPosition(UDim2.new(-0.25,0,0.25,0), "Out", "Sine", math.max((tiem+1)-now,0), true) | |
1241 | frog:TweenPosition(UDim2.new(1,0,0.25,0), "Out", "Sine", math.max((tiem+1)-now,0), true) | |
1242 | end | |
1243 | local nao = math.max(((tiem+1)-now)*0.3,0) | |
1244 | frame.BackgroundTransparency = 1 - nao | |
1245 | if nao == 0 then | |
1246 | gui:destroy() | |
1247 | return | |
1248 | end | |
1249 | end | |
1250 | frame.BackgroundColor3 = Color3.new(Rainbow(now)) | |
1251 | wait() | |
1252 | end | |
1253 | end) | |
1254 | end | |
1255 | ---------------------------------------------------- | |
1256 | local Using="Bong" | |
1257 | local tools={m,m2,m3} | |
1258 | function tolFad(nam) | |
1259 | local tol=nil | |
1260 | for _,v in pairs(tools) do | |
1261 | if Using=="Bong" then | |
1262 | tol=m | |
1263 | elseif Using=="Blunt" then | |
1264 | tol=m2 | |
1265 | elseif Using=="Pipe" then | |
1266 | tol=m3 | |
1267 | end | |
1268 | if v~=tol then | |
1269 | for _,c in pairs(v:GetChildren()) do | |
1270 | if c:IsA("Part") then | |
1271 | c.Transparency=1 | |
1272 | end | |
1273 | end | |
1274 | else | |
1275 | for _,c in pairs(v:GetChildren()) do | |
1276 | if c:IsA("Part") and c.Name ~= "Bong" and c.Name ~= "Tube" then | |
1277 | c.Transparency = 0 | |
1278 | elseif c:IsA("Part") and c.Name == "Bong" or c.Name == "Tube" then | |
1279 | c.Transparency = 0.2 | |
1280 | end | |
1281 | end | |
1282 | end | |
1283 | end | |
1284 | end | |
1285 | --[[if Debounces.Bong == true then | |
1286 | Debounces.Pipe = false | |
1287 | Debounces.Blunt = false | |
1288 | for i = 1, 10 do wait() | |
1289 | for i,v in pairs(torso.Bong:GetChildren()) do | |
1290 | if v:IsA("Part") and v.Transparency <= 1 then | |
1291 | v.Transparency = v.Transparency - 0.1 | |
1292 | end | |
1293 | end | |
1294 | end | |
1295 | for i = 1, 10 do wait() | |
1296 | for q,e in pairs(rarm.Pipe:GetChildren()) do | |
1297 | if e:IsA("Part") and e.Transparency >= 0 then | |
1298 | e.Transparency = e.Transparency + 0.1 | |
1299 | elseif e:IsA("Part") and e.Transparency == 1 then wait() | |
1300 | end | |
1301 | end | |
1302 | end | |
1303 | for i = 1, 10 do wait() | |
1304 | for a,d in pairs(rarm.Blunt:GetChildren()) do | |
1305 | if d:IsA("Part") and d.Transparency >= 0 then | |
1306 | d.Transparency = d.Transparency + 0.1 | |
1307 | elseif d:IsA("Part") and d.Transparency == 1 then wait() | |
1308 | end | |
1309 | end | |
1310 | end | |
1311 | elseif Debounces.Pipe == true then | |
1312 | Debounces.Bong = false | |
1313 | Debounces.Blunt = false | |
1314 | for i = 1, 10 do wait() | |
1315 | for i,v in pairs(torso.Bong:GetChildren()) do | |
1316 | if v:IsA("Part") and v.Transparency >= 0 then | |
1317 | v.Transparency = v.Transparency + 0.1 | |
1318 | elseif v:IsA("Part") and v.Transparency == 1 then wait() | |
1319 | end | |
1320 | end | |
1321 | end | |
1322 | for i = 1, 10 do wait() | |
1323 | for q,e in pairs(rarm.Pipe:GetChildren()) do | |
1324 | if e:IsA("Part") and e.Transparency <= 1 then | |
1325 | e.Transparency = e.Transparency - 0.1 | |
1326 | end | |
1327 | end | |
1328 | end | |
1329 | for i = 1, 10 do wait() | |
1330 | for a,d in pairs(rarm.Blunt:GetChildren()) do | |
1331 | if d:IsA("Part") and d.Transparency >= 0 then | |
1332 | d.Transparency = d.Transparency + 0.1 | |
1333 | elseif d:IsA("Part") and d.Transparency == 1 then wait() | |
1334 | end | |
1335 | end | |
1336 | end | |
1337 | elseif Debounces.Blunt == true then | |
1338 | Debounces.Bong = false | |
1339 | Debounces.Pipe = false | |
1340 | for i = 1, 10 do wait() | |
1341 | for i,v in pairs(torso.Bong:GetChildren()) do | |
1342 | if v:IsA("Part") and v.Transparency >= 0 then | |
1343 | v.Transparency = v.Transparency + 0.1 | |
1344 | elseif v:IsA("Part") and v.Transparency == 1 then wait() | |
1345 | end | |
1346 | end | |
1347 | end | |
1348 | for i = 1, 10 do wait() | |
1349 | for q,e in pairs(rarm.Pipe:GetChildren()) do | |
1350 | if e:IsA("Part") and e.Transparency >= 0 then | |
1351 | e.Transparency = e.Transparency + 0.1 | |
1352 | elseif e:IsA("Part") and e.Transparency == 1 then wait() | |
1353 | end | |
1354 | end | |
1355 | end | |
1356 | for i = 1, 10 do wait() | |
1357 | for a,d in pairs(rarm.Blunt:GetChildren()) do | |
1358 | if d:IsA("Part") and d.Transparency <= 1 then | |
1359 | d.Transparency = d.Transparency - 0.1 | |
1360 | end | |
1361 | end | |
1362 | end | |
1363 | end]]-- | |
1364 | ---------------------------------------------------- | |
1365 | mouse.KeyDown:connect(function(key) | |
1366 | if key == "q" then | |
1367 | if Debounces.CanPuff == true then | |
1368 | Using = "Bong" | |
1369 | stanceToggle = "Bong" | |
1370 | tolFad(Using) | |
1371 | end | |
1372 | end | |
1373 | end) | |
1374 | mouse.KeyDown:connect(function(key) | |
1375 | if key == "e" then | |
1376 | if Debounces.CanPuff == true then | |
1377 | Using = "Pipe" | |
1378 | stanceToggle = "Pipe" | |
1379 | tolFad(Using) | |
1380 | end | |
1381 | end | |
1382 | end) | |
1383 | mouse.KeyDown:connect(function(key) | |
1384 | if key == "r" then | |
1385 | if Debounces.CanPuff == true then | |
1386 | Using = "Blunt" | |
1387 | stanceToggle = "Blunt" | |
1388 | tolFad(Using) | |
1389 | end | |
1390 | end | |
1391 | end) | |
1392 | ---------------------------------------------------- | |
1393 | mt = {8, 8.4, 8.8, 9, 9.4} | |
1394 | mouse.KeyDown:connect(function(key) | |
1395 | if key == "h" then | |
1396 | if Debounces.CanJoke == true then | |
1397 | Debounces.CanJoke = false | |
1398 | z = Instance.new("Sound",hed) | |
1399 | z.SoundId = "http://www.roblox.com/asset/?id=238500679" | |
1400 | z.Looped = false | |
1401 | z.Pitch = mt[math.random(1,#mt)] | |
1402 | z.Volume = 1 | |
1403 | z2 = Instance.new("Sound",hed) | |
1404 | z2.SoundId = "http://www.roblox.com/asset/?id=238500679" | |
1405 | z2.Looped = false | |
1406 | z2.Pitch = z.Pitch | |
1407 | z2.Volume = 1 | |
1408 | z3 = Instance.new("Sound",hed) | |
1409 | z3.SoundId = "http://www.roblox.com/asset/?id=238500679" | |
1410 | z3.Looped = false | |
1411 | z3.Pitch = z.Pitch | |
1412 | z3.Volume = 1 | |
1413 | z4 = Instance.new("Sound",hed) | |
1414 | z4.SoundId = "http://www.roblox.com/asset/?id=238500679" | |
1415 | z4.Looped = false | |
1416 | z4.Pitch = z.Pitch | |
1417 | z4.Volume = 1 | |
1418 | z:Play() | |
1419 | z2:Play() | |
1420 | z3:Play() | |
1421 | z4:Play() | |
1422 | wait(1) | |
1423 | z:Destroy() | |
1424 | z2:Destroy() | |
1425 | z3:Destroy() | |
1426 | z4:Destroy() | |
1427 | if Debounces.CanJoke == false then | |
1428 | Debounces.CanJoke = true | |
1429 | end | |
1430 | end | |
1431 | end | |
1432 | end) | |
1433 | ---------------------------------------------------- | |
1434 | mouse.Button1Down:connect(function(hoot) | |
1435 | if Debounces.CanPuff == true and Using == "Bong" then | |
1436 | Debounces.CanPuff = false | |
1437 | Debounces.NoIdl = true | |
1438 | Debounces.on = true | |
1439 | for i = 1,20 do | |
1440 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.2,0.55,-1.4)*CFrame.Angles(math.rad(50),math.rad(0),math.rad(-40)), 0.2) | |
1441 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2) | |
1442 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.4) * CFrame.Angles(math.rad(-50), 0, 0), 0.4) | |
1443 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1444 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1445 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1446 | weld2.C0 = Lerp(weld2.C0, CFrame.new(0, -.5, -1.4), 0.4) | |
1447 | weld2.C1 = Lerp(weld2.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-30),0,0), 0.4) | |
1448 | if Debounces.on == false then break end | |
1449 | wait() | |
1450 | end | |
1451 | Match1() | |
1452 | z = Instance.new("Sound",hed) | |
1453 | z.SoundId = "rbxassetid://174628230" | |
1454 | z.Looped = true | |
1455 | z.Pitch = 2 | |
1456 | z.Volume = 1 | |
1457 | z1 = Instance.new("Sound",hed) | |
1458 | z1.SoundId = "rbxassetid://174628230" | |
1459 | z1.Looped = true | |
1460 | z1.Pitch = 2 | |
1461 | z1.Volume = 1 | |
1462 | wait(1) | |
1463 | z:Play() | |
1464 | z1:Play() | |
1465 | Burn() | |
1466 | wait(2.4) | |
1467 | for i = 1,10 do | |
1468 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1469 | if Debounces.on == false then break end | |
1470 | wait() | |
1471 | end | |
1472 | Match2() | |
1473 | wait(2.6) | |
1474 | z:Stop() | |
1475 | z1:Stop() | |
1476 | for i = 1,20 do | |
1477 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1478 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2) | |
1479 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(40), 0, 0), 0.4) | |
1480 | weld2.C0 = Lerp(weld2.C0, CFrame.new(0, -.5, -1.5), 0.4) | |
1481 | weld2.C1 = Lerp(weld2.C1, CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0)), 0.4) | |
1482 | if Debounces.on == false then break end | |
1483 | wait() | |
1484 | end | |
1485 | s.Enabled = true | |
1486 | wait(5) | |
1487 | s.Enabled = false | |
1488 | Snoop() | |
1489 | if Debounces.CanPuff == false then | |
1490 | Debounces.CanPuff = true | |
1491 | Debounces.NoIdl = false | |
1492 | Debounces.on = true | |
1493 | end | |
1494 | end | |
1495 | end) | |
1496 | ---------------------------------------------------- | |
1497 | mouse.Button1Down:connect(function(hoot) | |
1498 | if Debounces.CanPuff == true and Using == "Pipe" then | |
1499 | Debounces.CanPuff = false | |
1500 | Debounces.NoIdl = true | |
1501 | Debounces.on = true | |
1502 | Match1() | |
1503 | for i = 1,20 do | |
1504 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.1,0.65,-.3)*CFrame.Angles(math.rad(115),math.rad(-10),math.rad(-30)), 0.2) | |
1505 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.45)*CFrame.Angles(math.rad(110),math.rad(10),math.rad(45)), 0.2) | |
1506 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.4) * CFrame.Angles(math.rad(-10), 0, 0), 0.4) | |
1507 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1508 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2) | |
1509 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2) | |
1510 | if Debounces.on == false then break end | |
1511 | wait() | |
1512 | end | |
1513 | Burn2() | |
1514 | wait(2.4) | |
1515 | for i = 1,10 do | |
1516 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.4) | |
1517 | if Debounces.on == false then break end | |
1518 | wait() | |
1519 | end | |
1520 | Match2() | |
1521 | wait(2.6) | |
1522 | for i = 1,20 do | |
1523 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.3,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.4) | |
1524 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.3)*CFrame.Angles(math.rad(110),math.rad(0),math.rad(20)), 0.6) | |
1525 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(30), 0, 0), 0.4) | |
1526 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1527 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2) | |
1528 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2) | |
1529 | if Debounces.on == false then break end | |
1530 | wait() | |
1531 | end | |
1532 | s.Enabled = true | |
1533 | wait(5) | |
1534 | s.Enabled = false | |
1535 | Snoop() | |
1536 | if Debounces.CanPuff == false then | |
1537 | Debounces.CanPuff = true | |
1538 | Debounces.NoIdl = false | |
1539 | Debounces.on = true | |
1540 | end | |
1541 | end | |
1542 | end) | |
1543 | ---------------------------------------------------- | |
1544 | mouse.Button1Down:connect(function(hoot) | |
1545 | if Debounces.CanPuff == true and Using == "Blunt" then | |
1546 | Debounces.CanPuff = false | |
1547 | Debounces.NoIdl = true | |
1548 | Debounces.on = true | |
1549 | for i = 1,20 do | |
1550 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,.1)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
1551 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.45)*CFrame.Angles(math.rad(115),math.rad(10),math.rad(40)), 0.2) | |
1552 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, -.4) * CFrame.Angles(math.rad(-15), 0, 0), 0.4) | |
1553 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1554 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2) | |
1555 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2) | |
1556 | if Debounces.on == false then break end | |
1557 | wait() | |
1558 | end | |
1559 | wait(0.5) | |
1560 | Burn3() | |
1561 | wait() | |
1562 | for i = 1,20 do | |
1563 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
1564 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.3,0.6,-.3)*CFrame.Angles(math.rad(115),math.rad(0),math.rad(-20)), 0.6) | |
1565 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0, 1.5, .2) * CFrame.Angles(math.rad(30), 0, 0), 0.4) | |
1566 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1567 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-5)), 0.2) | |
1568 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(5)), 0.2) | |
1569 | if Debounces.on == false then break end | |
1570 | wait() | |
1571 | end | |
1572 | s.Enabled = true | |
1573 | wait(5) | |
1574 | s.Enabled = false | |
1575 | Snoop() | |
1576 | if Debounces.CanPuff == false then | |
1577 | Debounces.CanPuff = true | |
1578 | Debounces.NoIdl = false | |
1579 | Debounces.on = true | |
1580 | end | |
1581 | end | |
1582 | end) | |
1583 | ---------------------------------------------------- | |
1584 | local animpose = "Idle" | |
1585 | local lastanimpose = "Idle" | |
1586 | local sine = 0 | |
1587 | local change = 1 | |
1588 | local val = 0 | |
1589 | local ffing = false | |
1590 | ------------------------------- | |
1591 | game:GetService("RunService").RenderStepped:connect(function() | |
1592 | --[[if char.Humanoid.Jump == true then | |
1593 | jump = true | |
1594 | else | |
1595 | jump = false | |
1596 | end]] | |
1597 | char.Humanoid.FreeFalling:connect(function(f) | |
1598 | if f then | |
1599 | ffing = true | |
1600 | else | |
1601 | ffing = false | |
1602 | end | |
1603 | end) | |
1604 | sine = sine + change | |
1605 | if jumpn == true then | |
1606 | animpose = "Jumping" | |
1607 | elseif ffing == true then | |
1608 | animpose = "Freefalling" | |
1609 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 2 then | |
1610 | animpose = "Idle" | |
1611 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude < 20 then | |
1612 | animpose = "Walking" | |
1613 | elseif (torso.Velocity*Vector3.new(1, 0, 1)).magnitude > 20 then | |
1614 | animpose = "Running" | |
1615 | end | |
1616 | if animpose ~= lastanimpose then | |
1617 | sine = 0 | |
1618 | if Debounces.NoIdl == false then | |
1619 | for i = 1, 2 do | |
1620 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1621 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2) | |
1622 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1623 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1624 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1625 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1626 | wait() | |
1627 | end | |
1628 | else | |
1629 | end | |
1630 | end | |
1631 | lastanimpose = animpose | |
1632 | if Debounces.NoIdl == false then | |
1633 | if animpose == "Idle" then | |
1634 | if stanceToggle == "Bong" then | |
1635 | change = 0.5 | |
1636 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1637 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2) | |
1638 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1639 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1640 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1641 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1642 | elseif stanceToggle == "Pipe" then | |
1643 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(20)), 0.2) | |
1644 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1645 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1646 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1647 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1648 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1649 | elseif stanceToggle == "Blunt" then | |
1650 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(10)), 0.2) | |
1651 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.6,0)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(-14)), 0.2) | |
1652 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20+1*math.cos(sine/14)),math.rad(0),0), 0.2) | |
1653 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1, 0) * CFrame.Angles(0, math.rad(0), 0), 0.2) | |
1654 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(-10)), 0.2) | |
1655 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1, 0) * CFrame.Angles(0, 0, math.rad(10)), 0.2) | |
1656 | end | |
1657 | elseif animpose == "Walking" then | |
1658 | if stanceToggle == "Bong" then | |
1659 | change = 1 | |
1660 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1661 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,-.3)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(30)), 0.2) | |
1662 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.2) | |
1663 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
1664 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
1665 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
1666 | elseif stanceToggle == "Pipe" then | |
1667 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/4))), 0.2) | |
1668 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5,0.65,0)*CFrame.Angles(math.rad(60),math.rad(0),math.rad(-30)), 0.2) | |
1669 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.2) | |
1670 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
1671 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
1672 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
1673 | elseif stanceToggle == "Blunt" then | |
1674 | larm.Weld.C0 = Lerp(larm.Weld.C0, CFrame.new(-1.5, 0.5+.05*math.cos(sine/4), -math.sin(sine/8)/4)*CFrame.Angles(math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(-10-2*math.cos(sine/3))), 0.2) | |
1675 | rarm.Weld.C0 = Lerp(rarm.Weld.C0, CFrame.new(1.5, 0.5-.05*math.cos(sine/4), math.sin(sine/8)/4) * CFrame.Angles(-math.sin(sine/8)/2.8, -math.sin(sine/8)/3, math.rad(10+2*math.cos(sine/3))), 0.2) | |
1676 | hed.Weld.C0 = Lerp(hed.Weld.C0, CFrame.new(0,1.5,-.2)*CFrame.Angles(math.rad(-20), math.rad(0), math.rad(0)),0.2) | |
1677 | torso.Weld.C0 = Lerp(torso.Weld.C0, CFrame.new(0, -1+0.07*math.cos(sine/4), 0) * CFrame.Angles(math.rad(-4+1*math.cos(sine/4)), 0, math.rad(0)), 0.2) | |
1678 | lleg.Weld.C0 = Lerp(lleg.Weld.C0, CFrame.new(-0.5, -1-0.14*math.cos(sine/8)/2.8, -0.05 + math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + -math.sin(sine/8)/2.3, 0, 0), .4) | |
1679 | rleg.Weld.C0 = Lerp(rleg.Weld.C0, CFrame.new(0.5, -1+0.14*math.cos(sine/8)/2.8, -0.05 + -math.sin(sine/8)/3.4) * CFrame.Angles(math.rad(-10) + math.sin(sine/8)/2.3, 0, 0), .4) | |
1680 | end | |
1681 | end | |
1682 | end | |
1683 | end) |