#Can someone help

1 messages · Page 1 of 1 (latest)

heavy reef
#

i have this script for a proximity prompt but for some reason it doesnt work. It doesnt give any errors and it doesnt print anything in output either.

`` -- Services
local players = game:GetService("Players")
local ts = game:GetService("TweenService")

-- Variables
local plr = players.LocalPlayer
local plrgui = plr.PlayerGui
local shop = plrgui:WaitForChild("Shop")
local prompt = script.Parent

prompt.Triggered:Connect(function()
print(1)
ts:Create(shop["Main Frame"], TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {GroupTransparency = 0}):Play()
print(2)
end) ``

icy eagle
#

wheres the script located

heavy reef
#

in the prompt

icy eagle
#

well local scripts dont work unless theyre inside the player/character

heavy reef
#

ok let me try

#

still doesnt work

#

it doesnt work in sterter player

round quartzBOT
#

studio** You are now Level 4! **studio

lavish spruce
heavy reef
#

no

heavy reef
#

yes

amber eagle
#

i think it should be a normal script, not a local

#

and maybe use a fireClient for the Gui

#

try just making it normal script with the print, delete the gui thing just for the test

heavy reef
#

alr

#

ill try that

amber eagle
wary grove
#

In this line: ts:Create(shop["Main Frame"], TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {GroupTransparency = 0}):Play() did u mean to say BackgroundTransparency = 0? u trying to tween the value of GroupTransparency not sure what that is

heavy reef
#

no i ment group transparency

wary grove
#

whats group transparency?