Heres an interesting one. I'm trying to make a script that will make it say "Happy Birthday" on the screen. I tried to make it tween to the middle of the screen, but when I run it literally nothing pops up.
Server Script:
--[[
This is a happy birthday script for a friend. Its free of viruses.
Scripted by FrostedFlakes67 c:
--]]
print("Birthday script by FrostedFlakes67 loaded.")
--A little credit--
local Credit = script.Parent.Credit
game.Players.PlayerAdded:Connect(function(plr)
local Clone = Credit:Clone()
Clone.Parent = plr.PlayerGui
end)
--GUI--
local HostName = "FrostedFlakes67"
game.Players.PlayerAdded:Connect(function(plr)
if plr.Name == HostName then
print("Host Joined!")
plr.Chatted:Connect(function(msg)
print("Host chatted: "..msg)
local msglower = string.lower(msg)
print("Lowercase versision: "..msglower)
if msglower == "happy birthday, alexis!" then
warn("Starting!")
script.Parent.Start:FireAllClients()
end
end)
end
end)
--Local Script--
script.Parent.Tweening.Parent = game.StarterPlayer.StarterPlayerScripts
Local script:
--[[
Some tweening c:
Scripted by FrostedFlakes67
]]
game.Workspace["Happy birthday!"].Start.OnClientEvent:Connect(function()
print(game.Players.LocalPlayer.Name.." recieved the message!")
local Text = game.Workspace["Happy birthday!"]["Happy Birthday"].TextLabel
print("Text found, starting tweening.")
Text:TweenPosition(
UDim2.new(0.5,0,0.5,0),
Enum.EasingDirection.In,
Enum.EasingStyle.Quart,
1
)
print("Tweening finished! Script ending.")
end)
Please tell me if I did something wrong. (This time, I'm getting output from everything in both scripts. It says it finished, even though nothing happened.)

14 comments
Try replacing "In" and "Quart" with Enum.EasingDirection.In and Enum.EasingStyle.Quart
for the anchor points they both need to be set to .5 for it to work :)
Nevermind.. sorry about that.. Anyways, Also it could be possible that whenever you chat "Happy birthday, Alexis!" one word is lower cased which then it wont register. try using string.lower()
I copy and paste it from that, but i'll add string.lower()
I tried both of those suggestions, and it still isnt working
Oh, wait. I just solved it myself. This is a server script, so I need to clone it to everyone.
I edited it.
Still doesn't work. I'll check back in the morning for answers. (I don't get the output for when it starts, so something is wrong with that part.)
You can store the LocalScript as a child of StarterPlayerScripts under StarterPlayer. There is no need to move it when they join. This program also has no TweenPosition methods or UDim2 modifications visible, which shows that this code is not responsible for the issue, please give us the program that Tweens the GUI you mentioned
Oh, sorry. Let me add the local script.
The problem with making it a part of StarterPlayerScripts is I'm making it a folder so for a model, so I cant just have one part in another category, it all needs to stay in the folder.
Ok, I made some changes, let me update this.
Ok, I made some changes, let me update this.
lemme write you an answer