So , when I test my scripts usually its ok and normal but sometimes it adds a line or removes a line. The worst was that it deleted the whole script and I had to redo it.
local InRadians = math.rad(28)
local cos = math.cos(InRadians)
local t = game.Players.LocalPlayer.PlayerGui:WaitForChild()
local label = t.ScreenGui.TextLabel
t.Text = cos
This is the script I wrote (it doesnt work and i am trying to fix it)
When I run the script this happens
local InRadians = math.rad(28)
local cos = math.cos(InRadians)
local t = game.Players.LocalPlayer.PlayerGui:WaitForChild()
local label = t.ScreenGui.TextLabel
t.Text = cos
t.Text = cos -- It added a line automatically without me doing it
It happened a few times already so I just wanna know if anybody is experiencing this as well?

2 comments
that's weird, could it be a plugin you have installed? i highly doubt it's roblox studio.
i have 4 plugins but i dont think that if its the plugin it could have been an accident cause my plugins are all for building and just nothing to do with scripting. also i dont use free models so it cant be free models fault right?