Advertisement
lundofett

Untitled

Nov 28th, 2019
186
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Grab Gun v1
  2. local plr = game:GetService("Players").LocalPlayer
  3. local plrg = plr.PlayerGui
  4. local char = plr.Character
  5. script.Parent = char
  6. local ra = char["Right Arm"]
  7. local la = char["Left Arm"]
  8. local rl = char["Right Leg"]
  9. local ll = char["Left Leg"]
  10. local h = char.Head
  11. local t = char.Torso
  12. local anim = "idle"
  13. local mode = "shoot"
  14. local killmode = "kill"
  15. local mouse = plr:GetMouse()
  16. local rad = math.rad
  17. local black = nil
  18.  
  19. function info(text,timebeforefade)
  20. coroutine.resume(coroutine.create(function()
  21. local pos = {.001,.002,.003,.004,.005}
  22. local mpos = {-.001,-.002,-.003,-.004,-.005}
  23. local sc = Instance.new("ScreenGui",plrg)
  24. local tex = Instance.new("TextLabel",sc) tex.Rotation = math.random(-5,5) tex.Position = UDim2.new(.5,0,.05,0) tex.Size = UDim2.new(0,0,.15,0) tex.TextScaled = true tex.BackgroundTransparency = 1 tex.TextTransparency = 1 tex.BackgroundColor3 = Color3.fromRGB(40,40,40) tex.BorderSizePixel = 0 tex.TextColor3 = Color3.fromRGB(255,255,255) tex.Text = text
  25. for i = 1,20 do
  26. tex.Size = tex.Size + UDim2.new(.025,0,0,0)
  27. tex.Rotation = math.random(-5,5)
  28. tex.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  29. tex.Position = tex.Position - UDim2.new(.0125,0,0,0)
  30. tex.Position = tex.Position +- UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  31. tex.BackgroundColor3 = Color3.fromRGB(math.random(0,60),math.random(0,60),math.random(0,60))
  32. tex.BackgroundTransparency = tex.BackgroundTransparency -.05
  33. swait()
  34. end
  35. for i = 1,10 do
  36. tex.Rotation = math.random(-5,5)
  37. tex.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  38. tex.Position = tex.Position +- UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  39. tex.BackgroundColor3 = Color3.fromRGB(math.random(0,60),math.random(0,60),math.random(0,60))
  40. tex.TextTransparency = tex.TextTransparency -.1
  41. swait()
  42. end
  43. tex.BackgroundColor3 = Color3.fromRGB(40,40,40)
  44. tex.TextColor3 = Color3.fromRGB(255,255,255)
  45. wait(timebeforefade)
  46. for i = 1,10 do
  47. tex.Rotation = math.random(-5,5)
  48. tex.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  49. tex.Position = tex.Position +- UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  50. tex.BackgroundColor3 = Color3.fromRGB(math.random(0,60),math.random(0,60),math.random(0,60))
  51. tex.TextTransparency = tex.TextTransparency +.1
  52. swait()
  53. end
  54. for i = 1,20 do
  55. tex.Size = tex.Size - UDim2.new(.025,0,0,0)
  56. tex.Rotation = math.random(-5,5)
  57. tex.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  58. tex.Position = tex.Position +- UDim2.new(0,math.random(-10,10),0,math.random(-10,10))
  59. tex.BackgroundColor3 = Color3.fromRGB(math.random(0,30),math.random(0,60),math.random(0,60))
  60. tex.Position = tex.Position + UDim2.new(.0125,0,0,0)
  61. tex.BackgroundTransparency = tex.BackgroundTransparency +.05
  62. swait()
  63. end
  64. tex:Destroy()
  65. end))
  66. end
  67.  
  68. print("Made by vlad20020")
  69.  
  70. coroutine.resume(coroutine.create(function()
  71. wait(1)
  72. info("Press Z to equip the gun.",1)
  73. wait(2)
  74. info("Press X to unequip the gun.",1)
  75. wait(2)
  76. info("Press M for control list",1)
  77. end))
  78.  
  79. function swait(TIME)
  80. game:GetService("RunService").RenderStepped:wait(TIME)
  81. end
  82.  
  83. local rs = t["Right Shoulder"]
  84. local ls = t["Left Shoulder"]
  85. local rh = t["Right Hip"]
  86. local lh = t["Left Hip"]
  87. local nec = t.Neck
  88. local rut = char.HumanoidRootPart
  89. local rutj = rut.RootJoint
  90. local hum = char:FindFirstChildOfClass("Humanoid")
  91. local using = true
  92. local canequip = true
  93. local uneq = false
  94. local grab = false
  95. huge = math.huge
  96. local ammo = 7
  97. char.Animate.idle.Animation2:Destroy()
  98.  
  99. --arm joint parts_
  100. local tpr = Instance.new("Part",t) tpr.Size = Vector3.new(.1,.1,.1) tpr.CanCollide = false tpr.Transparency = 1
  101. local tpl = Instance.new("Part",t) tpl.Size = Vector3.new(.1,.1,.1) tpl.CanCollide = false tpl.Transparency = 1
  102. local tprw = Instance.new("Weld",t) tprw.Part0 = t tprw.Part1 = tpr tprw.C0 = CFrame.new(1,.5,0)
  103. local tplw = Instance.new("Weld",t) tplw.Part0 = t tplw.Part1 = tpl tplw.C0 = CFrame.new(-1,.5,0)
  104. --
  105. local rapr = Instance.new("Part",ra) rapr.Size = Vector3.new(.1,.1,.1) rapr.CanCollide = false rapr.Transparency = 1 --Right Arm
  106. local lapl = Instance.new("Part",la) lapl.Size = Vector3.new(.1,.1,.1) lapl.CanCollide = false lapl.Transparency = 1 --Left Arm
  107. local raprw = Instance.new("Weld",ra) raprw.Part0 = ra raprw.Part1 = rapr raprw.C0 = CFrame.new(-.5,.5,0)
  108. local laplw = Instance.new("Weld",la) laplw.Part0 = la laplw.Part1 = lapl laplw.C0 = CFrame.new(.5,.5,0)
  109. --joint welds
  110. local rsw = Instance.new("Weld",ra) rsw.Part0 = tpr rsw.Part1 = nil --Right Shoulder
  111. local lsw = Instance.new("Weld",la) lsw.Part0 = tpl lsw.Part1 = nil --Left Shoulder
  112. --gun model--
  113. local function creategun()
  114. --Converted with ttyyuu12345's model to script plugin v4
  115. function sandbox(var,func)
  116. local env = getfenv(func)
  117. local newenv = setmetatable({},{
  118. __index = function(self,k)
  119. if k=="script" then
  120. return var
  121. else
  122. return env[k]
  123. end
  124. end,
  125. })
  126. setfenv(func,newenv)
  127. return func
  128. end
  129. cors = {}
  130. mas = Instance.new("Model",game:GetService("Lighting"))
  131. Model0 = Instance.new("Model")
  132. Part1 = Instance.new("Part")
  133. Part2 = Instance.new("Part")
  134. Part3 = Instance.new("Part")
  135. WeldConstraint4 = Instance.new("WeldConstraint")
  136. Part5 = Instance.new("Part")
  137. WeldConstraint6 = Instance.new("WeldConstraint")
  138. WeldConstraint7 = Instance.new("WeldConstraint")
  139. Part8 = Instance.new("Part")
  140. WeldConstraint9 = Instance.new("WeldConstraint")
  141. WeldConstraint10 = Instance.new("WeldConstraint")
  142. WeldConstraint11 = Instance.new("WeldConstraint")
  143. Part12 = Instance.new("Part")
  144. Part13 = Instance.new("Part")
  145. WeldConstraint14 = Instance.new("WeldConstraint")
  146. Part15 = Instance.new("Part")
  147. Part16 = Instance.new("Part")
  148. WeldConstraint17 = Instance.new("WeldConstraint")
  149. WeldConstraint18 = Instance.new("WeldConstraint")
  150. Part19 = Instance.new("Part")
  151. Part20 = Instance.new("Part")
  152. WeldConstraint21 = Instance.new("WeldConstraint")
  153. Part22 = Instance.new("Part")
  154. WeldConstraint23 = Instance.new("WeldConstraint")
  155. Model0.Name = "gun"
  156. Model0.Parent = mas
  157. Part1.Name = "Handle"
  158. Part1.Parent = Model0
  159. Part1.CFrame = CFrame.new(100.938477, 23.8801613, -108.945274, 0.803930104, -0.00498482632, -0.594721258, 0.000852990604, 0.999974132, -0.00722878333, 0.594741881, 0.00530394772, 0.803912997)
  160. Part1.Orientation = Vector3.new(0.409999996, -36.4899979, 0.049999997)
  161. Part1.Position = Vector3.new(100.938477, 23.8801613, -108.945274)
  162. Part1.Rotation = Vector3.new(0.519999981, -36.4899979, 0.359999985)
  163. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  164. Part1.Transparency = 1
  165. Part1.Size = Vector3.new(0.271587253, 1.35793722, 0.271587431)
  166. Part1.BottomSurface = Enum.SurfaceType.Smooth
  167. Part1.BrickColor = BrickColor.new("Black")
  168. Part1.CanCollide = false
  169. Part1.Material = Enum.Material.Metal
  170. Part1.TopSurface = Enum.SurfaceType.Smooth
  171. Part1.brickColor = BrickColor.new("Black")
  172. Part2.Parent = Model0
  173. Part2.CFrame = CFrame.new(100.662735, 23.9763107, -109.178238, 0.803839028, -0.00493576005, -0.594844699, 0.000852896366, 0.999974787, -0.00714508584, 0.594864845, 0.00523596723, 0.803822458)
  174. Part2.Orientation = Vector3.new(0.409999996, -36.5, 0.049999997)
  175. Part2.Position = Vector3.new(100.662735, 23.9763107, -109.178238)
  176. Part2.Rotation = Vector3.new(0.50999999, -36.5, 0.349999994)
  177. Part2.Color = Color3.new(0.105882, 0.164706, 0.207843)
  178. Part2.Size = Vector3.new(0.339484632, 0.108634979, 0.0950556025)
  179. Part2.BottomSurface = Enum.SurfaceType.Smooth
  180. Part2.BrickColor = BrickColor.new("Black")
  181. Part2.CanCollide = false
  182. Part2.Material = Enum.Material.Metal
  183. Part2.TopSurface = Enum.SurfaceType.Smooth
  184. Part2.brickColor = BrickColor.new("Black")
  185. Part3.Parent = Model0
  186. Part3.CFrame = CFrame.new(100.477272, 24.1208344, -109.300568, 0.00492594484, 0.803836763, -0.594847798, -0.999974728, 0.000837364234, -0.00714954128, -0.00524876919, 0.594867945, 0.803820133)
  187. Part3.Orientation = Vector3.new(0.409999996, -36.5, -89.9499969)
  188. Part3.Position = Vector3.new(100.477272, 24.1208344, -109.300568)
  189. Part3.Rotation = Vector3.new(0.50999999, -36.5, -89.6500015)
  190. Part3.Color = Color3.new(0.105882, 0.164706, 0.207843)
  191. Part3.Size = Vector3.new(0.393802106, 0.108634979, 0.0950556025)
  192. Part3.BottomSurface = Enum.SurfaceType.Smooth
  193. Part3.BrickColor = BrickColor.new("Black")
  194. Part3.CanCollide = false
  195. Part3.Material = Enum.Material.Metal
  196. Part3.TopSurface = Enum.SurfaceType.Smooth
  197. Part3.brickColor = BrickColor.new("Black")
  198. WeldConstraint4.Parent = Part3
  199. WeldConstraint4.Part0 = Part3
  200. WeldConstraint4.Part1 = Part2
  201. Part5.Parent = Model0
  202. Part5.CFrame = CFrame.new(100.603096, 24.3147335, -109.201149, 0.804022074, -0.00503333705, -0.594596386, 0.00085399684, 0.999973536, -0.0073103467, 0.594617426, 0.00536970189, 0.80400461)
  203. Part5.Orientation = Vector3.new(0.419999987, -36.4799995, 0.049999997)
  204. Part5.Position = Vector3.new(100.603096, 24.3147335, -109.201149)
  205. Part5.Rotation = Vector3.new(0.519999981, -36.4799995, 0.359999985)
  206. Part5.Color = Color3.new(0.105882, 0.164706, 0.207843)
  207. Part5.Size = Vector3.new(1.69742119, 0.203690529, 0.271587461)
  208. Part5.BottomSurface = Enum.SurfaceType.Smooth
  209. Part5.BrickColor = BrickColor.new("Black")
  210. Part5.CanCollide = false
  211. Part5.Material = Enum.Material.Metal
  212. Part5.TopSurface = Enum.SurfaceType.Smooth
  213. Part5.brickColor = BrickColor.new("Black")
  214. WeldConstraint6.Parent = Part5
  215. WeldConstraint6.Part0 = Part5
  216. WeldConstraint6.Part1 = Part16
  217. WeldConstraint7.Parent = Part5
  218. WeldConstraint7.Part0 = Part5
  219. WeldConstraint7.Part1 = Part19
  220. Part8.Parent = Model0
  221. Part8.CFrame = CFrame.new(100.928474, 23.7767162, -108.965073, 0.790873766, -0.144370049, -0.594724894, 0.174304828, 0.984665811, -0.00723577663, 0.586649835, -0.0979410186, 0.803910255)
  222. Part8.Orientation = Vector3.new(0.409999996, -36.4899979, 10.04)
  223. Part8.Position = Vector3.new(100.928474, 23.7767162, -108.965073)
  224. Part8.Rotation = Vector3.new(0.519999981, -36.4899979, 10.3499994)
  225. Part8.Color = Color3.new(0.623529, 0.631373, 0.67451)
  226. Part8.Size = Vector3.new(0.407381058, 0.678968549, 0.271587461)
  227. Part8.BottomSurface = Enum.SurfaceType.Smooth
  228. Part8.BrickColor = BrickColor.new("Fossil")
  229. Part8.CanCollide = false
  230. Part8.Material = Enum.Material.Slate
  231. Part8.TopSurface = Enum.SurfaceType.Smooth
  232. Part8.brickColor = BrickColor.new("Fossil")
  233. WeldConstraint9.Parent = Part8
  234. WeldConstraint9.Part0 = Part8
  235. WeldConstraint9.Part1 = Part22
  236. WeldConstraint10.Parent = Part8
  237. WeldConstraint10.Part0 = Part8
  238. WeldConstraint10.Part1 = Part2
  239. WeldConstraint11.Parent = Part8
  240. WeldConstraint11.Part0 = Part8
  241. WeldConstraint11.Part1 = Part1
  242. Part12.Parent = Model0
  243. Part12.CFrame = CFrame.new(99.8241043, 24.4670258, -109.770966, 0.803930223, -0.00498490315, -0.594721019, 0.00085299596, 0.999974012, -0.00722887041, 0.594741583, 0.00530401571, 0.803913176)
  244. Part12.Orientation = Vector3.new(0.409999996, -36.4899979, 0.049999997)
  245. Part12.Position = Vector3.new(99.8241043, 24.4670258, -109.770966)
  246. Part12.Rotation = Vector3.new(0.519999981, -36.4899979, 0.359999985)
  247. Part12.Color = Color3.new(0.105882, 0.164706, 0.207843)
  248. Part12.Size = Vector3.new(0.0678968653, 0.20369038, 0.176531628)
  249. Part12.BottomSurface = Enum.SurfaceType.Smooth
  250. Part12.BrickColor = BrickColor.new("Black")
  251. Part12.CanCollide = false
  252. Part12.Material = Enum.Material.SmoothPlastic
  253. Part12.TopSurface = Enum.SurfaceType.Smooth
  254. Part12.brickColor = BrickColor.new("Black")
  255. Part12.Shape = Enum.PartType.Cylinder
  256. Part13.Parent = Model0
  257. Part13.CFrame = CFrame.new(101.002449, 23.3428402, -108.930023, 0.790792346, -0.144294962, -0.594851375, 0.174290657, 0.984668911, -0.0071533937, 0.586763799, -0.0980203673, 0.803817451)
  258. Part13.Orientation = Vector3.new(0.409999996, -36.5, 10.04)
  259. Part13.Position = Vector3.new(101.002449, 23.3428402, -108.930023)
  260. Part13.Rotation = Vector3.new(0.50999999, -36.5, 10.3400002)
  261. Part13.Color = Color3.new(0.105882, 0.164706, 0.207843)
  262. Part13.Size = Vector3.new(0.407381058, 0.203690544, 0.271587461)
  263. Part13.BottomSurface = Enum.SurfaceType.Smooth
  264. Part13.BrickColor = BrickColor.new("Black")
  265. Part13.CanCollide = false
  266. Part13.Material = Enum.Material.Metal
  267. Part13.TopSurface = Enum.SurfaceType.Smooth
  268. Part13.brickColor = BrickColor.new("Black")
  269. WeldConstraint14.Parent = Part13
  270. WeldConstraint14.Part0 = Part13
  271. WeldConstraint14.Part1 = Part8
  272. Part15.Parent = Model0
  273. Part15.CFrame = CFrame.new(99.8172379, 24.46702, -109.773712, 0.803930223, -0.00498490315, -0.594721019, 0.00085299596, 0.999974012, -0.00722887041, 0.594741583, 0.00530401571, 0.803913176)
  274. Part15.Orientation = Vector3.new(0.409999996, -36.4899979, 0.049999997)
  275. Part15.Position = Vector3.new(99.8172379, 24.46702, -109.773712)
  276. Part15.Rotation = Vector3.new(0.519999981, -36.4899979, 0.359999985)
  277. Part15.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  278. Part15.Size = Vector3.new(0.0678968653, 0.20369038, 0.135793507)
  279. Part15.BottomSurface = Enum.SurfaceType.Smooth
  280. Part15.BrickColor = BrickColor.new("Really black")
  281. Part15.CanCollide = false
  282. Part15.Material = Enum.Material.SmoothPlastic
  283. Part15.TopSurface = Enum.SurfaceType.Smooth
  284. Part15.brickColor = BrickColor.new("Really black")
  285. Part15.Shape = Enum.PartType.Cylinder
  286. Part16.Parent = Model0
  287. Part16.CFrame = CFrame.new(100.518448, 24.4841995, -109.259399, 0.80401504, -0.00503334729, -0.59459132, 0.000853998587, 0.999973059, -0.00731024938, 0.594612062, 0.00536973123, 0.803997576)
  288. Part16.Orientation = Vector3.new(0.419999987, -36.4799995, 0.049999997)
  289. Part16.Position = Vector3.new(100.518448, 24.4841995, -109.259399)
  290. Part16.Rotation = Vector3.new(0.519999981, -36.4799995, 0.359999985)
  291. Part16.Color = Color3.new(0.105882, 0.164706, 0.207843)
  292. Part16.Size = Vector3.new(1.76531804, 0.271587402, 0.271587461)
  293. Part16.BottomSurface = Enum.SurfaceType.Smooth
  294. Part16.BrickColor = BrickColor.new("Black")
  295. Part16.CanCollide = false
  296. Part16.Material = Enum.Material.Metal
  297. Part16.TopSurface = Enum.SurfaceType.Smooth
  298. Part16.brickColor = BrickColor.new("Black")
  299. WeldConstraint17.Parent = Part16
  300. WeldConstraint17.Part0 = Part16
  301. WeldConstraint17.Part1 = Part12
  302. WeldConstraint18.Parent = Part16
  303. WeldConstraint18.Part0 = Part16
  304. WeldConstraint18.Part1 = Part15
  305. Part19.Parent = Model0
  306. Part19.CFrame = CFrame.new(99.8672562, 24.3137894, -109.7491, 0.803929985, -0.00498482212, -0.594721317, 0.000852967962, 0.999974132, -0.0072287661, 0.59474194, 0.00530394865, 0.803912997)
  307. Part19.Orientation = Vector3.new(0.409999996, -36.4899979, 0.049999997)
  308. Part19.Position = Vector3.new(99.8672562, 24.3137894, -109.7491)
  309. Part19.Rotation = Vector3.new(0.519999981, -36.4899979, 0.359999985)
  310. Part19.Color = Color3.new(0.105882, 0.164706, 0.207843)
  311. Part19.Size = Vector3.new(0.135793433, 0.0678968653, 0.271587461)
  312. Part19.BottomSurface = Enum.SurfaceType.Smooth
  313. Part19.BrickColor = BrickColor.new("Black")
  314. Part19.CanCollide = false
  315. Part19.Material = Enum.Material.Metal
  316. Part19.TopSurface = Enum.SurfaceType.Smooth
  317. Part19.brickColor = BrickColor.new("Black")
  318. Part20.Parent = Model0
  319. Part20.CFrame = CFrame.new(100.96167, 23.2699795, -108.967567, 0.803838253, -0.00491723372, -0.594845951, 0.00083023723, 0.999974787, -0.00714454427, 0.594866037, 0.00524902251, 0.803821564)
  320. Part20.Orientation = Vector3.new(0.409999996, -36.5, 0.049999997)
  321. Part20.Position = Vector3.new(100.96167, 23.2699795, -108.967567)
  322. Part20.Rotation = Vector3.new(0.50999999, -36.5, 0.349999994)
  323. Part20.Color = Color3.new(0.105882, 0.164706, 0.207843)
  324. Part20.Size = Vector3.new(0.543174803, 0.135793686, 0.271587461)
  325. Part20.BottomSurface = Enum.SurfaceType.Smooth
  326. Part20.BrickColor = BrickColor.new("Black")
  327. Part20.CanCollide = false
  328. Part20.Material = Enum.Material.Metal
  329. Part20.TopSurface = Enum.SurfaceType.Smooth
  330. Part20.brickColor = BrickColor.new("Black")
  331. WeldConstraint21.Parent = Part20
  332. WeldConstraint21.Part0 = Part20
  333. WeldConstraint21.Part1 = Part13
  334. Part22.Parent = Model0
  335. Part22.CFrame = CFrame.new(100.859795, 24.2106876, -109.005821, 0.790954888, -0.144435093, -0.594601154, 0.174307793, 0.984664679, -0.0073169847, 0.586539567, -0.0978563949, 0.804001033)
  336. Part22.Orientation = Vector3.new(0.419999987, -36.4799995, 10.04)
  337. Part22.Position = Vector3.new(100.859795, 24.2106876, -109.005821)
  338. Part22.Rotation = Vector3.new(0.519999981, -36.4799995, 10.3499994)
  339. Part22.Color = Color3.new(0.105882, 0.164706, 0.207843)
  340. Part22.Size = Vector3.new(0.407381058, 0.203690529, 0.271587461)
  341. Part22.BottomSurface = Enum.SurfaceType.Smooth
  342. Part22.BrickColor = BrickColor.new("Black")
  343. Part22.CanCollide = false
  344. Part22.Material = Enum.Material.Metal
  345. Part22.TopSurface = Enum.SurfaceType.Smooth
  346. Part22.brickColor = BrickColor.new("Black")
  347. WeldConstraint23.Parent = Part22
  348. WeldConstraint23.Part0 = Part22
  349. WeldConstraint23.Part1 = Part5
  350. for i,v in pairs(mas:GetChildren()) do
  351. v.Parent = workspace
  352. pcall(function() v:MakeJoints() end)
  353. end
  354. mas:Destroy()
  355. for i,v in pairs(cors) do
  356. spawn(function()
  357. pcall(v)
  358. end)
  359. end
  360.  
  361. Model0.Parent = char
  362. end
  363. creategun()
  364. --gun model end--
  365. local shot = Instance.new("Part",Model0) shot.Size = Vector3.new(.2,.2,.2) shot.Transparency = 1 shot.Anchored = true shot.CanCollide = false shot.CFrame = ra.CFrame * CFrame.new(0,-2,0)
  366. coroutine.resume(coroutine.create(function()
  367. while true do
  368. shot.CFrame = ra.CFrame * CFrame.new(0,-2.6,-.4) * CFrame.Angles(rad(-90),rad(0),rad(0))
  369. swait()
  370. end
  371. end))
  372. local gunweld = Instance.new("Weld",ra) gunweld.Part0 = t gunweld.Part1 = Part1 gunweld.C0 = CFrame.new(1.1,-.7,0) * CFrame.Angles(rad(-120),rad(-90),rad(0))
  373. function turnto(position)
  374. rut.CFrame = CFrame.new(rut.CFrame.p, Vector3.new(position.X, rut.Position.Y, position.Z)) * CFrame.new(0, 0, 0)
  375. end
  376. function fireto(position)
  377. shot.CFrame = CFrame.new(shot.CFrame.p, Vector3.new(position.X, position.Y, position.Z)) * CFrame.new(0, 0, 0)
  378. end
  379.  
  380. function sound(parent,id,vol,pit)
  381. local sound = Instance.new("Sound",parent)
  382. sound.Volume = vol
  383. sound.SoundId = "rbxassetid://"..id
  384. sound.Pitch = pit
  385. sound:Play()
  386. coroutine.resume(coroutine.create(function()
  387.  
  388. repeat
  389. swait()
  390. until sound.Playing == false
  391. sound:Destroy()
  392. end))
  393. end
  394. function bullet()
  395. local bulet = Instance.new("Part",workspace)
  396. bulet.Size = Vector3.new(.15,.15,2)
  397. bulet.BrickColor = BrickColor.new("Daisy orange")
  398. bulet.Material = "Neon" bulet.CanCollide = false
  399. bulet.CFrame = shot.CFrame * CFrame.new(0,0,-2.2) bulet.Name = "Bullet"
  400. local mes = Instance.new("SpecialMesh",bulet) mes.MeshType = "Sphere"
  401. coroutine.resume(coroutine.create(function()
  402. wait(.02)
  403. for i = 0,1,.01 do
  404. bulet.Size = bulet.Size:lerp(Vector3.new(.15,.15,35),i)
  405. swait()
  406. end
  407. end))
  408. local direc = Instance.new("BodyGyro",bulet) direc.MaxTorque = Vector3.new(huge,huge,huge) direc.CFrame = CFrame.new(bulet.Position,mouse.Hit.p)
  409. local vel = Instance.new("BodyVelocity",bulet) vel.MaxForce = Vector3.new(huge,huge,huge) vel.Velocity = direc.CFrame.lookVector * 400
  410. local a = false
  411. function ow(hit)
  412. if hit ~= nil then
  413. local nub = hit.Parent:FindFirstChildOfClass("Humanoid")
  414. if nub ~= nil then
  415. if hit.Parent == char then
  416.  
  417. else
  418. a = true
  419. nub.MaxHealth = 100
  420. nub.Health = nub.Health -0
  421. nub:TakeDamage(math.random(11,23))
  422. nub.WalkSpeed = nub.WalkSpeed -1.2
  423. nub.JumpPower = nub.JumpPower -10
  424. if hit.Name == "Head" or hit.Name == "Handle" then
  425. function expl(pos)
  426. local p = Instance.new("Part",workspace)
  427. p.Size = Vector3.new(.1,.1,.1) p.BrickColor = BrickColor.new("Maroon")
  428. p.Material = "Neon" p.Shape = "Ball" p.CanCollide = false p.Anchored = true
  429. p.CFrame = pos.CFrame
  430. coroutine.resume(coroutine.create(function()
  431. for i = 0,2,.1 do
  432. p.Size = p.Size:lerp(Vector3.new(4,4,4),i)
  433. p.Transparency = p.Transparency +.07
  434. swait()
  435. if p.Transparency >.99 then
  436. p:Destroy()
  437. end
  438. end
  439. end))
  440. end
  441. nub.Parent:BreakJoints()
  442. hit.Parent.Head:Destroy()
  443. bulet:Destroy()
  444. sound(char,"131313234",2,1)
  445. expl(hit)
  446. local bum = Instance.new("Explosion",workspace) bum.Visible = false bum.BlastPressure = 20000 bum.BlastRadius = .5 bum.Position = hit.Position
  447. for i = 1,math.random(2,7) do
  448. end
  449. end
  450. end
  451. end
  452. bulet:Destroy()
  453. end
  454. end
  455. bulet.Touched:connect(ow)
  456. coroutine.resume(coroutine.create(function()
  457. wait(2)
  458. bulet:Destroy()
  459. end))
  460. end
  461.  
  462. function mag()
  463. local mag = Instance.new("Part",workspace) mag.Size = Vector3.new(.35,1,.2) mag.BrickColor = BrickColor.new("Black") mag.Material = "Metal" mag.CFrame = Part1.CFrame * CFrame.new(0,-1,0)
  464. coroutine.resume(coroutine.create(function()
  465. wait(3)
  466. mag:Destroy()
  467. end))
  468. end
  469.  
  470. function effect()
  471. local ef = Instance.new("Part",Model0) ef.Material = "Neon" ef.Name = "Effect" ef.Size = Vector3.new(.4,.4,.4) ef.Anchored = true ef.CanCollide = false ef.BrickColor = BrickColor.new("Daisy orange") ef.Transparency = 0 ef.CFrame = Part15.CFrame
  472. coroutine.resume(coroutine.create(function()
  473. for i = 1,10 do
  474. ef.Size = ef.Size +Vector3.new(.05,.05,.05)
  475. ef.Transparency = ef.Transparency +.1
  476. ef.CFrame = ef.CFrame * CFrame.Angles(rad(math.random(-180,180)),rad(math.random(-180,180)),rad(math.random(-180,180)))
  477. if ef.Transparency > .99 then
  478. ef:Destroy()
  479. end
  480. swait()
  481. end
  482. end))
  483. end
  484.  
  485. local grabda = false
  486. local keyhold = false
  487. local lukin = false
  488. function fire()
  489. if not using and mode == "shoot" or using and grabda and mode == "grab" and killmode == "shoot1" then
  490. using = true
  491. rsw.Part1 = rapr
  492. lukin = true
  493. coroutine.resume(coroutine.create(function()
  494. while lukin do
  495. turnto(mouse.Hit.p)
  496. swait()
  497. end
  498. end))
  499. keyhold = true
  500. for i = 0,1,.07 do
  501. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(90),rad(0),rad(53)),i)
  502. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(233)),i)
  503. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(127)),i)
  504. swait()
  505. end
  506. repeat
  507. if ammo >0 then
  508. fireto(mouse.Hit.p)
  509. sound(char,"1265551660",7,1.563)
  510. ammo = ammo -1
  511. effect()
  512. bullet()
  513. for i = 0,1,.3 do
  514. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,.3) * CFrame.Angles(rad(90),rad(0),rad(53)) * CFrame.Angles(rad(40),rad(0),rad(0)),i)
  515. swait()
  516. end
  517. for i = 0,1,.2 do
  518. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(90),rad(0),rad(53)),i)
  519. swait()
  520. end
  521. wait(.35)
  522. else
  523. sound(char,"484110242",0.3,1.2)
  524. keyhold = false
  525. swait()
  526. end
  527. until keyhold == false
  528. wait(.2)
  529. lukin = false
  530. for i = 0,1,.07 do
  531. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  532. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  533. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  534. swait()
  535. end
  536. rsw.Part1 = nil
  537. if killmode ~= "shoot1" then
  538. using = false
  539. end
  540. end
  541. end
  542. function keyup()
  543. keyhold = false
  544. end
  545. mouse.Button1Down:connect(fire)
  546. mouse.Button1Up:connect(keyup)
  547.  
  548. function reload()
  549. if ammo >6 then
  550. else
  551. using = true
  552. rsw.Part1 = rapr lsw.Part1 = lapl
  553. sound(char,"198915489",2,1.3)
  554. info("Reloading...",2.2)
  555. for i = 0,1,.05 do
  556. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(80),rad(-45),rad(-40)),i)
  557. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(60),rad(0),rad(50)),i)
  558. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  559. swait()
  560. end
  561. mag()
  562. for i = 0,1,.1 do
  563. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(60),rad(-45),rad(-40)),i)
  564. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-10),rad(0),rad(0)),i)
  565. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  566. swait()
  567. end
  568. for i = 0,1,.05 do
  569. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(60),rad(-45),rad(-40)),i)
  570. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-10),rad(0),rad(50)),i)
  571. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  572. swait()
  573. end
  574. local mag = Instance.new("Part",workspace) mag.Size = Vector3.new(.35,1,.2) mag.BrickColor = BrickColor.new("Black") mag.CanCollide = false mag.Material = "Metal"
  575. local magw = Instance.new("Weld",mag) magw.Part0 = la magw.Part1 = mag magw.C0 = CFrame.new(.3,-1,.1) * CFrame.Angles(rad(90),rad(-40),rad(-90))
  576. for i = 0,1,.05 do
  577. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(80),rad(-45),rad(-40)),i)
  578. lsw.C0 = lsw.C0:lerp(CFrame.new(.4,0,0) * CFrame.Angles(rad(50),rad(45),rad(50)),i)
  579. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  580. swait()
  581. end
  582. mag:Destroy()
  583. for i = 0,1,.05 do
  584. rsw.C0 = rsw.C0:lerp(CFrame.new(-.5,-.7,0) * CFrame.Angles(rad(110),rad(0),rad(-47)),i)
  585. lsw.C0 = lsw.C0:lerp(CFrame.new(.3,-.5,0) * CFrame.Angles(rad(160),rad(-77),rad(40)),i)
  586. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  587. swait()
  588. end
  589. for i = 0,1,.05 do
  590. rsw.C0 = rsw.C0:lerp(CFrame.new(-.5,-.7,0) * CFrame.Angles(rad(110),rad(0),rad(-47)),i)
  591. lsw.C0 = lsw.C0:lerp(CFrame.new(.5,-.5,.3) * CFrame.Angles(rad(150),rad(-50),rad(40)),i)
  592. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  593. swait()
  594. end
  595. for i = 0,1,.05 do
  596. rsw.C0 = rsw.C0:lerp(CFrame.new(-.5,-.7,0) * CFrame.Angles(rad(110),rad(0),rad(-47)),i)
  597. lsw.C0 = lsw.C0:lerp(CFrame.new(.3,-.5,0) * CFrame.Angles(rad(160),rad(-77),rad(40)),i)
  598. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  599. swait()
  600. end
  601. for i = 0,.6,.05 do
  602. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
  603. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
  604. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  605. swait()
  606. end
  607. ammo = 7
  608. rsw.Part1 = nil lsw.Part1 = nil
  609. using = false
  610. end
  611. end
  612.  
  613. function greb()
  614. local hbox = Instance.new("Part",char) hbox.Size = Vector3.new(2,5,.5) hbox.CanCollide = false hbox.Transparency = 1
  615. local hwb = Instance.new("Weld",hbox) hwb.Part0 = t hwb.Part1 = hbox hwb.C0 = CFrame.new(0,0,-1)
  616. local aa = false
  617. function grabd(hit)
  618. if hit ~= nil and not grab and not aa then
  619. local aaa = hit.Parent:FindFirstChildOfClass("Humanoid") or hit.Parent.Parent:FindFirstChildOfClass("Humanoid") or hit.Parent.Parent.Parent:FindFirstChildOfClass("Humanoid")
  620. if aaa ~= nil and not grab then
  621. grab = true aa = true
  622. hbox:Destroy()
  623. if aaa.Parent.Name == "ded" then
  624. sound(char,"444895479",1,1)
  625.  
  626. info("Press E or Q to change the mode",1)
  627. else
  628. info("Press E or Q to change the mode",1)
  629. end
  630. local tos = aaa.Parent:FindFirstChild("Torso") or aaa.Parent:FindFirstChild("UpperTorso")
  631. aaa.PlatformStand = true
  632. local w = Instance.new("Weld",t) w.Name = "grabweld" w.Part0 = t w.Part1 = tos
  633. coroutine.resume(coroutine.create(function()
  634. for i = 0,.5,.1 do
  635. w.C0 = w.C0:lerp(CFrame.new(-.9,0,-.8),i)
  636. swait()
  637. end
  638. end))
  639. if aaa.Parent.Name ~= "ded" then
  640. for i = 0,1,.05 do
  641. rsw.C0 = rsw.C0:lerp(CFrame.new(.7,0,-.15) * CFrame.Angles(rad(110),rad(0),rad(-80)) * CFrame.Angles(rad(10),rad(0),rad(0)),i)
  642. lsw.C0 = lsw.C0:lerp(CFrame.new(-.2,-.2,-.4) * CFrame.Angles(rad(130),rad(10),rad(50)),i)
  643. swait()
  644. end
  645. function kill()
  646. grab = false
  647. if ammo >0 then
  648. ammo = ammo -1
  649. sound(char,"1265551660",6.987,1.563)
  650. coroutine.resume(coroutine.create(function()
  651. for i = 0,1,.5 do
  652. rsw.C0 = rsw.C0:lerp(CFrame.new(1,0,.45) * CFrame.Angles(rad(110),rad(0),rad(-80)) * CFrame.Angles(rad(10),rad(0),rad(15)),i)
  653. swait()
  654. end
  655. for i = 0,1,.05 do
  656. rsw.C0 = rsw.C0:lerp(CFrame.new(.7,0,-.15) * CFrame.Angles(rad(110),rad(0),rad(-80)),i)
  657. swait()
  658. end
  659. end))
  660. coroutine.resume(coroutine.create(function()
  661. aaa.Health = .1
  662. for i,v in pairs(aaa.Parent:GetChildren()) do
  663. if v:IsA("Script") then
  664. v:Destroy()
  665. end
  666. end
  667. end))
  668. wait(.5)
  669. coroutine.resume(coroutine.create(function()
  670. for i,v in pairs(tos.Parent:GetChildren()) do
  671. if v:IsA("BasePart") then
  672. v.Anchored = false
  673. end
  674. end
  675. for i,v in pairs(t:GetChildren()) do
  676. if v.Name == "grabweld" then
  677. v:Destroy()
  678. end
  679. end
  680. end))
  681. coroutine.resume(coroutine.create(function()
  682. for i = 0,.5,.1 do
  683. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(-15),rad(0),rad(20)),i)
  684. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(110),rad(20),rad(-30)),i)
  685. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(150)),i)
  686. swait()
  687. end
  688. end))
  689. aaa.DisplayDistanceType = "None"
  690. if tos.Name == "Torso" then
  691. coroutine.resume(coroutine.create(function()
  692. aaa.PlatformStand = true
  693. local disshit = aaa.Parent
  694. local h1 = disshit.Head
  695. local t1 = disshit.Torso
  696. local ra1 = disshit["Right Arm"]
  697. local la1 = disshit["Left Arm"]
  698. local rl1 = disshit["Right Leg"]
  699. local ll1 = disshit["Left Leg"]
  700. t1:BreakJoints()
  701. at2 = Instance.new("Attachment",t1) at2.Position = Vector3.new(1,.7,0) at2.Position = Vector3.new(1,.5,0)
  702. at = Instance.new("Attachment",ra1) at.Name = "oof" at.Position = Vector3.new(-.5,.7,0)
  703. balls = Instance.new("BallSocketConstraint",ra1) balls.Attachment0 = at2 balls.Attachment1 = at
  704. at21 = Instance.new("Attachment",t1) at21.Position = Vector3.new(-1,.7,0) at21.Position = Vector3.new(-1,.5,0) at21.Orientation = Vector3.new(0,180,0)
  705. at1 = Instance.new("Attachment",la1) at.Name = "oof" at1.Position = Vector3.new(.5,.7,0)
  706. balls1 = Instance.new("BallSocketConstraint",la1) balls1.Attachment0 = at21 balls1.Attachment1 = at1
  707. nek = Instance.new("Attachment",h1) nek2 = Instance.new("Attachment",t1) nek2.Position = Vector3.new(0,1,0) nek.Position = Vector3.new(0,-.5,0) nball = Instance.new("BallSocketConstraint",h1) nball.Attachment0 = nek nball.Attachment1 = nek2
  708. owihatedis = Instance.new("Attachment",t1) owihatedis.Position = Vector3.new(.5,-1,0) oihd = Instance.new("Attachment",rl1) oihd.Position = Vector3.new(0,1,0) oww = Instance.new("BallSocketConstraint",rl1) oww.Attachment0 = owihatedis oww.Attachment1 = oihd
  709. owihatedis2 = Instance.new("Attachment",t1) owihatedis2.Position = Vector3.new(-.5,-1,0) oihd2 = Instance.new("Attachment",ll1) oihd2.Position = Vector3.new(0,1,0) oww2 = Instance.new("BallSocketConstraint",ll1) oww2.Attachment0 = owihatedis2 oww2.Attachment1 = oihd2
  710. box = Instance.new("Part",t1) box.Size = Vector3.new(1,1.3,1) box.Transparency = 1
  711. box1 = Instance.new("Part",t1) box1.Size = Vector3.new(1,1.3,1) box1.Transparency = 1
  712. box2 = Instance.new("Part",t1) box2.Size = Vector3.new(1,1.3,1) box2.Transparency = 1
  713. box3 = Instance.new("Part",t1) box3.Size = Vector3.new(1,1.3,1) box3.Transparency = 1
  714. box4 = Instance.new("Part",t1) box4.Size = h.Size - Vector3.new(0,.7,0) box4.Transparency = 1
  715. bw = Instance.new("Weld",box) bw.Part0 = box bw.Part1 = ra1 bw.C0 = bw.C0 * CFrame.new(0,.45,0)
  716. bw1 = Instance.new("Weld",box1) bw1.Part0 = box1 bw1.Part1 = la1 bw1.C0 = bw1.C0 * CFrame.new(0,.45,0)
  717. bw2 = Instance.new("Weld",box2) bw2.Part0 = box2 bw2.Part1 = rl1 bw2.C0 = bw2.C0 * CFrame.new(0,.45,0)
  718. bw3 = Instance.new("Weld",box3) bw3.Part0 = box3 bw3.Part1 = ll1 bw3.C0 = bw3.C0 * CFrame.new(0,.45,0)
  719. bw4 = Instance.new("Weld",box4) bw4.Part0 = box4 bw4.Part1 = h1 bw4.C0 = bw4.C0 * CFrame.new(0,0,0)
  720. local rt = disshit:FindFirstChild("HumanoidRootPart")
  721. if rt ~= nil then
  722. rt:Destroy()
  723. end
  724. wait()
  725. local ded = disshit:Clone()
  726. local as = ded:FindFirstChildOfClass("Humanoid")
  727. as.Died:connect(function()
  728. for i,v in pairs(ded.Torso:GetChildren()) do
  729. if v:IsA("Part") then
  730. v:Destroy()
  731. end
  732. end
  733. end)
  734. coroutine.resume(coroutine.create(function()
  735. for i = 1,math.random(4,9) do
  736. nubblud(ded.Head)
  737. wait(.05)
  738. end
  739. end))
  740. as.PlatformStand = true
  741. ded.Parent = workspace disshit:Destroy()
  742. ded.Torso.CFrame = ded.Torso.CFrame * CFrame.new(0,4,-6)
  743. ded.Torso.Orientation = Vector3.new(math.random(-70,70),math.random(-70,70),math.random(-70,70))
  744. ded.Name = "ded"
  745. local yes = Instance.new("Part",char) yes.Size = t.Size yes.Anchored = true yes.CanCollide = false yes.Transparency = 1 yes.CFrame = rut.CFrame * CFrame.Angles(rad(50),rad(0),rad(0))
  746. local furs = Instance.new("BodyVelocity",ded.Torso) furs.MaxForce = Vector3.new(huge,huge,huge)
  747. furs.Velocity = yes.CFrame.lookVector * 35
  748.  
  749. coroutine.resume(coroutine.create(function()
  750. wait(.1)
  751. furs:Destroy()
  752. yes:Destroy()
  753. end))
  754. end))
  755. end
  756. wait(.4)
  757. for i = 0,1,.05 do
  758. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  759. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  760. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  761. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  762. swait()
  763. end
  764. if aaa.Parent ~= nil then
  765. aaa.Parent:BreakJoints()
  766. end
  767. using = false
  768. rsw.Part1 = nil lsw.Part1 = nil
  769. else
  770. aaa.PlatformStand = true
  771. sound(char,"484110242",10,1)
  772. wait(.5)
  773. local furs = Instance.new("BodyVelocity",tos) furs.MaxForce = Vector3.new(huge,huge,huge)
  774. furs.Velocity = rut.CFrame.lookVector * 30
  775. w:Destroy()
  776. for i = 0,.5,.05 do
  777. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(-15),rad(0),rad(-20)),i)
  778. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(90),rad(20),rad(10)),i)
  779. swait()
  780. end
  781. furs:Destroy()
  782. for i = 0,1,.1 do
  783. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  784. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  785. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  786. swait()
  787. end
  788. coroutine.resume(coroutine.create(function()
  789. wait(2)
  790. if aaa.Parent.Name == "ded" then
  791. else
  792. aaa.PlatformStand = false
  793. end
  794. end))
  795. grab = false
  796. using = false
  797. rsw.Part1 = nil lsw.Part1 = nil
  798. end
  799. end
  800. function drop()
  801. sound(char,"608600954",1,0.9)
  802. aaa.PlatformStand = true
  803. w:Destroy()
  804. local furs = Instance.new("BodyVelocity",tos) furs.MaxForce = Vector3.new(huge,huge,huge)
  805. furs.Velocity = rut.CFrame.lookVector * 30
  806. for i = 0,.5,.05 do
  807. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(-15),rad(0),rad(-20)),i)
  808. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(90),rad(20),rad(10)),i)
  809. swait()
  810. end
  811. furs:Destroy()
  812. for i = 0,1,.05 do
  813. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  814. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  815. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  816. swait()
  817. end
  818. coroutine.resume(coroutine.create(function()
  819. wait(2)
  820. if aaa.Parent.Name == "ded" then
  821. else
  822. aaa.PlatformStand = false
  823. end
  824. end))
  825. using = false
  826. rsw.Part1 = nil lsw.Part1 = nil
  827. grab = false
  828. end
  829. else
  830. oldmode = killmode
  831. killmode = "release1"
  832. hum.JumpPower = 0
  833. hum.WalkSpeed = 8
  834. coroutine.resume(coroutine.create(function()
  835. for i = 0,1,.05 do
  836. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0),i)
  837. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-33),rad(0),rad(-30)),i)
  838. swait()
  839. end
  840. end))
  841. grabda = true
  842. w:Destroy()
  843. local ata = Instance.new("Attachment",la) ata.Position = Vector3.new(0,-.8,0)
  844. local ata1 = Instance.new("Attachment",aaa.Parent["Right Leg"]) ata1.Position = Vector3.new(0,-.8,0)
  845. local ba = Instance.new("BallSocketConstraint",ata) ba.Attachment0 = ata ba.Attachment1 = ata1
  846. rsw.Part1 = nil
  847. function drop1()
  848. using = true
  849. grabda = false
  850. killmode = oldmode
  851. ba.Attachment1 = nil
  852. ata:Destroy()
  853. ata1:Destroy()
  854. ba:Destroy()
  855. hum.JumpPower = 50
  856. hum.WalkSpeed = 16
  857. for i = 0,1,.05 do
  858. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0),i)
  859. swait()
  860. end
  861. lsw.Part1 = nil
  862. using = false
  863. grab = false
  864. end
  865. end
  866. end
  867. end
  868. end
  869. local tcon = hbox.Touched:connect(grabd)
  870. using = true
  871. coroutine.resume(coroutine.create(function()
  872. for i = 0,.5,.1 do
  873. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  874. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  875. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  876. swait()
  877. end
  878. end))
  879. rsw.Part1 = rapr lsw.Part1 = lapl
  880. for i = 0,.7,.05 do
  881. rsw.C0 = rsw.C0:lerp(CFrame.new(.2,0,-.3) * CFrame.Angles(rad(90),rad(0),rad(70)),i)
  882. lsw.C0 = lsw.C0:lerp(CFrame.new(-.2,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(-70)),i)
  883. swait()
  884. end
  885. wait(.25)
  886. hbox:Destroy()
  887. tcon:disconnect()
  888. if grab == false then
  889. for i = 0,1,.05 do
  890. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  891. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  892. swait()
  893. end
  894. using = false
  895. rsw.Part1 = nil lsw.Part1 = nil
  896. end
  897. end
  898.  
  899. function dumi()
  900. local dog = Instance.new("Model",workspace) dog.Name = "dumi"
  901. local head = Instance.new("Part",dog) head.Name = "Head" head.Size = Vector3.new(2,1,1)
  902. local la1 = Instance.new("Part",dog) la1.Name = "Left Arm" la1.Size = Vector3.new(1,2,1) local t1 = Instance.new("Part",dog) t1.Name = "Torso" t1.Size = Vector3.new(2,2,1) local ra1 = Instance.new("Part",dog) ra1.Name = "Right Arm" ra1.Size = Vector3.new(1,2,1)
  903. local ll1 = Instance.new("Part",dog) ll1.Name = "Left Leg" ll1.Size = Vector3.new(1,2,1) local rl1 = Instance.new("Part",dog) rl1.Name = "Right Leg" rl1.Size = Vector3.new(1,2,1)
  904. local dhum = Instance.new("Humanoid",dog) local hmesh = Instance.new("SpecialMesh",head) hmesh.Scale = Vector3.new(1.25,1.25,1.25)
  905. dhum.MaxHealth = "inf" dhum.Health = "inf" dhum.AutoJumpEnabled = true
  906. head.BrickColor = BrickColor.new("Institutional white") t1.BrickColor = BrickColor.new("Really black") ra1.BrickColor = BrickColor.new("Institutional white") la1.BrickColor = BrickColor.new("Institutional white") rl1.BrickColor = BrickColor.new("Dark stone grey") ll1.BrickColor = BrickColor.new("Dark stone grey")
  907. local fais = Instance.new("Decal",head) fais.Texture = "http://www.roblox.com/asset/?id=1077397727"
  908. local nec = Instance.new("Motor6D",t1) nec.Part0 = t1 nec.Part1 = head nec.C0 = nec.C0 * CFrame.new(0,1.5,0)
  909. local ris = Instance.new("Motor6D",t1) ris.Part0 = t1 ris.Part1 = ra1 ris.C0 = ris.C0 * CFrame.new(1.5,0,0)
  910. local lis = Instance.new("Motor6D",t1) lis.Part0 = t1 lis.Part1 = la1 lis.C0 = lis.C0 * CFrame.new(-1.5,0,0)
  911. local rih = Instance.new("Motor6D",t1) rih.Part0 = t1 rih.Part1 = rl1 rih.C0 = rih.C0 * CFrame.new(.5,-2,0)
  912. local lih = Instance.new("Motor6D",t1) lih.Part0 = t1 lih.Part1 = ll1 lih.C0 = lih.C0 * CFrame.new(-.5,-2,0)
  913. head.CFrame = h.CFrame * CFrame.new(4,0,0)
  914. t1.CFrame = t.CFrame * CFrame.new(4,0,0)
  915. ra1.CFrame = ra.CFrame * CFrame.new(4,0,0)
  916. la1.CFrame = la.CFrame * CFrame.new(4,0,0)
  917. rl1.CFrame = rl.CFrame * CFrame.new(4,0,0)
  918. ll1.CFrame = ll.CFrame * CFrame.new(4,0,0)
  919. end
  920.  
  921. mouse.KeyDown:connect(function(key)
  922. if key == "z"and canequip then
  923. rsw.Part1 = rapr
  924. using = true
  925. info("Equipped, press F or G to change the mode.",1)
  926. for i = 0,1,.03 do
  927. rsw.C0 = rsw.C0:lerp(CFrame.new(0,.3,0) * CFrame.Angles(rad(0),rad(0),rad(-20)),i)
  928. swait()
  929. end
  930. gunweld.Part0 = ra gunweld.C0 = CFrame.new(0,-.9,0) * CFrame.Angles(rad(-90),rad(-90),rad(0))
  931. for i = 0,1,.05 do
  932. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
  933. swait()
  934. end
  935. uneq = true
  936. rsw.Part1 = nil
  937. canequip = false
  938. using = false
  939. end
  940. end)
  941.  
  942. mouse.KeyDown:connect(function(key)
  943. if key == "x" and not canequip and uneq then
  944. rsw.Part1 = rapr
  945. using = true
  946. info("Unequipped.",1)
  947. for i = 0,1,.05 do
  948. rsw.C0 = rsw.C0:lerp(CFrame.new(0,.3,0) * CFrame.Angles(rad(0),rad(0),rad(-20)),i)
  949. swait()
  950. end
  951. gunweld.Part0 = t gunweld.C0 = CFrame.new(1.1,-.7,0) * CFrame.Angles(rad(-120),rad(-90),rad(0))
  952. for i = 0,.5,.1 do
  953. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  954. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  955. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  956. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  957. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  958. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  959. swait()
  960. end
  961. for i = 0,1,.03 do
  962. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
  963. swait()
  964. end
  965. uneq = false
  966. canequip = true
  967. rsw.Part1 = nil
  968. end
  969. end)
  970.  
  971. mouse.KeyDown:connect(function(key)
  972. key = string.lower(key)
  973. if string.byte(key) == 48 and not grabda then
  974. hum.WalkSpeed = 30
  975. end
  976. end)
  977. mouse.KeyUp:connect(function(key)
  978. key = string.lower(key)
  979. if string.byte(key) == 48 and not grabda then
  980. hum.WalkSpeed = 16
  981. end
  982. end)
  983.  
  984. local conts = false
  985. function controls()
  986. conts = true
  987. coroutine.resume(coroutine.create(function()
  988. info("Click - Shoot.",1)
  989. wait(1)
  990. info("R - Reload.",1)
  991. wait(1)
  992. info("F - Change the mode to Grab.",1)
  993. wait(1)
  994. info("G - Change the mode to Shoot.",1)
  995. wait(1)
  996. info("C - Spawn a dummy.",1)
  997. wait(1)
  998. info("v - Destroy all dead victims.",1)
  999. wait(1)
  1000. info("N - Dance(Take the L).",1)
  1001. conts = false
  1002. end))
  1003. end
  1004.  
  1005. function cleardumi()
  1006. for i,v in pairs(workspace:GetChildren()) do
  1007. if v.Name == "ded" then
  1008. local exp = Instance.new("Explosion",workspace) exp.Position = v.Torso.Position exp.BlastRadius = 0
  1009. v:Destroy()
  1010. end
  1011. end
  1012. end
  1013.  
  1014. hum.Running:connect(function(spd)
  1015. if spd > 0 then
  1016. anim = "walk"
  1017. else
  1018. anim = "idle"
  1019. end
  1020. end)
  1021.  
  1022. function sog()
  1023. if mode == "grab" and not using then
  1024. greb()
  1025. end
  1026. end
  1027. function act()
  1028. if grab and using and killmode == "kill" then
  1029. kill()
  1030. end
  1031. if grab and using and killmode == "release" then
  1032. drop()
  1033. end
  1034. if grabda and grab and killmode == "release1" then
  1035. drop1()
  1036. end
  1037. end
  1038. mouse.Button1Down:connect(act)
  1039. mouse.Button1Down:connect(sog)
  1040.  
  1041. local change = false
  1042. function modegrab()
  1043. change = true
  1044. mode = "grab"
  1045. info("Mode changed to Grab click to perform an action.",1)
  1046. wait(1)
  1047. change = false
  1048. end
  1049. function modeshoot()
  1050. change = true
  1051. mode = "shoot"
  1052. info("Mode changed to Shoot click to perform an action.",1)
  1053. wait(1)
  1054. change = false
  1055. end
  1056.  
  1057.  
  1058.  
  1059. mouse.KeyDown:connect(function(key)
  1060. if key == "e" and grab and not grabda then
  1061. killmode = "kill"
  1062. info("Mode changed to Kill",1)
  1063. end
  1064. if key == "q" and grab and not grabda then
  1065. killmode = "release"
  1066. info("Mode changed to Release",1)
  1067. end
  1068. if grabda and key == "q" then
  1069. killmode = "release1"
  1070. info("Mode changed to Release",1)
  1071. end
  1072. if grabda and key == "e" then
  1073. killmode = "shoot1"
  1074. info("Mode changed to Shoot",1)
  1075. end
  1076. if key == "r" and not using and not grab then
  1077. reload()
  1078. end
  1079. if key == "c" then
  1080. dumi()
  1081. end
  1082. if key == "v" then
  1083. cleardumi()
  1084. end
  1085. if key == "m" and not conts then
  1086. controls()
  1087. end
  1088. if key == "f" and not change and not using then
  1089. if mode ~= "grab" then
  1090. modegrab()
  1091. end
  1092. end
  1093. if key == "g" and not change and not using then
  1094. if mode ~= "shoot" then
  1095. modeshoot()
  1096. end
  1097. end
  1098. end)
  1099.  
  1100. local dancing = false
  1101. local mus = Instance.new("Sound",char) mus.Looped = true mus.SoundId = "rbxassetid://1563991094" mus.Volume = 5
  1102. mouse.KeyDown:connect(function(key)
  1103. key = key:lower()
  1104. if key == "n" then
  1105. if not dancing then
  1106. dancing = true
  1107. using = true
  1108. char.Animate.Disabled = true
  1109. for i,v in pairs(Model0:GetChildren()) do
  1110. if v:IsA("Part") then
  1111. v.Transparency = 1
  1112. end
  1113. end
  1114. mus:Play()
  1115. while dancing do
  1116. if dancing then
  1117. coroutine.resume(coroutine.create(function()
  1118. for i = 0,.3,.035 do
  1119. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(5),rad(180)) * CFrame.new(0,0,-.1),i)
  1120. rs.C0 = rs.C0:lerp(CFrame.new(.3,.7,-1.3) * CFrame.Angles(rad(0),rad(114),rad(190)) * CFrame.Angles(rad(43),rad(0),rad(0)),i)
  1121. ls.C0 = ls.C0:lerp(CFrame.new(-1.3,.5,-.3) * CFrame.Angles(rad(0),rad(-166),rad(-40)) * CFrame.Angles(rad(23),rad(0),rad(0)),i)
  1122. rh.C0 = rh.C0:lerp(CFrame.new(1,-.9,-.05) * CFrame.Angles(rad(0),rad(60),rad(-10)),i)
  1123. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.8,-.15) * CFrame.Angles(rad(0),rad(-45),rad(-31.5)),i)
  1124. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1125. swait()
  1126. end
  1127. end))
  1128. end
  1129. wait(.07)
  1130. if dancing then
  1131. for i = 0,.7,.035 do
  1132. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(5),rad(180)) * CFrame.new(0,0,-.2),i)
  1133. rs.C0 = rs.C0:lerp(CFrame.new(.3,.7,-1.3) * CFrame.Angles(rad(0),rad(114),rad(190)) * CFrame.Angles(rad(43),rad(0),rad(0)),i)
  1134. ls.C0 = ls.C0:lerp(CFrame.new(-1.3,.5,-.3) * CFrame.Angles(rad(0),rad(-166),rad(-40)) * CFrame.Angles(rad(23),rad(0),rad(0)),i)
  1135. rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.05) * CFrame.Angles(rad(0),rad(60),rad(-20)),i)
  1136. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.8,-.15) * CFrame.Angles(rad(0),rad(-45),rad(-63)),i)
  1137. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1138. swait()
  1139. end
  1140. end
  1141. if dancing then
  1142. coroutine.resume(coroutine.create(function()
  1143. for i = 0,.3,.035 do
  1144. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(-5),rad(180)) * CFrame.new(0,0,-.1),i)
  1145. rs.C0 = rs.C0:lerp(CFrame.new(.3,.7,-1.3) * CFrame.Angles(rad(0),rad(114),rad(190)) * CFrame.Angles(rad(43),rad(0),rad(0)),i)
  1146. ls.C0 = ls.C0:lerp(CFrame.new(-1.3,.5,-.3) * CFrame.Angles(rad(0),rad(-166),rad(-40)) * CFrame.Angles(rad(23),rad(0),rad(0)),i)
  1147. rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.15) * CFrame.Angles(rad(0),rad(45),rad(31.5)),i)
  1148. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.9,-.05) * CFrame.Angles(rad(0),rad(-60),rad(20)),i)
  1149. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1150. swait()
  1151. end
  1152. end))
  1153. end
  1154. wait(.07)
  1155. if dancing then
  1156. for i = 0,.7,.035 do
  1157. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(-5),rad(180)) * CFrame.new(0,0,-.2),i)
  1158. rs.C0 = rs.C0:lerp(CFrame.new(.3,.7,-1.3) * CFrame.Angles(rad(0),rad(114),rad(190)) * CFrame.Angles(rad(43),rad(0),rad(0)),i)
  1159. ls.C0 = ls.C0:lerp(CFrame.new(-1.3,.5,-.3) * CFrame.Angles(rad(0),rad(-166),rad(-40)) * CFrame.Angles(rad(23),rad(0),rad(0)),i)
  1160. rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.15) * CFrame.Angles(rad(0),rad(45),rad(63)),i)
  1161. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.8,-.05) * CFrame.Angles(rad(0),rad(-60),rad(20)),i)
  1162. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1163. swait()
  1164. end
  1165. end
  1166. swait()
  1167. end
  1168. else
  1169. mus:Stop()
  1170. char.Animate.Disabled = false
  1171. dancing = false
  1172. for i,v in pairs(Model0:GetChildren()) do
  1173. if v:IsA("Part") then
  1174. v.Transparency = 0
  1175. end
  1176. end
  1177. shot.Transparency = 1
  1178. if not canequip then
  1179. using = false
  1180. else
  1181. for i,v in pairs(Model0:GetChildren()) do
  1182. if v:IsA("Part") then
  1183. v.Transparency = 0
  1184. end
  1185. end
  1186. shot.Transparency = 1
  1187. using = true
  1188. wait(.3)
  1189. for i = 0,1,.1 do
  1190. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1191. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1192. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1193. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1194. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1195. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1196. swait()
  1197. end
  1198. end
  1199. end
  1200. end
  1201. end)
  1202.  
  1203. local musica = Instance.new("Sound",char) musica.Volume = 1 musica.Looped = true musica.SoundId = "rbxassetid://1306847940"
  1204. local visonlyvlad = false
  1205. local vispart = Instance.new("Part",char) --[[vispart.Shape = "Ball"]] vispart.Material = "Neon" vispart.Size = Vector3.new(.3,.3,.3) vispart.Anchored = true vispart.CanCollide = false vispart.BrickColor = BrickColor.new("Royal purple") vispart.Transparency = 1
  1206. mouse.KeyDown:connect(function(key)
  1207. key = key:lower()
  1208. if key == "u" and plr.Name == "CoulerFreak2016" then
  1209. if not visonlyvlad then
  1210. vispart.Transparency = 0
  1211. musica:Play()
  1212. visonlyvlad = true
  1213. info("Visualiser mode:On",.3)
  1214. else
  1215. info("Visualiser mode:Off",.3)
  1216. vispart.Transparency = 1
  1217. vispart.CFrame = CFrame.new(0,-10,0)
  1218. visonlyvlad = false
  1219. musica:Stop()
  1220. end
  1221. end
  1222. end)
  1223. coroutine.resume(coroutine.create(function()
  1224. while true do
  1225. if visonlyvlad == true then
  1226. for i = 0,1,.0001 do
  1227. vispart.CFrame = vispart.CFrame:lerp(rut.CFrame * CFrame.new(3,3,3) * CFrame.new(musica.PlaybackLoudness/85,musica.PlaybackLoudness/85,musica.PlaybackLoudness/85) * CFrame.Angles(rad(musica.PlaybackLoudness/1),rad(musica.PlaybackLoudness/1),rad(musica.PlaybackLoudness/1)),i)
  1228. vispart.Size = Vector3.new(musica.PlaybackLoudness/65,musica.PlaybackLoudness/65,musica.PlaybackLoudness/65)
  1229. vispart.Color = Color3.fromRGB(musica.PlaybackLoudness/4,musica.PlaybackLoudness/50,musica.PlaybackLoudness/1)
  1230. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)) * CFrame.Angles(rad(musica.PlaybackLoudness/20),rad(0),rad(0)),i)
  1231. swait()
  1232. end
  1233. end
  1234. swait()
  1235. end
  1236. end))
  1237.  
  1238. while true do
  1239. if anim == "walk" and not using and uneq then
  1240. for i = 0,.5,.1 do
  1241. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1242. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1243. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1244. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1245. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1246. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1247. swait()
  1248. end
  1249. end
  1250. if anim == "idle" and not using and uneq then
  1251. for i = 0,.5,.06 do
  1252. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(160)),i)
  1253. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(74),rad(-20)),i)
  1254. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-110),rad(-20)),i)
  1255. rh.C0 = rh.C0:lerp(CFrame.new(1,-1.1,0) * CFrame.Angles(rad(7),rad(80),rad(0)),i)
  1256. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(-7),rad(-80),rad(0)),i)
  1257. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(200)),i)
  1258. swait()
  1259. end
  1260. end
  1261. swait()
  1262. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement