Advertisement
ManlyMemeScripter

I’m

Apr 12th, 2018
953
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 44.99 KB | None | 0 0
  1.  
  2. --https://github.com/Mokiros/roblox-FE-compatibility
  3. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  4. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  5. local RealPlayer = Player
  6. 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 rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},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")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
  7.  
  8. gui1=Instance.new("BillboardGui")
  9. gui1.Parent= game.Workspace.THECREATOR20029.Head
  10. gui1.Adornee= game.Workspace.THECREATOR20029.Head
  11. gui1.Size=UDim2.new(2.5,0,2.5,0)
  12. gui1.StudsOffset=Vector3.new(0,0,0)
  13. gui1.AlwaysOnTop = true
  14. text1=Instance.new("ImageLabel")
  15. text1.Image = "http://www.roblox.com/asset/?id=228000214" --[[Face Image Source (If you wish to change the face to a different decal put it in there]]
  16. text1.Size=UDim2.new(1,0,1,0)
  17. text1.Position=UDim2.new(0,0,0,0)
  18. text1.BackgroundTransparency = 1
  19. text1.Parent=gui1
  20.  
  21. --By Rufus14
  22. mouse = game.Players.LocalPlayer:GetMouse()
  23. game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 57
  24. game.Players.LocalPlayer.Character.Humanoid.MaxHealth = math.huge
  25. game.Players.LocalPlayer.Character.Humanoid.Health = math.huge
  26. Sound0 = Instance.new("Sound")
  27. Sound0.Volume = 200
  28. Sound0.Parent = game.Players.LocalPlayer.Character.Head
  29. Sound0.SoundId = "rbxassetid://rbxassetid://rbxassetid://0&hash=4b754e7354e2bb49178f115c1ab37c5f"
  30. Sound0.Looped = true
  31. Sound0:Play()
  32. canwalk = true
  33. howmuch = 0
  34. hittd = false
  35. function change(key)
  36. if key == "w" or key == "a" or key == "s" or key == "d" then
  37. howmuch = howmuch + 1
  38. end
  39. end
  40. function otherchange(key)
  41. if key == "w" or key == "a" or key == "s" or key == "d" then
  42. howmuch = howmuch - 1
  43. end
  44. end
  45. mouse.KeyDown:connect(change)
  46. mouse.KeyUp:connect(otherchange)
  47. --By Rufus14
  48. mouse = game.Players.LocalPlayer:GetMouse()
  49. using = false
  50. hittd = false
  51. --Converted with ttyyuu12345's model to script plugin v4
  52. local txtfag = Instance.new("BillboardGui", game.Players.LocalPlayer.Character.Head)
  53. txtfag.Adornee = suckadick
  54. txtfag.Name = "kys nigga"
  55. txtfag.Size = UDim2.new(2, 0, 1.2, 0)
  56. txtfag.StudsOffset = Vector3.new(-5, 3, 0)
  57. local textfag = Instance.new("TextLabel", txtfag)
  58. textfag.Size = UDim2.new(6, 0, 1, 0)
  59. textfag.FontSize = "Size8"
  60. textfag.TextScaled = true
  61. textfag.TextTransparency = 0
  62. textfag.BackgroundTransparency = 1
  63. textfag.TextTransparency = 0
  64. textfag.TextStrokeTransparency = 0
  65. textfag.Font = "Cartoon"
  66. textfag.TextStrokeColor3 = Color3.new(0, 1, 0)
  67. v = Instance.new("Part")
  68. v.Name = "ColorBrick"
  69. v.Parent = part
  70. v.FormFactor = "Symmetric"
  71. v.Anchored = true
  72. v.CanCollide = false
  73. v.BottomSurface = "Smooth"
  74. v.TopSurface = "Smooth"
  75. v.Size = Vector3.new(10, 5, 3)
  76. v.Transparency = 0.7
  77. v.BrickColor = game.Players.LocalPlayer.Character.Torso.BrickColor
  78. v.Transparency = 1
  79. textfag.TextColor3 = v.BrickColor.Color
  80. textfag.TextStrokeColor3 = Color3.new(0, 0, 0)
  81. v.Shape = "Block"
  82. textfag.Text = "Furries are gey"
  83. wait(2)
  84. textfag.Text = "ey b0ss"
  85. wait(0.3)
  86. textfag.Text = game.Players.LocalPlayer.Character.Name.." The fallen pink guy"
  87. function sandbox(var,func)
  88. local env = getfenv(func)
  89. local newenv = setmetatable({},{
  90. __index = function(self,k)
  91. if k=="script" then
  92. return var
  93. else
  94. return env[k]
  95. end
  96. end,
  97. })
  98. setfenv(func,newenv)
  99. return func
  100. end
  101. cors = {}
  102. mas = Instance.new("Model",game:GetService("Lighting"))
  103. Model0 = Instance.new("Model")
  104. Part1 = Instance.new("Part")
  105. Weld2 = Instance.new("Weld")
  106. Part3 = Instance.new("Part")
  107. Decal4 = Instance.new("Decal")
  108. Decal5 = Instance.new("Decal")
  109. Model0.Name = "Flagloldiefurshits"
  110. Model0.Parent = mas
  111. Part1.Name = "Stick"
  112. Part1.Parent = Model0
  113. Part1.Material = Enum.Material.Wood
  114. Part1.BrickColor = BrickColor.new("Dark orange")
  115. Part1.Rotation = Vector3.new(0, 0, 126)
  116. Part1.Shape = Enum.PartType.Cylinder
  117. Part1.Size = Vector3.new(5.71999931, 0.319999993, 0.839999914)
  118. Part1.CFrame = CFrame.new(-11.7340431, 3.40531874, -51.7842827, -0.58777535, -0.809025586, 0, 0.809025586, -0.58777535, 0, 0, 0, 1)
  119. Part1.BottomSurface = Enum.SurfaceType.Smooth
  120. Part1.TopSurface = Enum.SurfaceType.Smooth
  121. Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
  122. Part1.Position = Vector3.new(-11.7340431, 3.40531874, -51.7842827)
  123. Part1.Orientation = Vector3.new(0, 0, 126)
  124. Part1.Color = Color3.new(0.627451, 0.372549, 0.207843)
  125. Weld2.Parent = Part1
  126. Weld2.C0 = CFrame.new(1.73310661, 1.69616222, 0.00998687744, -2.56299973e-06, 1.00000119, 0, -1.00000119, -2.56299973e-06, 0, 0, 0, 1)
  127. Weld2.Part0 = Part1
  128. Weld2.Part1 = Part3
  129. Part3.Name = "Flag"
  130. Part3.Parent = Model0
  131. Part3.BrickColor = BrickColor.new("Really black")
  132. Part3.Rotation = Vector3.new(0, 0, 36)
  133. Part3.Size = Vector3.new(3.32999945, 2.10000038, 0.0700000003)
  134. Part3.CFrame = CFrame.new(-14.124959, 3.81048417, -51.7742958, 0.809026122, -0.587772548, 0, 0.587772548, 0.809026122, 0, 0, 0, 1)
  135. Part3.BottomSurface = Enum.SurfaceType.Smooth
  136. Part3.Color = Color3.new(0, 0, 0)
  137. Part3.Position = Vector3.new(-14.124959, 3.81048417, -51.7742958)
  138. Part3.Orientation = Vector3.new(0, 0, 36)
  139. Part3.Color = Color3.new(0, 0, 0)
  140. Decal4.Parent = Part3
  141. Decal4.Texture = "rbxassetid://228000214"
  142. Decal5.Name = "Decal1"
  143. Decal5.Parent = Part3
  144. Decal5.Texture = "rbxassetid://228000214"
  145. Decal5.Face = Enum.NormalId.Back
  146. for i,v in pairs(mas:GetChildren()) do
  147. v.Parent = game:GetService("Players").LocalPlayer.Character
  148. pcall(function() v:MakeJoints() end)
  149. end
  150. mas:Destroy()
  151. for i,v in pairs(cors) do
  152. spawn(function()
  153. pcall(v)
  154. end)
  155. end
  156. weld = Instance.new("Weld", game.Players.LocalPlayer.Character.Torso)
  157. weld.Part0 = game.Players.LocalPlayer.Character.Torso
  158. weld.Part1 = Part1
  159. weld.C0 = CFrame.new(-0.244045258, 0.405305624, 0.555713654, -0.58777535, -0.809025586, -5.23747954e-22, 0.809025586, -0.58777535, 3.13253081e-22, -5.61275872e-22, -2.39603033e-22, 1)
  160. local punch = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"])
  161. punch.Volume = 3
  162. punch.SoundId = "rbxassetid://131237241"
  163. punch.TimePosition = 0
  164. local FILTHYPRANK = Instance.new("Sound", game.Players.LocalPlayer.Character["Head"])
  165. FILTHYPRANK.Volume = 10
  166. FILTHYPRANK.SoundId = "rbxassetid://676845644"
  167. FILTHYPRANK.TimePosition = 3.6
  168. local thunder = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"])
  169. thunder.Volume = 3
  170. thunder.SoundId = "rbxassetid://130818250"
  171. thunder.TimePosition = 0.4
  172. local meme = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"])
  173. meme.Volume = 3
  174. meme.SoundId = "rbxassetid://138677306"
  175. local gore = Instance.new("Sound", game.Players.LocalPlayer.Character["Right Arm"])
  176. gore.Volume = 4
  177. gore.SoundId = "rbxassetid://429400881"
  178. gore.TimePosition = 0
  179. canbefps = false
  180. function switchfps(key)
  181. key = key:lower()
  182. if key == "z" then
  183. if canbefps then
  184. canbefps = false
  185. else
  186. canbefps = true
  187. end
  188. end
  189. end
  190. mouse.KeyDown:connect(switchfps)
  191. function fps()
  192. if canbefps then
  193. workspace.CurrentCamera.CFrame = game.Players.LocalPlayer.Character.Head.CFrame * CFrame.new(0,0,-0.9)
  194. end
  195. end
  196. game:GetService("RunService").RenderStepped:connect(fps)
  197. function tentaclekick(key)
  198. if key == "f" and not using then
  199. using = true
  200. canwalk = false
  201. for i = 0,0.7 , 0.05 do
  202. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.97511852, -0.684444427, 1, 7.09343726e-27, -1.96394811e-26, -1.65597681e-26, 0.829041839, -0.55919075, 1.19149551e-26, 0.55919075, 0.829041839),i)
  203. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.69545364, 1.02498245, 1, 8.33037116e-27, -8.30512761e-27, 1.84277907e-27, 0.587786973, 0.809019029, 1.17634938e-26, -0.809019029, 0.587786973),i)
  204. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.50000048, 0.150976658, -0.603237152, 1, -3.70407732e-22, -4.55732897e-22, -2.65674116e-22, 0.406738937, -0.913547099, 5.23749266e-22, 0.913547099, 0.406738907),i)
  205. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.150976658, -0.603237152, 1, -3.70407732e-22, -4.55732897e-22, -2.65674116e-22, 0.406738937, -0.913547099, 5.23749266e-22, 0.913547099, 0.406738907),i)
  206. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, 0, 0, 1, 1.80491375e-26, -5.65455497e-27, -1.84277907e-26, 0.866028428, -0.499996245, -4.08945493e-27, 0.499996245, 0.866028428):inverse(),i)
  207. game:GetService("RunService").RenderStepped:wait()
  208. end
  209. FILTHYPRANK.TimePosition = 3.8
  210. FILTHYPRANK:Play()
  211. wait(0.6)
  212. local sensoryee = Instance.new("Part", game.Players.LocalPlayer.Character["Right Leg"])
  213. sensoryee.Size = Vector3.new(1,1,1)
  214. sensoryee.CanCollide = false
  215. sensoryee.Transparency = 0
  216. sensoryee:BreakJoints()
  217. local weldsensor = Instance.new("Weld", sensoryee)
  218. weldsensor.Part0 = game.Players.LocalPlayer.Character["Right Leg"]
  219. weldsensor.Part1 = sensoryee
  220. weldsensor.C0 = weldsensor.C0 * CFrame.new(0,-0.5,0)
  221. local function tentacleshot(part)
  222. sensoryee:destroy()
  223. local humanoid = part.Parent:findFirstChildOfClass("Humanoid")
  224. if humanoid then
  225. local canscan = true
  226. for i,v in pairs(humanoid.Parent:GetChildren()) do
  227. if v.ClassName == "Hat" or v.ClassName == "Accessory" then
  228. if v:findFirstChild("Handle") then
  229. if v.Handle:findFirstChild("Mesh") then
  230. if canscan and v.Handle.Mesh.MeshId == "rbxassetid://188699722" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=188699722" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=170939831" or v.Handle.Mesh.MeshId == "rbxassetid://170939831" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=135446047" or v.Handle.Mesh.MeshId == "rbxassetid://135446047" or v.Handle.Mesh.MeshId == "rbxassetid://335037790" or v.Handle.Mesh.MeshId == "rbxassetid://361948302" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=361948302" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=361948302" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=1374148" or v.Handle.Mesh.MeshId == "rbxassetid://1374148" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=112495973" or v.Handle.Mesh.MeshId == "rbxassetid://112495973" or v.Name == "FoxTail" or v.Name == "Zootopia_FoxEars" or v.Name == "FurryCatTail" or v.Handle.Mesh.MeshId == "http://www.roblox.com/asset/?id=112495973" or v.Name == "ArcticFoxHead" then
  231. canscan = false
  232. hittd = true
  233. local furfaggrowl = Instance.new("Sound", humanoid.Parent.Head)
  234. furfaggrowl.SoundId = "rbxassetid://534269232"
  235. furfaggrowl.Volume = 7
  236. furfaggrowl:Play()
  237. punch:Play()
  238. local rhandclone = humanoid.Parent.Torso["Right Shoulder"]:Clone()
  239. local rhandweld = Instance.new("Weld", humanoid.Parent.Torso)
  240. rhandweld.Part0 = humanoid.Parent.Torso
  241. rhandweld.Part1 = humanoid.Parent["Right Arm"]
  242. rhandweld.C0 = CFrame.new(1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  243. local lhandweld = Instance.new("Weld", humanoid.Parent.Torso)
  244. lhandweld.Part0 = humanoid.Parent.Torso
  245. lhandweld.Part1 = humanoid.Parent["Left Arm"]
  246. lhandweld.C0 = CFrame.new(-1.5, 0, 0, 1, -1.6395192e-43, 0, -1.6395192e-43, 1, 0, 0, 0, 1)
  247. local llegclone = humanoid.Parent.Torso["Left Hip"]:Clone()
  248. local llegweld = Instance.new("Weld", humanoid.Parent.Torso)
  249. llegweld.Part0 = humanoid.Parent.Torso
  250. llegweld.Part1 = humanoid.Parent["Left Leg"]
  251. llegweld.C0 = CFrame.new(-0.5, -1, 0, -0, -0, -1, 0, 1, 0, 1, 0, 0)
  252. local rlegclone = humanoid.Parent.Torso["Right Hip"]:Clone()
  253. local rlegweld = Instance.new("Weld", humanoid.Parent.Torso)
  254. rlegweld.Part0 = humanoid.Parent.Torso
  255. rlegweld.Part1 = humanoid.Parent["Right Leg"]
  256. rlegweld.C0 = CFrame.new(0.5, -1, 0, 0, 0, 1, 0, 1, 0, -1, -0, -0)
  257. local rootjointclone = humanoid.Parent.HumanoidRootPart.RootJoint:Clone()
  258. local humanoidrootpart = Instance.new("Weld", humanoid.Parent.Torso)
  259. humanoidrootpart.Part0 = humanoid.Parent.HumanoidRootPart
  260. humanoidrootpart.Part1 = humanoid.Parent.Torso
  261. local heed = humanoid.Parent.Torso["Neck"]:Clone()
  262. local headweld = Instance.new("Weld", humanoid.Parent.Torso)
  263. headweld.Part0 = humanoid.Parent.Torso
  264. headweld.Part1 = humanoid.Parent.Head
  265. headweld.C0 = headweld.C0 * CFrame.new(0,1.5,0)
  266. for i = 0,0.7 , 0.07 do
  267. headweld.C0 = headweld.C0:lerp(CFrame.new(0, 1.44868422, -0.453197479, 1, -1.21169035e-27, -1.77209714e-26, 9.14779977e-27, 0.898803353, 0.438370585, 1.58529488e-26, -0.438370407, 0.898803115),i)
  268. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.74549341, -0.405010223, 1, 9.08231085e-23, -5.80211714e-22, -2.65675327e-22, 0.951063275, -0.309020281, 5.23751791e-22, 0.309020311, 0.951063037),i)
  269. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -2.04146266, 0.317977905, 1, 2.83790199e-22, -5.14157122e-22, -2.65675327e-22, 0.999398291, 0.0348992832, 5.23751791e-22, -0.0348991863, 0.999398053),i)
  270. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-0.610451698, -0.249120951, -0.451892853, 0.743151546, -0.374165177, -0.554731011, 2.00528552e-06, 0.82904911, -0.559189737, 0.669127941, 0.415561259, 0.616110206),i)
  271. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(0.849339485, -0.124854803, -0.655277252, 0.559177101, 0.337202102, 0.757374227, 0.0866425484, 0.884781837, -0.457896292, -0.824514329, 0.321665913, 0.465533555),i)
  272. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1.90734863e-06, 0, 1, 3.5038046e-26, -5.8766982e-26, -1.03372333e-26, 0.927190065, 0.374597758, 6.76022241e-26, -0.374597758, 0.927190006),i)
  273. game:GetService("RunService").RenderStepped:wait()
  274. end
  275. wait(6)
  276. humanoid.Parent:BreakJoints()
  277. end
  278. end
  279. end
  280. end
  281. end
  282. end
  283. end
  284. sensoryee.Touched:connect(tentacleshot)
  285. for i = 0,0.7 , 0.07 do
  286. llegweld.C0 = llegweld.C0:lerp(CFrame.new(-0.5, -1.84595358, 0.746810913, 1, -6.61380983e-27, 1.04154883e-25, -4.31315925e-26, 0.882951677, 0.469469398, -9.49662312e-26, -0.469469309, 0.882951558),i)
  287. rlegweld.C0 = rlegweld.C0:lerp(CFrame.new(0.5, -1.43540072, -1.26526642, 1, 2.01948392e-28, -3.07592644e-26, -2.91971503e-26, 0.309028178, -0.951055586, 9.39060022e-27, 0.951055467, 0.309028089),i)
  288. lhandweld.C0 = lhandweld.C0:lerp(CFrame.new(-1.50000048, 0.15097785, 0.536071777, 1, 5.85133651e-22, 5.01299648e-23, -2.65674166e-22, 0.374605715, 0.927186906, 5.23749266e-22, -0.927186787, 0.374605745),i)
  289. rhandweld.C0 = rhandweld.C0:lerp(CFrame.new(1.5, 0.15097785, 0.536071777, 1, 5.85133651e-22, 5.01299648e-23, -2.65674166e-22, 0.374605715, 0.927186906, 5.23749266e-22, -0.927186787, 0.374605745),i)
  290. humanoidrootpart.C0 = humanoidrootpart.C0:lerp(CFrame.new(0, -1.90734863e-06, 0, 1, 3.5038046e-26, -5.8766982e-26, -1.03372333e-26, 0.927190065, 0.374597758, 6.76022241e-26, -0.374597758, 0.927190006):inverse(),i)
  291. game:GetService("RunService").RenderStepped:wait()
  292. end
  293. wait(0.2)
  294. sensoryee:destroy()
  295. FILTHYPRANK:Stop()
  296. canwalk = true
  297. using = false
  298. end
  299. end
  300. mouse.KeyDown:connect(tentaclekick)
  301.  
  302. Victim = game.Players["LocalPlayer"]
  303. Victim = Victim.Character
  304. o1 = Instance.new("Sound")
  305. o1.Parent = Victim.Head
  306. o1.SoundId = "rbxassetid://429400881"
  307. o1:Play()
  308. o1 = Instance.new("Sound")
  309. o1.Name = "SoundofPain"
  310. o1.Parent = Victim.Head
  311. o1.Volume = 3
  312. o1.SoundId = "rbxassetid://214083825"
  313. o1:Play()
  314. Victim.Head.face.Texture = "http://www.roblox.com/asset/?id=214083825"
  315.  
  316. -- Objects
  317.  
  318. local ScreenGui = Instance.new("ScreenGui")
  319. local TextButton = Instance.new("TextButton")
  320.  
  321. -- Properties
  322.  
  323. ScreenGui.Parent = game.Players.LocalPlayer.PlayerGui
  324.  
  325. TextButton.Parent = ScreenGui
  326. TextButton.BackgroundColor3 = Color3.new(1, 1, 1)
  327. TextButton.Size = UDim2.new(0, 140, 0, 50)
  328. TextButton.Font = Enum.Font.SourceSans
  329. TextButton.FontSize = Enum.FontSize.Size14
  330. TextButton.Text = "Scout"
  331. TextButton.TextSize = 14
  332.  
  333. --[[Function/s being made!]]
  334. function PlayMusic(ID)
  335. for i, v in pairs (game.Workspace:GetChildren()) do
  336. if v:IsA("Sound") then
  337. end
  338. end
  339. local music = Instance.new("Sound")
  340. local asset = "rbxassetid://"
  341. music.SoundId = asset .. ID
  342. music.Parent = workspace
  343. music.Volume = 999
  344. music.Looped = false
  345. music:Play()
  346. end
  347. --[[Connecting functions!]]
  348. TextButton.MouseButton1Down:connect(function()
  349. PlayMusic(202753019)
  350. end)
  351.  
  352. --Ugh,BOOGIE BOMB YESH.FORTNITE FUCK YEAH
  353. function sandbox(var,func)
  354. local env = getfenv(func)
  355. local newenv = setmetatable({},{
  356. __index = function(self,k)
  357. if k=="script" then
  358. return var
  359. else
  360. return env[k]
  361. end
  362. end,
  363. })
  364. setfenv(func,newenv)
  365. return func
  366. end
  367. cors = {}
  368. mas = Instance.new("Model",game:GetService("Lighting"))
  369. Tool0 = Instance.new("Tool")
  370. Part1 = Instance.new("Part")
  371. SpecialMesh2 = Instance.new("SpecialMesh")
  372. Part3 = Instance.new("Part")
  373. BillboardGui4 = Instance.new("BillboardGui")
  374. Script5 = Instance.new("Script")
  375. ImageLabel6 = Instance.new("ImageLabel")
  376. CylinderMesh7 = Instance.new("CylinderMesh")
  377. Part8 = Instance.new("Part")
  378. Weld9 = Instance.new("Weld")
  379. Weld10 = Instance.new("Weld")
  380. Weld11 = Instance.new("Weld")
  381. BlockMesh12 = Instance.new("BlockMesh")
  382. IntValue13 = Instance.new("IntValue")
  383. IntValue14 = Instance.new("IntValue")
  384. StringValue15 = Instance.new("StringValue")
  385. BoolValue16 = Instance.new("BoolValue")
  386. Script17 = Instance.new("Script")
  387. LocalScript18 = Instance.new("LocalScript")
  388. SpecialMesh19 = Instance.new("SpecialMesh")
  389. SpecialMesh20 = Instance.new("SpecialMesh")
  390. LocalScript21 = Instance.new("LocalScript")
  391. LocalScript22 = Instance.new("LocalScript")
  392. LocalScript23 = Instance.new("LocalScript")
  393. LocalScript24 = Instance.new("LocalScript")
  394. ScreenGui25 = Instance.new("ScreenGui")
  395. Frame26 = Instance.new("Frame")
  396. TextButton27 = Instance.new("TextButton")
  397. TextButton28 = Instance.new("TextButton")
  398. TextButton29 = Instance.new("TextButton")
  399. TextButton30 = Instance.new("TextButton")
  400. Script31 = Instance.new("Script")
  401. LocalScript32 = Instance.new("LocalScript")
  402. Sound33 = Instance.new("Sound")
  403. Sound34 = Instance.new("Sound")
  404. StringValue35 = Instance.new("StringValue")
  405. Tool0.Name = "Tactical Shotgun"
  406. Tool0.Parent = mas
  407. Part1.Parent = Tool0
  408. Part1.BrickColor = BrickColor.new("Bright bluish green")
  409. Part1.Anchored = true
  410. Part1.FormFactor = Enum.FormFactor.Custom
  411. Part1.Size = Vector3.new(0.510000467, 1.18000245, 1.34999704)
  412. Part1.CFrame = CFrame.new(6.70000076, 0.590013027, -9.69999599, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  413. Part1.Color = Color3.new(0, 0.560784, 0.611765)
  414. Part1.Position = Vector3.new(6.70000076, 0.590013027, -9.69999599)
  415. Part1.Color = Color3.new(0, 0.560784, 0.611765)
  416. SpecialMesh2.Parent = Part1
  417. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=1489994942"
  418. SpecialMesh2.Scale = Vector3.new(0.25, 0.25, 0.25)
  419. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=126534866"
  420. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  421. SpecialMesh2.Scale = Vector3.new(0.25, 0.25, 0.25)
  422. Part3.Name = "Barrel"
  423. Part3.Parent = Tool0
  424. Part3.BrickColor = BrickColor.new("Really black")
  425. Part3.Transparency = 1
  426. Part3.Rotation = Vector3.new(-90, 0, 0)
  427. Part3.Anchored = true
  428. Part3.FormFactor = Enum.FormFactor.Custom
  429. Part3.Size = Vector3.new(0.200000003, 0.200000003, 0.200000003)
  430. Part3.CFrame = CFrame.new(6.79500008, 0.98001498, -10.4250021, 1, 0, -0, 0, 0, 1, 0, -1, 0)
  431. Part3.BottomSurface = Enum.SurfaceType.Smooth
  432. Part3.TopSurface = Enum.SurfaceType.Smooth
  433. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  434. Part3.Position = Vector3.new(6.79500008, 0.98001498, -10.4250021)
  435. Part3.Orientation = Vector3.new(-90, 0, 0)
  436. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  437. BillboardGui4.Name = "Light"
  438. BillboardGui4.Parent = Part3
  439. BillboardGui4.Size = UDim2.new(1.29999995, 0, 1.29999995, 0)
  440. BillboardGui4.Active = true
  441. BillboardGui4.Adornee = Part3
  442. Script5.Parent = BillboardGui4
  443. table.insert(cors,sandbox(Script5,function()
  444. script.Parent.Adornee = script.Parent.Parent
  445. end))
  446. ImageLabel6.Name = "Light"
  447. ImageLabel6.Parent = BillboardGui4
  448. ImageLabel6.Transparency = 1
  449. ImageLabel6.Size = UDim2.new(1, 0, 1, 0)
  450. ImageLabel6.Visible = false
  451. ImageLabel6.BackgroundColor3 = Color3.new(0.756863, 0.752941, 0.764706)
  452. ImageLabel6.BackgroundTransparency = 1
  453. ImageLabel6.Image = "http://www.roblox.com/asset/?id=42416376"
  454. CylinderMesh7.Parent = Part3
  455. CylinderMesh7.Scale = Vector3.new(0.9375, 0.0625, 0.62499994)
  456. CylinderMesh7.Scale = Vector3.new(0.9375, 0.0625, 0.62499994)
  457. Part8.Name = "Handle"
  458. Part8.Parent = Tool0
  459. Part8.BrickColor = BrickColor.new("Black")
  460. Part8.Transparency = 1
  461. Part8.Rotation = Vector3.new(0, 15, 0)
  462. Part8.Anchored = true
  463. Part8.FormFactor = Enum.FormFactor.Custom
  464. Part8.Size = Vector3.new(0.800000012, 0.800000012, 0.800000012)
  465. Part8.CFrame = CFrame.new(6.78499985, 0.468012989, -9.25, 0.965925634, -1.62808846e-07, 0.25881961, 1.62807055e-07, 1, 2.14409219e-08, -0.25881961, 2.14273292e-08, 0.965925634)
  466. Part8.BottomSurface = Enum.SurfaceType.Smooth
  467. Part8.TopSurface = Enum.SurfaceType.Smooth
  468. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  469. Part8.Position = Vector3.new(6.78499985, 0.468012989, -9.25)
  470. Part8.Orientation = Vector3.new(0, 15, 0)
  471. Part8.Color = Color3.new(0.105882, 0.164706, 0.207843)
  472. Weld9.Parent = Part8
  473. Weld9.C0 = CFrame.new(0, 0, 0, -1.00000191, -1.5067078e-06, -9.84804558e-08, -1.01587557e-06, 0.999997854, -2.52425416e-05, -8.14032717e-07, -2.34245799e-05, -0.999998748)
  474. Weld9.C1 = CFrame.new(0, 0, 0, -1.00000191, -1.5067078e-06, -9.84804558e-08, -1.01587557e-06, 0.999997854, -2.52425416e-05, -8.14032717e-07, -2.34245799e-05, -0.999998748)
  475. Weld9.Part0 = Part8
  476. Weld9.Part1 = Part8
  477. Weld10.Parent = Part8
  478. Weld10.C0 = CFrame.new(0, 0, 0, -1, -1.26128168e-06, 3.57787826e-07, -1.26129044e-06, 0.99999994, -2.43186951e-05, -3.57757187e-07, -2.42888927e-05, -0.99999994)
  479. Weld10.C1 = CFrame.new(0, 0, 0, -1, -1.26128168e-06, 3.57787826e-07, -1.26129044e-06, 0.99999994, -2.43186951e-05, -3.57757187e-07, -2.42888927e-05, -0.99999994)
  480. Weld10.Part0 = Part8
  481. Weld10.Part1 = Part8
  482. Weld11.Parent = Part8
  483. Weld11.C0 = CFrame.new(0, 0, 0, -0.000490181032, 0.999999642, 7.29662133e-07, 0.999998808, 0.000490319042, -0.000502735376, -0.00050124526, 4.34723916e-07, -0.999996543)
  484. Weld11.C1 = CFrame.new(0, 0, 0, -0.000490181032, 0.999999642, 7.29662133e-07, 0.999998808, 0.000490319042, -0.000502735376, -0.00050124526, 4.34723916e-07, -0.999996543)
  485. Weld11.Part0 = Part8
  486. Weld11.Part1 = Part8
  487. BlockMesh12.Parent = Part8
  488. BlockMesh12.Offset = Vector3.new(0, 0.00104166672, 0)
  489. BlockMesh12.Scale = Vector3.new(0.25, 0.0416666679, 0.0416666679)
  490. BlockMesh12.Scale = Vector3.new(0.25, 0.0416666679, 0.0416666679)
  491. IntValue13.Name = "Ammo"
  492. IntValue13.Parent = Tool0
  493. IntValue13.Value = 999
  494. IntValue14.Name = "MaxAmmo"
  495. IntValue14.Parent = Tool0
  496. IntValue14.Value = 999
  497. StringValue15.Name = "StringValue"
  498. StringValue15.Parent = Tool0
  499. BoolValue16.Name = "VisibleB"
  500. BoolValue16.Parent = Tool0
  501. Script17.Name = "WeldArm"
  502. Script17.Parent = Tool0
  503. table.insert(cors,sandbox(Script17,function()
  504. Tool = script.Parent
  505.  
  506.  
  507. local arms = nil
  508. local torso = nil
  509. local weld33 = nil -- right arm
  510. local weld55 = nil -- left arm
  511. local welds = {}
  512.  
  513.  
  514.  
  515.  
  516. colors = {26,}
  517.  
  518. function Equip(mouse)
  519. wait(0.01)
  520. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  521. torso = Tool.Parent:FindFirstChild("Torso")
  522. if arms ~= nil and torso ~= nil then
  523. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  524. if sh ~= nil then
  525. local yes = true
  526. if yes then
  527. yes = false
  528. sh[1].Part1 = nil
  529. sh[2].Part1 = nil
  530. local weld1 = Instance.new("Weld") -- left arm
  531. weld55 = weld1
  532. weld1.Part0 = torso
  533. weld1.Parent = torso
  534. weld1.Part1 = arms[1]
  535. weld1.C1 = CFrame.new(-0.35, 0.5, 0.6) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  536. welds[1] = weld1
  537. local weld2 = Instance.new("Weld") -- right arm
  538. weld33 = weld2
  539. weld2.Part0 = torso
  540. weld2.Parent = torso
  541. weld2.Part1 = arms[2]
  542. weld2.C1 = CFrame.new(-0.75, 0.5, 0.35) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  543. welds[2] = weld2
  544.  
  545. end
  546. else
  547. print("sh")
  548. end
  549. else
  550. print("arms")
  551. end
  552. end
  553.  
  554. function Unequip(mouse)
  555. if arms ~= nil and torso ~= nil then
  556. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  557. if sh ~= nil then
  558. local yes = true
  559. if yes then
  560. yes = false
  561. sh[1].Part1 = arms[1]
  562. sh[2].Part1 = arms[2]
  563. welds[1].Parent = nil
  564. welds[2].Parent = nil
  565.  
  566. end
  567. else
  568. print("sh")
  569. end
  570. else
  571. print("arms")
  572. end
  573. end
  574. Tool.Equipped:connect(Equip)
  575. Tool.Unequipped:connect(Unequip)
  576. end))
  577. LocalScript18.Name = "Arms"
  578. LocalScript18.Parent = Tool0
  579. table.insert(cors,sandbox(LocalScript18,function()
  580. sp = script.Parent
  581.  
  582. Mesh = false -- If true will load BC 2.0 Arm meshes as well.
  583. Shirt = true -- If true will load the user's shirt to the arms as well
  584.  
  585. function onEquipped(mouse)
  586. local Player = game:GetService("Players").LocalPlayer
  587. local Cam = game.Workspace.CurrentCamera
  588.  
  589. local Arms = Instance.new("Model")
  590. Arms.Name = "Arms"
  591. Arms.Parent = Cam
  592.  
  593. if Shirt == true then
  594. local Humanoid = Instance.new("Humanoid")
  595. Humanoid.MaxHealth = 0
  596. Humanoid.Health = 0
  597. Humanoid.Name = ""
  598. Humanoid.Parent = Arms
  599.  
  600. local newShirt = Player.Character:FindFirstChild("Shirt"):clone()
  601. newShirt.Parent = Arms
  602. else end
  603.  
  604. local RightArm = Player.Character:FindFirstChild("Right Arm"):clone()
  605. RightArm.Name = "Right Arm"
  606. RightArm.Transparency = 0.1
  607.  
  608. local w = Instance.new("Weld")
  609. w.Part0 = RightArm
  610. w.Part1 = Player.Character:FindFirstChild("Right Arm")
  611. w.C0 = CFrame.new()
  612. w.C1 = CFrame.new()
  613. w.Parent = RightArm
  614. RightArm.Parent = Arms
  615.  
  616. local LeftArm = Player.Character:FindFirstChild("Left Arm"):clone()
  617. LeftArm.Name = "Left Arm"
  618. LeftArm.Transparency = 0.1
  619.  
  620. local w = Instance.new("Weld")
  621. w.Part0 = LeftArm
  622. w.Part1 = Player.Character:FindFirstChild("Left Arm")
  623. w.C0 = CFrame.new()
  624. w.C1 = CFrame.new()
  625. w.Parent = LeftArm
  626. LeftArm.Parent = Arms
  627.  
  628. if Mesh ~= false then
  629. local LeftArmMesh = script:FindFirstChild("LeftArm")
  630. LeftArmMesh.Parent = LeftArm
  631. local RightArmMesh = script:FindFirstChild("RightArm")
  632. RightArmMesh.Parent = RightArm
  633. else end
  634.  
  635. end
  636.  
  637. function onUnequipped(mouse)
  638. local Player = game:GetService("Players").LocalPlayer
  639. local Cam = game.Workspace.CurrentCamera
  640. for _, Model in pairs(Cam:GetChildren()) do
  641. if Model.Name == "Arms" then
  642. Model:remove()
  643. else end
  644. end
  645. end
  646.  
  647. sp.Equipped:connect(onEquipped)
  648. sp.Unequipped:connect(onUnequipped)
  649.  
  650. end))
  651. SpecialMesh19.Name = "LeftArm"
  652. SpecialMesh19.Parent = LocalScript18
  653. SpecialMesh19.MeshId = "http://www.roblox.com/asset/?id=27111419"
  654. SpecialMesh19.MeshType = Enum.MeshType.FileMesh
  655. SpecialMesh20.Name = "RightArm"
  656. SpecialMesh20.Parent = LocalScript18
  657. SpecialMesh20.MeshId = "http://www.roblox.com/asset/?id=27111864"
  658. SpecialMesh20.MeshType = Enum.MeshType.FileMesh
  659. LocalScript21.Name = "BackupWeld"
  660. LocalScript21.Parent = Tool0
  661. table.insert(cors,sandbox(LocalScript21,function()
  662. function Weld(x,y)
  663. local W = Instance.new("Weld")
  664. W.Part0 = x
  665. W.Part1 = y
  666. local CJ = CFrame.new(x.Position)
  667. local C0 = x.CFrame:inverse()*CJ
  668. local C1 = y.CFrame:inverse()*CJ
  669. W.C0 = C0
  670. W.C1 = C1
  671. W.Parent = x
  672. end
  673.  
  674. function Get(A)
  675. if A.className == "Part" then
  676. Weld(script.Parent.Handle, A)
  677. A.Anchored = false
  678. else
  679. local C = A:GetChildren()
  680. for i=1, #C do
  681. Get(C[i])
  682. end
  683. end
  684. end
  685.  
  686. function Finale()
  687. Get(script.Parent)
  688. end
  689.  
  690. script.Parent.Equipped:connect(Finale)
  691. script.Parent.Unequipped:connect(Finale)
  692. Finale()
  693. end))
  694. LocalScript22.Name = "Crouch"
  695. LocalScript22.Parent = Tool0
  696. table.insert(cors,sandbox(LocalScript22,function()
  697. on = 0
  698. Tool = script.Parent
  699. welds = {}
  700. sh = {}
  701. arms = nil
  702. torso = nil
  703. f = nil
  704. function Crouch(ison)
  705. if arms == nil and torso == nil then
  706. arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")}
  707. torso = Tool.Parent:FindFirstChild("Torso")
  708. end
  709. if arms ~= nil and torso ~= nil then
  710. sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")}
  711. if sh ~= nil then
  712. local yes = true
  713. if yes then
  714. yes = false
  715. if ison == 1 then
  716. sh[1].Part1 = nil
  717. sh[2].Part1 = nil
  718. local weld1 = Instance.new("Weld")
  719. weld1.Part0 = torso
  720. weld1.Parent = torso
  721. weld1.Part1 = arms[1]
  722. weld1.C1 = CFrame.new(-0.5, 0.75, 1)
  723. arms[1].Name = "LDave"
  724. arms[1].CanCollide = true
  725. welds[1] = weld1
  726. Tool.Parent.Humanoid.WalkSpeed = 10
  727. -------------------------------------------
  728. local weld2 = Instance.new("Weld")
  729. weld2.Part0 = torso
  730. weld2.Parent = torso
  731. weld2.Part1 = arms[2]
  732. weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  733. arms[2].Name = "RDave"
  734. arms[2].CanCollide = true
  735. welds[2] = weld2
  736. ---------------------------------
  737. local force = Instance.new("BodyForce")
  738. force.Parent = torso
  739. f = force
  740. wait(0.01)
  741. elseif ison == 0 then
  742. if arms then
  743. sh[1].Part1 = arms[1]
  744. sh[2].Part1 = arms[2]
  745. f.Parent = nil
  746. arms[2].Name = "Right Leg"
  747. arms[1].Name = "Left Leg"
  748. welds[1].Parent = nil
  749. welds[2].Parent = nil
  750. Tool.Parent.Humanoid.WalkSpeed = 99
  751. end
  752. end
  753. --
  754. end
  755. else
  756. print("sh")
  757. end
  758. else
  759. print("arms")
  760. end
  761. end
  762. function Key(key)
  763. if key then
  764. key = string.lower(key)
  765. if (key=="c") then
  766. if on == 1 then
  767. on = 0
  768. elseif on == 0 then
  769. on = 1
  770. end
  771. Crouch(on)
  772. end
  773. end
  774. end
  775. function Equip(mouse)
  776. mouse.KeyDown:connect(Key)
  777. end
  778. script.Parent.Equipped:connect(Equip)
  779.  
  780.  
  781. end))
  782. LocalScript23.Name = "Crouch/Patrol"
  783. LocalScript23.Parent = Tool0
  784. table.insert(cors,sandbox(LocalScript23,function()
  785. --Note this must be used with the accompanying weld script
  786. --This is an edited version of my V3 KeyCommand Script.
  787. --Heavily edited from a free model crouch script, ~ukwarrior6~
  788.  
  789. ----------------------------
  790. --Crouch and Patrol Script--
  791. ----------------------------
  792.  
  793. on = 0
  794. Tool = script.Parent
  795. welds = {}
  796. sh = {}
  797. arms = nil
  798. torso = nil
  799. f = nil
  800. Holstered = false
  801. wait()
  802. local Tool = script.Parent
  803. enabled = true
  804.  
  805. function Crouch(ison)
  806. if arms == nil and torso == nil then
  807. arms = {Tool.Parent:FindFirstChild("Left Leg"), Tool.Parent:FindFirstChild("Right Leg")}
  808. torso = Tool.Parent:FindFirstChild("Torso")
  809. end
  810. if arms ~= nil and torso ~= nil then
  811. sh = {torso:FindFirstChild("Left Hip"), torso:FindFirstChild("Right Hip")}
  812. if sh ~= nil then
  813. local yes = true
  814. if yes then
  815. yes = false
  816. if ison == 1 then
  817. sh[1].Part1 = nil
  818. sh[2].Part1 = nil
  819. local weld1 = Instance.new("Weld")
  820. weld1.Part0 = torso
  821. weld1.Parent = torso
  822. weld1.Part1 = arms[1]
  823. weld1.C1 = CFrame.new(-0.5, 0.75, 1)
  824. arms[1].Name = "LDave"
  825. arms[1].CanCollide = true
  826. welds[1] = weld1
  827. -------------------------------------------
  828. local weld2 = Instance.new("Weld")
  829. weld2.Part0 = torso
  830. weld2.Parent = torso
  831. weld2.Part1 = arms[2]
  832. weld2.C1 = CFrame.new(0.5,0.495,1.25) * CFrame.fromEulerAnglesXYZ(math.rad(90),0,0)
  833. arms[2].Name = "RDave"
  834. arms[2].CanCollide = true
  835. welds[2] = weld2
  836. ---------------------------------
  837. local force = Instance.new("BodyForce")
  838. force.Parent = torso
  839. f = force
  840. wait(0.01)
  841. elseif ison == 0 then
  842. if arms then
  843. sh[1].Part1 = arms[1]
  844. sh[2].Part1 = arms[2]
  845. f.Parent = nil
  846. arms[2].Name = "Right Leg"
  847. arms[1].Name = "Left Leg"
  848. welds[1].Parent = nil
  849. welds[2].Parent = nil
  850. end
  851. end
  852. --
  853. end
  854. else
  855. print("sh")
  856. end
  857. else
  858. print("arms")
  859. end
  860. end
  861. ----------------------------------------------------------------------------------------------------------------
  862. function GunUp()
  863. Holstered = false
  864. Tool.Enabled = true
  865. torso = Tool.Parent:FindFirstChild("Torso")
  866. if torso ~= nil then
  867. torso.weld1.C1 = CFrame.new(0.7, 0.9, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(28), math.rad(-1))
  868. torso.weld2.C1 = CFrame.new(-0.6, 0, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-0.01), 0)
  869. end
  870. end
  871.  
  872. function GunDown()
  873. Holstered = true
  874. Tool.Enabled = false -- You don't want to be shooting if your not aiming
  875. torso = Tool.Parent:FindFirstChild("Torso")
  876. if torso ~= nil then
  877. torso.weld1.C1 = CFrame.new(0.5,0,.5) * CFrame.fromEulerAnglesXYZ(math.rad(315), 0, math.rad(-40))
  878. torso.weld2.C1 = CFrame.new(-.8, -0.6, -0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-40), math.rad(-60), 0)
  879. end
  880. end
  881. -----------------------------------------------------------------------------------------------------------------
  882. function onEquippedLocal(mouse)
  883. mouse.Icon = "" -- Chuck in a cool crosshair here..
  884. mouse.KeyDown:connect(onKeyDown)
  885. end
  886. -----------------------------------------------------------------------------------------------------------------
  887. function onKeyDown(key)
  888. if (key~=nil) then
  889. key = key:lower()
  890.  
  891. if (key=="c") then -- Toggle Crouch (For some reason it breaks if you patrol first, working on this...
  892. if on == 1 then
  893. on = 0
  894. elseif on == 0 then
  895. on = 1
  896. end
  897. Crouch(on)
  898.  
  899. elseif (key=="e") then -- Toggle Patrol
  900. if Holstered == true then
  901. script.Parent.Parent.Humanoid.WalkSpeed = 16
  902. GunUp()
  903. elseif Holstered == false then
  904. script.Parent.Parent.Humanoid.WalkSpeed = 20
  905. GunDown()
  906. end end end end
  907. Tool.Equipped:connect(onEquippedLocal)
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914. end))
  915. LocalScript24.Name = "GuiScript"
  916. LocalScript24.Parent = Tool0
  917. table.insert(cors,sandbox(LocalScript24,function()
  918. local Tool = script.Parent
  919.  
  920. local vPlayer
  921. local Gui
  922. local Alt
  923. local Coords
  924. local Ammo
  925. local ready = false
  926.  
  927.  
  928. function setUpGui()
  929. if vPlayer == nil or vPlayer:findFirstChild("PlayerGui") == nil then
  930. return
  931. end
  932.  
  933. Gui = script.ScreenGui:Clone()
  934. Gui.Name = "GunDisplay"
  935. Gui.Parent = vPlayer.PlayerGui
  936. end
  937.  
  938. function onEquippedLocal(mouse)
  939. vPlayer = game.Players.LocalPlayer
  940.  
  941. setUpGui()
  942. ready = false
  943. end
  944.  
  945. function onUnequippedLocal(mouse)
  946. if Gui then
  947. Gui:remove()
  948. end
  949.  
  950. Gui = nil
  951. Alt = nil
  952. Coords = nil
  953. Ammo = nil
  954. vPlayer = nil
  955. end
  956.  
  957. Tool.Equipped:connect(onEquippedLocal)
  958. Tool.Unequipped:connect(onUnequippedLocal)
  959.  
  960. while true do
  961. wait()
  962. if Gui then
  963. Gui.Stats.Mode.Text = "Mode: " ..script.Parent.ModeText.Value
  964. Gui.Stats.Ammo.Ammo.Text = ""..math.floor((((script.Parent.Ammo.Value / script.Parent.MaxAmmo.Value)) * 100)).."%"
  965. Gui.Stats.Reload.Text = script.Parent.StringValue.Value
  966. if script.Parent.VisibleB.Value then
  967. Gui.Stats.Reload.Visible = true
  968. else
  969. Gui.Stats.Reload.Visible = false
  970. end
  971. if (((script.Parent.Ammo.Value / script.Parent.MaxAmmo.Value)) * 100) > 66 then
  972. Gui.Stats.Ammo.Ammo.TextColor3 = Color3.new(-0,-128,-0)
  973. elseif (((script.Parent.Ammo.Value / script.Parent.MaxAmmo.Value)) * 100) > 33 then
  974. Gui.Stats.Ammo.Ammo.TextColor3 = Color3.new(-255,-255,-102)
  975. elseif (((script.Parent.Ammo.Value / script.Parent.MaxAmmo.Value)) * 100) > 0 then
  976. Gui.Stats.Ammo.Ammo.TextColor3 = Color3.new(-255,-51,-0)
  977. end
  978.  
  979. end
  980. end
  981.  
  982. end))
  983. ScreenGui25.Parent = LocalScript24
  984. Frame26.Name = "Stats"
  985. Frame26.Parent = ScreenGui25
  986. Frame26.Transparency = 1
  987. Frame26.Size = UDim2.new(0.200000003, 0, 0.100000001, 0)
  988. Frame26.Position = UDim2.new(0.100000001, 0, 0.649999976, 0)
  989. Frame26.BackgroundTransparency = 1
  990. TextButton27.Name = "Mode"
  991. TextButton27.Parent = Frame26
  992. TextButton27.Transparency = 1
  993. TextButton27.Size = UDim2.new(1, 0, 0.5, 0)
  994. TextButton27.Text = "Mode: Nil"
  995. TextButton27.BackgroundTransparency = 1
  996. TextButton27.Font = Enum.Font.ArialBold
  997. TextButton27.FontSize = Enum.FontSize.Size18
  998. TextButton27.TextColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  999. TextButton28.Name = "Ammo"
  1000. TextButton28.Parent = Frame26
  1001. TextButton28.Transparency = 1
  1002. TextButton28.Size = UDim2.new(1, 0, 0.5, 0)
  1003. TextButton28.Text = "Ammo: "
  1004. TextButton28.Position = UDim2.new(-0.119999997, 0, 0.5, 0)
  1005. TextButton28.BackgroundTransparency = 1
  1006. TextButton28.Font = Enum.Font.ArialBold
  1007. TextButton28.FontSize = Enum.FontSize.Size18
  1008. TextButton28.TextColor3 = Color3.new(0.866667, 0.866667, 0.866667)
  1009. TextButton29.Name = "Ammo"
  1010. TextButton29.Parent = TextButton28
  1011. TextButton29.Transparency = 1
  1012. TextButton29.Size = UDim2.new(1, 0, 1, 0)
  1013. TextButton29.Text = "90%"
  1014. TextButton29.Position = UDim2.new(0.699999988, 0, 0, 0)
  1015. TextButton29.BackgroundTransparency = 1
  1016. TextButton29.Font = Enum.Font.ArialBold
  1017. TextButton29.FontSize = Enum.FontSize.Size18
  1018. TextButton29.TextColor3 = Color3.new(1, 0.2, 0)
  1019. TextButton29.TextXAlignment = Enum.TextXAlignment.Left
  1020. TextButton30.Name = "Reload"
  1021. TextButton30.Parent = Frame26
  1022. TextButton30.Transparency = 1
  1023. TextButton30.Size = UDim2.new(1, 0, 0.5, 0)
  1024. TextButton30.Text = "Reloading"
  1025. TextButton30.Position = UDim2.new(0, 0, 1, 0)
  1026. TextButton30.Visible = false
  1027. TextButton30.BackgroundTransparency = 1
  1028. TextButton30.Font = Enum.Font.ArialBold
  1029. TextButton30.FontSize = Enum.FontSize.Size18
  1030. TextButton30.TextColor3 = Color3.new(1, 0.2, 0)
  1031. TextButton30.TextTransparency = 1.8000003099442
  1032. Script31.Name = "Flash"
  1033. Script31.Parent = TextButton30
  1034. table.insert(cors,sandbox(Script31,function()
  1035. while true do wait()
  1036. for i=1,5 do
  1037. script.Parent.TextTransparency = script.Parent.TextTransparency + 0.1
  1038. wait(0.05)
  1039. end
  1040. wait(0.1)
  1041. for i=1,5 do
  1042. script.Parent.TextTransparency = script.Parent.TextTransparency - 0.1
  1043. wait(0.05)
  1044. end
  1045. end
  1046.  
  1047. end))
  1048. LocalScript32.Name = "MainScript"
  1049. LocalScript32.Parent = Tool0
  1050. table.insert(cors,sandbox(LocalScript32,function()
  1051. wait(1)
  1052. local Tool = script.Parent;
  1053. local pewsound
  1054. local bangsound
  1055. local cam
  1056. local ggui
  1057.  
  1058. enabled = true
  1059. automatichold = false
  1060. dmged = false
  1061. shotgun = false
  1062. equipped = false
  1063. overheated = false
  1064. isZoom = false
  1065.  
  1066. -----------------------------------------ONLY EDIT THESE VALUES!!!!!-----------------------------------------
  1067. -----!Instructions!-----
  1068. --Make sure you have a part in the gun named Barrel, it is where the raycast will shoot from.--
  1069. --Just place this script into any gun and edit the values below.--
  1070. --Editting anything else will risk breaking it.--
  1071. ------------------------
  1072. Damage = 20
  1073. SPS = 0 -- Shots Per Second, gives a limit of how fast the gun shoots.
  1074. Recoil = 3 -- [1-10] [1 = Minigun, 10 = Sniper]
  1075. WallShoot = false -- Shoots through walls.
  1076. GH = false -- [True = RB can't hurt RB.] [False = RB can hurt RB.]
  1077. BulletColor = "Cool yellow" -- Any Brickcolor will work.
  1078. Flash = true
  1079. --------------------------------------------------------------------------------------------------------
  1080.  
  1081. local zm = Instance.new("Part")
  1082. zm.Name = "ZoomZM"
  1083. zm.Anchored = true
  1084. zm.Transparency = 1
  1085. zm.Size = Vector3.new(1,1,1)
  1086. zm.CanCollide = false
  1087. GunType = 0
  1088.  
  1089. --[[local gui = Instance.new("ScreenGui")
  1090. local bg = Instance.new("Frame",gui)
  1091. local bar = Instance.new("Frame",bg)
  1092. local bvl = Instance.new("ImageLabel", bg)
  1093. bvl.Name = "Bevel"
  1094. bvl.BackgroundTransparency = 1
  1095. bvl.Image = "http://www.roblox.com/asset/?id=56852431"
  1096. bvl.Size = UDim2.new(1,0,1,0)
  1097. bg.Name = "Back"
  1098. bar.Name = "Charge"
  1099. bar.BackgroundColor3 = Color3.new(200/255,0/255,0/255)
  1100. bg.BackgroundColor3 = Color3.new(200/255,200/255,200/255)
  1101. bg.Size = UDim2.new(0,10,0,-100)
  1102. bg.Position = UDim2.new(0,5,0,500)
  1103. bar.Size = UDim2.new(0,4,-1,0)
  1104. bar.Position = UDim2.new(0,3,1,0)
  1105.  
  1106. ggui = gui:Clone()
  1107. ggui.Name = "GunGui"
  1108. ggui.Back.Charge.Size = UDim2.new(0,4,-(script.Charge.Value/100),0)]]
  1109.  
  1110. GroupID = 9999
  1111.  
  1112. function AntiGH(char1,char2)
  1113. if GH then
  1114. local plyr1 = game.Players:findFirstChild(char1.Name)
  1115. local plyr2 = game.Players:findFirstChild(char2.Name)
  1116. if plyr1 and plyr2 then
  1117. if plyr1:IsInGroup(GroupID) and plyr2:IsInGroup(GroupID) then
  1118. return false
  1119. end
  1120. end
  1121. return true
  1122. elseif not GH then
  1123. return true
  1124. end
  1125. end
  1126.  
  1127. MaxDist = 1000
  1128.  
  1129. function RayCast(Start,End,Ignore)
  1130. if WallShoot then
  1131. ray1 = Ray.new(Start, End.unit * 999.999)
  1132. local Part1, TempPos = Workspace:FindPartOnRay(ray1,Ignore)
  1133. ray2 = Ray.new(TempPos, End.unit * 999.999)
  1134. local Part2, EndPos = Workspace:FindPartOnRay(ray2,Part1)
  1135. return Part1, Part2, EndPos
  1136. elseif not WallShoot then
  1137. ray = Ray.new(Start, End.unit * 999.999)
  1138. return Workspace:FindPartOnRay(ray,Ignore)
  1139. end
  1140. end
  1141.  
  1142. function DmgPlr(Part)
  1143. if Part ~= nil then
  1144. local c = Instance.new("ObjectValue")
  1145. c.Name = "creator"
  1146. c.Value = game.Players:findFirstChild(script.Parent.Parent.Name)
  1147. local hum = Part.Parent:findFirstChild("Humanoid")
  1148. local hathum = Part.Parent.Parent:findFirstChild("Humanoid")
  1149. local hat = Part.Parent
  1150. if hathum ~= nil and hat:IsA("Hat") and AntiGH(hathum.Parent, script.Parent.Parent) then
  1151. hathum:TakeDamage(Damage/1)
  1152. Part.Parent = game.Workspace
  1153. Part.CFrame = CFrame.new(Part.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5)))
  1154. hat:Remove()
  1155. c.Parent = hathum
  1156. game.Debris:AddItem(c,1.5)
  1157. elseif hum ~= nil and AntiGH(hum.Parent, script.Parent.Parent) then
  1158. if Part.Name == "Head" then
  1159. hum:TakeDamage(Damage*27.3)
  1160. end
  1161. hum:TakeDamage(Damage)
  1162. c.Parent = hum
  1163. game.Debris:AddItem(c,1.5)
  1164. end
  1165. end
  1166. end
  1167.  
  1168. function onButton1Down(mouse)
  1169. if script.Parent.Ammo.Value == 0 then
  1170. else
  1171. if GunType == 0 then
  1172. if (not enabled) then return end
  1173. enabled = false
  1174. LaserShoot(mouse)
  1175. if Flash then
  1176. script.Parent.Barrel.Light.Light.Visible = true
  1177. end
  1178. script.Parent.Ammo.Value = script.Parent.Ammo.Value - 1
  1179. wait(0.01)
  1180. if Flash then
  1181. script.Parent.Barrel.Light.Light.Visible = false
  1182. end
  1183. wait(1/SPS)
  1184. enabled = true
  1185. elseif GunType == 1 then
  1186. automatichold = true
  1187. while automatichold == true and script.Parent.Ammo.Value ~= 0 do wait()
  1188. if (not enabled) then return end
  1189. if script.Parent.Parent:findFirstChild("Humanoid").Health == 0 then script.Parent:Remove() end
  1190. enabled = false
  1191. LaserShoot(mouse)
  1192. if Flash then
  1193. script.Parent.Barrel.Light.Light.Visible = true
  1194. end
  1195. script.Parent.Ammo.Value = script.Parent.Ammo.Value - 1
  1196. wait(0.01)
  1197. if Flash then
  1198. script.Parent.Barrel.Light.Light.Visible = false
  1199. end
  1200. wait(1/SPS)
  1201. enabled = true
  1202. end
  1203. end
  1204. end
  1205. end
  1206.  
  1207. function LaserShoot(mouse)
  1208. hit = mouse.Hit.p
  1209. local StartPos = script.Parent.Barrel.CFrame.p
  1210. local rv = (StartPos-hit).magnitude/(Recoil * 20)
  1211. local rcl = Vector3.new(math.random(-rv,rv),math.random(-rv,rv),math.random(-rv,rv))
  1212. aim = hit + rcl
  1213. local P = Instance.new("Part")
  1214. P.Name = "Bullet"
  1215. P.formFactor = 3
  1216. P.BrickColor = BrickColor.new(BulletColor)
  1217. P.Size = Vector3.new(1,1,1)
  1218. P.Anchored = true
  1219. P.CanCollide = false
  1220. P.Transparency = 0.5
  1221. P.Parent = script.Parent.Parent
  1222. local m = Instance.new("CylinderMesh")
  1223. m.Name = "Mesh"
  1224. m.Parent = P
  1225. local c = Instance.new("ObjectValue")
  1226. c.Name = "creator"
  1227. c.Value = game.Players:findFirstChild(script.Parent.Parent.Name)
  1228. pewsound = script:FindFirstChild("Fire")
  1229. if pewsound then
  1230. pewsound:Play()
  1231. end --Brick created. Moving on to next part
  1232. local SPos = script.Parent.Barrel.CFrame.p
  1233. if WallShoot then
  1234. local Part1, Part2, EndPos = RayCast(SPos, (aim-SPos).unit * 999, script.Parent.Parent)
  1235. DmgPlr(Part1)
  1236. DmgPlr(Part2)
  1237. if Part1 and Part2 then
  1238. local enddist = (EndPos-SPos).magnitude
  1239. P.CFrame = CFrame.new(EndPos, SPos) * CFrame.new(0,0,-enddist/2) * CFrame.Angles(math.rad(90),0,0)
  1240. m.Scale = Vector3.new(.04,enddist,.04)
  1241. else
  1242. P.CFrame = CFrame.new(EndPos, SPos) * CFrame.new(0,0,-MaxDist/2) * CFrame.Angles(math.rad(90),0,0)
  1243. m.Scale = Vector3.new(.04,MaxDist,.04)
  1244. end
  1245. elseif not WallShoot then
  1246. local Part, Pos = RayCast(SPos, (aim-SPos).unit * 999, script.Parent.Parent)
  1247. DmgPlr(Part)
  1248. if Part then
  1249. local dist = (Pos-SPos).magnitude
  1250. P.CFrame = CFrame.new(Pos, SPos) * CFrame.new(0,0,-dist/2) * CFrame.Angles(math.rad(90),0,0)
  1251. m.Scale = Vector3.new(.1,dist,.1)
  1252. else
  1253. P.CFrame = CFrame.new(Pos, SPos) * CFrame.new(0,0,-MaxDist/2) * CFrame.Angles(math.rad(90),0,0)
  1254. m.Scale = Vector3.new(.1,MaxDist,.1)
  1255. end
  1256. end
  1257. game.Debris:AddItem(P,.1)
  1258. end
  1259.  
  1260. function onButton1Up(mouse)
  1261. automatichold = false
  1262. end
  1263.  
  1264. function onKeyDown(key, mouse)
  1265.  
  1266.  
  1267.  
  1268. if key:lower() == "r" then
  1269. if script.Parent.Ammo.Value ~= script.Parent.MaxAmmo.Value then
  1270. reloadsound = script:FindFirstChild("Reload")
  1271. if reloadsound then
  1272. reloadsound:Play()
  1273. end
  1274. enabled = false
  1275. script.Parent.VisibleB.Value = true
  1276. script.Parent.StringValue.Value = "Reloading"
  1277. repeat script.Parent.StringValue.Value = "Reloading" wait(0.3) script.Parent.Ammo.Value = script.Parent.Ammo.Value + 3 script.Parent.StringValue.Value = "Reloading" until script.Parent.Ammo.Value >= script.Parent.MaxAmmo.Value
  1278. script.Parent.Ammo.Value = script.Parent.MaxAmmo.Value
  1279. wait(0.2)
  1280. script.Parent.VisibleB.Value = false
  1281. enabled = true
  1282. end
  1283. end
  1284.  
  1285. if key:lower() == "m" then
  1286. if GunType == 0 then
  1287. GunType = 0
  1288. Recoil = 3
  1289. else
  1290. GunType = 1
  1291. Recoil = 3
  1292. end
  1293. end
  1294.  
  1295. end
  1296.  
  1297. function onEquipped(mouse)
  1298. equipped = true
  1299.  
  1300. if mouse == nil then
  1301. print("Mouse not found")
  1302. return
  1303. end
  1304. mouse.Icon = "http://www.roblox.com/asset/?id=52812029"
  1305. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  1306. mouse.Button1Up:connect(function() onButton1Up(mouse) end)
  1307. mouse.KeyDown:connect(function(key) onKeyDown(key, mouse) end)
  1308.  
  1309. end
  1310.  
  1311. function onUnequipped(mouse)
  1312. equipped = false
  1313. automatichold = false
  1314.  
  1315.  
  1316. end
  1317.  
  1318. script.Parent.Equipped:connect(onEquipped)
  1319. script.Parent.Unequipped:connect(onUnequipped)
  1320. while true do wait()
  1321. if script.Parent.Ammo.Value == 0 then
  1322. script.Parent.VisibleB.Value = true
  1323. script.Parent.StringValue.Value = "Reload"
  1324. end
  1325. if GunType == 1 then
  1326. script.Parent.ModeText.Value = "Auto"
  1327. else
  1328. script.Parent.ModeText.Value = "Semi"
  1329. end
  1330. end
  1331.  
  1332.  
  1333. end))
  1334. Sound33.Name = "Fire"
  1335. Sound33.Parent = LocalScript32
  1336. Sound33.SoundId = "http://roblox.com/asset/?id=138083993"
  1337. Sound33.Volume = 2
  1338. Sound34.Name = "Reload"
  1339. Sound34.Parent = LocalScript32
  1340. Sound34.SoundId = "http://www.roblox.com/asset/?id=519174837"
  1341. Sound34.Volume = 1
  1342. Sound34.PlayOnRemove = true
  1343. StringValue35.Name = "ModeText"
  1344. StringValue35.Parent = Tool0
  1345. StringValue35.Value = "Nil"
  1346. for i,v in pairs(mas:GetChildren()) do
  1347. v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1348. pcall(function() v:MakeJoints() end)
  1349. end
  1350. mas:Destroy()
  1351. for i,v in pairs(cors) do
  1352. spawn(function()
  1353. pcall(v)
  1354. end)
  1355. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement