Advertisement
Awooslayer699

REQUIRE THIS TOO

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