#Gui appears on Touch
63 messages · Page 1 of 1 (latest)
and its simple
fireclient when touched
on client recieve it, use tween to make it smoothly appear
can't you just use the part.touched on the client?
Don't think touched works in local
you said smoothly appeared probably tween should work can you clarify if you wan t like a fade in/ or maybe pop up from the bottom and what i would do is using tween on the gui frame if you want me to script it for free tell me here thats just my suggestion
like the screen fades to black and fades back?
** You are now Level 1! **
ok so
ill try and send something now..
this is the script i came up with. Place the script in a screen gui then in screen gui insert a frame called "Black" without double qoutes and size it to fit the entire screen the set its background transparency to 1 in the properties tab.
local part = game.Workspace.part --The part you want the player to touch to trigger the tween
local FadeIn = tweenService:Create(script.Parent:WaitForChild("Black") ,TweenInfo.new(2, Enum.EasingStyle.Linear,Enum.EasingDirection.Out),{Transparency = 0}) --The FadeIn tween
local FadeOut = tweenService:Create(script.Parent:WaitForChild("Black") ,TweenInfo.new(2, Enum.EasingStyle.Linear,Enum.EasingDirection.Out),{Transparency = 1}) --The FadeOut tween
part.Touched:Connect(function(hit) --Senses if the part is touched
FadeIn:Play() --Plays FadeIn
FadeIn.Completed:Wait() --Waits for FadeIn to complete
task.wait(2) --Waits two seconds before playing FadeOut change the number in the bracket's to change the duration(Seconds)
FadeOut:Play() --Plays fade out
end)
oh shit
place this befroe everything
local tweenService = game:GetService("TweenService")
@unreal spindle
** You are now Level 2! **
ya there?
...
show the script and starter gui in the explorer
...
k
wait
bruh
do you have any experience with scripting?
wait sorry
ye i mistook something uhhh
im gonna be honest m lost
** You are now Level 2! **
hmmmm
i dont know why it is not working
so any idea on why it is not workin on youre game....
is it the "Black" frame?
the big white
hmm
ye select the fram and untick enabled or in the view tab disable ui visibility
@unreal spindle \
first thing is if you want to make the ui bigger
select the frame and drag it to the top
in properties of "Black" untick enabled
or visible
try this script and do this
@unreal spindle
..
** You are now Level 3! **
kk
i only joined the server today..
i mainly use hidden devs
bhigdUOAWNDAWd
sorry
select loading gui and untick enabled but remember to reenable it before rejoining
@unreal spindle
ill talk to you tommorow if you cant fix it i have to go now...
** You are now Level 3! **
it does
swear it didnt work last time i tried
where was your local script