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: (Help!) Scripts are not working inGame but work on studio

Previous Thread :: Next Thread 
WolfieTheDino is not online. WolfieTheDino
Joined: 07 Dec 2014
Total Posts: 80
24 Mar 2017 07:26 PM
Does anyone know how to fix these scripts?

1.
function onClicked()
if game.Players.LocalPlayer:GetRankInGroup(game.Workspace.GiveSystem.GroupID.Value) < game.Workspace.GiveSystem.RankID.Value then
script.Parent.Parent.Parent.Message.Message.Text = "(Server): You lack the permission to this Panel."
wait(0.3)
script.Parent.Parent.Parent.Message:TweenPosition(UDim2.new(0,0,0,0),"Out","Sine",1,true)
wait(10)
script.Parent.Parent.Parent.Message:TweenPosition(UDim2.new(0,0,0,-10000),"Out","Sine",1,true)
wait(0.5)
script.Parent.Parent.Parent.Message.Message.Text = "(Server): Error Loading Message."
end
end

script.Parent.MouseButton1Down:connect(onClicked)

2.
function onClicked()
if script.Value.Value == false then
script.Value.Value = true
script.Parent.Parent.Parent.Parent.HandTo.commands:TweenPosition(UDim2.new(0,-5000,0,450),"Out","Bounce",0.5,true)
script.Parent.Text = "Open Give GUI"
else
script.Value.Value = false
script.Parent.Parent.Parent.Parent.HandTo.commands:TweenPosition(UDim2.new(0,20,0,450),"In","Bounce",0.5,true)
script.Parent.Text = "Close Give GUI"
end
end

script.Parent.MouseButton1Down:connect(onClicked)
Report Abuse
XCVlll is not online. XCVlll
Joined: 23 Oct 2008
Total Posts: 963
24 Mar 2017 07:37 PM
most likely an issue with players taking too long to load
Report Abuse
WolfieTheDino is not online. WolfieTheDino
Joined: 07 Dec 2014
Total Posts: 80
24 Mar 2017 10:19 PM
No its been like 10 mins and doesnt work
Report Abuse
papaneguest is not online. papaneguest
Joined: 23 Feb 2013
Total Posts: 692
24 Mar 2017 10:23 PM
Its local.


uo
Report Abuse
WolfieTheDino is not online. WolfieTheDino
Joined: 07 Dec 2014
Total Posts: 80
24 Mar 2017 10:24 PM
How do i change it?
Report Abuse
WolfieTheDino is not online. WolfieTheDino
Joined: 07 Dec 2014
Total Posts: 80
25 Mar 2017 04:59 AM
Bump
Report Abuse
WolfieTheDino is not online. WolfieTheDino
Joined: 07 Dec 2014
Total Posts: 80
25 Mar 2017 03:59 PM
Bump
Report Abuse
WolfieTheDino is not online. WolfieTheDino
Joined: 07 Dec 2014
Total Posts: 80
28 Mar 2017 12:40 AM
Bump
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
28 Mar 2017 12:42 AM
Are these localscripts? If not, does it make sense to be using game.Players.LocalPlayer? (Hint, answer to first question is the same answer to second question).
Report Abuse
KenUSM is not online. KenUSM
Joined: 21 Nov 2015
Total Posts: 146
28 Mar 2017 12:49 AM
DO this

1.
function onClicked(Hit)
local H = Hit.Parent
if game.Players:GetRankInGroup(game.Workspace.GiveSystem.GroupID.Value, Hit.Parent)
Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
28 Mar 2017 12:53 AM
No Ken. Just no.
Report Abuse
KenUSM is not online. KenUSM
Joined: 21 Nov 2015
Total Posts: 146
28 Mar 2017 01:01 AM
o it's a GUI, my bad
Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
28 Mar 2017 01:02 AM
add wait(1) at the top


Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
28 Mar 2017 01:04 AM
No. Bad.
Report Abuse
PhantomVisual is not online. PhantomVisual
Joined: 08 Apr 2011
Total Posts: 2025
28 Mar 2017 01:07 AM
lol i was joking. Press F-Nine in-game and send us any errors.


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