Advertisement
Guest User

Untitled

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