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
 

[ Content Deleted ]

Previous Thread :: Next Thread 
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:04 AM
[ Content Deleted ]
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
13 Oct 2011 08:05 AM
The Script is Child of?
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
13 Oct 2011 08:06 AM
LocalScripts only works in player or player childs
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:06 AM
[ Content Deleted ]
Report Abuse
BenBonez is not online. BenBonez
Joined: 29 Aug 2008
Total Posts: 19362
13 Oct 2011 08:06 AM
The Part is child of?
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:11 AM
[ Content Deleted ]
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:13 AM
[ Content Deleted ]
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
13 Oct 2011 08:13 AM
gui = script.ScreenGui
db = true

function MezaRidge(hit)
local plr = hit.Parent
local torso = plr:FindFirstChild("Torso")
local plrgui = game.Players:GetPlayerFromCharacter(plr).PlayerGui
if db == true then
db = false
gui:Clone().Parent = plrgui
torso.CFrame = CFrame.new(431.5, 70, 465.5)
wait(3)
db = true
end
end

script.Parent.Touched:connect(MezaRidge)
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:15 AM
[ Content Deleted ]
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:15 AM
[ Content Deleted ]
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:19 AM
[ Content Deleted ]
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:22 AM
[ Content Deleted ]
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
13 Oct 2011 08:22 AM
...That work unless another part (what is not part of character)
touches that
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:25 AM
[ Content Deleted ]
Report Abuse
su8 is not online. su8
Joined: 06 Mar 2009
Total Posts: 6334
13 Oct 2011 08:27 AM
Try this:

gui = script.ScreenGui
db = true

function MezaRidge(hit)
local plr = hit.Parent
if plr:IsA("Model") then
local torso = plr:FindFirstChild("Torso")
--local plrgui = game.Players:GetPlayerFromCharacter(plr).PlayerGui
if db == true then
db = false
--gui:Clone().Parent = plrgui
torso.CFrame = CFrame.new(431.5, 70, 465.5)
wait(3)
db = true
end
end
end

script.Parent.Touched:connect(MezaRidge)
Report Abuse
Trioxide is not online. Trioxide
Joined: 29 Mar 2011
Total Posts: 32902
13 Oct 2011 08:30 AM
[ Content Deleted ]
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