of     1   

ThatDarnMegalomaniac
#220051607Thursday, June 29, 2017 8:11 PM GMT

So i was trying to script Hitmarker sounds in a Common Assault Rifle where you can find in Free models so easily, I put the sound in a screengui, I did like, everything in order, And i had no error messages in Output But for some reason the sound just refuses to play. (No literally doesn't get in "Playing" status, and script doesn't break.) I've been trying everything for an entire day, I'd appreciate if any of you have a solution for this, Thanks.
ExtremeBuilder15
#220051708Thursday, June 29, 2017 8:13 PM GMT

Perhaps you should show us what you're doing
ThatDarnMegalomaniac
#220051838Thursday, June 29, 2017 8:15 PM GMT

Here's the script in the "Bullet" ------------------------------------------------------ sp=script.Parent damage=15 wait() local weld=sp:FindFirstChild("Weld") if weld~=nil then if weld.Part0~=nil then hit=weld.Part0 local sound=sp:FindFirstChild("Sound") if sound~=nil then sound:Play() end local ct=sp:FindFirstChild("creator") if ct.Value~=nil and game.Players:FindFirstChild(ct.Value).Character ~=nil then if hit.Parent~=ct.Value.Character and hit.Name~="Handle" and hit.Name~="Effect" then local h=hit.Parent:FindFirstChild("Humanoid") local t=hit.Parent:FindFirstChild("Torso") if h~=nil and t~=nil and h.Health>0 then if (start - tick() > 1) then print("Took " .. tostring(start - tick()) " seconds to load") end end local Hitmarker = game.Players:FindFirstChild(ct.Value).PlayerGui.Hitmarker.HitmarkerSound Hitmarker:Play() for i,v in ipairs(h:GetChildren()) do if v.Name=="creator" then v:remove() end end ct:clone().Parent=h h:TakeDamage(damage) end end end end end --------------------------------------------------------- Correction: Refuses to work in Online, Works fine in Test mode
ThatDarnMegalomaniac
#220052293Thursday, June 29, 2017 8:22 PM GMT

Well Bump
ThatDarnMegalomaniac
#220052507Thursday, June 29, 2017 8:25 PM GMT

Bump, Meow.
ThatDarnMegalomaniac
#220052787Thursday, June 29, 2017 8:29 PM GMT

Reeeeeeeeeeeeeeeeeeeeeee Bump.
ExtremeBuilder15
#220052898Thursday, June 29, 2017 8:30 PM GMT

local Hitmarker = game.Players:FindFirstChild(ct.Value).PlayerGui.Hitmarker.HitmarkerSound You can't access the player gui from a server script. You'll have to send a remote to the client to play the sound
ThatDarnMegalomaniac
#220052964Thursday, June 29, 2017 8:31 PM GMT

A bit more clear/simple please? <_<
ThatDarnMegalomaniac
#220081171Friday, June 30, 2017 3:17 AM GMT

bump
Mr_Pure
#220081312Friday, June 30, 2017 3:19 AM GMT

(facepalm) This is siggy. He is does not like people. He will bite.
KEVEKEV77
#220081421Friday, June 30, 2017 3:21 AM GMT

local local reciever = game.Workspace.ReplicatedStorage.RemoteEvent reciever.OnInvoke(: Something yeah
ThatDarnMegalomaniac
#220087945Friday, June 30, 2017 4:58 AM GMT

Screw it, i'll just hire someone for that

    of     1