#Shooting bullet out of the "gunHole"

90 messages · Page 1 of 1 (latest)

signal crater
#

Learn the basics hmm

coarse sleet
#

newBullet.CFrame = gunHole.CFrame maybe this works

coarse sleet
#

Imma check my own gun script

signal crater
#

If you know the basics, start learning something more advanced and most important, do RESEARCH https://create.roblox.com/docs here you should find about anything you need to know

Learn with documentation and resources for all creators.

#

Dude, stop it

coarse sleet
#

I have newBullet.CFrame = gun CFrame * gunHole.CFrame

#

We have an american

#

Ehm

#

I understand

#

It looks like you have a small hatred towards British people

#

🛫🗼🗼

#

Even Dutch?

tropic idolBOT
#

studio** You are now Level 3! **studio

coarse sleet
#

Good.

#

Yes I'm a Brit, ofcourse I'm a brit

#

Bad comeback incoming: and you are a... Brad!

#

L for me

#

What are you going to steal?

#

Why the hate?

#

He gone

signal crater
#

I created a ticket to get rid of this guy

coarse sleet
#

He is weird

signal crater
#

Yea... Using "british" as an insult....

coarse sleet
#

I'm not even british

#

And where are you from?

tropic idolBOT
#

studio** You are now Level 3! **studio

signal crater
coarse sleet
#

I smell... British

signal crater
#

I smell... Someone without a life that will get not that far in life...

#

Im "Anti-Goobers" chad

coarse sleet
#

Lol

#

Why is he not reacting?

#

Almost like his parents said he had to put down his phone

#

And that he had to sleep

#

Oh wait sorry, I meant mother* instead of parents

signal crater
#

If you ever feel like you are not welcomed, just remember nobody likes mug gaming hollow

#

Pretty sad people I'd say

coarse sleet
#

I have friends who fly in planes

#

Watch out they dont 'mug' you

#

You are the outsider

#

Most sane American

signal crater
#

Expected that people that get at this "stage of stupidity" won't get opinions and self reflect

signal crater
coarse sleet
#

Roblox: MugGamingOfficial
ID: 4468725749

#

Made today

signal crater
#

I'd imagine thats true lol

coarse sleet
#

Ye

signal crater
#

Well, most of toxic/stupid/idiots on the internet don't have a main account and use different names on every account to not get shit on by other players that might recognize them

#

Every 10yo argument Id say

#

@ruby plover you really like to be a pain in the a ,don't you?

tropic idolBOT
#

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

signal crater
#

@ruby plover you said you have friend, right? So why are you wasting your time with our little "british" brains and don't talk with your friends? Oh wait... Do you even have such things? Is there anyone that can like you and not get annoyed by you? Is year 2023 so I guess any idiot can find someone at the same level to his to be "friends" (annoying each other, A.K.A. friends, right?).
Please rethink your life and make some changes, you will not achieve anything in life if you continue like this hmm

#

Which one of the tens of messages about being a british?

#

I sent you the Roblox Studio Developer Documentation to look for "CFrames" and things like this

#

You have anything scripted yet?

tropic idolBOT
#

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

signal crater
#

Aight, so you don't have any scripts right now, right?

#

EY he got banned (ig)

#

that mug guy

#

Good, so... I'm not good at FPS games but this is how I would do it:

  1. Get the mouse position
  2. Use a remote event to detect when player is clicking the mouse button
  3. Send a event to a server script about player's mouse position
  4. Create a part / tween a part to the mouse position
  5. Handle the damage things
  6. Remove bullet
    (You will need animations for reload, recoil etc)
#

https://youtu.be/PBzRVmO8Aro here is something I made a few days ago
I used a local script to get player's mouse (My script was inside StarterPlayerScripts, Im sure you can create when you have a tool (gun) in your hand)
Remote even that was triggered when I pressed button one of the mouse (left click)
And a Server Script inside the ServerScriptService that creates a bullet (for me it was just a cylinder) and gets moved by using tween (just because I want to see the bullet go, you can add maybe an effect and make it just set the CFrame to the mouse position) and creating holes into the part (this is just to make "cool" but Roblox has a limit unfortunately) (all this in about 20 mins)
Tell me if you want something like this

#
local ReplicatedStorage = game:GetService("ReplicatedStorage")

local plr = game.Players.LocalPlayer

local RemoteEventsFolder = ReplicatedStorage.REF

local PlayerFire = RemoteEventsFolder.PlayerFire

local mouse = plr:GetMouse()

mouse.Button1Down:Connect(function()
    PlayerFire:FireServer(mouse.Hit)
end)```
Here is the script I used in Local Script
coarse sleet
#

He got banned?

#

Yeee

#

Goodbye

signal crater
#
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local GunsFolder = ReplicatedStorage.Guns
local RemoteEventsFolder = ReplicatedStorage.REF
local PlayerFire = RemoteEventsFolder.PlayerFire

local TweenService = game:GetService("TweenService")
local tweenInfo = TweenInfo.new(0.2, Enum.EasingStyle.Quint)

PlayerFire.OnServerEvent:Connect(function(plr, MouseHit)
    local bullet = Instance.new("Part", game.Workspace.Bullets)
    local char = game.Workspace:FindFirstChild(plr.Name)

    bullet.Anchored = true
    bullet.CFrame = char.Head.CFrame
    bullet.Size = Vector3.new(0.5, 0.5, 0.5)
    bullet.CanCollide = false
    local Tween = TweenService:Create(bullet, tweenInfo,{CFrame = MouseHit * CFrame.fromEulerAnglesXYZ(0, 90, 0)})
    Tween:Play()
    bullet.Touched:Connect(function(hit)
        if not hit:IsDescendantOf(char) and hit.Parent:FindFirstChild("Humanoid") then
            bullet:Destroy()
            hit.Parent.Humanoid.Health -= 10
        end
    end)
end)

Try something like this

signal crater
#

Yea

#

In Local Script you are gonna get just the player and the player's mouse pos

#

Aight, so you want to know how to trigger the system or what?

#

Oh ;-;

#

I went to far ig

#

Welp, that should be easy

#

BUT

#

It depends on your scritps

#

Can you show me your system?

#

It should be pretty easy, one or max 5 lines, but I need to know how are you handling things

#

My eyes burn rn
Use dark mode :D

#

"Bullet" is the bullet of G17, right? :)

#

Good

#

This is local, right?

#

Welp... You will have some problems then....

#

You have the "damage" things, but I'm sure you can't used in a local script, you need to use it in a server script (Is this made by ChatGPT?)

#

Aight so

#

Can you show me the other script that uses the remote event?

#

Wdym to young?

#

Also, worst tutorial

#

Does it? Idk I'm 18 and I never saw something about it

#

Aight