Try putting
Notify:TweenSize(UDim2.new(0.5, 0, 0.169, 0), "Out", "Quad", 1, false, nil)
Try putting
Notify:TweenSize(UDim2.new(0.5, 0, 0.169, 0), "Out", "Quad", 1, false, nil)
again idk why this is happening but it does not work
Are you getting any error now?
nope it just keeps the frame at 0, 0 , 0 , 0 or somethin
its a frame …
Put print (“Open”) below this:
Maybe it is not triggered by the if.
it prints “Open” so its just the tweening
Wowza, didn’t know that one, thanks for the correction!
i’ve learned that the gui goes to the top right of the size i want to set then scales down until you cant see it
Could you give an example as to what you mean?
the thing changes now but the gui has text and it goes off screen now and nothing else?
Maybe you need to change the Position
value of your gui?
If the frame is inside another frame it will definitely affect it
idk if this would work bc ive changed it alr
its not its parent is a ScreenGui
That is indeed true you can substitute mostly every Enum for strings (minus Enums binded to event specific things like Enum.KeyCode I don’t think can be treated as a string). But it’s less optimized.
Always use Enum, it’s quicker than strings.
Alight, how about you send the script, and video of what happens and a pic of the explorer all at the same time in one post so we can see exactly what is happening and or what is wrong…
i cant send a vid bc idk how to on mac
i can give full script
– Services
local replicatedStorage = game:GetService(“ReplicatedStorage”)
local serverStorage = game:GetService(“ServerStorage”)
local ts = game:GetService(“TweenService”)
local tweeninfo = TweenInfo.new(1,Enum.EasingStyle.Sine,Enum.EasingDirection.Out)
local plr = game.Players.LocalPlayer
repeat wait()
until plr.Character
local Character = plr.Character
local Humanoid = Character.Humanoid
local maxHunger = 100
local maxThirst = 100
local maxSanity = 100
local dead = false
– Events
local DeathEvent = game.ReplicatedStorage:WaitForChild(“Death”)
local Notification = game.ReplicatedStorage:WaitForChild(“Notify”)
–Values
local Stat = plr:WaitForChild(“Stats”)
local Hunger = Stat:WaitForChild(“Hunger”)
local Sanity = Stat:WaitForChild(“Sanity”)
local Thirst = Stat:WaitForChild(“Thirst”)
–Guis
local MainGui = plr:WaitForChild(“PlayerGui”):WaitForChild(“Hud”)
local ThirstGui = MainGui:WaitForChild(“Thirst”)
local HungerGui = MainGui:WaitForChild(“Hunger”)
local SanityGui = MainGui:WaitForChild(“Thirst”)
local HealthGui = MainGui:WaitForChild(“Health”)
–Mains
Hunger:GetPropertyChangedSignal(“Value”):Connect(function()
if not dead then
if Hunger.Value == 0 then
DeathEvent:FireServer(“Hunger”)
dead = true
else
print(“yes”)
local Change = Hunger.Value / (maxHunger)
print(Change)
HungerGui.Bar:TweenSize(UDim2.new(Change, 0, 1, 0))
end
end
end)
Thirst:GetPropertyChangedSignal(“Value”):Connect(function()
if not dead then
if Thirst.Value == 0 then
DeathEvent:FireServer(plr, “Thirst”)
dead = true
else
print(“yes”)
local Change = Thirst.Value / (maxThirst)
print(Change)
ThirstGui.Bar:TweenSize(UDim2.new(Change, 0, 1, 0))
end
end
end)
Humanoid:GetPropertyChangedSignal(“Health”):Connect(function()
local healthChange = Humanoid.Health/(Humanoid.MaxHealth)
HealthGui.Bar:TweenSize(UDim2.new(healthChange / 10.9, 0, 0.5, 0), “Out”, “Quad”, 0.5, true)
end)
Notification.OnClientEvent:Connect(function(message, answer)
local Notify = MainGui:WaitForChild(“Notify”)
print(answer)
if answer == "Open" then
print("OPEN")
Notify:TweenSize(UDim2.new(0.466, 0,0.247, 0), "Out", "Quad", 1, false)
--{0.444, 0},{0.169, 0} tip size
Notify.Main.Text = " "
print(Notify.Main.Text)
elseif answer == "Stay" then
Notify.Main.Text = message
end
end)
Ok, let me take a good look at this…
By the way you can just take video using the Roblox recording system or the studio recording. To find the normal Roblox one just hit the Roblox icon when you test the game and go through the tabs and you should find it, for studio go to the View tab and you should find the studio recorder, the picture quality isn’t the best but at least it is something.
Also, when posting code, you can put three of these ~~~, or these ``` at the top and bottom of your code so it is easier to read, you may already know this but just to be sure.
I will get back to you on the code issue.