Roblox Game Acts Way Differently Off Studio(EXTREMELY IMPORTANT, GAMEBREAKING)

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    I am making a soccer game. There are no bugs in studio.

  2. What is the issue? Include screenshots / videos if possible!
    In studio, everything works fine. Steals only go a bit forward, UIS works, etc. When I open the game on Roblox, or use local server to test, the steal dashes forward and then has another far burst. I get glitched out of the map. Also, UIS doesn’t register inputs until I reset. Thirdly, the entire game acts weird and buggy.

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    Experimenting/printing, and searching in dev forum.

After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!

-- This is an example Lua code block

Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.

3 Likes

WHAT IS GOING ON??? now my animations, previously working in studio, are bugged, and although not as broken as ingame, the physics work worse now.

1 Like

Can you provide evidence or perhaps footage of this happening? (First devforum post yay!)

yeah one sec lemme figure out how

im recording rn but now every time i load in the amount the character dashes is randomized

Have you double-checked the script’s functionality? Maybe there’s some errors.

there are no errors, this wasnt happening before

What about the code itself? Did you write everything properly?

yes, eg for the steal this code was working properly

	local slide = coroutine.create(function()
		for i = 1, 90 do
			player.Character:WaitForChild("HumanoidRootPart").AssemblyLinearVelocity =  Vector3.new(player.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector.X, player.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector.Y,player.Character:WaitForChild("HumanoidRootPart").CFrame.LookVector.Z) * 75
			task.wait()
		end
	end)
	coroutine.resume(slide)

I am a beginner scripter, but I’ll try my best to help you.
You could seconds to the task.wait(), like 1 or 5.

normally this isnt bugged, the issue isnt with my code, its with studio/roblox


this is the game normally (in studio)

i got flung for some reason tho i can fix it tho

Mind if I playtest, per say?
Seeing the video, might have to decrease the velocity of the steal.

sure, also heres another clip in studio but this time its bugged

one of the bugs is until i reset, the game literally doesnt register uis, i added a print statement and it doesnt work

You could add a :WaitForChild() statement for the UI, that way the game waits for the UI to load. And hopefully it will register.

its not the ui, it literally doesnt print this when i click until i reset
image

Can you double check? I’ll check it too if you’re gonna show.