I recently began work on FunButtons, a small gui that, as the name implies, has many fun buttons. However, all of the buttons worked in test mode, yet they don't work in accurate test mode & when playing on an actual server. Even more weird is that they show no errors in the output. I fixed one of them by switching it to a local script, but the other one still didn't work, local script or normal script. Here's the script I'm dealing with:
local player = game.Players.LocalPlayer local torso = player.Character.HumanoidRootPart
local angV = Instance.new("BodyAngularVelocity") angV.Parent = torso angV.Name = "RotV" angV.AngularVelocity = Vector3.new(0,0,0) angV.MaxTorque = Vector3.new(0,10000000,0)
script.Parent.TextButton.MouseButton1Click:Connect(function() local intE = script.Parent.TextBox.Text torso.RotV.AngularVelocity = Vector3.new(0,intE,0) end)
(A simple script that is supposed to add a BodyAngular velocity to the player and lets them change the speed of it via a text box.) This no errors thing isn't a glitch with studio, because one of the scripts I put on the server did show errors in the output. I found a couple of post by various people that had similar issues, but they weren't helpful enough to warrant me not posting here.
Note: I'm relatively new to scripting so It may be longer/harder to explain things. Just saying :/