jjjbad
(jjjbad)
#1
local square = script.Parent
local sc = script
local Module = require(game:GetService("ReplicatedStorage").ModuleScript);
while true do
wait(0.0001)
square.Rotation = square.Rotation + 2
if square.Rotation == 720 then
game.StarterGui.ScreenGui.Loading.AnchorPoint = Vector2.new(0.5, 0.5)
game.StarterGui.ScreenGui.Loading.Position = UDim2.new(0.5, 0, 0.5, 0)
wait(2)
game.StarterGui.ScreenGui.Loading:TweenPosition(UDim2.new(1.5, 0, 1.5, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quart, 3)
Module.Loaded();
break
end
end
After the rotation is 720, it stops becasue of the break, but it doesn’t tween. Help 
You’re referencing the GUIs that are in StarterGui, you need to reference the ones that are in the playerGui
local square = script.Parent
local sc = script
local Module = require(game:GetService("ReplicatedStorage").ModuleScript);
local plr = game:GetService("Players").LocalPlayer
local plrGui = plr:WaitForChild("PlayerGui")
while true do
wait(0.0001)
square.Rotation = square.Rotation + 2
if square.Rotation == 720 then
plrGui.ScreenGui.Loading.AnchorPoint = Vector2.new(0.5, 0.5)
plrGui.ScreenGui.Loading.Position = UDim2.new(0.5, 0, 0.5, 0)
wait(2)
plrGui.ScreenGui.Loading:TweenPosition(UDim2.new(1.5, 0, 1.5, 0), Enum.EasingDirection.InOut, Enum.EasingStyle.Quart, 3)
Module.Loaded();
break
end
end