Advertisement
Adog1656

Untitled

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