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 » Scripting Helpers
Home Search
 

Re: Scripting

Previous Thread :: Next Thread 
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 12:56 PM
I want to do a simple script to remove my right arm how do I do this?
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 12:59 PM
This game.workspace.NeonDaNub.right.arm:remove()
Report Abuse
vvire is not online. vvire
Joined: 14 Feb 2014
Total Posts: 34
09 May 2014 01:02 PM
game.Workspace.NeonDaNub["Right Arm"]:Destroy()
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 01:27 PM
How would I say remove jabbyjam and neondanub right arm at once?
Report Abuse
vvire is not online. vvire
Joined: 14 Feb 2014
Total Posts: 34
09 May 2014 01:28 PM
game.Workspace.NeonDaNub["Right Arm"]:Destroy()
game.Workspace.JabbyJam["Right Arm"]:Destroy()
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 01:30 PM
That didn't work
Report Abuse
vvire is not online. vvire
Joined: 14 Feb 2014
Total Posts: 34
09 May 2014 01:31 PM
Are you sure that is the exact name? Lua is case sensitive.
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 01:33 PM
Forgot his name had no caps xD
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 01:34 PM
And it still didn't work.
Report Abuse
vvire is not online. vvire
Joined: 14 Feb 2014
Total Posts: 34
09 May 2014 01:39 PM
game.Workspace.NeonDaNub["Right Arm"]:remove()
game.Workspace.jabbyjam["Right Arm"]:remove()

Or try this:
wait(5)
game.Workspace.NeonDaNum["Right Arm"].Transparency = 1
game.Workspace.jabbyjam["Right Arm"].Transparency = 1
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 01:53 PM
If I wanted my entire body to be transparency 1 what would I use?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
09 May 2014 01:53 PM
@viv

No. Just No. Remove = DeathWorthy

Names = {"Player1", "Player2"} --Add names here
Limbs = {"Right Arm", "Right Leg"} --Add or remove.

for _,v in ipairs(Names) do
repeat wait()
P = Workspace:FindFirstChild(v)
until P
for u,o in ipairs(Limbs) do
repeat wait()
L = P:FindFirstChild(o)
until L
L:Destroy()
end
end




:D
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
09 May 2014 01:55 PM
Transparency? That's a simple one :D


for _,v in ipairs(Workspace.NAME:GetChildren()) do
if v.ClassName == "Part" then
v.Transparency = 0
end
end
Report Abuse
NeonDaNub is not online. NeonDaNub
Joined: 05 Jan 2013
Total Posts: 1820
09 May 2014 01:57 PM
Anyone with a simple script to make an entire body transparency 1 in 1 script?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
09 May 2014 01:58 PM
I just gave it to you -_-
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 May 2014 01:59 PM
Or do this in case they have a hat on

function Hide(Object)
for _, Object in pairs (Object:GetChildren()) do
Hide(Object)
ypcall(function()
Object.Transparency = 1
end)
end
end
Hide(Game.Players["128GB"].Character)
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
09 May 2014 02:19 PM
function invisible(player)
for i, v in pairs(player.Character:GetChildren()) do
if v:IsA("BasePart") then
v.Transparency = 1
end
end
end

invisible(game.Players.ForeverDev)
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 May 2014 02:24 PM
@Forever
Yours would still make you see decals (Face, and tshirt) and hats
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
09 May 2014 02:27 PM
Same with yours
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 May 2014 02:27 PM
No, mine hides hats, and decals. And any other object in the character.
Report Abuse
Duelingwarlord is not online. Duelingwarlord
Joined: 15 Feb 2010
Total Posts: 22333
09 May 2014 02:29 PM
lrn2script
this is considered basic
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
09 May 2014 02:30 PM
@128GB

Last time I checked, hats and clothing don't have a transparency property.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
09 May 2014 02:30 PM
Test the script then.
Report Abuse
TigerCaptain is not online. TigerCaptain
Joined: 08 Aug 2011
Total Posts: 369
09 May 2014 02:32 PM
ah yes I have a question for you war. You said to send you a pm in your model about data service, but you wont accept pms from non-friends.
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
09 May 2014 02:32 PM
I'm telling you, it won't work...
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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