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: Sliding-chat-command- door.

Previous Thread :: Next Thread 
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 09:59 AM
I tryed to make a Sliding-chat-command- door [ mouth full] but it wont slide, help me please:
------------------------------------------------------------------------------------------------------------
local door = script.Parent
local cf = script.Parent.CFrame
local open = false
local players = {"wuppii", "GAMER21DUDE", "TrevorWarren" , "zelo81" , "zezima99" , "legobuilder97" , "adzii" , "NCISrox" , "jojo2342" , "xx50xx" , "BOZZSYLUX"}
function check(plyr)
local allow = false
for i, v in pairs(players) do
if v == plyr.Name then
allow = true
end
end
return allow
end
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(msg)
local msg = msg:lower()
if msg == "open" and open == false and check(p) then
for i = 1,16 do
script.Parent.CFrame = script.Parent.CFrame + CFrame.new(0, 0, -0.18)
wait(0.01)
end
open = true
elseif msg == "close" and open == true and check(p) then
for i = 1,16 do
script.Parent.CFrame = script.Parent.CFrame + CFrame.new(0, 0, 0.18)
wait(0.01)
end
open = false
end
end)
end)
------------------------------------------------------------------------------------------------------------
Thank you.
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
22 Aug 2011 09:59 AM
http://www.roblox.com/Forum/ShowPost.aspx?PostID=9772680
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:00 AM
Oh,I'm so sorry, I forgot you PMed me that. >_<
I feel stupid >_<
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:02 AM
Oh, I forgot to say it doesn't slide.
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:02 AM
nvm my last post..
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:04 AM
So..., what's wrong with posting this?
I can't check the output..
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
22 Aug 2011 10:05 AM
Add prints in different stages of your script. This will find what parts of the script are running and what parts aren't, which will allow you to present further detail about the problem so people will actually help, as this is probably a simple problem to fix.
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
22 Aug 2011 10:06 AM
You can check the output - Tools -> Start server then Tools -> Start player. To make a player enabled to chat, enter in the command bar:

game.Players.Player:SetSuperSafeChat(false)
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:06 AM
You need to be able to chat to let this script work.
chat = online mode = no output.
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
22 Aug 2011 10:07 AM
Did you latepost, or did I earlypost? :P
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:07 AM
Aha..
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:12 AM
In 'Start Player' I am unable to use the command bar.. >_<
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 10:15 AM
Some help please...?
Report Abuse
wuppii is not online. wuppii
Joined: 20 Feb 2010
Total Posts: 1625
22 Aug 2011 11:00 AM
Uhm...?
Report Abuse
pighead10 is not online. pighead10
Joined: 03 May 2009
Total Posts: 10341
22 Aug 2011 01:00 PM
Switch tabs to the server window, not the start player one, then you will be able to use the command bar.
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