Advertisement
lundofett

Untitled

Jan 6th, 2019
244
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,"131070686",4,1)
  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,"537744814",10,1)
  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,"163732279",0,1)
  625. info("Press E or Q to change the mode",1)
  626. else
  627. info("Press E or Q to change the mode",1)
  628. end
  629. local tos = aaa.Parent:FindFirstChild("Torso") or aaa.Parent:FindFirstChild("UpperTorso")
  630. aaa.PlatformStand = true
  631. local w = Instance.new("Weld",t) w.Name = "grabweld" w.Part0 = t w.Part1 = tos
  632. coroutine.resume(coroutine.create(function()
  633. for i = 0,.5,.1 do
  634. w.C0 = w.C0:lerp(CFrame.new(-.9,0,-.8),i)
  635. swait()
  636. end
  637. end))
  638. if aaa.Parent.Name ~= "ded" then
  639. for i = 0,1,.05 do
  640. 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)
  641. lsw.C0 = lsw.C0:lerp(CFrame.new(-.2,-.2,-.4) * CFrame.Angles(rad(130),rad(10),rad(50)),i)
  642. swait()
  643. end
  644. function kill()
  645. grab = false
  646. if ammo >0 then
  647. ammo = ammo -1
  648. sound(char,"131070686",5,1)
  649. coroutine.resume(coroutine.create(function()
  650. for i = 0,1,.5 do
  651. 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)
  652. swait()
  653. end
  654. for i = 0,1,.05 do
  655. rsw.C0 = rsw.C0:lerp(CFrame.new(.7,0,-.15) * CFrame.Angles(rad(110),rad(0),rad(-80)),i)
  656. swait()
  657. end
  658. end))
  659. coroutine.resume(coroutine.create(function()
  660. aaa.Health = .1
  661. for i,v in pairs(aaa.Parent:GetChildren()) do
  662. if v:IsA("Script") then
  663. v:Destroy()
  664. end
  665. end
  666. end))
  667. wait(.5)
  668. coroutine.resume(coroutine.create(function()
  669. for i,v in pairs(tos.Parent:GetChildren()) do
  670. if v:IsA("BasePart") then
  671. v.Anchored = false
  672. end
  673. end
  674. for i,v in pairs(t:GetChildren()) do
  675. if v.Name == "grabweld" then
  676. v:Destroy()
  677. end
  678. end
  679. end))
  680. coroutine.resume(coroutine.create(function()
  681. for i = 0,.5,.1 do
  682. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(-15),rad(0),rad(20)),i)
  683. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(110),rad(20),rad(-30)),i)
  684. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(150)),i)
  685. swait()
  686. end
  687. end))
  688. aaa.DisplayDistanceType = "None"
  689. if tos.Name == "Torso" then
  690. coroutine.resume(coroutine.create(function()
  691. aaa.PlatformStand = true
  692. local disshit = aaa.Parent
  693. local h1 = disshit.Head
  694. local t1 = disshit.Torso
  695. local ra1 = disshit["Right Arm"]
  696. local la1 = disshit["Left Arm"]
  697. local rl1 = disshit["Right Leg"]
  698. local ll1 = disshit["Left Leg"]
  699. t1:BreakJoints()
  700. at2 = Instance.new("Attachment",t1) at2.Position = Vector3.new(1,.7,0) at2.Position = Vector3.new(1,.5,0)
  701. at = Instance.new("Attachment",ra1) at.Name = "oof" at.Position = Vector3.new(-.5,.7,0)
  702. balls = Instance.new("BallSocketConstraint",ra1) balls.Attachment0 = at2 balls.Attachment1 = at
  703. 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)
  704. at1 = Instance.new("Attachment",la1) at.Name = "oof" at1.Position = Vector3.new(.5,.7,0)
  705. balls1 = Instance.new("BallSocketConstraint",la1) balls1.Attachment0 = at21 balls1.Attachment1 = at1
  706. 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
  707. 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
  708. 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
  709. box = Instance.new("Part",t1) box.Size = Vector3.new(1,1.3,1) box.Transparency = 1
  710. box1 = Instance.new("Part",t1) box1.Size = Vector3.new(1,1.3,1) box1.Transparency = 1
  711. box2 = Instance.new("Part",t1) box2.Size = Vector3.new(1,1.3,1) box2.Transparency = 1
  712. box3 = Instance.new("Part",t1) box3.Size = Vector3.new(1,1.3,1) box3.Transparency = 1
  713. box4 = Instance.new("Part",t1) box4.Size = h.Size - Vector3.new(0,.7,0) box4.Transparency = 1
  714. bw = Instance.new("Weld",box) bw.Part0 = box bw.Part1 = ra1 bw.C0 = bw.C0 * CFrame.new(0,.45,0)
  715. bw1 = Instance.new("Weld",box1) bw1.Part0 = box1 bw1.Part1 = la1 bw1.C0 = bw1.C0 * CFrame.new(0,.45,0)
  716. bw2 = Instance.new("Weld",box2) bw2.Part0 = box2 bw2.Part1 = rl1 bw2.C0 = bw2.C0 * CFrame.new(0,.45,0)
  717. bw3 = Instance.new("Weld",box3) bw3.Part0 = box3 bw3.Part1 = ll1 bw3.C0 = bw3.C0 * CFrame.new(0,.45,0)
  718. bw4 = Instance.new("Weld",box4) bw4.Part0 = box4 bw4.Part1 = h1 bw4.C0 = bw4.C0 * CFrame.new(0,0,0)
  719. local rt = disshit:FindFirstChild("HumanoidRootPart")
  720. if rt ~= nil then
  721. rt:Destroy()
  722. end
  723. wait()
  724. local ded = disshit:Clone()
  725. local as = ded:FindFirstChildOfClass("Humanoid")
  726. as.Died:connect(function()
  727. for i,v in pairs(ded.Torso:GetChildren()) do
  728. if v:IsA("Part") then
  729. v:Destroy()
  730. end
  731. end
  732. end)
  733. coroutine.resume(coroutine.create(function()
  734. for i = 1,math.random(4,9) do
  735. nubblud(ded.Head)
  736. wait(.05)
  737. end
  738. end))
  739. as.PlatformStand = true
  740. ded.Parent = workspace disshit:Destroy()
  741. ded.Torso.CFrame = ded.Torso.CFrame * CFrame.new(0,4,-6)
  742. ded.Torso.Orientation = Vector3.new(math.random(-70,70),math.random(-70,70),math.random(-70,70))
  743. ded.Name = "ded"
  744. 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))
  745. local furs = Instance.new("BodyVelocity",ded.Torso) furs.MaxForce = Vector3.new(huge,huge,huge)
  746. furs.Velocity = yes.CFrame.lookVector * 35
  747.  
  748. coroutine.resume(coroutine.create(function()
  749. wait(.1)
  750. furs:Destroy()
  751. yes:Destroy()
  752. end))
  753. end))
  754. end
  755. wait(.4)
  756. for i = 0,1,.05 do
  757. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  758. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  759. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  760. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  761. swait()
  762. end
  763. if aaa.Parent ~= nil then
  764. aaa.Parent:BreakJoints()
  765. end
  766. using = false
  767. rsw.Part1 = nil lsw.Part1 = nil
  768. else
  769. aaa.PlatformStand = true
  770. sound(char,"537744814",10,1)
  771. wait(.5)
  772. local furs = Instance.new("BodyVelocity",tos) furs.MaxForce = Vector3.new(huge,huge,huge)
  773. furs.Velocity = rut.CFrame.lookVector * 30
  774. w:Destroy()
  775. for i = 0,.5,.05 do
  776. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(-15),rad(0),rad(-20)),i)
  777. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(90),rad(20),rad(10)),i)
  778. swait()
  779. end
  780. furs:Destroy()
  781. for i = 0,1,.1 do
  782. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  783. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  784. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  785. swait()
  786. end
  787. coroutine.resume(coroutine.create(function()
  788. wait(2)
  789. if aaa.Parent.Name == "ded" then
  790. else
  791. aaa.PlatformStand = false
  792. end
  793. end))
  794. grab = false
  795. using = false
  796. rsw.Part1 = nil lsw.Part1 = nil
  797. end
  798. end
  799. function drop()
  800. aaa.PlatformStand = true
  801. w:Destroy()
  802. local furs = Instance.new("BodyVelocity",tos) furs.MaxForce = Vector3.new(huge,huge,huge)
  803. furs.Velocity = rut.CFrame.lookVector * 30
  804. for i = 0,.5,.05 do
  805. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(-15),rad(0),rad(-20)),i)
  806. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(90),rad(20),rad(10)),i)
  807. swait()
  808. end
  809. furs:Destroy()
  810. for i = 0,1,.05 do
  811. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  812. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  813. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  814. swait()
  815. end
  816. coroutine.resume(coroutine.create(function()
  817. wait(2)
  818. if aaa.Parent.Name == "ded" then
  819. else
  820. aaa.PlatformStand = false
  821. end
  822. end))
  823. using = false
  824. rsw.Part1 = nil lsw.Part1 = nil
  825. grab = false
  826. end
  827. else
  828. oldmode = killmode
  829. killmode = "release1"
  830. hum.JumpPower = 0
  831. hum.WalkSpeed = 8
  832. coroutine.resume(coroutine.create(function()
  833. for i = 0,1,.05 do
  834. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0),i)
  835. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(-33),rad(0),rad(-30)),i)
  836. swait()
  837. end
  838. end))
  839. grabda = true
  840. w:Destroy()
  841. local ata = Instance.new("Attachment",la) ata.Position = Vector3.new(0,-.8,0)
  842. local ata1 = Instance.new("Attachment",aaa.Parent["Right Leg"]) ata1.Position = Vector3.new(0,-.8,0)
  843. local ba = Instance.new("BallSocketConstraint",ata) ba.Attachment0 = ata ba.Attachment1 = ata1
  844. rsw.Part1 = nil
  845. function drop1()
  846. using = true
  847. grabda = false
  848. killmode = oldmode
  849. ba.Attachment1 = nil
  850. ata:Destroy()
  851. ata1:Destroy()
  852. ba:Destroy()
  853. hum.JumpPower = 50
  854. hum.WalkSpeed = 16
  855. for i = 0,1,.05 do
  856. lsw.C0 = lsw.C0:lerp(CFrame.new(0,0,0),i)
  857. swait()
  858. end
  859. lsw.Part1 = nil
  860. using = false
  861. grab = false
  862. end
  863. end
  864. end
  865. end
  866. end
  867. local tcon = hbox.Touched:connect(grabd)
  868. using = true
  869. coroutine.resume(coroutine.create(function()
  870. for i = 0,.5,.1 do
  871. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  872. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  873. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  874. swait()
  875. end
  876. end))
  877. rsw.Part1 = rapr lsw.Part1 = lapl
  878. for i = 0,.7,.05 do
  879. rsw.C0 = rsw.C0:lerp(CFrame.new(.2,0,-.3) * CFrame.Angles(rad(90),rad(0),rad(70)),i)
  880. lsw.C0 = lsw.C0:lerp(CFrame.new(-.2,0,-.5) * CFrame.Angles(rad(90),rad(0),rad(-70)),i)
  881. swait()
  882. end
  883. wait(.25)
  884. hbox:Destroy()
  885. tcon:disconnect()
  886. if grab == false then
  887. for i = 0,1,.05 do
  888. rsw.C0 = rsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  889. lsw.C0 = lsw.C0:lerp(CFrame.Angles(rad(0),rad(0),rad(0)),i)
  890. swait()
  891. end
  892. using = false
  893. rsw.Part1 = nil lsw.Part1 = nil
  894. end
  895. end
  896.  
  897. function dumi()
  898. local dog = Instance.new("Model",workspace) dog.Name = "dumi"
  899. local head = Instance.new("Part",dog) head.Name = "Head" head.Size = Vector3.new(2,1,1)
  900. 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)
  901. 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)
  902. local dhum = Instance.new("Humanoid",dog) local hmesh = Instance.new("SpecialMesh",head) hmesh.Scale = Vector3.new(1.25,1.25,1.25)
  903. dhum.MaxHealth = "inf" dhum.Health = "inf" dhum.AutoJumpEnabled = true
  904. 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")
  905. local fais = Instance.new("Decal",head) fais.Texture = "http://www.roblox.com/asset/?id=1077397727"
  906. local nec = Instance.new("Motor6D",t1) nec.Part0 = t1 nec.Part1 = head nec.C0 = nec.C0 * CFrame.new(0,1.5,0)
  907. local ris = Instance.new("Motor6D",t1) ris.Part0 = t1 ris.Part1 = ra1 ris.C0 = ris.C0 * CFrame.new(1.5,0,0)
  908. local lis = Instance.new("Motor6D",t1) lis.Part0 = t1 lis.Part1 = la1 lis.C0 = lis.C0 * CFrame.new(-1.5,0,0)
  909. local rih = Instance.new("Motor6D",t1) rih.Part0 = t1 rih.Part1 = rl1 rih.C0 = rih.C0 * CFrame.new(.5,-2,0)
  910. local lih = Instance.new("Motor6D",t1) lih.Part0 = t1 lih.Part1 = ll1 lih.C0 = lih.C0 * CFrame.new(-.5,-2,0)
  911. head.CFrame = h.CFrame * CFrame.new(4,0,0)
  912. t1.CFrame = t.CFrame * CFrame.new(4,0,0)
  913. ra1.CFrame = ra.CFrame * CFrame.new(4,0,0)
  914. la1.CFrame = la.CFrame * CFrame.new(4,0,0)
  915. rl1.CFrame = rl.CFrame * CFrame.new(4,0,0)
  916. ll1.CFrame = ll.CFrame * CFrame.new(4,0,0)
  917. end
  918.  
  919. mouse.KeyDown:connect(function(key)
  920. if key == "z"and canequip then
  921. rsw.Part1 = rapr
  922. using = true
  923. info("Equipped, press F or G to change the mode.",1)
  924. for i = 0,1,.03 do
  925. rsw.C0 = rsw.C0:lerp(CFrame.new(0,.3,0) * CFrame.Angles(rad(0),rad(0),rad(-20)),i)
  926. swait()
  927. end
  928. gunweld.Part0 = ra gunweld.C0 = CFrame.new(0,-.9,0) * CFrame.Angles(rad(-90),rad(-90),rad(0))
  929. for i = 0,1,.05 do
  930. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
  931. swait()
  932. end
  933. uneq = true
  934. rsw.Part1 = nil
  935. canequip = false
  936. using = false
  937. end
  938. end)
  939.  
  940. mouse.KeyDown:connect(function(key)
  941. if key == "x" and not canequip and uneq then
  942. rsw.Part1 = rapr
  943. using = true
  944. info("Unequipped.",1)
  945. for i = 0,1,.05 do
  946. rsw.C0 = rsw.C0:lerp(CFrame.new(0,.3,0) * CFrame.Angles(rad(0),rad(0),rad(-20)),i)
  947. swait()
  948. end
  949. gunweld.Part0 = t gunweld.C0 = CFrame.new(1.1,-.7,0) * CFrame.Angles(rad(-120),rad(-90),rad(0))
  950. for i = 0,.5,.1 do
  951. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  952. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  953. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  954. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  955. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  956. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  957. swait()
  958. end
  959. for i = 0,1,.03 do
  960. rsw.C0 = rsw.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(rad(0),rad(0),rad(0)),i)
  961. swait()
  962. end
  963. uneq = false
  964. canequip = true
  965. rsw.Part1 = nil
  966. end
  967. end)
  968.  
  969. mouse.KeyDown:connect(function(key)
  970. key = string.lower(key)
  971. if string.byte(key) == 48 and not grabda then
  972. hum.WalkSpeed = 30
  973. end
  974. end)
  975. mouse.KeyUp:connect(function(key)
  976. key = string.lower(key)
  977. if string.byte(key) == 48 and not grabda then
  978. hum.WalkSpeed = 16
  979. end
  980. end)
  981.  
  982. local conts = false
  983. function controls()
  984. conts = true
  985. coroutine.resume(coroutine.create(function()
  986. info("Click - Shoot.",1)
  987. wait(1)
  988. info("R - Reload.",1)
  989. wait(1)
  990. info("F - Change the mode to Grab.",1)
  991. wait(1)
  992. info("G - Change the mode to Shoot.",1)
  993. wait(1)
  994. info("C - Spawn a dummy.",1)
  995. wait(1)
  996. info("v - Destroy all dead victims.",1)
  997. wait(1)
  998. info("N - Dance(Take the L).",1)
  999. conts = false
  1000. end))
  1001. end
  1002.  
  1003. function cleardumi()
  1004. for i,v in pairs(workspace:GetChildren()) do
  1005. if v.Name == "ded" then
  1006. local exp = Instance.new("Explosion",workspace) exp.Position = v.Torso.Position exp.BlastRadius = 0
  1007. v:Destroy()
  1008. end
  1009. end
  1010. end
  1011.  
  1012. hum.Running:connect(function(spd)
  1013. if spd > 0 then
  1014. anim = "walk"
  1015. else
  1016. anim = "idle"
  1017. end
  1018. end)
  1019.  
  1020. function sog()
  1021. if mode == "grab" and not using then
  1022. greb()
  1023. end
  1024. end
  1025. function act()
  1026. if grab and using and killmode == "kill" then
  1027. kill()
  1028. end
  1029. if grab and using and killmode == "release" then
  1030. drop()
  1031. end
  1032. if grabda and grab and killmode == "release1" then
  1033. drop1()
  1034. end
  1035. end
  1036. mouse.Button1Down:connect(act)
  1037. mouse.Button1Down:connect(sog)
  1038.  
  1039. local change = false
  1040. function modegrab()
  1041. change = true
  1042. mode = "grab"
  1043. info("Mode changed to Grab click to perform an action.",1)
  1044. wait(1)
  1045. change = false
  1046. end
  1047. function modeshoot()
  1048. change = true
  1049. mode = "shoot"
  1050. info("Mode changed to Shoot click to perform an action.",1)
  1051. wait(1)
  1052. change = false
  1053. end
  1054.  
  1055.  
  1056.  
  1057. mouse.KeyDown:connect(function(key)
  1058. if key == "e" and grab and not grabda then
  1059. killmode = "kill"
  1060. info("Mode changed to Kill",1)
  1061. end
  1062. if key == "q" and grab and not grabda then
  1063. killmode = "release"
  1064. info("Mode changed to Release",1)
  1065. end
  1066. if grabda and key == "q" then
  1067. killmode = "release1"
  1068. info("Mode changed to Release",1)
  1069. end
  1070. if grabda and key == "e" then
  1071. killmode = "shoot1"
  1072. info("Mode changed to Shoot",1)
  1073. end
  1074. if key == "r" and not using and not grab then
  1075. reload()
  1076. end
  1077. if key == "c" then
  1078. dumi()
  1079. end
  1080. if key == "v" then
  1081. cleardumi()
  1082. end
  1083. if key == "m" and not conts then
  1084. controls()
  1085. end
  1086. if key == "f" and not change and not using then
  1087. if mode ~= "grab" then
  1088. modegrab()
  1089. end
  1090. end
  1091. if key == "g" and not change and not using then
  1092. if mode ~= "shoot" then
  1093. modeshoot()
  1094. end
  1095. end
  1096. end)
  1097.  
  1098. local dancing = false
  1099. local mus = Instance.new("Sound",char) mus.Looped = true mus.SoundId = "rbxassetid://1563991094" mus.Volume = 5
  1100. mouse.KeyDown:connect(function(key)
  1101. key = key:lower()
  1102. if key == "n" then
  1103. if not dancing then
  1104. dancing = true
  1105. using = true
  1106. char.Animate.Disabled = true
  1107. for i,v in pairs(Model0:GetChildren()) do
  1108. if v:IsA("Part") then
  1109. v.Transparency = 1
  1110. end
  1111. end
  1112. mus:Play()
  1113. while dancing do
  1114. if dancing then
  1115. coroutine.resume(coroutine.create(function()
  1116. for i = 0,.3,.035 do
  1117. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(5),rad(180)) * CFrame.new(0,0,-.1),i)
  1118. 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)
  1119. 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)
  1120. rh.C0 = rh.C0:lerp(CFrame.new(1,-.9,-.05) * CFrame.Angles(rad(0),rad(60),rad(-10)),i)
  1121. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.8,-.15) * CFrame.Angles(rad(0),rad(-45),rad(-31.5)),i)
  1122. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1123. swait()
  1124. end
  1125. end))
  1126. end
  1127. wait(.07)
  1128. if dancing then
  1129. for i = 0,.7,.035 do
  1130. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(5),rad(180)) * CFrame.new(0,0,-.2),i)
  1131. 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)
  1132. 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)
  1133. rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.05) * CFrame.Angles(rad(0),rad(60),rad(-20)),i)
  1134. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.8,-.15) * CFrame.Angles(rad(0),rad(-45),rad(-63)),i)
  1135. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1136. swait()
  1137. end
  1138. end
  1139. if dancing then
  1140. coroutine.resume(coroutine.create(function()
  1141. for i = 0,.3,.035 do
  1142. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(-5),rad(180)) * CFrame.new(0,0,-.1),i)
  1143. 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)
  1144. 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)
  1145. rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.15) * CFrame.Angles(rad(0),rad(45),rad(31.5)),i)
  1146. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.9,-.05) * CFrame.Angles(rad(0),rad(-60),rad(20)),i)
  1147. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1148. swait()
  1149. end
  1150. end))
  1151. end
  1152. wait(.07)
  1153. if dancing then
  1154. for i = 0,.7,.035 do
  1155. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(-5),rad(180)) * CFrame.new(0,0,-.2),i)
  1156. 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)
  1157. 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)
  1158. rh.C0 = rh.C0:lerp(CFrame.new(1,-.8,-.15) * CFrame.Angles(rad(0),rad(45),rad(63)),i)
  1159. lh.C0 = lh.C0:lerp(CFrame.new(-1,-.8,-.05) * CFrame.Angles(rad(0),rad(-60),rad(20)),i)
  1160. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1161. swait()
  1162. end
  1163. end
  1164. swait()
  1165. end
  1166. else
  1167. mus:Stop()
  1168. char.Animate.Disabled = false
  1169. dancing = false
  1170. for i,v in pairs(Model0:GetChildren()) do
  1171. if v:IsA("Part") then
  1172. v.Transparency = 0
  1173. end
  1174. end
  1175. shot.Transparency = 1
  1176. if not canequip then
  1177. using = false
  1178. else
  1179. for i,v in pairs(Model0:GetChildren()) do
  1180. if v:IsA("Part") then
  1181. v.Transparency = 0
  1182. end
  1183. end
  1184. shot.Transparency = 1
  1185. using = true
  1186. wait(.3)
  1187. for i = 0,1,.1 do
  1188. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1189. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1190. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1191. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1192. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1193. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1194. swait()
  1195. end
  1196. end
  1197. end
  1198. end
  1199. end)
  1200.  
  1201. local musica = Instance.new("Sound",char) musica.Volume = 1 musica.Looped = true musica.SoundId = "rbxassetid://1306847940"
  1202. local visonlyvlad = false
  1203. 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
  1204. mouse.KeyDown:connect(function(key)
  1205. key = key:lower()
  1206. if key == "u" and plr.Name == "CoulerFreak2016" then
  1207. if not visonlyvlad then
  1208. vispart.Transparency = 0
  1209. musica:Play()
  1210. visonlyvlad = true
  1211. info("Visualiser mode:On",.3)
  1212. else
  1213. info("Visualiser mode:Off",.3)
  1214. vispart.Transparency = 1
  1215. vispart.CFrame = CFrame.new(0,-10,0)
  1216. visonlyvlad = false
  1217. musica:Stop()
  1218. end
  1219. end
  1220. end)
  1221. coroutine.resume(coroutine.create(function()
  1222. while true do
  1223. if visonlyvlad == true then
  1224. for i = 0,1,.0001 do
  1225. 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)
  1226. vispart.Size = Vector3.new(musica.PlaybackLoudness/65,musica.PlaybackLoudness/65,musica.PlaybackLoudness/65)
  1227. vispart.Color = Color3.fromRGB(musica.PlaybackLoudness/4,musica.PlaybackLoudness/50,musica.PlaybackLoudness/1)
  1228. 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)
  1229. swait()
  1230. end
  1231. end
  1232. swait()
  1233. end
  1234. end))
  1235.  
  1236. while true do
  1237. if anim == "walk" and not using and uneq then
  1238. for i = 0,.5,.1 do
  1239. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1240. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1241. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1242. rh.C0 = rh.C0:lerp(CFrame.new(1,-1,0) * CFrame.Angles(rad(0),rad(90),rad(0)),i)
  1243. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(0),rad(-90),rad(0)),i)
  1244. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(180)),i)
  1245. swait()
  1246. end
  1247. end
  1248. if anim == "idle" and not using and uneq then
  1249. for i = 0,.5,.06 do
  1250. rutj.C0 = rutj.C0:lerp(CFrame.Angles(rad(-90),rad(0),rad(160)),i)
  1251. rs.C0 = rs.C0:lerp(CFrame.new(1,.5,0) * CFrame.Angles(rad(0),rad(74),rad(-20)),i)
  1252. ls.C0 = ls.C0:lerp(CFrame.new(-1,.5,0) * CFrame.Angles(rad(0),rad(-110),rad(-20)),i)
  1253. rh.C0 = rh.C0:lerp(CFrame.new(1,-1.1,0) * CFrame.Angles(rad(7),rad(80),rad(0)),i)
  1254. lh.C0 = lh.C0:lerp(CFrame.new(-1,-1,0) * CFrame.Angles(rad(-7),rad(-80),rad(0)),i)
  1255. nec.C0 = nec.C0:lerp(CFrame.new(0,1,0) * CFrame.Angles(rad(-90),rad(0),rad(200)),i)
  1256. swait()
  1257. end
  1258. end
  1259. swait()
  1260. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement