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