generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: FPS

Previous Thread :: Next Thread 
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
10 Aug 2015 07:06 PM
How is this done with the hands?

http://prntscr com/836qc0
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
10 Aug 2015 07:07 PM
fake arms
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
10 Aug 2015 07:11 PM
And how is that done exactly? its not visible in Third person mode.
Report Abuse
TimeTicks is not online. 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
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
10 Aug 2015 07:12 PM
just cframe the players arms ;-;
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
10 Aug 2015 07:13 PM
http://web.roblox.com/games/276993374/Army-of-Blox

my fps is open source anyways
Report Abuse
rayk999 is not online. rayk999
Joined: 18 Feb 2011
Total Posts: 4705
10 Aug 2015 07:20 PM
it's called LocalTransparencyModifier
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
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
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
10 Aug 2015 08:00 PM
You totally made that very popular FM lmao.
Nope.

You also ignored my example.

--------------------------------------------------------------------------------

GTFO.
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
10 Aug 2015 08:01 PM
Where exactly is the script for your "example" in the game?
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
10 Aug 2015 08:02 PM
Starterpack > The tool > the 'Server' script, theres a piece of code for creating the arms.
Report Abuse
DeathsLASTwords is not online. DeathsLASTwords
Joined: 28 Jan 2012
Total Posts: 2701
10 Aug 2015 08:15 PM
whats... "Args" ??
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
10 Aug 2015 08:16 PM
Lemme convert it for you..
Report Abuse
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
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
LongKillKreations is not online. LongKillKreations
Joined: 14 Feb 2014
Total Posts: 4502
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
iSpecializinq is not online. iSpecializinq
Joined: 31 May 2015
Total Posts: 2182
11 Aug 2015 11:14 AM
I plan on using it in several scripts (client and server)
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image