Advertisement
lundofett

Untitled

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