Advertisement
Guest User

Untitled

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