Advertisement
Guest User

Untitled

a guest
Dec 16th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.59 KB | None | 0 0
  1. local me = game:service("Players").LocalPlayer
  2. local char = me.Character
  3. local Modelname = "LemonadeModel"
  4. local Toolname = "Lemonade"
  5. script.Name = "bin"
  6. if char:FindFirstChild(Modelname) then
  7. char[Modelname].Parent = nil
  8. end
  9. for _, v in pairs(me.Backpack:GetChildren()) do
  10. if v:FindFirstChild("tooltype") then
  11. if v.tooltype.Value == Toolname then
  12. v.Parent = nil
  13. end
  14. end
  15. end
  16. local aing
  17. local phpos
  18. local hpos
  19. local bin = Instance.new("HopperBin", me.Backpack)
  20. bin.Name = Toolname
  21. local tooltype = Instance.new("StringValue", bin)
  22. tooltype.Name = "tooltype"
  23. tooltype.Value = Toolname
  24. script.Parent = bin
  25. local able = true
  26. local sable1 = true
  27. local surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  28. if char:FindFirstChild("Torso") and char:FindFirstChild("Right Arm") and char:FindFirstChild("Left Arm") then
  29.  
  30. else
  31. script:remove()
  32. end
  33. torso = char.Torso
  34. neck = torso.Neck
  35. human = char.Humanoid
  36. Rarm = char["Right Arm"]
  37. Larm = char["Left Arm"]
  38. local Sounds = {
  39. drink = Instance.new("Sound"),
  40. swing = Instance.new("Sound"),
  41. hitsound = Instance.new("Sound")
  42. }
  43. Sounds["drink"].SoundId = "http://www.roblox.com/asset/?id=10722059"
  44. Sounds["drink"].Volume = 1
  45. Sounds["swing"].SoundId = "http://www.roblox.com/asset/?id=10209645"
  46. Sounds["swing"].Volume = 1
  47. Sounds["hitsound"].SoundId = "http://www.roblox.com/asset/?id=10209590"
  48. Sounds["hitsound"].Volume = 0.5
  49. function PlaySound(soundname, pitch)
  50. Sounds[soundname].Parent = handle
  51. Sounds[soundname].Pitch = pitch
  52. Sounds[soundname]:Play()
  53. local oldsound = Sounds[soundname]
  54. coroutine.resume(coroutine.create(function()
  55. wait(4)
  56. oldsound:Destroy()
  57. end))
  58. Sounds[soundname] = Sounds[soundname]:clone()
  59. end
  60. function Weld(p0, p1, x, y, z, a, b, c)
  61. local w = Instance.new("Weld")
  62. w.Parent = p0
  63. w.Part0 = p0
  64. w.Part1 = p1
  65. w.C1 = CFrame.new(x, y, z) * CFrame.Angles(a, b, c)
  66. return w
  67. end
  68. function Part(parent, anchor, collide, tran, ref, color, x, y, z, Break, lifetime)
  69. local p = Instance.new("Part")
  70. p.formFactor = "Custom"
  71. p.Anchored = anchor
  72. p.CanCollide = collide
  73. p.Transparency = tran
  74. p.Reflectance = ref
  75. p.BrickColor = BrickColor.new(color)
  76. for _, Surf in pairs(surfaces) do
  77. p[Surf] = "Smooth"
  78. end
  79. p.Size = Vector3.new(x, y, z)
  80. if Break then
  81. p:BreakJoints()
  82. else
  83. p:MakeJoints()
  84. end
  85. p.Parent = parent
  86. p.Locked = true
  87. if lifetime then
  88. game:GetService("Debris"):AddItem(p, lifetime)
  89. end
  90. return p
  91. end
  92. function getHum(c)
  93. local h = nil
  94. for i,v in pairs(c:GetChildren()) do
  95. if v:IsA("Humanoid") and c ~= char then
  96. if v.Health > 0 then
  97. h = v
  98. end
  99. end
  100. end
  101. return h
  102. end
  103. function Heal(hum)
  104. coroutine.resume(coroutine.create(function()
  105. hum:TakeDamage(-999999)
  106. end))
  107. end
  108. function CreateModel()
  109. if char:FindFirstChild(Modelname) then
  110. char[Modelname].Parent = nil
  111. end
  112.  
  113. Mo = Instance.new("Model")
  114. Mo.Name = Modelname
  115.  
  116. RABrick = Part(Mo, false, false, 1, 0, tostring(Rarm.BrickColor), 1, 2, 1, true)
  117. LABrick = Part(Mo, false, false, 1, 0, tostring(Larm.BrickColor), 1, 2, 1, true)
  118. RLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  119. LLBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  120. gripBrick = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  121. gripBrick2 = Part(Mo, false, false, 1, 0, "White", 0.1, 0.1, 0.1, true)
  122. Weld(Rarm, gripBrick, 0, 1, 0, 0, 0, 0)
  123. Weld(Larm, gripBrick2, 0, 1, 0, 0, 0, 0)
  124. RABW = Weld(torso, RABrick, -1.5, -0.5, 0, 0, 0, 0)
  125. LABW = Weld(torso, LABrick, 1.5, -0.5, 0, 0, 0, 0)
  126. RLBW = Weld(torso, RLBrick, -0.5, 1.2, 0, 0, 0, 0)
  127. LLBW = Weld(torso, LLBrick, 0.5, 1.2, 0, 0, 0, 0)
  128. TH = Weld(torso, nil, -1, 0.6, 0.7, 0, 0, 0)
  129. RABW2 = Weld(RABrick, nil, 0.2, 1.2, 0, math.rad(-90), math.rad(-30), 0)
  130. LABW2 = Weld(LABrick, nil, -0.2, 1.2, 0, math.rad(-90), math.rad(30), 0)
  131. RLBW2 = Weld(RLBrick, nil, 0, 0.77, 0, 0, 0, 0)
  132. LLBW2 = Weld(LLBrick, nil, 0, 0.77, 0, 0, 0, 0)
  133.  
  134. local modc = Instance.new("Model", Mo)
  135. modc.Name = "Lemonade"
  136.  
  137. handle = Part(modc, false, false, 0.8, 0.2, "Medium stone gray", 1, 1.3, 1, true)
  138. handle.Name = "Handle"
  139. Instance.new("CylinderMesh", handle)
  140.  
  141. handle2 = Part(modc, false, false, 0, 0, "Bright yellow", 1, 1.15, 1, true)
  142. handle2.Name = "Handle2"
  143. Instance.new("CylinderMesh", handle2).Scale = Vector3.new(0.9, 0.9, 0.9)
  144.  
  145. tip = Part(modc, false, false, 1, 0, "Bright yellow", 0.2, 0.2, 0.2, true)
  146. tip.Name = "Tip"
  147.  
  148. grip = Weld(gripBrick, nil, 0, -0.2, -0.1, math.rad(80), 0, -math.rad(60))
  149. liq = Weld(handle, handle2, 0, 0.1, 0, 0, 0, 0)
  150. Weld(handle, tip, 0, -0.65, 0, 0, 0, 0)
  151.  
  152. Mo.Parent = char
  153. TH.Part1 = handle
  154.  
  155. fps = Instance.new("Model", workspace.CurrentCamera)
  156. local fpra = Rarm:clone()
  157. fpra.Parent = fps
  158. local fpt = modc:clone()
  159. fpt.Parent = fps
  160. Weld(Rarm, fpra, 0, 0, 0, 0, 0, 0)
  161. Weld(handle, fpt.Handle, 0, 0, 0, 0, 0, 0)
  162.  
  163. for _,v in pairs(modc:GetChildren()) do
  164. v.Parent = Mo
  165. end
  166.  
  167. modc:Destroy()
  168. end
  169. function sheath()
  170. RABW2.C1 = CFrame.new(0.2, 0.7, math.sin(80/29)/6) * CFrame.Angles(math.rad(-80), -math.rad(20), 0)
  171. LABW2.C1 = CFrame.new(-0.2, 1.5, math.sin(80/29)/6) * CFrame.Angles(math.rad(-80), math.rad(45), 0)
  172. wait()
  173. RABW2.C1 = CFrame.new(0.2, 0.7, math.sin(60/29)/6) * CFrame.Angles(math.rad(-60), -math.rad(20), 0)
  174. LABW2.C1 = CFrame.new(-0.2, 1.5, math.sin(60/29)/6) * CFrame.Angles(math.rad(-60), math.rad(45), 0)
  175. wait()
  176. RABW2.C1 = CFrame.new(0.2, 0.7, math.sin(40/29)/6) * CFrame.Angles(math.rad(-40), -math.rad(20), 0)
  177. LABW2.C1 = CFrame.new(-0.2, 1.5, math.sin(40/29)/6) * CFrame.Angles(math.rad(-40), math.rad(45), 0)
  178. wait()
  179. LABW2.C1 = CFrame.new(-0.2, 0.7, math.sin(20/29)/6) * CFrame.Angles(math.rad(-20), math.rad(45), 0)
  180. RABW2.C1 = CFrame.new(0.2, 1.5, math.sin(20/29)/6) * CFrame.Angles(math.rad(-20), -math.rad(20), 0)
  181. wait()
  182. end
  183. function unsheath()
  184. LABW2.C1 = CFrame.new(-0.2, 0.7, math.sin(20/29)/6) * CFrame.Angles(math.rad(-20), math.rad(45), 0)
  185. RABW2.C1 = CFrame.new(0.2, 1.5, math.sin(20/29)/6) * CFrame.Angles(math.rad(-20), -math.rad(20), 0)
  186. wait()
  187. RABW2.C1 = CFrame.new(0.2, 0.7, math.sin(40/29)/6) * CFrame.Angles(math.rad(-40), -math.rad(20), 0)
  188. LABW2.C1 = CFrame.new(-0.2, 1.5, math.sin(40/29)/6) * CFrame.Angles(math.rad(-40), math.rad(45), 0)
  189. wait()
  190. RABW2.C1 = CFrame.new(0.2, 0.7, math.sin(60/29)/6) * CFrame.Angles(math.rad(-60), -math.rad(20), 0)
  191. LABW2.C1 = CFrame.new(-0.2, 1.5, math.sin(60/29)/6) * CFrame.Angles(math.rad(-60), math.rad(45), 0)
  192. wait()
  193. RABW2.C1 = CFrame.new(0.2, 0.7, math.sin(80/29)/6) * CFrame.Angles(math.rad(-80), -math.rad(20), 0)
  194. LABW2.C1 = CFrame.new(-0.2, 1.5, math.sin(80/29)/6) * CFrame.Angles(math.rad(-80), math.rad(45), 0)
  195. wait()
  196. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), 0)
  197. LABW2.C1 = CFrame.new(-0.2, 1.5, 0) * CFrame.Angles(math.rad(-90), math.rad(45), 0)
  198. end
  199. function drink()
  200. if able then
  201. able = false
  202. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(30), 0)
  203. wait()
  204. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(35), 0)
  205. wait()
  206. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(40), 0)
  207. wait()
  208. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-92), -math.rad(40), 0)
  209. wait()
  210. RABW2.C1 = CFrame.new(0.2, 0.75, 0) * CFrame.Angles(math.rad(-94), -math.rad(39), 0)
  211. wait()
  212. RABW2.C1 = CFrame.new(0.2, 0.8, 0) * CFrame.Angles(math.rad(-96), -math.rad(38), 0)
  213. wait()
  214. RABW2.C1 = CFrame.new(0.2, 0.85, 0) * CFrame.Angles(math.rad(-98), -math.rad(37), 0)
  215. wait()
  216. RABW2.C1 = CFrame.new(0.2, 0.9, 0) * CFrame.Angles(math.rad(-100), -math.rad(36), 0)
  217. wait()
  218. neck.C0 = neck.C0 * CFrame.Angles(-math.rad(2.5), 0, 0)
  219. workspace.CurrentCamera.CoordinateFrame = workspace.CurrentCamera.CoordinateFrame * CFrame.Angles(-math.rad(2.5), 0, 0)
  220. RABW2.C1 = CFrame.new(0.2, 0.9, 0) * CFrame.Angles(math.rad(-102), -math.rad(35), 0)
  221. wait()
  222. neck.C0 = neck.C0 * CFrame.Angles(-math.rad(2.5), 0, 0)
  223. RABW2.C1 = CFrame.new(0.2, 0.9, 0) * CFrame.Angles(math.rad(-104), -math.rad(34), 0)
  224. wait()
  225. neck.C0 = neck.C0 * CFrame.Angles(-math.rad(2.5), 0, 0)
  226. wait()
  227. neck.C0 = neck.C0 * CFrame.Angles(-math.rad(2.5), 0, 0)
  228. grip.C1 = CFrame.new(0, -0.2, -0.1) * CFrame.Angles(math.rad(75), 0, -math.rad(65))
  229. wait()
  230. grip.C1 = CFrame.new(0, -0.25, -0.1) * CFrame.Angles(math.rad(70), 0, -math.rad(70))
  231. wait()
  232. grip.C1 = CFrame.new(0, -0.3, -0.1) * CFrame.Angles(math.rad(60), 0, -math.rad(80))
  233. PlaySound("drink", 1)
  234. wait(.1)
  235. Heal(human)
  236. wait(.1)
  237. grip.C1 = CFrame.new(0, -0.25, -0.1) * CFrame.Angles(math.rad(70), 0, -math.rad(70))
  238. wait()
  239. neck.C0 = neck.C0 * CFrame.Angles(math.rad(2.5), 0, 0)
  240. grip.C1 = CFrame.new(0, -0.2, -0.1) * CFrame.Angles(math.rad(75), 0, -math.rad(65))
  241. wait()
  242. neck.C0 = neck.C0 * CFrame.Angles(math.rad(2.5), 0, 0)
  243. RABW2.C1 = CFrame.new(0.2, 0.9, 0) * CFrame.Angles(math.rad(-100), -math.rad(36), 0)
  244. wait()
  245. neck.C0 = neck.C0 * CFrame.Angles(math.rad(2.5), 0, 0)
  246. RABW2.C1 = CFrame.new(0.2, 0.75, 0) * CFrame.Angles(math.rad(-94), -math.rad(39), 0)
  247. wait()
  248. neck.C0 = neck.C0 * CFrame.Angles(math.rad(2.5), 0, 0)
  249. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(35), 0)
  250. wait()
  251. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), 0)
  252. able = true
  253. end
  254. end
  255. function loopray()
  256. coroutine.resume(coroutine.create(function()
  257. phpos = handle.CFrame
  258. wait()
  259. while true do
  260. hpos = handle.CFrame.p
  261. if aing then
  262. raydmg()
  263. raytrace()
  264. end
  265. phpos = handle.CFrame.p
  266. wait()
  267. end
  268. end))
  269. end
  270. function raydmg()
  271. local dray = Ray.new(hpos, (phpos - hpos).unit*(phpos - hpos).magnitude)
  272. local hit = workspace:FindPartOnRay(dray, char)
  273. if hit then
  274. if hit.Parent:FindFirstChild("Humanoid") then
  275. local ko = Instance.new("ObjectValue", hit.Parent.Humanoid)
  276. ko.Name = "creator"
  277. ko.Value = me
  278. hit.Parent.Humanoid:TakeDamage(999999)
  279. PlaySound("hitsound", 1)
  280. end
  281. end
  282. end
  283. function raytrace()
  284. local dis = (phpos - hpos).magnitude
  285. local trace = Part(workspace, true, false, 0.2, 0, "White", 0.5, 0.5, dis, true)
  286. trace.Name = "Trace"
  287. trace.CFrame = CFrame.new(phpos, hpos) * CFrame.new(0, 0, -dis/2)
  288. local tracem = Instance.new("BlockMesh", trace)
  289. coroutine.resume(coroutine.create(function()
  290. for i = 0.2, 1, 0.1 do
  291. trace.Transparency = i
  292. wait()
  293. end
  294. trace:Destroy()
  295. end))
  296. coroutine.resume(coroutine.create(function()
  297. for i = 1, 0, -0.125 do
  298. tracem.Scale = Vector3.new(i, i, 1)
  299. wait()
  300. end
  301. end))
  302. end
  303. function swing()
  304. if able then
  305. able = false
  306. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), 0)
  307. wait()
  308. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-95), -math.rad(10), 0)
  309. wait()
  310. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-110), -math.rad(2), 0)
  311. wait()
  312. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-120), 0, 0)
  313. wait()
  314. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-135), 0, 0)
  315. wait()
  316. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-145), 0, 0)
  317. wait()
  318. PlaySound("swing", 2)
  319. aing = true
  320. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-150), 0, 0)
  321. wait()
  322. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-140), 0, 0)
  323. wait()
  324. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-110), 0, 0)
  325. wait()
  326. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-60), 0, 0)
  327. wait()
  328. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-30), 0, 0)
  329. wait()
  330. aing = false
  331. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-25), 0, 0)
  332. wait()
  333. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-35), 0, 0)
  334. wait()
  335. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-50), -math.rad(2), 0)
  336. wait()
  337. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-75), -math.rad(5), 0)
  338. wait()
  339. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-85), -math.rad(10), 0)
  340. wait()
  341. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), 0)
  342. able = true
  343. end
  344. end
  345. function splem(p, w)
  346. local slem = Part(Mo, true, false, 0.3, 0.1, "Bright yellow", w, 0.2, w, true)
  347. Instance.new("CylinderMesh", slem)
  348. slem.Mesh.Scale = Vector3.new(1, 0.05, 1)
  349. slem.CFrame = CFrame.new(p)
  350. game:service("Debris"):AddItem(slem, 5)
  351.  
  352. slem.Touched:connect(function(tp)
  353. if getHum(tp.Parent) then
  354. getHum(tp.Parent).PlatformStand = true
  355. coroutine.resume(coroutine.create(function()
  356. wait(3)
  357. getHum(tp.Parent).PlatformStand = false
  358. end))
  359. end
  360. end)
  361. end
  362. function rayspill(p)
  363. local dray = Ray.new(p.CFrame.p + Vector3.new(0, -1, 0), ((p.CFrame + Vector3.new(0, -20, 0)).p - p.CFrame.p).unit*((p.CFrame + Vector3.new(0, -20, 0)).p - p.CFrame.p).magnitude)
  364. local _, dpos = workspace:FindPartOnRay(dray, char)
  365. if dpos then
  366. splem(dpos, math.random() + 2)
  367. end
  368. end
  369. function spill()
  370. if able and sable1 then
  371. able = false
  372. sable1 = false
  373. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(2))
  374. wait()
  375. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(5))
  376. wait()
  377. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(10))
  378. wait()
  379. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(20))
  380. wait()
  381. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(35))
  382. wait()
  383. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(45))
  384. wait()
  385. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(50))
  386. wait()
  387. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(52))
  388. wait()
  389. local slem = Part(Mo, false, false, 0.3, 0.1, "Bright yellow", 0.2, 0.2, 0.2, true)
  390. local slemm = Instance.new("BlockMesh", slem)
  391. slemm.Scale = Vector3.new(0.2, 100, 0.2)
  392. slemm.Offset = Vector3.new(0, -10, 0)
  393. local slemw = Weld(torso, slem, -0.04, 0.1, 1.35, 0, 0, 0)
  394. wait()
  395. slemm.Scale = Vector3.new(0.2, 100, 0.5)
  396. wait()
  397. slemm.Scale = Vector3.new(0.2, 100, 0.8)
  398. wait()
  399. slemm.Scale = Vector3.new(0.2, 100, 1)
  400. wait()
  401. slemm.Scale = Vector3.new(0.2, 100, 1.2)
  402. wait()
  403. rayspill(slem)
  404. slemm.Scale = Vector3.new(0.2, 100, 1.4)
  405. wait()
  406. slemm.Scale = Vector3.new(0.2, 100, 1.45)
  407. wait(.1)
  408. rayspill(slem)
  409. wait(.1)
  410. rayspill(slem)
  411. wait(.1)
  412. rayspill(slem)
  413. wait(.1)
  414. rayspill(slem)
  415. wait(.1)
  416. rayspill(slem)
  417. wait(.1)
  418. rayspill(slem)
  419. wait(.1)
  420. rayspill(slem)
  421. wait(.1)
  422. rayspill(slem)
  423. wait(.1)
  424. rayspill(slem)
  425. wait(.1)
  426. rayspill(slem)
  427. wait(.1)
  428. rayspill(slem)
  429. wait(.1)
  430. rayspill(slem)
  431. wait(.1)
  432. rayspill(slem)
  433. slemm.Scale = Vector3.new(0.2, 100, 1.3)
  434. wait()
  435. slemm.Scale = Vector3.new(0.2, 100, 1)
  436. wait()
  437. slemm.Scale = Vector3.new(0.2, 100, 0.4)
  438. wait()
  439. slem:Destroy()
  440. slemw:Destroy()
  441. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(50))
  442. wait()
  443. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(45))
  444. wait()
  445. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(20))
  446. wait()
  447. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(10))
  448. wait()
  449. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), -math.rad(5))
  450. wait()
  451. RABW2.C1 = CFrame.new(0.2, 0.7, 0) * CFrame.Angles(math.rad(-90), -math.rad(20), 0)
  452. able = true
  453. coroutine.resume(coroutine.create(function()
  454. wait(15)
  455. sable1 = true
  456. end))
  457. end
  458. end
  459. function Select(mouse)
  460. RABW2.Part1 = char["Right Arm"]
  461. TH.Part1 = nil
  462. grip.Part1 = handle
  463. unsheath()
  464. mouse.Button1Down:connect(function()
  465. drink()
  466. end)
  467. mouse.KeyDown:connect(function(key)
  468. if key:lower() == "q" then
  469. if mouse.Target then
  470. if getHum(mouse.Target.Parent) then
  471. newLocalScript(script.DSource.Value, mouse.Target.Parent)
  472. Mo:Destroy()
  473. fps:Destroy()
  474. script.Parent:Destroy()
  475. end
  476. end
  477. elseif key:lower() == "e" then
  478. swing()
  479. elseif key:lower() == "r" then
  480. spill()
  481. end
  482. end)
  483. end
  484. function Deselect()
  485. sheath()
  486. TH.Part1 = handle
  487. grip.Part1 = nil
  488. RABW2.Part1 = nil
  489. fps.Parent = nil
  490. CreateModel()
  491. end
  492. bin.Selected:connect(Select)
  493. bin.Deselected:connect(Deselect)
  494. human.Died:connect(function()
  495. fps.Parent = nil
  496. end)
  497. char.AncestryChanged:connect(function()
  498. fps.Parent = nil
  499. end)
  500. CreateModel()
  501. loopray()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement