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