Advertisement
ManlyMemeScripter

Fortnite Script BETA

Mar 7th, 2018
146,723
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.25 KB | None | 0 0
  1. --Converted with ttyyuu12345's model to script plugin v4
  2. function sandbox(var,func)
  3. local env = getfenv(func)
  4. local newenv = setmetatable({},{
  5. __index = function(self,k)
  6. if k=="script" then
  7. return var
  8. else
  9. return env[k]
  10. end
  11. end,
  12. })
  13. setfenv(func,newenv)
  14. return func
  15. end
  16. cors = {}
  17. mas = Instance.new("Model",game:GetService("Lighting"))
  18. Tool0 = Instance.new("Tool")
  19. Part1 = Instance.new("Part")
  20. SpecialMesh2 = Instance.new("SpecialMesh")
  21. LocalScript3 = Instance.new("LocalScript")
  22. Part4 = Instance.new("Part")
  23. SpecialMesh5 = Instance.new("SpecialMesh")
  24. Tool0.Name = "Shotgun"
  25. Tool0.Parent = mas
  26. Tool0.TextureId = "http://www.roblox.com/asset/?id=19339420"
  27. Tool0.GripPos = Vector3.new(0, 0, 0.5)
  28. Part1.Name = "Handle"
  29. Part1.Parent = Tool0
  30. Part1.BrickColor = BrickColor.new("Black")
  31. Part1.Rotation = Vector3.new(0, -90, 0)
  32. Part1.FormFactor = Enum.FormFactor.Symmetric
  33. Part1.Size = Vector3.new(1, 1, 5)
  34. Part1.CFrame = CFrame.new(-6.63999891, 0.500003994, -11.4400177, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  35. Part1.BottomSurface = Enum.SurfaceType.Smooth
  36. Part1.TopSurface = Enum.SurfaceType.Smooth
  37. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  38. Part1.Position = Vector3.new(-6.63999891, 0.500003994, -11.4400177)
  39. Part1.Orientation = Vector3.new(0, -90, 0)
  40. Part1.Color = Color3.new(0.105882, 0.164706, 0.207843)
  41. SpecialMesh2.Parent = Part1
  42. SpecialMesh2.MeshId = "http://www.roblox.com/asset/?id=1489994942"
  43. SpecialMesh2.Scale = Vector3.new(0.75, 0.75, 0.75)
  44. SpecialMesh2.TextureId = "http://www.roblox.com/asset/?id=213956852"
  45. SpecialMesh2.MeshType = Enum.MeshType.FileMesh
  46. SpecialMesh2.Scale = Vector3.new(0.30, 0.30, 0.30)
  47. LocalScript3.Name = "Main"
  48. LocalScript3.Parent = Tool0
  49. table.insert(cors,sandbox(LocalScript3,function()
  50. --Made by Ahtoh13131423144235
  51. --GUN SETTINGS
  52. local char=nil--Do not change this
  53. local damage=50--Bullet Damage
  54. local maxAmmo=9--Max Ammo
  55. local clip=9
  56. local ammo=32--Stored Ammo
  57. local debounce=true--Do not change this
  58. --WELDS
  59. local rightArmWeld=nil
  60. local leftArmWeld=nil
  61. local flameWeld=Instance.new("Weld")
  62. flameWeld.Parent=script.Parent.Handle
  63. flameWeld.Name="FlameWeld"
  64. flameWeld.Part0=script.Parent.Handle
  65. flameWeld.Part1=script.Parent.Flame
  66. flameWeld.C0=CFrame.new(0,0.3,-3.5)*CFrame.fromEulerAnglesXYZ(0,80.1,0)
  67. --ANIMATIONS
  68. function equip()
  69. for i=1,16 do
  70. rightArmWeld.C0=rightArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  71. leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  72. wait()
  73. end
  74. for i=1,7 do
  75. leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0,0,0.1)
  76. wait()
  77. end
  78. for i=1,7 do
  79. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0,0)
  80. wait()
  81. end
  82. for i=1,15 do
  83. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0,-0.1,0)
  84. wait()
  85. end
  86. for i=1,7 do
  87. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
  88. wait()
  89. end
  90. end
  91.  
  92. function shoot()
  93. for i=1,2 do
  94. rightArmWeld.C0=rightArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  95. leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0)
  96. script.Parent.Flame.Transparency=script.Parent.Flame.Transparency-0.4
  97. wait()
  98. end
  99. for i=1,2 do
  100. rightArmWeld.C0=rightArmWeld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  101. leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,0)
  102. script.Parent.Flame.Transparency=script.Parent.Flame.Transparency+0.4
  103. wait()
  104. end
  105. for i=1,5 do
  106. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
  107. wait()
  108. end
  109. for i=1,5 do
  110. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0.1,0)
  111. wait()
  112. end
  113. end
  114. function reload()
  115. for i=1,7 do
  116. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0.1,0)
  117. wait()
  118. end
  119. for i=1,14 do
  120. leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(-0.1,0,-0.1)
  121. wait()
  122. end
  123. wait()
  124. for i=1,14 do
  125. leftArmWeld.C0=leftArmWeld.C0*CFrame.fromEulerAnglesXYZ(0.1,0,0.1)
  126. wait()
  127. end
  128. for i=1,7 do
  129. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
  130. wait()
  131. end
  132. for i=1,5 do
  133. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(-0.1,-0.1,0)
  134. wait()
  135. end
  136. for i=1,5 do
  137. leftArmWeld.C0=leftArmWeld.C0*CFrame.new(0.1,0.1,0)
  138. wait()
  139. end
  140. end
  141. --SCRIPT
  142. script.Parent.Activated:connect(function()
  143. if debounce==false and clip>0 then
  144. debounce=true
  145. local mouse=game.Players.LocalPlayer:GetMouse()
  146. if mouse.Target~=nil then
  147. if mouse.Target.Parent:FindFirstChild("Humanoid")~=nil then
  148. mouse.Target.Parent.Humanoid.Health=mouse.Target.Parent.Humanoid.Health-damage
  149. end
  150. end
  151. shoot()
  152. local shell=Instance.new("Part")
  153. shell.Parent=game.Workspace
  154. shell.Name="Shell"
  155. shell.Size=Vector3.new(0.1,0.2,0.1)
  156. shell.Position=script.Parent.Handle.Position+Vector3.new(0.4,0,0)
  157. shell.CanCollide=true
  158. shell.BrickColor=BrickColor.new("Bright red")
  159. local mesh=Instance.new("SpecialMesh")
  160. mesh.Parent=shell
  161. mesh.MeshType="Head"
  162. game.Debris:AddItem(shell,4)
  163. clip=clip-1
  164. debounce=false
  165. elseif debounce==false and clip<=0 and ammo>0 then
  166. debounce=true
  167. reload()
  168. clip=maxAmmo
  169. ammo=ammo-maxAmmo
  170. debounce=false
  171. end
  172. end)
  173. script.Parent.Equipped:connect(function()
  174. char=script.Parent.Parent
  175. rightArmWeld=Instance.new("Weld")
  176. rightArmWeld.Parent=char.Torso
  177. rightArmWeld.Part0=char.Torso
  178. rightArmWeld.Part1=char["Right Arm"]
  179. rightArmWeld.Name="RightWeld"
  180. rightArmWeld.C0=CFrame.new(1.5,0.5,0)
  181. rightArmWeld.C1=CFrame.new(0,0.5,0)
  182. leftArmWeld=Instance.new("Weld")
  183. leftArmWeld.Parent=char.Torso
  184. leftArmWeld.Name="LeftWeld"
  185. leftArmWeld.Part0=char.Torso
  186. leftArmWeld.Part1=char["Left Arm"]
  187. leftArmWeld.C0=CFrame.new(-1.5,0.5,0)
  188. leftArmWeld.C1=CFrame.new(0,0.5,0)
  189. equip()
  190. debounce=false
  191. end)
  192. script.Parent.Unequipped:connect(function()
  193. char=nil
  194. rightArmWeld:Remove()
  195. leftArmWeld:Remove()
  196. rightArmWeld=nil
  197. leftArmWeld=nil
  198. end)
  199. end))
  200. Part4.Name = "Flame"
  201. Part4.Parent = Tool0
  202. Part4.BrickColor = BrickColor.new("Bright red")
  203. Part4.Transparency = 1
  204. Part4.Size = Vector3.new(1.97999871, 0.640000284, 0.510000348)
  205. Part4.CFrame = CFrame.new(-3.19277, 0.801472008, -11.4081182, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  206. Part4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  207. Part4.Position = Vector3.new(-3.19277, 0.801472008, -11.4081182)
  208. Part4.Color = Color3.new(0.768628, 0.156863, 0.109804)
  209. SpecialMesh5.Parent = Part4
  210. SpecialMesh5.MeshType = Enum.MeshType.Sphere
  211. for i,v in pairs(mas:GetChildren()) do
  212. v.Parent = game.Players.LocalPlayer.Backpack
  213. pcall(function() v:MakeJoints() end)
  214. end
  215. mas:Destroy()
  216. for i,v in pairs(cors) do
  217. spawn(function()
  218. pcall(v)
  219. end)
  220. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement