So uhh
I haz a localscript
And I haz a loading screen that I is trying to haz
And I haz sum variables here
local LocalPlayer = game:GetService("Players").LocalPlayer
local LoaderGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("LoadingScreen")
local Frame = LoaderGui.Frame or LoaderGui:WaitForChild("Frame")
local Text = Frame.TextLabel or Frame:WaitForChild("TextLabel")
LoaderGui.Enabled = true
LocalPlayer.Character.Humanoid.WalkSpeed = 0
LocalPlayer.Character.Humanoid.JumpPower = 0
wait()
local character = LocalPlayer.Character
local humroot = character.HumanoidRootPart
And I haz a for loop
for i=0,1,0.025 do
Frame.BackgroundTransparency = i
Text.TextTransparency = i
Text.TextStrokeTransparency = (i * 0.5) -- I want haz this to be fixe! :P
wait(0.025)
end
And I want the TextStrokeTransparency to start off at 0.5 and go at half speed of the rest of the stuff without putting it into a different loop.
Full script here in case u need haz infomation
-- In a LocalScript, in a FilteringEnabled game, in StarterCharacterScripts
local LocalPlayer = game:GetService("Players").LocalPlayer
local LoaderGui = game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui"):WaitForChild("LoadingScreen")
local Frame = LoaderGui.Frame or LoaderGui:WaitForChild("Frame")
local Text = Frame.TextLabel or Frame:WaitForChild("TextLabel")
LoaderGui.Enabled = true
LocalPlayer.Character.Humanoid.WalkSpeed = 0
LocalPlayer.Character.Humanoid.JumpPower = 0
wait()
local character = LocalPlayer.Character
local humroot = character.HumanoidRootPart
local platform = Instance.new("Part", game.Workspace)
-- set up properties of the platform
platform.Transparency = 0.7
platform.Material = "Glass"
platform.Size = Vector3.new(5, 1, 5)
platform.Anchored = true
platform.CustomPhysicalProperties = PhysicalProperties.new(5, 2, 0.5, 5, 0.5)
platform.Parent = game.Workspace
platform.Size = Vector3.new(5, 1, 5); platform.Material = "Glass"; platform.Anchored = true; platform.Transparency = 0.4
platform.Name = "Platform"
local positionCo = coroutine.create(function()
while true do
platform.Position = Vector3.new(humroot.Position.X, -0.501, humroot.Position.Z)
game:GetService("RunService").RenderStepped:Wait()
end
end)
coroutine.resume(positionCo)
wait(0.1)
Text.Text = "Loading done!"
wait(1)
for i=0,1,0.025 do
Frame.BackgroundTransparency = i
Text.TextTransparency = i
Text.TextStrokeTransparency = (i * 0.5)
wait(0.025)
end
character.Humanoid.WalkSpeed = game:GetService("StarterPlayer").StarterHumanoid.WalkSpeed
character.Humanoid.JumpPower = game:GetService("StarterPlayer").StarterHumanoid.JumpPower
LoaderGui.Enabled = false
--[[ Commented out because ROBLOX Player hates this code, probz because not in ServerScriptService
--setting the thingies--
do
local PhysicsService = game:GetService("PhysicsService")
local plfGroup = "platformGroup"
local plyGroup = "playerGroup"
PhysicsService:CreateCollisionGroup(plfGroup)
PhysicsService:CreateCollisionGroup(plyGroup)
PhysicsService:SetPartCollisionGroup(platform, plfGroup)
for _, part in pairs(character:GetChildren()) do
if part:IsA("BasePart") then
PhysicsService:SetPartCollisionGroup(part, plyGroup)
end
end
PhysicsService:CollisionGroupSetCollidable(plfGroup, "Default", false)
PhysicsService:CollisionGroupSetCollidable(plyGroup, plfGroup, true)
end
-- done setting the thingies --
--]]
(Please note, all typos here are intentional and intended to be humorous
also note: u can help me make the physicsservice thing work 2 if u want, but idc if u do or not)

1 comment
By half speed I meant like, start at the same moment as the rest of the stuff, but go at 0.0125 instead of 0.025. If not possible, your stuff will work too.