|
| 10 Aug 2015 07:06 PM |
How is this done with the hands?
http://prntscr com/836qc0 |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
| |
|
|
| 10 Aug 2015 07:11 PM |
| And how is that done exactly? its not visible in Third person mode. |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 10 Aug 2015 07:11 PM |
You can post the full danm link with prntscrn. Repost the link. I am too lazy to add the god danm period
"Talk is cheap. Show me the code." - Linus Torvalds |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 07:12 PM |
| just cframe the players arms ;-; |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 07:13 PM |
http://web.roblox.com/games/276993374/Army-of-Blox
my fps is open source anyways |
|
|
| Report Abuse |
|
|
rayk999
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 4705 |
|
|
| 10 Aug 2015 07:20 PM |
| it's called LocalTransparencyModifier |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 07:57 PM |
Thanks Rayk, Heres the script I made for my pistol(inserted into the tool, Local script)
local player = game.Players.LocalPlayer local character = player.Character game:GetService("RunService").RenderStepped:connect(function() character["Left Arm"].LocalTransparencyModifier = 0.5 character["Right Arm"].LocalTransparencyModifier = 0.5 character["Left Arm"].BrickColor = BrickColor.new("Black") character["Right Arm"].BrickColor = BrickColor.new("Black") end)
Tool = script.Parent; local arms = nil local torso = nil local welds = {}
function Equip(mouse) wait(0.01) arms = {Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm")} torso = Tool.Parent:FindFirstChild("Torso") if arms ~= nil and torso ~= nil then local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")} if sh ~= nil then local yes = true if yes then yes = false sh[1].Part1 = nil sh[2].Part1 = nil local weld1 = Instance.new("Weld") weld1.Part0 = torso weld1.Parent = torso weld1.Part1 = arms[1] weld1.C1 = CFrame.new(-.549, .4, 0.45) * CFrame.fromEulerAnglesXYZ(math.rad(290), 0, math.rad(-90)) welds[1] = weld1 local weld2 = Instance.new("Weld") weld2.Part0 = torso weld2.Parent = torso weld2.Part1 = arms[2] weld2.C1 = CFrame.new(-0.549, .4, 0.5) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(-15), 0) welds[2] = weld2 end else print("sh") end else print("arms") end end
function Unequip(mouse) if arms ~= nil and torso ~= nil then local sh = {torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder")} if sh ~= nil then local yes = true if yes then yes = false sh[1].Part1 = arms[1] sh[2].Part1 = arms[2] welds[1].Parent = nil welds[2].Parent = nil end else print("sh") end else print("arms") end end Tool.Equipped:connect(Equip) Tool.Unequipped:connect(Unequip) |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 08:00 PM |
You totally made that very popular FM lmao. Nope.
You also ignored my example.
--------------------------------------------------------------------------------
GTFO. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 08:01 PM |
| Where exactly is the script for your "example" in the game? |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 08:02 PM |
| Starterpack > The tool > the 'Server' script, theres a piece of code for creating the arms. |
|
|
| Report Abuse |
|
|
| |
|
|
| 10 Aug 2015 08:16 PM |
| Lemme convert it for you.. |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 08:17 PM |
local R_Arm = Character:WaitForChild("Right Arm") local L_Arm = Character:WaitForChild("Left Arm") local ArmsModel = Instance.new("Model",Character) ArmsModel.Name = "ArmsModel" local Arm1 = R_Arm:Clone() Arm1.Parent = ArmsModel Arm1.CFrame = R_Arm.CFrame Instance.new("BlockMesh",Arm1) local Arm2 = L_Arm:Clone() Arm2.Parent = ArmsModel Arm2.CFrame = L_Arm.CFrame Instance.new("BlockMesh",Arm2) local Weld = Instance.new("Weld",Arm1) Weld.Part0 = Arm1 Weld.Part1 = R_Arm Weld.C0 = Arm1.CFrame:inverse() Weld.C1 = R_Arm.CFrame:inverse() local Weld = Instance.new("Weld",Arm2) Weld.Part0 = Arm1 Weld.Part1 = Arm2 Weld.C1 = CFrame.new(1,-1.5,0)*CFrame.Angles(0,0,math.rad(-60)) R_Arm.Transparency = 1 L_Arm.Transparency = 1 |
|
|
| Report Abuse |
|
|
|
| 10 Aug 2015 11:38 PM |
@iSpec
Those unnecessary Xvalues inside your guns hurt my eyes. Why would you wanna keep the ammo as an Xvalue anyway? |
|
|
| Report Abuse |
|
|
|
| 11 Aug 2015 11:14 AM |
| I plan on using it in several scripts (client and server) |
|
|
| Report Abuse |
|
|