Still have questions? Join our Discord server and get real time help.
3

# Why does roblox sometimes delete or add codes into my script?

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 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 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?

0
that's weird, could it be a plugin you have installed? i highly doubt it's roblox studio. riceburrito16 40 — 5mo
0
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? RebornedSnoop 170 — 5mo