Verodoxys
|
  |
| Joined: 29 Jun 2012 |
| Total Posts: 18454 |
|
| |
|
Verodoxys
|
  |
| Joined: 29 Jun 2012 |
| Total Posts: 18454 |
|
| |
|
Verodoxys
|
  |
| Joined: 29 Jun 2012 |
| Total Posts: 18454 |
|
|
| 13 Sep 2014 11:36 AM |
| the next person to not respond gets pooped on |
|
|
| Report Abuse |
|
|
| |
|
ezaiahs
|
  |
| Joined: 28 Jun 2011 |
| Total Posts: 18613 |
|
|
| 13 Sep 2014 11:38 AM |
just insert all the scripts into the gun
and then find
local character, handle, [(shooty)], mouseDown, reloading, firing, debris, cframe, vector3, instance, ray, mathRandom, server, body, config, deathCon, serverDmg, pingCon = player.Character, tool.Handle, tool.[(shooty)], false, false, false, game:GetService("Debris"), CFrame.new, Vector3.new, Instance.new, Ray.new, math.random, workspace:findFirstChild("Server.rbxl"), {Torso, LeftArm ,RightArm, LeftShoulder, RightShoulder}
See shooty?(I put it in parenthesis and brackets, dont put that in the script lol)
That is what the brick name where the laser comes out is named
>tool.shooty
goes into tool and finds shooty
the stuff on the left can be named anything but the stuff on the right has to be exactly like it is in your tool(Left and right of the = sign) |
|
|
| Report Abuse |
|
|
ezaiahs
|
  |
| Joined: 28 Jun 2011 |
| Total Posts: 18613 |
|
|
| 13 Sep 2014 11:39 AM |
fyi it was not called shooty originally
i changed it to that
just find the thing next to handle(left side) and the thing next to tool.handle(right side)
ALSO
if anything in the script later on refers to what shooty originally was you are gonna need to change that to the new one
|
|
|
| Report Abuse |
|
|
ezaiahs
|
  |
| Joined: 28 Jun 2011 |
| Total Posts: 18613 |
|
|
| 13 Sep 2014 11:40 AM |
or you could just keep it all the same and just change your gun to whatever shooty was originally into your gun
wow this is actually really hard to explain |
|
|
| Report Abuse |
|
|
| |
|
thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 13 Sep 2014 11:47 AM |
change firing position for the raycast add weld script make sure parts are named right, like Handle and tip of gun |
|
|
| Report Abuse |
|
|
1roy999
|
  |
| Joined: 18 Jun 2010 |
| Total Posts: 5603 |
|
|
| 13 Sep 2014 11:48 AM |
| there are two main parts. Handle and barrel. Add part where you take it out to handle (Regular brick), and shooty part gets the shooty script. |
|
|
| Report Abuse |
|
|
Verodoxys
|
  |
| Joined: 29 Jun 2012 |
| Total Posts: 18454 |
|
|
| 13 Sep 2014 11:48 AM |
i got it shooting but
the model happens to be 4 parts and the one i set the Handle to be is the only one actually appearing - looks like the rest aren't welded properly
the script is enabled (it's disabled by default), and here it is; -- Enable this script if you have a multi part gun otherwise remove it
local function weld(x, y) local newWeld = Instance.new("Weld") newWeld.Part0 = x newWeld.Part1 = y local CJ = CFrame.new(x.Position) local C0 = x.CFrame:inverse()* CJ local C1 = y.CFrame:inverse()* CJ newWeld.C0 = C0 newWeld.C1 = C1 newWeld.Parent = x end
function weldParts(object) if object:IsA("BasePart") then weld(script.Parent.Handle, object) object.Anchored = false else for i, c in pairs(object:GetChildren()) do getParts(c) end end end
local function weldTool() weldParts(script.Parent) end
script.Parent.Equipped:connect(weldTool) script.Parent.Unequipped:connect(weldTool) weldTool()
is there something wrong in there? |
|
|
| Report Abuse |
|
|
thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 13 Sep 2014 12:09 PM |
| post the output i can look at it |
|
|
| Report Abuse |
|
|
Verodoxys
|
  |
| Joined: 29 Jun 2012 |
| Total Posts: 18454 |
|
|
| 13 Sep 2014 12:17 PM |
13:16:06.785 - Auto-Saving... 13:16:07.185 - Unable to load plugin icon. Image may have an invalid or unknown format. 13:16:07.186 - Unable to load plugin icon. Image may have an invalid or unknown format. 13:16:07.910 - Equipped is not a valid member of Workspace 13:16:07.910 - Script 'Workspace.WeldArm', Line 58 13:16:07.910 - Stack End 13:16:07.944 - FindChildren is not a valid member of Tool 13:16:07.944 - Script 'Players.Player1.Backpack.GPR.Welding', Line 20 - global weldParts 13:16:07.945 - Script 'Players.Player1.Backpack.GPR.Welding', Line 27 - local weldTool 13:16:07.945 - Script 'Players.Player1.Backpack.GPR.Welding', Line 32 13:16:07.945 - Stack End [RCL] Server.rbxl loaded [RCL] Plugin loaded: Flairs.rbxl [RCL] Plugin loaded: Announce.rbxl [RCL] Plugin loaded: TeamFix.rbxl 13:16:11.295 - FindChildren is not a valid member of Tool 13:16:11.295 - Script 'Players.Player1.Backpack.GPR.Welding', Line 20 - global weldParts 13:16:11.296 - Script 'Players.Player1.Backpack.GPR.Welding', Line 27 13:16:11.296 - Stack End 13:16:11.296 - Disconnected event because of exception |
|
|
| Report Abuse |
|
|
thea96
|
  |
| Joined: 09 Feb 2011 |
| Total Posts: 37634 |
|
|
| 13 Sep 2014 12:25 PM |
13:16:07.910 - Script 'Workspace.WeldArm', Line 58
look at that? |
|
|
| Report Abuse |
|
|
|
| 13 Sep 2014 12:30 PM |
| dont do rcl scripts for jc's guns plz |
|
|
| Report Abuse |
|
|
Verodoxys
|
  |
| Joined: 29 Jun 2012 |
| Total Posts: 18454 |
|
| |
|