#Shooting bullet out of the "gunHole"
90 messages · Page 1 of 1 (latest)
newBullet.CFrame = gunHole.CFrame maybe this works
Imma check my own gun script
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
Dude, stop it
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?
** You are now Level 3! **
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
I created a ticket to get rid of this guy
He is weird
Yea... Using "british" as an insult....
** You are now Level 3! **
Me neither
I smell... British
I smell... Someone without a life that will get not that far in life...
Im "Anti-Goobers" 
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
If you ever feel like you are not welcomed, just remember nobody likes mug gaming 
Pretty sad people I'd say
I have friends who fly in planes
Watch out they dont 'mug' you
You are the outsider
Most sane American
Expected that people that get at this "stage of stupidity" won't get opinions and self reflect

Ye
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?
** You are now Level 4! **
@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 
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?
** You are now Level 4! **
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:
- Get the mouse position
- Use a remote event to detect when player is clicking the mouse button
- Send a event to a server script about player's mouse position
- Create a part / tween a part to the mouse position
- Handle the damage things
- 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
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
Yessir
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