|
| 18 Jul 2017 07:22 PM |
Trying to make a gun. I have this script: --//Local Script Inside folder --//Variables l########## game.Players.LocalPlayer local tool = script.Parent.Parent l######o#### #o####################### tool.Handle l############### true local config = tool.Config l######ange = config.Range l######mg = config.Damage l############### config.CoolDown local clips = config.Clips loc######o = config.Ammo loc######Ammo = co############################################################################################################# tool.Activated:connect(function() if debounce then --########################## debounce = false --//Ray Get, Set local ra### #a######################mouse.Hit.p - hole.CFrame.p) * range.Value) local hit, position = wo##################################################rue) --//Bullet Tr####### if al##################= true then --//Make part local trace = Instance.new("Part", workspace) trace.Material = En################## trace.BrickColor = BrickColor.new("Black") trace.CanCollide = false trace.Anchored = true trace.Transparency = 0.####### --//Show Direction local distance = (hole.CFrame.p - position).magnitude trace.Size = Ve################.####i######### # tr############ CFrame.new(hole.CFrame.p, position) * CF#############,##d############ --//Remove debris ga########################################.#### end --//Hit Detection if hit then local humanoid = hi##################################### if humanoid then if hit.Name == "Head" then --//Double damage on headshots hu#################################### else --//Normal Damage on body shots ############################## end end end wait(coolDown.Value) debounce = true end end) end) ##### it is not working. Anyone know why? |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:24 PM |
lmao
"We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
cfiredog
|
  |
| Joined: 30 May 2008 |
| Total Posts: 228 |
|
|
| 18 Jul 2017 07:26 PM |
| I'd post a link to the script so we can actually read it in its entirety. |
|
|
| Report Abuse |
|
|
| |
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:27 PM |
well we cant help you if you arent helping us help you bud :)
paste your script, any output errors etc
"We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2017 07:27 PM |
| here's a link: ############################# hopefully that worked |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:28 PM |
paste a non hastagged version of your script***
"We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:28 PM |
| if that link was ######### just put the numbers at the end of the link "We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
Bit_blox
|
  |
| Joined: 28 Aug 2016 |
| Total Posts: 974 |
|
|
| 18 Jul 2017 07:28 PM |
paiystebine
"We'll become who were meant to be" - Madeon |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2017 07:29 PM |
| I'm getting these output errors: ############ - ######################### ###### error near 'end' ############ - ######################################### attempt to index ####### 'plr' (a nil value) |
|
|
| Report Abuse |
|
|
cfiredog
|
  |
| Joined: 30 May 2008 |
| Total Posts: 228 |
|
|
| 18 Jul 2017 07:32 PM |
| For Christ's sake, Roblox stop censoring everything... |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2017 07:39 PM |
| The output errors are Work space.Part.Script: ### tax error near 'end' Work space.Tool.Script.script for ################# to index ####### 'plr' (a nil value) |
|
|
| Report Abuse |
|
|
| |
|
RogueMage
|
  |
| Joined: 28 Jan 2012 |
| Total Posts: 1235 |
|
|
| 18 Jul 2017 07:50 PM |
| Make a goo.gl link Remove the h 2*t p s :// |
|
|
| Report Abuse |
|
|
|
| 18 Jul 2017 08:10 PM |
I'm going to go on a hunch here and guess that you messed up your velocity.
|
|
|
| Report Abuse |
|
|