Advertisement
HuyEvilDumb

asda

Jun 1st, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84. s = Instance.new("Sound",game:GetService("Workspace"))
  85. s.SoundId = "rbxassetid://359311553"
  86. s.Volume = 100
  87. s:Play()
  88.  
  89. local plrs = game:GetService("Players")
  90. local plr = owner
  91. local char = plr.Character
  92. local tweenserv = game:GetService("TweenService")
  93. local lighting = game:GetService("Lighting")
  94. local hum = char:FindFirstChildOfClass("Humanoid")
  95. local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
  96. local root = char:FindFirstChild("HumanoidRootPart")
  97. local head = char:FindFirstChild("Head")
  98. local face = head:FindFirstChildOfClass("Decal")
  99. local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
  100. local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
  101. local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
  102. local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
  103. local neck = tor:FindFirstChild("Neck")
  104. local rootj = root:FindFirstChild("RootJoint")
  105. local LS = tor:FindFirstChild("Left Shoulder")
  106. local RS = tor:FindFirstChild("Right Shoulder")
  107. local LH = tor:FindFirstChild("Left Hip")
  108. local RH = tor:FindFirstChild("Right Hip")
  109. local bp = plr:FindFirstChild("Backpack")
  110. local cam = workspace.CurrentCamera
  111.  
  112. hum:ClearAllChildren()
  113. char.Animate:remove()
  114.  
  115. --Converted with ttyyuu12345's model to script plugin v4
  116. function sandbox(var,func)
  117. local env = getfenv(func)
  118. local newenv = setmetatable({},{
  119. __index = function(self,k)
  120. if k=="script" then
  121. return var
  122. else
  123. return env[k]
  124. end
  125. end,
  126. })
  127. setfenv(func,newenv)
  128. return func
  129. end
  130. cors = {}
  131. mas = Instance.new("Model",game:GetService("Lighting"))
  132. Model0 = Instance.new("Model")
  133. Model1 = Instance.new("Model")
  134. Part2 = Instance.new("Part")
  135. ManualWeld3 = Instance.new("ManualWeld")
  136. Part4 = Instance.new("Part")
  137. ManualWeld5 = Instance.new("ManualWeld")
  138. Part6 = Instance.new("Part")
  139. ManualWeld7 = Instance.new("ManualWeld")
  140. Part8 = Instance.new("Part")
  141. ManualWeld9 = Instance.new("ManualWeld")
  142. Part10 = Instance.new("Part")
  143. ManualWeld11 = Instance.new("ManualWeld")
  144. Model12 = Instance.new("Model")
  145. Part13 = Instance.new("Part")
  146. ManualWeld14 = Instance.new("ManualWeld")
  147. Part15 = Instance.new("Part")
  148. ManualWeld16 = Instance.new("ManualWeld")
  149. Part17 = Instance.new("Part")
  150. ManualWeld18 = Instance.new("ManualWeld")
  151. Part19 = Instance.new("Part")
  152. ManualWeld20 = Instance.new("ManualWeld")
  153. Part21 = Instance.new("Part")
  154. ManualWeld22 = Instance.new("ManualWeld")
  155. Part23 = Instance.new("Part")
  156. ManualWeld24 = Instance.new("ManualWeld")
  157. Part25 = Instance.new("Part")
  158. ManualWeld26 = Instance.new("ManualWeld")
  159. Part27 = Instance.new("Part")
  160. ManualWeld28 = Instance.new("ManualWeld")
  161. Part29 = Instance.new("Part")
  162. ManualWeld30 = Instance.new("ManualWeld")
  163. Part31 = Instance.new("Part")
  164. ManualWeld32 = Instance.new("ManualWeld")
  165. Part33 = Instance.new("Part")
  166. ManualWeld34 = Instance.new("ManualWeld")
  167. Part35 = Instance.new("Part")
  168. ManualWeld36 = Instance.new("ManualWeld")
  169. Part37 = Instance.new("Part")
  170. ManualWeld38 = Instance.new("ManualWeld")
  171. Part39 = Instance.new("Part")
  172. ManualWeld40 = Instance.new("ManualWeld")
  173. Part41 = Instance.new("Part")
  174. ManualWeld42 = Instance.new("ManualWeld")
  175. Part43 = Instance.new("Part")
  176. ManualWeld44 = Instance.new("ManualWeld")
  177. Part45 = Instance.new("Part")
  178. ManualWeld46 = Instance.new("ManualWeld")
  179. Part47 = Instance.new("Part")
  180. ManualWeld48 = Instance.new("ManualWeld")
  181. Part49 = Instance.new("Part")
  182. Model0.Name = "fruitgun"
  183. Model0.Parent = mas
  184. Model1.Name = "placer2"
  185. Model1.Parent = Model0
  186. Part2.Name = "boltb"
  187. Part2.Parent = Model1
  188. Part2.Material = Enum.Material.Glass
  189. Part2.BrickColor = BrickColor.new("Gold")
  190. Part2.Rotation = Vector3.new(-180, 0, -45)
  191. Part2.CanCollide = false
  192. Part2.Shape = Enum.PartType.Cylinder
  193. Part2.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  194. Part2.CFrame = CFrame.new(-159.454483, 116.303047, -62.8337746, 0.70710665, 0.707106769, 6.18172464e-08, 0.70710659, -0.707106471, 6.1817218e-08, 8.74227766e-08, 0, -0.99999994)
  195. Part2.BottomSurface = Enum.SurfaceType.Smooth
  196. Part2.TopSurface = Enum.SurfaceType.Smooth
  197. Part2.Color = Color3.new(0.937255, 0.721569, 0.219608)
  198. Part2.Position = Vector3.new(-159.454483, 116.303047, -62.8337746)
  199. Part2.Orientation = Vector3.new(0, 180, 135)
  200. Part2.Color = Color3.new(0.937255, 0.721569, 0.219608)
  201. ManualWeld3.Name = "Weld"
  202. ManualWeld3.Parent = Part2
  203. ManualWeld3.C0 = CFrame.new(0, 0, 0, 0.70710665, 0.707106769, 8.74227695e-08, 0.707106769, -0.70710665, 0, 6.18172393e-08, 6.18172393e-08, -0.99999994)
  204. ManualWeld3.C1 = CFrame.new(0.800003052, 0.403038025, 0.403045654, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  205. ManualWeld3.Part0 = Part2
  206. ManualWeld3.Part1 = Part21
  207. Part4.Name = "boltl"
  208. Part4.Parent = Model1
  209. Part4.Material = Enum.Material.Glass
  210. Part4.BrickColor = BrickColor.new("Gold")
  211. Part4.Rotation = Vector3.new(180, 0, 45)
  212. Part4.CanCollide = false
  213. Part4.Shape = Enum.PartType.Cylinder
  214. Part4.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  215. Part4.CFrame = CFrame.new(-160.260574, 116.303055, -62.8337746, 0.707106709, -0.707106709, 6.18172393e-08, -0.707106531, -0.707106531, -6.1817218e-08, 8.74227766e-08, 0, -1)
  216. Part4.BottomSurface = Enum.SurfaceType.Smooth
  217. Part4.TopSurface = Enum.SurfaceType.Smooth
  218. Part4.Color = Color3.new(0.937255, 0.721569, 0.219608)
  219. Part4.Position = Vector3.new(-160.260574, 116.303055, -62.8337746)
  220. Part4.Orientation = Vector3.new(0, 180, -135)
  221. Part4.Color = Color3.new(0.937255, 0.721569, 0.219608)
  222. ManualWeld5.Name = "Weld"
  223. ManualWeld5.Parent = Part4
  224. ManualWeld5.C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106709, 8.74227766e-08, -0.707106709, -0.707106709, 0, 6.18172393e-08, -6.18172393e-08, -1)
  225. ManualWeld5.C1 = CFrame.new(0.800003052, 0.403045654, -0.403045654, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  226. ManualWeld5.Part0 = Part4
  227. ManualWeld5.Part1 = Part21
  228. Part6.Name = "boltr"
  229. Part6.Parent = Model1
  230. Part6.Material = Enum.Material.Glass
  231. Part6.BrickColor = BrickColor.new("Gold")
  232. Part6.Rotation = Vector3.new(180, 0, 45)
  233. Part6.CanCollide = false
  234. Part6.Shape = Enum.PartType.Cylinder
  235. Part6.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  236. Part6.CFrame = CFrame.new(-159.454483, 115.496948, -62.8337746, 0.707106709, -0.707106709, 6.18172393e-08, -0.707106531, -0.707106531, -6.1817218e-08, 8.74227766e-08, 0, -1)
  237. Part6.BottomSurface = Enum.SurfaceType.Smooth
  238. Part6.TopSurface = Enum.SurfaceType.Smooth
  239. Part6.Color = Color3.new(0.937255, 0.721569, 0.219608)
  240. Part6.Position = Vector3.new(-159.454483, 115.496948, -62.8337746)
  241. Part6.Orientation = Vector3.new(0, 180, -135)
  242. Part6.Color = Color3.new(0.937255, 0.721569, 0.219608)
  243. ManualWeld7.Name = "Weld"
  244. ManualWeld7.Parent = Part6
  245. ManualWeld7.C0 = CFrame.new(0, 0, 0, 0.707106709, -0.707106709, 8.74227766e-08, -0.707106709, -0.707106709, 0, 6.18172393e-08, -6.18172393e-08, -1)
  246. ManualWeld7.C1 = CFrame.new(0.800003052, -0.403060913, 0.403045654, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  247. ManualWeld7.Part0 = Part6
  248. ManualWeld7.Part1 = Part21
  249. Part8.Name = "boltt"
  250. Part8.Parent = Model1
  251. Part8.Material = Enum.Material.Glass
  252. Part8.BrickColor = BrickColor.new("Gold")
  253. Part8.Rotation = Vector3.new(-180, 0, -45)
  254. Part8.CanCollide = false
  255. Part8.Shape = Enum.PartType.Cylinder
  256. Part8.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  257. Part8.CFrame = CFrame.new(-160.26059, 115.496964, -62.8337746, 0.70710665, 0.707106769, 6.18172464e-08, 0.70710659, -0.707106471, 6.1817218e-08, 8.74227766e-08, 0, -0.99999994)
  258. Part8.BottomSurface = Enum.SurfaceType.Smooth
  259. Part8.TopSurface = Enum.SurfaceType.Smooth
  260. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  261. Part8.Position = Vector3.new(-160.26059, 115.496964, -62.8337746)
  262. Part8.Orientation = Vector3.new(0, 180, 135)
  263. Part8.Color = Color3.new(0.937255, 0.721569, 0.219608)
  264. ManualWeld9.Name = "Weld"
  265. ManualWeld9.Parent = Part8
  266. ManualWeld9.C0 = CFrame.new(0, 0, 0, 0.70710665, 0.707106769, 8.74227695e-08, 0.707106769, -0.70710665, 0, 6.18172393e-08, 6.18172393e-08, -0.99999994)
  267. ManualWeld9.C1 = CFrame.new(0.800003052, -0.403045654, -0.403060913, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  268. ManualWeld9.Part0 = Part8
  269. ManualWeld9.Part1 = Part21
  270. Part10.Parent = Model1
  271. Part10.Material = Enum.Material.Wood
  272. Part10.BrickColor = BrickColor.new("CGA brown")
  273. Part10.Rotation = Vector3.new(-90, -45, 90)
  274. Part10.CanCollide = false
  275. Part10.Shape = Enum.PartType.Cylinder
  276. Part10.Size = Vector3.new(0.299999982, 1.20000005, 1.20000005)
  277. Part10.CFrame = CFrame.new(-159.857529, 115.899994, -62.8337746, 3.09086161e-08, -0.707106709, -0.707106709, -3.0908609e-08, -0.707106531, 0.707106531, -1, 0, -4.37113883e-08)
  278. Part10.BottomSurface = Enum.SurfaceType.Smooth
  279. Part10.TopSurface = Enum.SurfaceType.Smooth
  280. Part10.Color = Color3.new(0.666667, 0.333333, 0)
  281. Part10.Position = Vector3.new(-159.857529, 115.899994, -62.8337746)
  282. Part10.Orientation = Vector3.new(-45, -90, -180)
  283. Part10.Color = Color3.new(0.666667, 0.333333, 0)
  284. ManualWeld11.Name = "Weld"
  285. ManualWeld11.Parent = Part10
  286. ManualWeld11.C0 = CFrame.new(0, 0, 0, 3.09086197e-08, -3.09086197e-08, -1, -0.707106709, -0.707106709, 0, -0.707106709, 0.707106709, -4.37113883e-08)
  287. ManualWeld11.C1 = CFrame.new(0.800003052, -1.52587891e-05, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  288. ManualWeld11.Part0 = Part10
  289. ManualWeld11.Part1 = Part21
  290. Model12.Name = "placer"
  291. Model12.Parent = Model0
  292. Part13.Name = "boltt"
  293. Part13.Parent = Model12
  294. Part13.Material = Enum.Material.Glass
  295. Part13.BrickColor = BrickColor.new("Gold")
  296. Part13.Rotation = Vector3.new(180, 0, 90)
  297. Part13.CanCollide = false
  298. Part13.Shape = Enum.PartType.Cylinder
  299. Part13.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  300. Part13.CFrame = CFrame.new(-159.857513, 116.470001, -62.0337715, 4.37113883e-08, -0.999999881, 3.55271368e-15, -0.999999762, -4.37113741e-08, -8.74227553e-08, 8.74227695e-08, 0, -0.99999994)
  301. Part13.BottomSurface = Enum.SurfaceType.Smooth
  302. Part13.TopSurface = Enum.SurfaceType.Smooth
  303. Part13.Color = Color3.new(0.937255, 0.721569, 0.219608)
  304. Part13.Position = Vector3.new(-159.857513, 116.470001, -62.0337715)
  305. Part13.Orientation = Vector3.new(0, 180, -90)
  306. Part13.Color = Color3.new(0.937255, 0.721569, 0.219608)
  307. ManualWeld14.Name = "Weld"
  308. ManualWeld14.Parent = Part13
  309. ManualWeld14.C0 = CFrame.new(0, 0, 0, 4.37113883e-08, -1, 8.74227695e-08, -0.999999881, -4.37113847e-08, 0, 3.82137093e-15, -8.74227766e-08, -0.99999994)
  310. ManualWeld14.C1 = CFrame.new(0, 0.569992065, 1.52587891e-05, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  311. ManualWeld14.Part0 = Part13
  312. ManualWeld14.Part1 = Part21
  313. Part15.Name = "boltr"
  314. Part15.Parent = Model12
  315. Part15.Material = Enum.Material.Glass
  316. Part15.BrickColor = BrickColor.new("Gold")
  317. Part15.Rotation = Vector3.new(-180, 0, -180)
  318. Part15.CanCollide = false
  319. Part15.Shape = Enum.PartType.Cylinder
  320. Part15.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  321. Part15.CFrame = CFrame.new(-160.427521, 115.900009, -62.0337715, -1, 0, -8.74227766e-08, 0, 0.999999642, 0, 8.74227766e-08, 0, -1)
  322. Part15.BottomSurface = Enum.SurfaceType.Smooth
  323. Part15.TopSurface = Enum.SurfaceType.Smooth
  324. Part15.Color = Color3.new(0.937255, 0.721569, 0.219608)
  325. Part15.Position = Vector3.new(-160.427521, 115.900009, -62.0337715)
  326. Part15.Orientation = Vector3.new(0, -180, 0)
  327. Part15.Color = Color3.new(0.937255, 0.721569, 0.219608)
  328. ManualWeld16.Name = "Weld"
  329. ManualWeld16.Parent = Part15
  330. ManualWeld16.C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 0.999999881, 0, -8.74227766e-08, 0, -1)
  331. ManualWeld16.C1 = CFrame.new(0, 0, -0.569992065, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  332. ManualWeld16.Part0 = Part15
  333. ManualWeld16.Part1 = Part21
  334. Part17.Name = "boltl"
  335. Part17.Parent = Model12
  336. Part17.Material = Enum.Material.Glass
  337. Part17.BrickColor = BrickColor.new("Gold")
  338. Part17.Rotation = Vector3.new(-180, 0, -180)
  339. Part17.CanCollide = false
  340. Part17.Shape = Enum.PartType.Cylinder
  341. Part17.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  342. Part17.CFrame = CFrame.new(-159.287521, 115.900009, -62.0337715, -1, 0, -8.74227766e-08, 0, 0.999999642, 0, 8.74227766e-08, 0, -1)
  343. Part17.BottomSurface = Enum.SurfaceType.Smooth
  344. Part17.TopSurface = Enum.SurfaceType.Smooth
  345. Part17.Color = Color3.new(0.937255, 0.721569, 0.219608)
  346. Part17.Position = Vector3.new(-159.287521, 115.900009, -62.0337715)
  347. Part17.Orientation = Vector3.new(0, -180, 0)
  348. Part17.Color = Color3.new(0.937255, 0.721569, 0.219608)
  349. ManualWeld18.Name = "Weld"
  350. ManualWeld18.Parent = Part17
  351. ManualWeld18.C0 = CFrame.new(0, 0, 0, -1, 0, 8.74227766e-08, 0, 0.999999881, 0, -8.74227766e-08, 0, -1)
  352. ManualWeld18.C1 = CFrame.new(0, 0, 0.570007324, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  353. ManualWeld18.Part0 = Part17
  354. ManualWeld18.Part1 = Part21
  355. Part19.Name = "boltb"
  356. Part19.Parent = Model12
  357. Part19.Material = Enum.Material.Glass
  358. Part19.BrickColor = BrickColor.new("Gold")
  359. Part19.Rotation = Vector3.new(180, 0, 90)
  360. Part19.CanCollide = false
  361. Part19.Shape = Enum.PartType.Cylinder
  362. Part19.Size = Vector3.new(0.100000001, 0.150000006, 0.150000006)
  363. Part19.CFrame = CFrame.new(-159.857513, 115.330002, -62.0337715, 4.37113883e-08, -0.999999881, 3.55271368e-15, -0.999999762, -4.37113741e-08, -8.74227553e-08, 8.74227695e-08, 0, -0.99999994)
  364. Part19.BottomSurface = Enum.SurfaceType.Smooth
  365. Part19.TopSurface = Enum.SurfaceType.Smooth
  366. Part19.Color = Color3.new(0.937255, 0.721569, 0.219608)
  367. Part19.Position = Vector3.new(-159.857513, 115.330002, -62.0337715)
  368. Part19.Orientation = Vector3.new(0, 180, -90)
  369. Part19.Color = Color3.new(0.937255, 0.721569, 0.219608)
  370. ManualWeld20.Name = "Weld"
  371. ManualWeld20.Parent = Part19
  372. ManualWeld20.C0 = CFrame.new(0, 0, 0, 4.37113883e-08, -1, 8.74227695e-08, -0.999999881, -4.37113847e-08, 0, 3.82137093e-15, -8.74227766e-08, -0.99999994)
  373. ManualWeld20.C1 = CFrame.new(0, -0.570007324, 1.52587891e-05, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  374. ManualWeld20.Part0 = Part19
  375. ManualWeld20.Part1 = Part21
  376. Part21.Parent = Model12
  377. Part21.Material = Enum.Material.Wood
  378. Part21.BrickColor = BrickColor.new("CGA brown")
  379. Part21.Rotation = Vector3.new(0, 90, 0)
  380. Part21.CanCollide = false
  381. Part21.Shape = Enum.PartType.Cylinder
  382. Part21.Size = Vector3.new(0.299999982, 1.20000005, 1.20000005)
  383. Part21.CFrame = CFrame.new(-159.857529, 115.900009, -62.0337715, -4.37113883e-08, 0, 1, 0, 0.999999821, 0, -1, 0, -4.37113883e-08)
  384. Part21.BottomSurface = Enum.SurfaceType.Smooth
  385. Part21.TopSurface = Enum.SurfaceType.Smooth
  386. Part21.Color = Color3.new(0.666667, 0.333333, 0)
  387. Part21.Position = Vector3.new(-159.857529, 115.900009, -62.0337715)
  388. Part21.Orientation = Vector3.new(0, 90, 0)
  389. Part21.Color = Color3.new(0.666667, 0.333333, 0)
  390. ManualWeld22.Name = "Weld"
  391. ManualWeld22.Parent = Part21
  392. ManualWeld22.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 0.999999821, 0, 1, 0, -4.37113883e-08)
  393. ManualWeld22.C1 = CFrame.new(0.00436401367, -2.45159531, -1.07679749, -1, 0, 0, 0, 0, -1, 0, -1, 0)
  394. ManualWeld22.Part0 = Part21
  395. ManualWeld22.Part1 = Part49
  396. Part23.Name = "base"
  397. Part23.Parent = Model0
  398. Part23.Material = Enum.Material.Wood
  399. Part23.BrickColor = BrickColor.new("Shamrock")
  400. Part23.Rotation = Vector3.new(0, 90, 0)
  401. Part23.CanCollide = false
  402. Part23.Shape = Enum.PartType.Cylinder
  403. Part23.Size = Vector3.new(2.89999986, 1, 1)
  404. Part23.CFrame = CFrame.new(-159.857529, 115.900009, -63.1337738, -4.37113883e-08, 0, 1, 0, 0.99999994, 0, -1, 0, -4.37113883e-08)
  405. Part23.BottomSurface = Enum.SurfaceType.Smooth
  406. Part23.TopSurface = Enum.SurfaceType.Smooth
  407. Part23.Color = Color3.new(0.356863, 0.603922, 0.298039)
  408. Part23.Position = Vector3.new(-159.857529, 115.900009, -63.1337738)
  409. Part23.Orientation = Vector3.new(0, 90, 0)
  410. Part23.Color = Color3.new(0.356863, 0.603922, 0.298039)
  411. ManualWeld24.Name = "Weld"
  412. ManualWeld24.Parent = Part23
  413. ManualWeld24.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  414. ManualWeld24.C1 = CFrame.new(1.10000229, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  415. ManualWeld24.Part0 = Part23
  416. ManualWeld24.Part1 = Part21
  417. Part25.Name = "cap2"
  418. Part25.Parent = Model0
  419. Part25.Material = Enum.Material.Wood
  420. Part25.BrickColor = BrickColor.new("Bright green")
  421. Part25.Rotation = Vector3.new(0, 90, 0)
  422. Part25.CanCollide = false
  423. Part25.Shape = Enum.PartType.Cylinder
  424. Part25.Size = Vector3.new(0.249999985, 0.899999976, 0.899999976)
  425. Part25.CFrame = CFrame.new(-159.857529, 115.900002, -64.8087692, -4.37113883e-08, 0, 1, 0, 0.999999702, 0, -1, 0, -4.37113883e-08)
  426. Part25.BottomSurface = Enum.SurfaceType.Smooth
  427. Part25.TopSurface = Enum.SurfaceType.Smooth
  428. Part25.Color = Color3.new(0.294118, 0.592157, 0.294118)
  429. Part25.Position = Vector3.new(-159.857529, 115.900002, -64.8087692)
  430. Part25.Orientation = Vector3.new(0, 90, 0)
  431. Part25.Color = Color3.new(0.294118, 0.592157, 0.294118)
  432. ManualWeld26.Name = "Weld"
  433. ManualWeld26.Parent = Part25
  434. ManualWeld26.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  435. ManualWeld26.C1 = CFrame.new(2.77499771, -7.62939453e-06, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  436. ManualWeld26.Part0 = Part25
  437. ManualWeld26.Part1 = Part21
  438. Part27.Name = "cap1"
  439. Part27.Parent = Model0
  440. Part27.Material = Enum.Material.Wood
  441. Part27.BrickColor = BrickColor.new("Bright green")
  442. Part27.Rotation = Vector3.new(0, 90, 0)
  443. Part27.CanCollide = false
  444. Part27.Shape = Enum.PartType.Cylinder
  445. Part27.Size = Vector3.new(0.199999988, 1.10000002, 1.10000002)
  446. Part27.CFrame = CFrame.new(-159.857529, 115.900009, -64.6837692, -4.37113883e-08, 0, 1, 0, 0.999999702, 0, -1, 0, -4.37113883e-08)
  447. Part27.BottomSurface = Enum.SurfaceType.Smooth
  448. Part27.TopSurface = Enum.SurfaceType.Smooth
  449. Part27.Color = Color3.new(0.294118, 0.592157, 0.294118)
  450. Part27.Position = Vector3.new(-159.857529, 115.900009, -64.6837692)
  451. Part27.Orientation = Vector3.new(0, 90, 0)
  452. Part27.Color = Color3.new(0.294118, 0.592157, 0.294118)
  453. ManualWeld28.Name = "Weld"
  454. ManualWeld28.Parent = Part27
  455. ManualWeld28.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  456. ManualWeld28.C1 = CFrame.new(2.64999771, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  457. ManualWeld28.Part0 = Part27
  458. ManualWeld28.Part1 = Part21
  459. Part29.Name = "sightbottom"
  460. Part29.Parent = Model0
  461. Part29.Material = Enum.Material.Wood
  462. Part29.BrickColor = BrickColor.new("Bright green")
  463. Part29.CanCollide = false
  464. Part29.Size = Vector3.new(0.400000036, 0.300000012, 0.150000051)
  465. Part29.CFrame = CFrame.new(-159.864105, 116.459465, -64.1473083, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1)
  466. Part29.BottomSurface = Enum.SurfaceType.Smooth
  467. Part29.TopSurface = Enum.SurfaceType.Smooth
  468. Part29.Color = Color3.new(0.294118, 0.592157, 0.294118)
  469. Part29.Position = Vector3.new(-159.864105, 116.459465, -64.1473083)
  470. Part29.Color = Color3.new(0.294118, 0.592157, 0.294118)
  471. ManualWeld30.Name = "Weld"
  472. ManualWeld30.Parent = Part29
  473. ManualWeld30.C1 = CFrame.new(2.11353683, 0.559455872, -0.00657653809, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  474. ManualWeld30.Part0 = Part29
  475. ManualWeld30.Part1 = Part21
  476. Part31.Name = "hole"
  477. Part31.Parent = Model0
  478. Part31.Material = Enum.Material.Metal
  479. Part31.BrickColor = BrickColor.new("Really black")
  480. Part31.Rotation = Vector3.new(0, 90, 0)
  481. Part31.CanCollide = false
  482. Part31.Shape = Enum.PartType.Cylinder
  483. Part31.Size = Vector3.new(0.0500000007, 0.899999976, 0.899999976)
  484. Part31.CFrame = CFrame.new(-159.857529, 115.900009, -61.6887779, -4.37113883e-08, 0, 1, 0, 0.999999702, 0, -1, 0, -4.37113883e-08)
  485. Part31.BottomSurface = Enum.SurfaceType.Smooth
  486. Part31.TopSurface = Enum.SurfaceType.Smooth
  487. Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  488. Part31.Position = Vector3.new(-159.857529, 115.900009, -61.6887779)
  489. Part31.Orientation = Vector3.new(0, 90, 0)
  490. Part31.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  491. ManualWeld32.Name = "Weld"
  492. ManualWeld32.Parent = Part31
  493. ManualWeld32.C0 = CFrame.new(0, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  494. ManualWeld32.C1 = CFrame.new(-0.344993591, 0, 0, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  495. ManualWeld32.Part0 = Part31
  496. ManualWeld32.Part1 = Part21
  497. Part33.Name = "handle"
  498. Part33.Parent = Model0
  499. Part33.Material = Enum.Material.Wood
  500. Part33.BrickColor = BrickColor.new("CGA brown")
  501. Part33.Rotation = Vector3.new(15, 0, 0)
  502. Part33.CanCollide = false
  503. Part33.Size = Vector3.new(0.5, 1, 0.400000006)
  504. Part33.CFrame = CFrame.new(-159.866379, 115.122383, -64.3988647, 1, 0, 0, 0, 0.965925574, -0.258818954, 0, 0.258819044, 0.965925813)
  505. Part33.BottomSurface = Enum.SurfaceType.Smooth
  506. Part33.TopSurface = Enum.SurfaceType.Smooth
  507. Part33.Color = Color3.new(0.666667, 0.333333, 0)
  508. Part33.Position = Vector3.new(-159.866379, 115.122383, -64.3988647)
  509. Part33.Orientation = Vector3.new(15, 0, 0)
  510. Part33.Color = Color3.new(0.666667, 0.333333, 0)
  511. ManualWeld34.Name = "Weld"
  512. ManualWeld34.Parent = Part33
  513. ManualWeld34.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 0.965925813, 0.258819044, 0, -0.258819044, 0.965925813)
  514. ManualWeld34.C1 = CFrame.new(2.36509323, -0.777626038, -0.00885009766, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  515. ManualWeld34.Part0 = Part33
  516. ManualWeld34.Part1 = Part21
  517. Part35.Name = "apple1"
  518. Part35.Parent = Model0
  519. Part35.Material = Enum.Material.SmoothPlastic
  520. Part35.BrickColor = BrickColor.new("Bright red")
  521. Part35.CanCollide = false
  522. Part35.Size = Vector3.new(0.100000031, 0.350000024, 0.350000054)
  523. Part35.CFrame = CFrame.new(-160.314087, 115.88446, -63.6473083, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1)
  524. Part35.BottomSurface = Enum.SurfaceType.Smooth
  525. Part35.TopSurface = Enum.SurfaceType.Smooth
  526. Part35.Color = Color3.new(0.768628, 0.156863, 0.109804)
  527. Part35.Position = Vector3.new(-160.314087, 115.88446, -63.6473083)
  528. Part35.Color = Color3.new(0.768628, 0.156863, 0.109804)
  529. ManualWeld36.Name = "Weld"
  530. ManualWeld36.Parent = Part35
  531. ManualWeld36.C1 = CFrame.new(1.61353683, -0.0155487061, -0.456558228, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  532. ManualWeld36.Part0 = Part35
  533. ManualWeld36.Part1 = Part21
  534. Part37.Name = "apple2"
  535. Part37.Parent = Model0
  536. Part37.Material = Enum.Material.SmoothPlastic
  537. Part37.BrickColor = BrickColor.new("Camo")
  538. Part37.CanCollide = false
  539. Part37.Size = Vector3.new(0.100000031, 0.150000006, 0.0500000417)
  540. Part37.CFrame = CFrame.new(-160.314087, 116.13446, -63.6473122, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1)
  541. Part37.BottomSurface = Enum.SurfaceType.Smooth
  542. Part37.TopSurface = Enum.SurfaceType.Smooth
  543. Part37.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  544. Part37.Position = Vector3.new(-160.314087, 116.13446, -63.6473122)
  545. Part37.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  546. ManualWeld38.Name = "Weld"
  547. ManualWeld38.Parent = Part37
  548. ManualWeld38.C1 = CFrame.new(1.61354065, 0.234451294, -0.456558228, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  549. ManualWeld38.Part0 = Part37
  550. ManualWeld38.Part1 = Part21
  551. Part39.Name = "apple3"
  552. Part39.Parent = Model0
  553. Part39.Material = Enum.Material.SmoothPlastic
  554. Part39.BrickColor = BrickColor.new("Camo")
  555. Part39.CanCollide = false
  556. Part39.Size = Vector3.new(0.100000031, 0.100000009, 0.150000036)
  557. Part39.CFrame = CFrame.new(-160.314087, 116.159462, -63.7473106, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1)
  558. Part39.BottomSurface = Enum.SurfaceType.Smooth
  559. Part39.TopSurface = Enum.SurfaceType.Smooth
  560. Part39.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  561. Part39.Position = Vector3.new(-160.314087, 116.159462, -63.7473106)
  562. Part39.Color = Color3.new(0.227451, 0.490196, 0.0823529)
  563. ManualWeld40.Name = "Weld"
  564. ManualWeld40.Parent = Part39
  565. ManualWeld40.C1 = CFrame.new(1.71353912, 0.25945282, -0.456558228, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  566. ManualWeld40.Part0 = Part39
  567. ManualWeld40.Part1 = Part21
  568. Part41.Name = "sighttop"
  569. Part41.Parent = Model0
  570. Part41.Material = Enum.Material.Wood
  571. Part41.BrickColor = BrickColor.new("Bright green")
  572. Part41.CanCollide = false
  573. Part41.Size = Vector3.new(0.200000048, 0.099999994, 0.150000051)
  574. Part41.CFrame = CFrame.new(-159.864105, 116.65947, -64.1473083, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1)
  575. Part41.BottomSurface = Enum.SurfaceType.Smooth
  576. Part41.TopSurface = Enum.SurfaceType.Smooth
  577. Part41.Color = Color3.new(0.294118, 0.592157, 0.294118)
  578. Part41.Position = Vector3.new(-159.864105, 116.65947, -64.1473083)
  579. Part41.Color = Color3.new(0.294118, 0.592157, 0.294118)
  580. ManualWeld42.Name = "Weld"
  581. ManualWeld42.Parent = Part41
  582. ManualWeld42.C1 = CFrame.new(2.11353683, 0.759460449, -0.00657653809, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  583. ManualWeld42.Part0 = Part41
  584. ManualWeld42.Part1 = Part21
  585. Part43.Name = "fingerbottom"
  586. Part43.Parent = Model0
  587. Part43.Material = Enum.Material.Wood
  588. Part43.BrickColor = BrickColor.new("CGA brown")
  589. Part43.CanCollide = false
  590. Part43.Size = Vector3.new(0.200000048, 0.099999994, 0.400000066)
  591. Part43.CFrame = CFrame.new(-159.864105, 115.15947, -64.0223083, 1, 0, 0, 0, 0.999999762, 0, 0, 0, 1)
  592. Part43.BottomSurface = Enum.SurfaceType.Smooth
  593. Part43.TopSurface = Enum.SurfaceType.Smooth
  594. Part43.Color = Color3.new(0.666667, 0.333333, 0)
  595. Part43.Position = Vector3.new(-159.864105, 115.15947, -64.0223083)
  596. Part43.Color = Color3.new(0.666667, 0.333333, 0)
  597. ManualWeld44.Name = "Weld"
  598. ManualWeld44.Parent = Part43
  599. ManualWeld44.C1 = CFrame.new(1.98853683, -0.740539551, -0.00657653809, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  600. ManualWeld44.Part0 = Part43
  601. ManualWeld44.Part1 = Part21
  602. Part45.Name = "fingertop"
  603. Part45.Parent = Model0
  604. Part45.Material = Enum.Material.Wood
  605. Part45.BrickColor = BrickColor.new("CGA brown")
  606. Part45.Rotation = Vector3.new(-90, 0, 0)
  607. Part45.CanCollide = false
  608. Part45.Size = Vector3.new(0.200000048, 0.099999994, 0.400000066)
  609. Part45.CFrame = CFrame.new(-159.864105, 115.309471, -63.7723045, 1, 0, 0, 0, 1.1924878e-08, 0.999999762, 0, -1, 1.19248806e-08)
  610. Part45.BottomSurface = Enum.SurfaceType.Smooth
  611. Part45.TopSurface = Enum.SurfaceType.Smooth
  612. Part45.Color = Color3.new(0.666667, 0.333333, 0)
  613. Part45.Position = Vector3.new(-159.864105, 115.309471, -63.7723045)
  614. Part45.Orientation = Vector3.new(-89.9599991, 0, 0)
  615. Part45.Color = Color3.new(0.666667, 0.333333, 0)
  616. ManualWeld46.Name = "Weld"
  617. ManualWeld46.Parent = Part45
  618. ManualWeld46.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08)
  619. ManualWeld46.C1 = CFrame.new(1.73853302, -0.590538025, -0.00657653809, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  620. ManualWeld46.Part0 = Part45
  621. ManualWeld46.Part1 = Part21
  622. Part47.Name = "trigger"
  623. Part47.Parent = Model0
  624. Part47.Material = Enum.Material.Wood
  625. Part47.BrickColor = BrickColor.new("CGA brown")
  626. Part47.Rotation = Vector3.new(-90, 0, 0)
  627. Part47.CanCollide = false
  628. Part47.Size = Vector3.new(0.100000046, 0.099999994, 0.25000006)
  629. Part47.CFrame = CFrame.new(-159.864105, 115.384476, -64.0223083, 1, 0, 0, 0, 1.1924878e-08, 0.999999762, 0, -1, 1.19248806e-08)
  630. Part47.BottomSurface = Enum.SurfaceType.Smooth
  631. Part47.TopSurface = Enum.SurfaceType.Smooth
  632. Part47.Color = Color3.new(0.666667, 0.333333, 0)
  633. Part47.Position = Vector3.new(-159.864105, 115.384476, -64.0223083)
  634. Part47.Orientation = Vector3.new(-89.9599991, 0, 0)
  635. Part47.Color = Color3.new(0.666667, 0.333333, 0)
  636. ManualWeld48.Name = "Weld"
  637. ManualWeld48.Parent = Part47
  638. ManualWeld48.C0 = CFrame.new(0, 0, 0, 1, 0, 0, 0, 1.19248806e-08, -1, 0, 1, 1.19248806e-08)
  639. ManualWeld48.C1 = CFrame.new(1.98853683, -0.515533447, -0.00657653809, -4.37113883e-08, 0, -1, 0, 0.99999994, 0, 1, 0, -4.37113883e-08)
  640. ManualWeld48.Part0 = Part47
  641. ManualWeld48.Part1 = Part21
  642. Part49.Name = "MAIN"
  643. Part49.Parent = Model0
  644. Part49.Transparency = 1
  645. Part49.Rotation = Vector3.new(90, 0, -180)
  646. Part49.CanCollide = false
  647. Part49.Size = Vector3.new(1, 1, 1)
  648. Part49.CFrame = CFrame.new(-159.853165, 114.823212, -64.4853668, -1, 0, 0, 0, 0, -0.999999642, 0, -1, 0)
  649. Part49.BottomSurface = Enum.SurfaceType.Smooth
  650. Part49.TopSurface = Enum.SurfaceType.Smooth
  651. Part49.Position = Vector3.new(-159.853165, 114.823212, -64.4853668)
  652. Part49.Orientation = Vector3.new(89.9499969, 0, 0)
  653. for i,v in pairs(mas:GetChildren()) do
  654. v.Parent = char
  655. main = Part49
  656. hole = Part31
  657. colorp = Part35
  658. pcall(function() v:MakeJoints() end)
  659. end
  660. mas:Destroy()
  661. for i,v in pairs(cors) do
  662. spawn(function()
  663. pcall(v)
  664. end)
  665. end
  666.  
  667. local ws = hum.WalkSpeed
  668. local jp = hum.JumpPower
  669. local nws = ws
  670. local njp = jp
  671.  
  672. local rootj0 = rootj.C0
  673. local neck0 = neck.C0
  674. local LS0 = LS.C0
  675. local RS0 = RS.C0
  676. local LH0 = LH.C0
  677. local RH0 = RH.C0
  678. local rootj1 = rootj.C1
  679. local neck1 = neck.C1
  680. local LS1 = LS.C1
  681. local RS1 = RS.C1
  682. local LH1 = LH.C1
  683. local RH1 = RH.C1
  684.  
  685. local thunk = Instance.new("Sound", hole)
  686. thunk.SoundId = "rbxassetid://2082516881"
  687. thunk.Volume = 2
  688. thunk.Name = "THUNK"
  689.  
  690. local klick = Instance.new("Sound", colorp)
  691. klick.SoundId = "rbxassetid://2082543019"
  692. klick.Volume = 2
  693. klick.Name = "KLICK"
  694.  
  695. -----------------------------------------------------------------------------
  696.  
  697. local CFn = CFrame.new
  698. local CFa = CFrame.Angles
  699. local Rad = math.rad
  700. local Cos = math.cos
  701. local Sin = math.sin
  702. local sine = 1
  703. local attacking = false
  704. local Shooting = false
  705. local Changing = false
  706.  
  707. -----------------------------------------------------------------------------
  708.  
  709. local foodtype = "Apple"
  710.  
  711. -----------------------------------------------------------------------------
  712.  
  713. local tw = Instance.new("Weld", main)
  714. tw.Part0 = rarm
  715. tw.Part1 = main
  716. tw.C1 = CFn(0, 0.5, 0)
  717. local tw1 = tw.C1
  718. local tw0 = tw.C0
  719.  
  720. -----------------------------------------------------------------------------
  721.  
  722. ArtificialHB = Instance.new("BindableEvent", script)
  723. ArtificialHB.Name = "Heartbeat"
  724. script:WaitForChild("Heartbeat")
  725.  
  726. frame = 1 / 60
  727. tf = 0
  728. allowframeloss = false
  729. tossremainder = false
  730.  
  731.  
  732. lastframe = tick()
  733. script.Heartbeat:Fire()
  734.  
  735.  
  736. game:GetService("RunService").Heartbeat:connect(function(s, p)
  737. tf = tf + s
  738. if tf >= frame then
  739. if allowframeloss then
  740. script.Heartbeat:Fire()
  741. lastframe = tick()
  742. else
  743. for i = 1, math.floor(tf / frame) do
  744. script.Heartbeat:Fire()
  745. end
  746. lastframe = tick()
  747. end
  748. if tossremainder then
  749. tf = 0
  750. else
  751. tf = tf - frame * math.floor(tf / frame)
  752. end
  753. end
  754. end)
  755.  
  756. function swait(num)
  757. if num == 0 or num == nil then
  758. game:service("RunService").Stepped:wait(0)
  759. else
  760. for i = 0, num do
  761. game:service("RunService").Stepped:wait(0)
  762. end
  763. end
  764. end
  765.  
  766. function clerp(a, b, t)
  767. return a:lerp(b, t)
  768. end
  769.  
  770. function Sound(id, vol, par, name)
  771. if not par:FindFirstChild(name) then
  772. local sound = Instance.new("Sound", par)
  773. sound.SoundId = id
  774. sound.Volume = vol
  775. sound.Name = name
  776. sound:Play()
  777. return sound
  778. else
  779. local sound = par:FindFirstChild(name)
  780. sound:Play()
  781. return sound
  782. end
  783. end
  784.  
  785.  
  786.  
  787. function Shoot()
  788. if attacking == false and Shooting == false then
  789. attacking = true
  790. Shooting = true
  791. root.CFrame = CFn(root.CFrame.p, Vector3.new(Mouse.Hit.x, root.CFrame.y, Mouse.Hit.z))
  792. hum.WalkSpeed = 5
  793. hum.JumpPower = 2
  794. for i = 0,1,.2 do
  795. tw.C0 = clerp(tw.C0, tw0, i)
  796. tw.C1 = clerp(tw.C1, tw1, i)
  797. neck.C1 = clerp(neck.C1, neck1 * CFa(0, 0, Rad(60)), i)
  798. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(-50)), i)
  799. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(30)), i)
  800. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  801. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  802. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), Rad(50), 0), i)
  803. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  804. rootj.C0 = clerp(rootj.C0, rootj0, i)
  805. LS.C0 = clerp(LS.C0, LS0, i)
  806. RS.C0 = clerp(RS.C0, RS0 * CFa(0, 0, Rad(90)), i)
  807. LH.C0 = clerp(LH.C0, LH0, i)
  808. RH.C0 = clerp(RH.C0, RH0, i)
  809. swait()
  810. end
  811. Sound("rbxassetid://2082516881", 2, hole, "THUNK")
  812. local bul = Instance.new("Part", char)
  813. bul.Size = Vector3.new(1, 1, 1)
  814. bul.CFrame = hole.CFrame
  815. local bulm = Instance.new("SpecialMesh", bul)
  816. bulm.MeshType = "FileMesh"
  817. local owtype = "N/A"
  818. if foodtype == "Apple" then
  819. owtype = "Apple"
  820. bul.Name = "APPLE"
  821. bulm.MeshId = "rbxassetid://923453681"
  822. bulm.TextureId = "rbxassetid://923453682"
  823. bulm.Scale = Vector3.new(0.02, 0.02, 0.02)
  824. elseif foodtype == "Grape" then
  825. owtype = "Grape"
  826. bul.Name = "GRAPE"
  827. bulm.MeshId = "rbxassetid://16940906"
  828. bulm.TextureId = "rbxassetid://16940893"
  829. bulm.Scale = Vector3.new(0.7, 0.7, 0.7)
  830. elseif foodtype == "Lemon" then
  831. owtype = "Lemon"
  832. bul.Name = "LEMON"
  833. bulm.MeshId = "rbxassetid://431017393"
  834. bulm.TextureId = "rbxassetid://431017394"
  835. bulm.Scale = Vector3.new(0.003, 0.003, 0.003)
  836. elseif foodtype == "Melon" then
  837. owtype = "Melon"
  838. bul.Name = "MELON"
  839. bulm.MeshId = "rbxassetid://110218693"
  840. bulm.TextureId = "rbxassetid://110218767"
  841. bulm.Scale = Vector3.new(0.6, 0.6, 0.6)
  842. end
  843. local dis = (bul.Position - Mouse.Hit.p).unit * -1
  844. bul.Velocity = dis * 200 + Vector3.new(0, 6, 0)
  845. local bulBF = Instance.new("BodyForce", bul)
  846. bulBF.Force = Vector3.new(0, bul:GetMass() * 140, 0)
  847. game:GetService("Debris"):AddItem(bul, 20)
  848. bul.Touched:connect(function(hit)
  849. if not hit:IsDescendantOf(char) and hit.Parent:FindFirstChildOfClass("Humanoid") and bul.Name ~= "BONKAIYA" then
  850. bul.Name = "BONKAIYA"
  851. local theman = hit.Parent
  852. local thetor = theman:FindFirstChild("Torso") or theman:FindFirstChild("UpperTorso")
  853. local thehead = theman:FindFirstChild("Head")
  854. local thehum = theman:FindFirstChildOfClass("Humanoid")
  855. Sound("rbxassetid://180083298", 2, hit, "SPLAT")
  856. if owtype == "Apple" then
  857. thehum.Health = thehum.Health - 40
  858. bul:Destroy()
  859. elseif owtype == "Grape" then
  860. thehum.Health = thehum.Health - 15
  861. bul:Destroy()
  862. coroutine.resume(coroutine.create(function()
  863. for i = 1,5 do
  864. thehum.Jump = true
  865. thetor.CFrame = thetor.CFrame * CFa(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360)))
  866. wait(0.2)
  867. end
  868. end))
  869. elseif owtype == "Lemon" then
  870. local newhead = Instance.new("Part", theman)
  871. newhead.Size = Vector3.new(1, 1, 1)
  872. newhead.CanCollide = false
  873. local themesh = Instance.new("SpecialMesh", newhead)
  874. themesh.Scale = Vector3.new(0.015, 0.015, 0.015)
  875. themesh.MeshType = "FileMesh"
  876. themesh.MeshId = "rbxassetid://431017393"
  877. themesh.TextureId = "rbxassetid://431017394"
  878. local nhw = Instance.new("Weld", newhead)
  879. nhw.Part0 = thehead
  880. nhw.Part1 = newhead
  881. game:GetService("Debris"):AddItem(newhead, 20)
  882. bul:Destroy()
  883. coroutine.resume(coroutine.create(function()
  884. for i = 1,10 do
  885. thehum.Health = thehum.Health - 2
  886. wait(0.3)
  887. end
  888. end))
  889. elseif owtype == "Melon" then
  890. for i = 1,10 do
  891. local newm = Instance.new("Part", workspace)
  892. newm.Size = Vector3.new(1, 1, 1)
  893. newm.Name = "melonio"
  894. local newmm = Instance.new("SpecialMesh", newm)
  895. newmm.MeshId = "rbxassetid://22770654"
  896. newmm.TextureId = "rbxassetid://22770653"
  897. newmm.Scale = Vector3.new(0.6, 0.6, 0.6)
  898. newm.CFrame = bul.CFrame * CFn(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  899. game:GetService("Debris"):AddItem(newm, 7)
  900. end
  901. bul:Destroy()
  902. coroutine.resume(coroutine.create(function()
  903. for i = 1,10 do
  904. thehum.Health = thehum.Health - 2.5
  905. wait(0.2)
  906. end
  907. end))
  908. end
  909. local ep = Instance.new("Part", hit)
  910. ep.Anchored = true
  911. ep.CanCollide = false
  912. ep.Size = Vector3.new(1, 1, 1)
  913. ep.Transparency = 1
  914. ep.CFrame = bul.CFrame
  915. local fruitsplash = Instance.new("ParticleEmitter", hit)
  916. fruitsplash.LightEmission = 0.7
  917. fruitsplash.Lifetime = NumberRange.new(0.4)
  918. fruitsplash.Speed = NumberRange.new(9)
  919. fruitsplash.SpreadAngle = Vector2.new(-360, 360)
  920. fruitsplash.Rate = 200
  921. fruitsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2.56), NumberSequenceKeypoint.new(1, 0)})
  922. fruitsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  923. if owtype == "Apple" then
  924. fruitsplash.Texture = "rbxassetid://771221224"
  925. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
  926. elseif owtype == "Grape" then
  927. fruitsplash.Texture = "rbxassetid://2082378208"
  928. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(170, 0, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(170, 0, 255))})
  929. elseif owtype == "Lemon" then
  930. fruitsplash.Texture = "rbxassetid://2082448160"
  931. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))})
  932. elseif owtype == "Melon" then
  933. fruitsplash.Texture = "rbxassetid://2082448160"
  934. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 170, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 170, 0))})
  935. end
  936. wait(0.5)
  937. fruitsplash.Enabled = false
  938. ep:Destroy()
  939. elseif not hit:IsDescendantOf(char) and hit.Parent.Parent:FindFirstChildOfClass("Humanoid") and bul.Name ~= "BONKAIYA" then
  940. bul.Name = "BONKAIYA"
  941. local theman = hit.Parent.Parent
  942. local thetor = theman:FindFirstChild("Torso") or theman:FindFirstChild("UpperTorso")
  943. local thehead = theman:FindFirstChild("Head")
  944. local thehum = theman:FindFirstChildOfClass("Humanoid")
  945. Sound("rbxassetid://180083298", 2, hit, "SPLAT")
  946. if owtype == "Apple" then
  947. thehum.Health = thehum.Health - 40
  948. bul:Destroy()
  949. elseif owtype == "Grape" then
  950. thehum.Health = thehum.Health - 15
  951. bul:Destroy()
  952. coroutine.resume(coroutine.create(function()
  953. for i = 1,5 do
  954. thehum.Jump = true
  955. thetor.CFrame = thetor.CFrame * CFa(Rad(math.random(-360, 360)), Rad(math.random(-360, 360)), Rad(math.random(-360, 360)))
  956. wait(0.2)
  957. end
  958. end))
  959. elseif owtype == "Lemon" then
  960. local newhead = Instance.new("Part", theman)
  961. newhead.Size = Vector3.new(1, 1, 1)
  962. newhead.CanCollide = false
  963. local themesh = Instance.new("SpecialMesh", newhead)
  964. themesh.Scale = Vector3.new(0.015, 0.015, 0.015)
  965. themesh.MeshType = "FileMesh"
  966. themesh.MeshId = "rbxassetid://431017393"
  967. themesh.TextureId = "rbxassetid://431017394"
  968. local nhw = Instance.new("Weld", newhead)
  969. nhw.Part0 = thehead
  970. nhw.Part1 = newhead
  971. game:GetService("Debris"):AddItem(newhead, 20)
  972. bul:Destroy()
  973. coroutine.resume(coroutine.create(function()
  974. for i = 1,10 do
  975. thehum.Health = thehum.Health - 2
  976. wait(0.3)
  977. end
  978. end))
  979. elseif owtype == "Melon" then
  980. for i = 1,10 do
  981. local newm = Instance.new("Part", workspace)
  982. newm.Size = Vector3.new(1, 1, 1)
  983. newm.Name = "melonio"
  984. local newmm = Instance.new("SpecialMesh", newm)
  985. newmm.MeshId = "rbxassetid://22770654"
  986. newmm.TextureId = "rbxassetid://22770653"
  987. newmm.Scale = Vector3.new(0.6, 0.6, 0.6)
  988. newm.CFrame = bul.CFrame * CFn(math.random(-1, 1), math.random(-1, 1), math.random(-1, 1))
  989. game:GetService("Debris"):AddItem(newm, 7)
  990. end
  991. bul:Destroy()
  992. coroutine.resume(coroutine.create(function()
  993. for i = 1,10 do
  994. thehum.Health = thehum.Health - 2.5
  995. wait(0.2)
  996. end
  997. end))
  998. end
  999. local ep = Instance.new("Part", hit)
  1000. ep.Anchored = true
  1001. ep.CanCollide = false
  1002. ep.Size = Vector3.new(1, 1, 1)
  1003. ep.Transparency = 1
  1004. ep.CFrame = bul.CFrame
  1005. local fruitsplash = Instance.new("ParticleEmitter", hit)
  1006. fruitsplash.LightEmission = 0.7
  1007. fruitsplash.Lifetime = NumberRange.new(0.4)
  1008. fruitsplash.Speed = NumberRange.new(9)
  1009. fruitsplash.SpreadAngle = Vector2.new(-360, 360)
  1010. fruitsplash.Rate = 200
  1011. fruitsplash.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 2.56), NumberSequenceKeypoint.new(1, 0)})
  1012. fruitsplash.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  1013. if owtype == "Apple" then
  1014. fruitsplash.Texture = "rbxassetid://771221224"
  1015. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 0, 0))})
  1016. elseif owtype == "Grape" then
  1017. fruitsplash.Texture = "rbxassetid://2082378208"
  1018. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(170, 0, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(170, 0, 255))})
  1019. elseif owtype == "Lemon" then
  1020. fruitsplash.Texture = "rbxassetid://2082448160"
  1021. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 255, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 0))})
  1022. elseif owtype == "Melon" then
  1023. fruitsplash.Texture = "rbxassetid://2082448160"
  1024. fruitsplash.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 170, 0)), ColorSequenceKeypoint.new(1, Color3.fromRGB(0, 170, 0))})
  1025. end
  1026. wait(0.5)
  1027. fruitsplash.Enabled = false
  1028. ep:Destroy()
  1029. end
  1030. end)
  1031. for i = 0,1,.2 do
  1032. tw.C0 = clerp(tw.C0, tw0, i)
  1033. tw.C1 = clerp(tw.C1, tw1, i)
  1034. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(10), 0, Rad(60)), i)
  1035. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(0, 0, Rad(-50)), i)
  1036. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(30)), i)
  1037. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(50), 0, 0), i)
  1038. LH.C1 = clerp(LH.C1, LH1 * CFa(Rad(5), 0, 0), i)
  1039. RH.C1 = clerp(RH.C1, RH1 * CFa(Rad(5), Rad(50), 0), i)
  1040. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), i)
  1041. rootj.C0 = clerp(rootj.C0, rootj0, i)
  1042. LS.C0 = clerp(LS.C0, LS0, i)
  1043. RS.C0 = clerp(RS.C0, RS0 * CFa(Rad(-90), 0, Rad(90)), i)
  1044. LH.C0 = clerp(LH.C0, LH0, i)
  1045. RH.C0 = clerp(RH.C0, RH0, i)
  1046. swait()
  1047. end
  1048. hum.WalkSpeed = nws
  1049. hum.JumpPower = njp
  1050. Shooting = false
  1051. attacking = false
  1052. end
  1053. end
  1054.  
  1055. function ChangeFruit()
  1056. if attacking == false and Changing == false then
  1057. attacking = true
  1058. Changing = true
  1059. Sound("rbxassetid://2082543019", 2, colorp, "KLICK")
  1060. if foodtype == "Apple" then
  1061. foodtype = "Grape"
  1062. colorp.BrickColor = BrickColor.new("Eggplant")
  1063. elseif foodtype == "Grape" then
  1064. foodtype = "Lemon"
  1065. colorp.BrickColor = BrickColor.new("New Yeller")
  1066. elseif foodtype == "Lemon" then
  1067. foodtype = "Melon"
  1068. colorp.BrickColor = BrickColor.new("Bright green")
  1069. elseif foodtype == "Melon" then
  1070. foodtype = "Apple"
  1071. colorp.BrickColor = BrickColor.new("Bright red")
  1072. end
  1073. Changing = false
  1074. attacking = false
  1075. end
  1076. end
  1077.  
  1078. -----------------------------------------------------------------------------
  1079.  
  1080. function kdown(k)
  1081. if k == "e" then
  1082. ChangeFruit()
  1083. end
  1084. end
  1085.  
  1086. function lmdown()
  1087. Shoot()
  1088. end
  1089.  
  1090. Mouse.KeyDown:connect(kdown)
  1091. Mouse.Button1Down:connect(lmdown)
  1092.  
  1093. -----------------------------------------------------------------------------
  1094.  
  1095. warn([[Fruit Launcher.
  1096. last updated: 2018/7/25, 14:16 JST.
  1097.  
  1098. ]])
  1099.  
  1100. -----------------------------------------------------------------------------
  1101.  
  1102. while true do
  1103. swait()
  1104. sine = sine + 1
  1105. local torvel = (root.Velocity * Vector3.new(1, 0, 1)).magnitude
  1106. if Shooting == true then
  1107. state = "Shoot"
  1108. elseif Changing == true then
  1109. state = "Change"
  1110. elseif 1 < root.Velocity.y then
  1111. state = "Jump"
  1112. elseif -1 > root.Velocity.y then
  1113. state = "Fall"
  1114. elseif torvel < 1 then
  1115. state = "Idle"
  1116. elseif tor.Velocity.magnitude < 50 then
  1117. state = "Walk"
  1118. end
  1119.  
  1120. if state == "Jump" then
  1121. tw.C0 = clerp(tw.C0, tw0, 0.15)
  1122. tw.C1 = clerp(tw.C1, tw1, 0.15)
  1123. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-20), 0, 0), 0.15)
  1124. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(-10), 0, 0), 0.15)
  1125. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(40), 0, 0), 0.15)
  1126. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(40), 0, 0), 0.15)
  1127. LH.C1 = clerp(LH.C1, LH1 * CFn(0.7, -1.3, -0.2) * CFa(Rad(-10), 0, Rad(-60)), 0.15)
  1128. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.5, -1.1, 0) * CFa(Rad(-5), 0, Rad(35)), 0.15)
  1129. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1130. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1131. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1132. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1133. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1134. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1135. elseif state == "Fall" then
  1136. tw.C0 = clerp(tw.C0, tw0, 0.15)
  1137. tw.C1 = clerp(tw.C1, tw1, 0.15)
  1138. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, 0), 0.15)
  1139. rootj.C1 = clerp(rootj.C1, rootj1 * CFa(Rad(10), 0, 0), 0.15)
  1140. LS.C1 = clerp(LS.C1, LS1 * CFa(Rad(20), 0, 0), 0.15)
  1141. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(20), 0, 0), 0.15)
  1142. LH.C1 = clerp(LH.C1, LH1 * CFn(0.4, -0.7, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1143. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.4, -0.7, -0.1) * CFa(Rad(-2), 0, 0), 0.15)
  1144. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1145. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1146. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1147. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1148. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1149. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1150. elseif state == "Idle" then
  1151. tw.C0 = clerp(tw.C0, tw0, 0.15)
  1152. tw.C1 = clerp(tw.C1, tw1, 0.15)
  1153. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(7 * Sin(sine / 15)), 0, 0), 0.15)
  1154. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-2 * Sin(sine / 15)), 0, 0), 0.15)
  1155. LS.C1 = clerp(LS.C1, LS1 * CFn(0, 0.1 * Cos(sine / 15), 0) * CFa(0, 0, Rad(30)), 0.15)
  1156. RS.C1 = clerp(RS.C1, RS1 * CFn(0, 0, 0.1 * Cos(sine / 15)) * CFa(Rad(-70), Rad(-50), Rad(-90)), 0.15)
  1157. LH.C1 = clerp(LH.C1, LH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(2 * Sin(sine / 15))), 0.15)
  1158. RH.C1 = clerp(RH.C1, RH1 * CFn(0, -0.1 * Cos(sine / 15), 0) * CFa(Rad(5), 0, Rad(-2 * Sin(sine / 15))), 0.15)
  1159. neck.C0 = clerp(neck.C0, neck0 * CFa(Rad(5), 0, 0), 0.15)
  1160. rootj.C0 = clerp(rootj.C0, rootj0 * CFa(Rad(2), 0, 0), 0.15)
  1161. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1162. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1163. LH.C0 = clerp(LH.C0, LH0, 0.15)
  1164. RH.C0 = clerp(RH.C0, RH0, 0.15)
  1165. elseif state == "Walk" then
  1166. tw.C0 = clerp(tw.C0, tw0, 0.15)
  1167. tw.C1 = clerp(tw.C1, tw1, 0.15)
  1168. neck.C1 = clerp(neck.C1, neck1 * CFa(Rad(-5), 0, Rad(10 * Sin(sine / 8))), 0.15)
  1169. rootj.C1 = clerp(rootj.C1, rootj1 * CFn(0, 0, 0.1 * Cos(sine / 4)) * CFa(Rad(-5), 0, Rad(5 * Sin(sine / 8))), 0.15)
  1170. LS.C1 = clerp(LS.C1, LS1 * CFa(0, 0, Rad(-20 * Sin(sine / 8))), 0.15)
  1171. RS.C1 = clerp(RS.C1, RS1 * CFa(Rad(70), 0, 0), 0.15)
  1172. LH.C1 = clerp(LH.C1, LH1 * CFn(-0.15 * Cos(sine / 8), -0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  1173. RH.C1 = clerp(RH.C1, RH1 * CFn(-0.15 * Cos(sine / 8), 0.3 * Cos(sine / 8), 0) * CFa(0, 0, Rad(55 * Sin(sine / 8))), 0.15)
  1174. neck.C0 = clerp(neck.C0, neck0, 0.15)
  1175. rootj.C0 = clerp(rootj.C0, rootj0, 0.15)
  1176. LS.C0 = clerp(LS.C0, LS0, 0.15)
  1177. RS.C0 = clerp(RS.C0, RS0, 0.15)
  1178. LH.C0 = clerp(LH.C0, LH0 * CFa(0, 0, Rad(20)), 0.15)
  1179. RH.C0 = clerp(RH.C0, RH0 * CFa(0, 0, Rad(-20)), 0.15)
  1180. end
  1181. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement