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
 

Why doesn't this...

Previous Thread :: Next Thread 
StrikerBOY606 is not online. StrikerBOY606
Joined: 25 Oct 2010
Total Posts: 747
28 May 2013 02:29 PM
work? It works fine and as I want it to in Solo-Mode but it doesn't work in Online Mode. I've used ROBLOX's Error Script and there was no output. Here is the script:

local bin = script.Parent
local sky = game:service('Workspace')
local player = game:service('Players').LocalPlayer
local char = player.Character
local cam = sky.CurrentCamera

bin.MouseButton1Click:connect(function()
local scr = char:FindFirstChild("CamScript")
if scr ~= nil then
scr:Destroy()
end
script.Parent.Parent.Parent:Destroy()
local hum = char:FindFirstChild("Humanoid")
if hum ~= nil then
cam.CameraSubject = char.Humanoid
cam.CameraType = "Custom"
if sky.Skyblock1.Taken.Value == false then
char:MoveTo(Vector3.new(243, 8.99, 244))
sky.Skyblock1.Taken.Value = true

elseif sky.Skyblock2.Taken.Value == false then
char:MoveTo(Vector3.new(250, 8.99, -241))
sky.Skyblock2.Taken.Value = true
end
if player.PlayerGui:FindFirstChild("BlockNameGUI") ~= nil then
player.PlayerGui.BlockNameGUI.TextLabel.Visible = true
end
local con = char:FindFirstChild("ControlScript")
if con ~= nil then
con.Disabled = false
end
local health = player.PlayerGui:FindFirstChild("HealthBarGUI")
if health ~= nil then
health.Border.Visible = true
end
end
end)

--This isn't the FULL script!
Report Abuse
gamert7 is not online. gamert7
Joined: 18 Nov 2008
Total Posts: 4986
28 May 2013 02:32 PM
For one is it in a local script?
Report Abuse
StrikerBOY606 is not online. StrikerBOY606
Joined: 25 Oct 2010
Total Posts: 747
28 May 2013 02:49 PM
Yes
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