The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Fe Gravity Gun script pastebin roblox
By Fe Gravity Gun on 2024-11-27 08:00 am | Syntax: LUA | Views: 12



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1. function sandbox(var,func)
  2.  local env = getfenv(func)
  3.  local newenv = setmetatable({},{
  4.   __index = function(self,k)
  5.    if k=="script" then
  6.     return var
  7.    else
  8.     return env[k]
  9.    end
  10.   end,
  11.  })
  12.  setfenv(func,newenv)
  13.  return func
  14. end
  15. cors = {}
  16. mas = Instance.new("Model",game:GetService("Lighting"))
  17. Tool0 = Instance.new("Tool")
  18. Part1 = Instance.new("Part")
  19. CylinderMesh2 = Instance.new("CylinderMesh")
  20. Part3 = Instance.new("Part")
  21. LocalScript4 = Instance.new("LocalScript")
  22. Script5 = Instance.new("Script")
  23. LocalScript6 = Instance.new("LocalScript")
  24. Script7 = Instance.new("Script")
  25. LocalScript8 = Instance.new("LocalScript")
  26. Part9 = Instance.new("Part")
  27. Script10 = Instance.new("Script")
  28. Part11 = Instance.new("Part")
  29. Script12 = Instance.new("Script")
  30. Part13 = Instance.new("Part")
  31. Script14 = Instance.new("Script")
  32. Tool0.Name = "Telekinesis Gun"
  33. Tool0.Parent = mas
  34. Tool0.CanBeDropped = false
  35. Part1.Name = "Handle"
  36. Part1.Parent = Tool0
  37. Part1.Material = Enum.Material.Neon
  38. Part1.BrickColor = BrickColor.new("Cyan")
  39. Part1.Transparency = 1
  40. Part1.Rotation = Vector3.new(0, 15.4200001, 0)
  41. Part1.CanCollide = false
  42. Part1.FormFactor = Enum.FormFactor.Custom
  43. Part1.Size = Vector3.new(1, 0.400000036, 0.300000012)
  44. Part1.CFrame = CFrame.new(-55.2695465, 0.696546972, 0.383156985, 0.96399641, -4.98074878e-05, 0.265921414, 4.79998416e-05, 1, 1.32960558e-05, -0.265921414, -5.30653779e-08, 0.96399641)
  45. Part1.BottomSurface = Enum.SurfaceType.Smooth
  46. Part1.TopSurface = Enum.SurfaceType.Smooth
  47. Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  48. Part1.Position = Vector3.new(-55.2695465, 0.696546972, 0.383156985)
  49. Part1.Orientation = Vector3.new(0, 15.4200001, 0)
  50. Part1.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  51. CylinderMesh2.Parent = Part1
  52. CylinderMesh2.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  53. CylinderMesh2.Scale = Vector3.new(0.100000001, 0.100000001, 0.100000001)
  54. Part3.Name = "Shoot"
  55. Part3.Parent = Tool0
  56. Part3.Material = Enum.Material.Neon
  57. Part3.BrickColor = BrickColor.new("Cyan")
  58. Part3.Reflectance = 0.30000001192093
  59. Part3.Transparency = 1
  60. Part3.Rotation = Vector3.new(90.9799957, 0.25999999, -91.409996)
  61. Part3.CanCollide = false
  62. Part3.FormFactor = Enum.FormFactor.Custom
  63. Part3.Size = Vector3.new(0.200000003, 0.25, 0.310000032)
  64. Part3.CFrame = CFrame.new(-54.7998123, 0.774299085, -0.757350147, -0.0245519895, 0.99968797, 0.00460194098, 0.0169109926, 0.00501798885, -0.999844491, -0.999555528, -0.0244703442, -0.0170289185)
  65. Part3.BottomSurface = Enum.SurfaceType.Smooth
  66. Part3.TopSurface = Enum.SurfaceType.Smooth
  67. Part3.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  68. Part3.Position = Vector3.new(-54.7998123, 0.774299085, -0.757350147)
  69. Part3.Orientation = Vector3.new(88.9899979, 164.87999, 73.4700012)
  70. Part3.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  71. LocalScript4.Parent = Tool0
  72. table.insert(cors,sandbox(LocalScript4,function()
  73. -- Variables for services
  74. local render = game:GetService("RunService").RenderStepped
  75. local contextActionService = game:GetService("ContextActionService")
  76. local userInputService = game:GetService("UserInputService")
  77.  
  78. local player = game.Players.LocalPlayer
  79. local mouse = player:GetMouse()
  80. local Tool = script.Parent
  81.  
  82. -- Variables for Module Scripts
  83. local screenSpace = require(Tool:WaitForChild("ScreenSpace"))
  84.  
  85. local connection
  86. -- Variables for character joints
  87.  
  88. local neck, shoulder, oldNeckC0, oldShoulderC0
  89.  
  90. local mobileShouldTrack = true
  91.  
  92. -- Thourough check to see if a character is sitting
  93. local function amISitting(character)
  94.  local t = character.Torso
  95.  for _, part in pairs(t:GetConnectedParts(true)) do
  96.   if part:IsA("Seat") or part:IsA("VehicleSeat") then
  97.    return true
  98.   end
  99.  end
  100. end
  101.  
  102. -- Function to call on renderstepped. Orients the character so it is facing towards
  103. -- the player mouse's position in world space. If character is sitting then the torso
  104. -- should not track
  105. local function frame(mousePosition)
  106.  -- Special mobile consideration. We don't want to track if the user was touching a ui
  107.  -- element such as the movement controls. Just return out of function if so to make sure
  108.  -- character doesn't track
  109.  if not mobileShouldTrack then return end
  110.  
  111.  -- Make sure character isn't swiming. If the character is swimming the following code will
  112.  -- not work well; the character will not swim correctly. Besides, who shoots underwater?
  113.  if player.Character.Humanoid:GetState() ~= Enum.HumanoidStateType.Swimming then
  114.   local torso = player.Character.Torso
  115.   local head = player.Character.Head
  116.  
  117.   local toMouse = (mousePosition - head.Position).unit
  118.   local angle = math.acos(toMouse:Dot(Vector3.new(0,1,0)))
  119.  
  120.   local neckAngle = angle
  121.  
  122.   -- Limit how much the head can tilt down. Too far and the head looks unnatural
  123.   if math.deg(neckAngle) > 110 then
  124.    neckAngle = math.rad(110)
  125.   end
  126.   neck.C0 = CFrame.new(0,1,0) * CFrame.Angles(math.pi - neckAngle,math.pi,0)
  127.  
  128.   -- Calculate horizontal rotation
  129.   local arm = player.Character:FindFirstChild("Right Arm")
  130.   local fromArmPos = torso.Position + torso.CFrame:vectorToWorldSpace(Vector3.new(
  131.    torso.Size.X/2 + arm.Size.X/2, torso.Size.Y/2 - arm.Size.Z/2, 0))
  132.   local toMouseArm = ((mousePosition - fromArmPos) * Vector3.new(1,0,1)).unit
  133.   local look = (torso.CFrame.lookVector * Vector3.new(1,0,1)).unit
  134.   local lateralAngle = math.acos(toMouseArm:Dot(look))  
  135.  
  136.   -- Check for rogue math
  137.   if tostring(lateralAngle) == "-1.#IND" then
  138.    lateralAngle = 0
  139.   end  
  140.  
  141.   -- Handle case where character is sitting down
  142.   if player.Character.Humanoid:GetState() == Enum.HumanoidStateType.Seated then  
  143.    
  144.    local cross = torso.CFrame.lookVector:Cross(toMouseArm)
  145.    if lateralAngle > math.pi/2 then
  146.     lateralAngle = math.pi/2
  147.    end
  148.    if cross.Y < 0 xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed xss=removed> 900 then
  149.    farPos = farPos.unit * 900
  150.   end
  151.   local ray = Ray.new(nearPos, farPos)
  152.   local part, pos = game.Workspace:FindPartOnRay(ray, player.Character)
  153.  
  154.   -- if a position was found on the ray then update the character's rotation
  155.   if pos then
  156.    frame(pos)
  157.   end
  158.  end
  159. end
  160.  
  161. local oldIcon = nil
  162. -- Function to bind to equip event
  163. local function equip()
  164.  local torso = player.Character.Torso
  165.  
  166.  -- Setup joint variables
  167.  neck = torso.Neck
  168.  oldNeckC0 = neck.C0
  169.  shoulder = torso:FindFirstChild("Right Shoulder")
  170.  oldShoulderC0 = shoulder.C0
  171.  
  172.  -- Remember old mouse icon and update current
  173.  oldIcon = mouse.Icon
  174.  mouse.Icon = "rbxassetid:// 2184939409"
  175.  
  176.  -- Bind TouchMoved event if on mobile. Otherwise connect to renderstepped
  177.  if userInputService.TouchEnabled then
  178.   connection = userInputService.TouchMoved:connect(mobileFrame)
  179.  else
  180.   connection = render:connect(pcFrame)
  181.  end
  182.  
  183.  -- Bind TouchStarted and TouchEnded. Used to determine if character should rotate
  184.  -- during touch input
  185.  userInputService.TouchStarted:connect(function(touch, processed)
  186.   mobileShouldTrack = not processed
  187.  end)
  188.  userInputService.TouchEnded:connect(function(touch, processed)
  189.   mobileShouldTrack = false
  190.  end)
  191.  
  192.  -- Fire server's equip event
  193.  game.ReplicatedStorage.ROBLOX_PistolEquipEvent:FireServer()
  194.  
  195.  -- Bind event for when mouse is clicked to fire server's fire event
  196.  mouse.Button1Down:connect(function()
  197.   game.ReplicatedStorage.ROBLOX_PistolFireEvent:FireServer(mouse.Hit.p)
  198.  end)
  199.  
  200.  -- Bind reload event to mobile button and r key
  201.  contextActionService:BindActionToInputTypes("Reload", function()
  202.   game.ReplicatedStorage.ROBLOX_PistolReloadEvent:FireServer()  
  203.  end, true, "")
  204.  
  205.  -- If game uses filtering enabled then need to update server while tool is
  206.  -- held by character.
  207.  if workspace.FilteringEnabled then
  208.   while connection do
  209.    wait()
  210.    game.ReplicatedStorage.ROBLOX_PistolUpdateEvent:FireServer(neck.C0, shoulder.C0)
  211.   end
  212.  end
  213. end
  214.  
  215. -- Function to bind to Unequip event
  216. local function unequip()
  217.  if connection then connection:disconnect() end
  218.  contextActionService:UnbindAction("Reload")
  219.  game.ReplicatedStorage.ROBLOX_PistolUnequipEvent:FireServer()
  220.  mouse.Icon = oldIcon
  221.  neck.C0 = oldNeckC0
  222.  shoulder.C0 = oldShoulderC0
  223. end
  224.  
  225. -- Bind tool events
  226. Tool.Equipped:connect(equip)
  227. Tool.Unequipped:connect(unequip)
  228. end))
  229. Script5.Name = "qPerfectionWeld"
  230. Script5.Parent = Tool0
  231. table.insert(cors,sandbox(Script5,function()
  232. -- Created by Quenty (@Quenty, follow me on twitter).
  233. -- Should work with only ONE copy, seamlessly with weapons, trains, et cetera.
  234. -- Parts should be ANCHORED before use. It will, however, store relatives values and so when tools are reparented, it'll fix them.
  235.  
  236. --[[ INSTRUCTIONS
  237. - Place in the model
  238. - Make sure model is anchored
  239. - That's it. It will weld the model and all children.
  240.  
  241. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  242. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  243. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  244. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  245. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  246. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  247. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  248. THIS SCRIPT SHOULD BE USED ONLY BY ITSELF. THE MODEL SHOULD BE ANCHORED.
  249.  
  250. This script is designed to be used is a regular script. In a local script it will weld, but it will not attempt to handle ancestory changes.
  251. ]]
  252.  
  253. --[[ DOCUMENTATION
  254. - Will work in tools. If ran more than once it will not create more than one weld.  This is especially useful for tools that are dropped and then picked up again.
  255. - Will work in PBS servers
  256. - Will work as long as it starts out with the part anchored
  257. - Stores the relative CFrame as a CFrame value
  258. - Takes careful measure to reduce lag by not having a joint set off or affected by the parts offset from origin
  259. - Utilizes a recursive algorith to find all parts in the model
  260. - Will reweld on script reparent if the script is initially parented to a tool.
  261. - Welds as fast as possible
  262. ]]
  263.  
  264. -- qPerfectionWeld.lua
  265. -- Created 10/6/2014
  266. -- Author: Quenty
  267. -- Version 1.0.3
  268.  
  269. -- Updated 10/14/2014 - Updated to 1.0.1
  270. --- Bug fix with existing ROBLOX welds ? Repro by asimo3089
  271.  
  272. -- Updated 10/14/2014 - Updated to 1.0.2
  273. --- Fixed bug fix.
  274.  
  275. -- Updated 10/14/2014 - Updated to 1.0.3
  276. --- Now handles joints semi-acceptably. May be rather hacky with some joints. :/
  277.  
  278. local NEVER_BREAK_JOINTS = false -- If you set this to true it will never break joints (this can create some welding issues, but can save stuff like hinges).
  279.  
  280.  
  281. local function CallOnChildren(Instance, FunctionToCall)
  282.  -- Calls a function on each of the children of a certain object, using recursion.  
  283.  
  284.  FunctionToCall(Instance)
  285.  
  286.  for _, Child in next, Instance:GetChildren() do
  287.   CallOnChildren(Child, FunctionToCall)
  288.  end
  289. end
  290.  
  291. local function GetNearestParent(Instance, ClassName)
  292.  -- Returns the nearest parent of a certain class, or returns nil
  293.  
  294.  local Ancestor = Instance
  295.  repeat
  296.   Ancestor = Ancestor.Parent
  297.   if Ancestor == nil then
  298.    return nil
  299.   end
  300.  until Ancestor:IsA(ClassName)
  301.  
  302.  return Ancestor
  303. end
  304.  
  305. local function GetBricks(StartInstance)
  306.  local List = {}
  307.  
  308.  -- if StartInstance:IsA("BasePart") then
  309.  --  List[#List+1] = StartInstance
  310.  -- end
  311.  
  312.  CallOnChildren(StartInstance, function(Item)
  313.   if Item:IsA("BasePart") then
  314.    List[#List+1] = Item;
  315.   end
  316.  end)
  317.  
  318.  return List
  319. end
  320.  
  321. local function Modify(Instance, Values)
  322.  -- Modifies an Instance by using a table.  
  323.  
  324.  assert(type(Values) == "table", "Values is not a table");
  325.  
  326.  for Index, Value in next, Values do
  327.   if type(Index) == "number" then
  328.    Value.Parent = Instance
  329.   else
  330.    Instance[Index] = Value
  331.   end
  332.  end
  333.  return Instance
  334. end
  335.  
  336. local function Make(ClassType, Properties)
  337.  -- Using a syntax hack to create a nice way to Make new items.  
  338.  
  339.  return Modify(Instance.new(ClassType), Properties)
  340. end
  341.  
  342. local Surfaces = {"TopSurface", "BottomSurface", "LeftSurface", "RightSurface", "FrontSurface", "BackSurface"}
  343. local HingSurfaces = {"Hinge", "Motor", "SteppingMotor"}
  344.  
  345. local function HasWheelJoint(Part)
  346.  for _, SurfaceName in pairs(Surfaces) do
  347.   for _, HingSurfaceName in pairs(HingSurfaces) do
  348.    if Part[SurfaceName].Name == HingSurfaceName then
  349.     return true
  350.    end
  351.   end
  352.  end
  353.  
  354.  return false
  355. end
  356.  
  357. local function ShouldBreakJoints(Part)
  358.  --- We do not want to break joints of wheels/hinges. This takes the utmost care to not do this. There are
  359.  --  definitely some edge cases.
  360.  
  361.  if NEVER_BREAK_JOINTS then
  362.   return false
  363.  end
  364.  
  365.  if HasWheelJoint(Part) then
  366.   return false
  367.  end
  368.  
  369.  local Connected = Part:GetConnectedParts()
  370.  
  371.  if #Connected == 1 then
  372.   return false
  373.  end
  374.  
  375.  for _, Item in pairs(Connected) do
  376.   if HasWheelJoint(Item) then
  377.    return false
  378.   elseif not Item:IsDescendantOf(script.Parent) then
  379.    return false
  380.   end
  381.  end
  382.  
  383.  return true
  384. end
  385.  
  386. local function WeldTogether(Part0, Part1, JointType, WeldParent)
  387.  --- Weld's 2 parts together
  388.  -- @param Part0 The first part
  389.  -- @param Part1 The second part (Dependent part most of the time).
  390.  -- @param [JointType] The type of joint. Defaults to weld.
  391.  -- @param [WeldParent] Parent of the weld, Defaults to Part0 (so GC is better).
  392.  -- @return The weld created.
  393.  
  394.  JointType = JointType or "Weld"
  395.  local RelativeValue = Part1:FindFirstChild("qRelativeCFrameWeldValue")
  396.  
  397.  local NewWeld = Part1:FindFirstChild("qCFrameWeldThingy") or Instance.new(JointType)
  398.  Modify(NewWeld, {
  399.   Name = "qCFrameWeldThingy";
  400.   Part0  = Part0;
  401.   Part1  = Part1;
  402.   C0     = CFrame.new();--Part0.CFrame:inverse();
  403.   C1     = RelativeValue and RelativeValue.Value or Part1.CFrame:toObjectSpace(Part0.CFrame); --Part1.CFrame:inverse() * Part0.CFrame;-- Part1.CFrame:inverse();
  404.   Parent = Part1;
  405.  })
  406.  
  407.  if not RelativeValue then
  408.   RelativeValue = Make("CFrameValue", {
  409.    Parent     = Part1;
  410.    Name       = "qRelativeCFrameWeldValue";
  411.    Archivable = true;
  412.    Value      = NewWeld.C1;
  413.   })
  414.  end
  415.  
  416.  return NewWeld
  417. end
  418.  
  419. local function WeldParts(Parts, MainPart, JointType, DoNotUnanchor)
  420.  -- @param Parts The Parts to weld. Should be anchored to prevent really horrible results.
  421.  -- @param MainPart The part to weld the model to (can be in the model).
  422.  -- @param [JointType] The type of joint. Defaults to weld.
  423.  -- @parm DoNotUnanchor Boolean, if true, will not unachor the model after cmopletion.
  424.  
  425.  for _, Part in pairs(Parts) do
  426.   if ShouldBreakJoints(Part) then
  427.    Part:BreakJoints()
  428.   end
  429.  end
  430.  
  431.  for _, Part in pairs(Parts) do
  432.   if Part ~= MainPart then
  433.    WeldTogether(MainPart, Part, JointType, MainPart)
  434.   end
  435.  end
  436.  
  437.  if not DoNotUnanchor then
  438.   for _, Part in pairs(Parts) do
  439.    Part.Anchored = false
  440.   end
  441.   MainPart.Anchored = false
  442.  end
  443. end
  444.  
  445. local function PerfectionWeld()
  446.  local Tool = GetNearestParent(script, "Tool")
  447.  
  448.  local Parts = GetBricks(script.Parent)
  449.  local PrimaryPart = Tool and Tool:FindFirstChild("Handle") and Tool.Handle:IsA("BasePart") and Tool.Handle or script.Parent:IsA("Model") and script.Parent.PrimaryPart or Parts[1]
  450.  
  451.  if PrimaryPart then
  452.   WeldParts(Parts, PrimaryPart, "Weld", false)
  453.  else
  454.   warn("qWeld - Unable to weld part")
  455.  end
  456.  
  457.  return Tool
  458. end
  459.  
  460. local Tool = PerfectionWeld()
  461.  
  462.  
  463. if Tool and script.ClassName == "Script" then
  464.  --- Don't bother with local scripts
  465.  
  466.  script.Parent.AncestryChanged:connect(function()
  467.   PerfectionWeld()
  468.  end)
  469. end
  470.  
  471. -- Created by Quenty (@Quenty, follow me on twitter).
  472.  
  473. end))
  474. LocalScript6.Name = "Animate"
  475. LocalScript6.Parent = Tool0
  476. table.insert(cors,sandbox(LocalScript6,function()
  477. local arms = nil
  478. local torso = nil
  479. local welds = {}
  480. local Tool = script.Parent
  481. local neck = nil
  482. local orginalC0 = CFrame.new(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  483.  
  484. function Equip(mouse)
  485. wait(0.01)
  486. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  487. head = Tool.Parent:FindFirstChild("Head")
  488. torso = Tool.Parent:FindFirstChild("Torso")
  489. if neck == nil then
  490. neck = Tool.Parent:FindFirstChild("Torso").Neck
  491. end
  492. if arms ~= nil and torso ~= nil then
  493. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  494. if sh ~= nil then
  495. local yes = true
  496. if yes then
  497. yes = false
  498. sh[1].Part1 = nil
  499. sh[2].Part1 = nil
  500. local weld1 = Instance.new("Weld")
  501. weld1.Part0 = head
  502. weld1.Parent = head
  503. weld1.Part1 = arms[1]
  504. welds[1] = weld1
  505. local weld2 = Instance.new("Weld")
  506. weld2.Part0 = head
  507. weld2.Parent = head
  508. weld2.Part1 = arms[2]
  509. welds[2] = weld2
  510. -------------------------here
  511. weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  512. weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  513.  mouse.Move:connect(function ()
  514.   --local Direction = Tool.Direction.Value
  515.   local Direction = mouse.Hit.p
  516.   local b = head.Position.Y-Direction.Y
  517.   local dist = (head.Position-Direction).magnitude
  518.   local answer = math.asin(b/dist)
  519.   neck.C0=orginalC0*CFrame.fromEulerAnglesXYZ(answer,0,0)
  520.   wait(0.1)
  521.  end)end
  522. else
  523. print("sh")
  524. end
  525. else
  526. print("arms")
  527. end
  528. end
  529.  
  530. function Unequip(mouse)
  531. if arms ~= nil and torso ~= nil then
  532. local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")}
  533. if sh ~= nil then
  534. local yes = true
  535. if yes then
  536. yes = false
  537.  neck.C0 = orginalC0
  538.  
  539. sh[1].Part1 = arms[1]
  540. sh[2].Part1 = arms[2]
  541. welds[1].Parent = nil
  542. welds[2].Parent = nil
  543. end
  544. else
  545. print("sh")
  546. end
  547. else
  548. print("arms")
  549. end
  550. end
  551. Tool.Equipped:connect(Equip)
  552. Tool.Unequipped:connect(Unequip)
  553.  
  554. function Animate()
  555. arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")}
  556.  if Tool.AnimateValue.Value == "Shoot" then
  557.   local weld1 = welds[1]
  558.   local weld2 = welds[2]
  559.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  560.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  561.   wait(0.00001)
  562.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.05, math.rad(-90))
  563.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  564.   wait(0.00001)
  565.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.1, math.rad(-90))
  566.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-95), math.rad(-15), 0)
  567.   wait(0.00001)
  568.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.3, math.rad(-90))
  569.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)
  570.   wait(0.00001)
  571.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.35, math.rad(-90))
  572.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)
  573.   wait(0.00001)
  574.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  575.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  576.   wait(0.00001)
  577.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  578.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  579.   Tool.AnimateValue.Value = "None"
  580.  end
  581.  if Tool.AnimateValue.Value == "Reload" then
  582.   local weld1 = welds[1]
  583.   local weld2 = welds[2]
  584.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  585.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  586.   wait(0.0001)
  587.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  588.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  589.   wait(0.0001)
  590.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  591.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-95), math.rad(-15), 0)
  592.   wait(0.0001)
  593.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  594.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-100), math.rad(-15), 0)
  595.   wait(0.0001)
  596.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  597.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-105), math.rad(-15), 0)
  598.   wait(0.0001)
  599.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  600.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-110), math.rad(-15), 0)
  601.   wait(0.0001)
  602.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.4, math.rad(-90))
  603.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-115), math.rad(-15), 0)
  604.   wait(0.0001)
  605.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.45, math.rad(-90))
  606.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  607.   wait(0.0001)
  608.   weld1.C1 = CFrame.new(-0.5+1.5, 0.9, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.5, math.rad(-90))
  609.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  610.   wait(0.0001)
  611.   weld1.C1 = CFrame.new(-0.5+1.5, 1, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.55, math.rad(-90))
  612.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  613.   wait(0.0001)
  614.   weld1.C1 = CFrame.new(-0.5+1.5, 1.1, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.57, math.rad(-90))
  615.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  616.   wait(0.0001)
  617.   weld1.C1 = CFrame.new(-0.5+1.5, 1.2, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.6, math.rad(-90))
  618.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  619.   wait(0.0001)
  620.   weld1.C1 = CFrame.new(-0.5+1.5, 1.3, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0.6, math.rad(-90))
  621.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-120), math.rad(-15), 0)
  622.   wait(0.0001)
  623.   weld1.C1 = CFrame.new(-0.5+1.5, 0.8, .9)* CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90))
  624.   weld2.C1 = CFrame.new(-1, 0.8, 0.5-1.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0)
  625.   Tool.AnimateValue.Value = "None"
  626.  end
  627. end
  628.  
  629. Tool.AnimateValue.Changed:connect(Animate)
  630.  
  631. end))
  632. Script7.Name = "LineConnect"
  633. Script7.Parent = Tool0
  634. Script7.Disabled = true
  635. table.insert(cors,sandbox(Script7,function()
  636. wait()
  637. local check = script.Part2
  638. local part1 = script.Part1.Value
  639. local part2 = script.Part2.Value
  640. local parent = script.Par.Value
  641. local color = script.Color
  642. local line = Instance.new("Part")
  643. line.TopSurface = 0
  644. line.BottomSurface = 0
  645. line.Reflectance = .5
  646. line.Name = "Laser"
  647. line.Transparency = 0.6
  648. line.Locked = true
  649. line.CanCollide = false
  650. line.Anchored = true
  651. line.formFactor = 0
  652. line.Size = Vector3.new(0.4,0.4,1)
  653. local mesh = Instance.new("BlockMesh")
  654. mesh.Parent = line
  655. while true do
  656.  if (check.Value==nil) then break end
  657.  if (part1==nil or part2==nil or parent==nil) then break end
  658.  if (part1.Parent==nil or part2.Parent==nil) then break end
  659.  if (parent.Parent==nil) then break end
  660.  local lv = CFrame.new(part1.Position,part2.Position)
  661.  local dist = (part1.Position-part2.Position).magnitude
  662.  line.Parent = parent
  663.  line.Material = "Neon"
  664.  line.BrickColor = color.Value.BrickColor
  665.  line.Reflectance = color.Value.Reflectance
  666.  line.Transparency = "0.2"
  667.  line.CFrame = CFrame.new(part1.Position+lv.lookVector*dist/2)
  668.  line.CFrame = CFrame.new(line.Position,part2.Position)
  669.  mesh.Scale = Vector3.new(.25,.25,dist)
  670.  wait()
  671. end
  672. line:remove()
  673. script:remove()
  674. end))
  675. LocalScript8.Name = "MainScript"
  676. LocalScript8.Parent = Tool0
  677. table.insert(cors,sandbox(LocalScript8,function()
  678. --Physics gun created by Killersoldier45
  679. wait()
  680. tool = script.Parent
  681. lineconnect = tool.LineConnect
  682. object = nil
  683. mousedown = false
  684. found = false
  685. BP = Instance.new("BodyPosition")
  686. BP.maxForce = Vector3.new(math.huge*math.huge,math.huge*math.huge,math.huge*math.huge) --pwns everyone elses bodyposition
  687. BP.P = BP.P*10 --faster movement. less bounceback.
  688. dist = nil
  689. point = Instance.new("Part")
  690. point.Locked = true
  691. point.Anchored = true
  692. point.formFactor = 0
  693. point.Shape = 0
  694. point.Material = 'Neon'
  695. point.BrickColor = BrickColor.new("Toothpaste")
  696. point.Size = Vector3.new(1,1,1)
  697. point.CanCollide = false
  698. local mesh = Instance.new("SpecialMesh")
  699. mesh.MeshType = "Sphere"
  700. mesh.Scale = Vector3.new(.2,.2,.2)
  701. mesh.Parent = point
  702. handle = tool.Shoot
  703. front = tool.Shoot
  704. color = tool.Shoot
  705. objval = nil
  706. local hooked = false
  707. local hookBP = BP:clone()
  708. hookBP.maxForce = Vector3.new(30000,30000,30000)
  709.  
  710. function LineConnect(part1,part2,parent)
  711.  local p1 = Instance.new("ObjectValue")
  712.  p1.Value = part1
  713.  p1.Name = "Part1"
  714.  local p2 = Instance.new("ObjectValue")
  715.  p2.Value = part2
  716.  p2.Name = "Part2"
  717.  local par = Instance.new("ObjectValue")
  718.  par.Value = parent
  719.  par.Name = "Par"
  720.  local col = Instance.new("ObjectValue")
  721.  col.Value = color
  722.  col.Name = "Color"
  723.  local s = lineconnect:clone()
  724.  s.Disabled = false
  725.  p1.Parent = s
  726.  p2.Parent = s
  727.  par.Parent = s
  728.  col.Parent = s
  729.  s.Parent = workspace
  730.  if (part2==object) then
  731.   objval = p2
  732.  end
  733. end
  734.  
  735. function onButton1Down(mouse)
  736.  if (mousedown==true) then return end
  737.  mousedown = true
  738.  coroutine.resume(coroutine.create(function()
  739.   local p = point:clone()
  740.   p.Parent = tool
  741.   LineConnect(front,p,workspace)
  742.   while (mousedown==true) do
  743.    p.Parent = tool
  744.    if (object==nil) then
  745.     if (mouse.Target==nil) then
  746.      local lv = CFrame.new(front.Position,mouse.Hit.p)
  747.      p.CFrame = CFrame.new(front.Position+(lv.lookVector*1000))
  748.     else
  749.      p.CFrame = CFrame.new(mouse.Hit.p)
  750.     end
  751.    else
  752.     LineConnect(front,object,workspace)
  753.     break
  754.    end
  755.    wait()
  756.   end
  757.   p:remove()
  758.  end))
  759.  while (mousedown==true) do
  760.   if (mouse.Target~=nil) then
  761.    local t = mouse.Target
  762.    if (t.Anchored==false) then
  763.     object = t
  764.     dist = (object.Position-front.Position).magnitude
  765.     break
  766.    end
  767.   end
  768.   wait()
  769.  end
  770.  while (mousedown==true) do
  771.   if (object.Parent==nil) then break end
  772.   local lv = CFrame.new(front.Position,mouse.Hit.p)
  773.   BP.Parent = object
  774.   BP.position = front.Position+lv.lookVector*dist
  775.   wait()
  776.  end
  777.  BP:remove()
  778.  object = nil
  779.  objval.Value = nil
  780. end
  781.  
  782. function onKeyDown(key,mouse)
  783.  local key = key:lower()
  784.  local yesh = false
  785.  if (key=="q") then
  786.   if (dist>=5) then
  787.    dist = dist-5
  788.   end
  789.  end
  790.  if key == "t" then
  791.  if (object==nil) then return end
  792.  for _,v in pairs(object:children()) do
  793.  if v.className == "BodyGyro" then
  794.  return nil
  795.  end
  796.  end
  797.  BG = Instance.new("BodyGyro")
  798.  BG.maxTorque = Vector3.new(math.huge,math.huge,math.huge)
  799.  BG.cframe = CFrame.new(object.CFrame.p)
  800.  BG.Parent = object
  801.  repeat wait() until(object.CFrame == CFrame.new(object.CFrame.p))
  802.  BG.Parent = nil
  803.  if (object==nil) then return end
  804.  for _,v in pairs(object:children()) do
  805.  if v.className == "BodyGyro" then
  806.  v.Parent = nil
  807.  end
  808.  end
  809.  object.Velocity = Vector3.new(0,0,0)
  810.  object.RotVelocity = Vector3.new(0,0,0)
  811.  end
  812.  if (key=="e") then
  813.   dist = dist+5
  814.  end
  815.  if (string.byte(key)==27) then
  816.   if (object==nil) then return end
  817.   local e = Instance.new("Explosion")
  818.   e.Parent = workspace
  819.   e.Position = object.Position
  820.   color.BrickColor = BrickColor.Black()
  821.   point.BrickColor = BrickColor.White()
  822.   wait(.48)
  823.   color.BrickColor = BrickColor.White()
  824.   point.BrickColor = BrickColor.Black()
  825.  end
  826.  if (key=="") then
  827.   if not hooked then
  828.   if (object==nil) then return end
  829.   hooked = true
  830.   hookBP.position = object.Position
  831.   if tool.Parent:findFirstChild("Torso") then
  832.   hookBP.Parent = tool.Parent.Torso
  833.   if dist ~= (object.Size.x+object.Size.y+object.Size.z)+5 then
  834.   dist = (object.Size.x+object.Size.y+object.Size.z)+5
  835.   end
  836.   end
  837.   else
  838.   hooked = false
  839.   hookBP.Parent = nil
  840.   end
  841.  end
  842.  if (key=="r") then
  843.   if (object==nil) then return end
  844.   color.BrickColor = BrickColor.new("Toothpaste")
  845.   point.BrickColor = BrickColor.new("Toothpaste")
  846.   object.Parent = nil
  847.   wait(.48)
  848.   color.BrickColor = BrickColor.new("Toothpaste")
  849.   point.BrickColor = BrickColor.new("Toothpaste")
  850.  end
  851.  if (key=="x") then
  852.  if (object==nil) then return end
  853.  local New = object:clone()
  854.  New.Parent = object.Parent
  855.  for _,v in pairs(New:children()) do
  856.  if v.className == "BodyPosition" or v.className == "BodyGyro" then
  857.  v.Parent = nil
  858.  end
  859.  end
  860.  object = New
  861.  mousedown = false
  862.  mousedown = true
  863.  LineConnect(front,object,workspace)
  864.   while (mousedown==true) do
  865.   if (object.Parent==nil) then break end
  866.   local lv = CFrame.new(front.Position,mouse.Hit.p)
  867.   BP.Parent = object
  868.   BP.position = front.Position+lv.lookVector*dist
  869.   wait()
  870.  end
  871.  BP:remove()
  872.  object = nil
  873.  objval.Value = nil
  874.  end
  875.  if (key=="c") then
  876.   local Cube = Instance.new("Part")
  877.   Cube.Locked = true
  878.   Cube.Size = Vector3.new(4,4,4)
  879.   Cube.formFactor = 0
  880.   Cube.TopSurface = 0
  881.   Cube.BottomSurface = 0
  882.   Cube.Name = "WeightedStorageCube"
  883.   Cube.Parent = workspace
  884.   Cube.CFrame = CFrame.new(mouse.Hit.p) + Vector3.new(0,2,0)
  885.   for i = 0,5 do
  886.    local Decal = Instance.new("Decal")
  887.    Decal.Texture = "http://www.roblox.com/asset/?id=2662260"
  888.    Decal.Face = i
  889.    Decal.Name = "WeightedStorageCubeDecal"
  890.    Decal.Parent = Cube
  891.   end
  892.  end
  893.  if (key=="") then
  894.   if dist ~= 15 then
  895.    dist = 15
  896.   end
  897.  end
  898. end
  899.  
  900. function onEquipped(mouse)
  901.  keymouse = mouse
  902.  local char = tool.Parent
  903.  human = char.Humanoid
  904.  human.Changed:connect(function() if (human.Health==0) then mousedown = false BP:remove() point:remove() tool:remove() end end)
  905.  mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  906.  mouse.Button1Up:connect(function() mousedown = false end)
  907.  mouse.KeyDown:connect(function(key) onKeyDown(key,mouse) end)
  908.  mouse.Icon = "rbxassetid://2184939409"
  909. end
  910.  
  911. tool.Equipped:connect(onEquipped)
  912. end))
  913. Part9.Name = "GlowPart"
  914. Part9.Parent = Tool0
  915. Part9.Material = Enum.Material.Neon
  916. Part9.BrickColor = BrickColor.new("Cyan")
  917. Part9.Transparency = 0.5
  918. Part9.Rotation = Vector3.new(0, -89.5899963, 0)
  919. Part9.Shape = Enum.PartType.Cylinder
  920. Part9.Size = Vector3.new(1.20000005, 0.649999976, 2)
  921. Part9.CFrame = CFrame.new(-54.8191681, 0.773548007, -0.0522949994, 0.00736002205, 4.68389771e-11, -0.999974668, 4.72937245e-11, 1, 1.41590961e-10, 0.999974668, 5.09317033e-11, 0.00736002252)
  922. Part9.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  923. Part9.Position = Vector3.new(-54.8191681, 0.773548007, -0.0522949994)
  924. Part9.Orientation = Vector3.new(0, -89.5799942, 0)
  925. Part9.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  926. Script10.Name = "GlowScript"
  927. Script10.Parent = Part9
  928. table.insert(cors,sandbox(Script10,function()
  929. while true do
  930. wait(0.05)
  931. script.Parent.Transparency = .5
  932. wait(0.05)
  933. script.Parent.Transparency = .6
  934. wait(0.05)
  935. script.Parent.Transparency = .7
  936. wait(0.05)
  937. script.Parent.Transparency = .8
  938. wait(0.05)
  939. script.Parent.Transparency = .9
  940. wait(0.05)
  941. script.Parent.Transparency = .8
  942. wait(0.05)
  943. script.Parent.Transparency = .7
  944. wait(0.05)
  945. script.Parent.Transparency = .6
  946. wait(0.05)
  947. script.Parent.Transparency = .5
  948. end
  949.  
  950. end))
  951. Part11.Name = "GlowPart"
  952. Part11.Parent = Tool0
  953. Part11.Material = Enum.Material.Neon
  954. Part11.BrickColor = BrickColor.new("Cyan")
  955. Part11.Transparency = 0.5
  956. Part11.Rotation = Vector3.new(-89.3799973, -55.7399979, -89.25)
  957. Part11.Size = Vector3.new(0.280000001, 0.25999999, 0.200000003)
  958. Part11.CFrame = CFrame.new(-54.9808807, 0.99843204, 0.799362957, 0.00736002205, 0.562958956, -0.826454222, 4.72937245e-11, 0.826475084, 0.56297338, 0.999974668, -0.00414349511, 0.00608287565)
  959. Part11.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  960. Part11.Position = Vector3.new(-54.9808807, 0.99843204, 0.799362957)
  961. Part11.Orientation = Vector3.new(-34.2599983, -89.5799942, 0)
  962. Part11.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  963. Script12.Name = "GlowScript"
  964. Script12.Parent = Part11
  965. table.insert(cors,sandbox(Script12,function()
  966. while true do
  967. wait(0.05)
  968. script.Parent.Transparency = .5
  969. wait(0.05)
  970. script.Parent.Transparency = .6
  971. wait(0.05)
  972. script.Parent.Transparency = .7
  973. wait(0.05)
  974. script.Parent.Transparency = .8
  975. wait(0.05)
  976. script.Parent.Transparency = .9
  977. wait(0.05)
  978. script.Parent.Transparency = .8
  979. wait(0.05)
  980. script.Parent.Transparency = .7
  981. wait(0.05)
  982. script.Parent.Transparency = .6
  983. wait(0.05)
  984. script.Parent.Transparency = .5
  985. end
  986.  
  987. end))
  988. Part13.Name = "GlowPart"
  989. Part13.Parent = Tool0
  990. Part13.Material = Enum.Material.Neon
  991. Part13.BrickColor = BrickColor.new("Cyan")
  992. Part13.Transparency = 0.5
  993. Part13.Rotation = Vector3.new(95.1500015, -53.8199997, 98.0799942)
  994. Part13.Size = Vector3.new(0.280000001, 0.25999999, 0.200000003)
  995. Part13.CFrame = CFrame.new(-54.5909271, 0.978429973, 0.799362957, -0.0830051303, -0.584483683, -0.807150841, 0.0241250042, 0.808528602, -0.58796227, 0.996258855, -0.0682764053, -0.0530113392)
  996. Part13.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  997. Part13.Position = Vector3.new(-54.5909271, 0.978429973, 0.799362957)
  998. Part13.Orientation = Vector3.new(36.0099983, -93.7599945, 1.70999992)
  999. Part13.Color = Color3.new(0.0156863, 0.686275, 0.92549)
  1000. Script14.Name = "GlowScript"
  1001. Script14.Parent = Part13
  1002. table.insert(cors,sandbox(Script14,function()
  1003. while true do
  1004. wait(0.05)
  1005. script.Parent.Transparency = .5
  1006. wait(0.05)
  1007. script.Parent.Transparency = .6
  1008. wait(0.05)
  1009. script.Parent.Transparency = .7
  1010. wait(0.05)
  1011. script.Parent.Transparency = .8
  1012. wait(0.05)
  1013. script.Parent.Transparency = .9
  1014. wait(0.05)
  1015. script.Parent.Transparency = .8
  1016. wait(0.05)
  1017. script.Parent.Transparency = .7
  1018. wait(0.05)
  1019. script.Parent.Transparency = .6
  1020. wait(0.05)
  1021. script.Parent.Transparency = .5
  1022. end
  1023.  
  1024. end))
  1025. for i,v in pairs(mas:GetChildren()) do
  1026.  v.Parent = game:GetService("Players").LocalPlayer.Backpack
  1027.  pcall(function() v:MakeJoints() end)
  1028. end
  1029. mas:Destroy()
  1030. for i,v in pairs(cors) do
  1031.  spawn(function()
  1032.   pcall(v)
  1033.  end)
  1034. end



  • Recent Roblox Scripts