Advertisement
Guest User

vlad20020's gun (fixed) i guess

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