Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why Is My Roblox Studio Broken?

Asked by 2 years ago
Edited 2 years ago

My Roblox Studio is completely broken. It doesn't comprehend CFrame and tells me to use Vector3, my LocalScripts can't even read anything from the Workspace, I can't use CharacterAdded because it treats it like an object instead of a function, who knows what else is wrong with it.

1 answer

Log in to vote
1
Answered by 2 years ago

It would be useful to know the commands you're trying to run, but if doing even simple things like print(workspace:GetChildren()) or

a = Instance.new("Part", workspace)
a.Anchored = true
b = a:Clone()
b.CFrame = a.CFrame + a.CFrame.LookVector * 2.5
b.Parent = workspace
print(workspace.Part.CFrame.LookVector)

don't work (you can copy/paste either into the Command Bar and see the result in the Output - the second one should be done in a new Baseplate place) then it definitely sounds very broken and I would recommend reinstalling Roblox Studio.

If those commands do work, there may be other problems, such as:

  • You might be using a CFrame when it expects a Vector3 (ex, if you say part.Position = CFrame.new(, that'll error)
  • LocalScripts might fail to read something from the workspace if you have StreamingEnabled on or if you don't use WaitForChild on anything that has been created/cloned since the game started running
0
So before I saw this, I deleted Studio and decided to reinstall it. The first command probably wouldn't work since I made a new part and print(workspace.part.position) didn't even work, it said that it couldn't find "part" in workspace even though it was there, I'll let you know if it fixed by reinstalling SuperSM1 67 — 2y
0
Weird, it ran your second command but not my commands still, guess I'll try what you said and try to get everything working, thanks! SuperSM1 67 — 2y
0
Note that the default part name is "Part", so (since Lua is case-sensitive) you'd have to say: print(workspace.Part.Position) I hope you get everything working! chess123mate 5873 — 2y
Ad

Answer this question