Run it
Copy the script and paste it into your executor.
runDummyScript = (f,scri)
oldenv = (f)
newenv = ({}, {
__index = (_, k)
k:() ==
scri
oldenv[k]
})
(f, newenv)
(() () )
cors = {}
mas = .(,:())
mas.Name =
o1 = .()
o2 = .()
o3 = .()
o4 = .()
o5 = .()
o6 = .()
o8 = .()
o9 = .()
o10 = .()
o11 = .()
o1.Name =
o1.Parent = mas
o1.TextureId =
o1.GripPos = .(, -, )
o1.CanBeDropped =
o2.Name =
o2.Parent = o1
o2.Position = .(, , )
o2.Rotation = .(-, , -)
o2.CanCollide =
o2.FormFactor = .FormFactor.Custom
o2.Size = .(, , )
o2.CFrame = .(, , , -, , , , , , , , -)
o2.BottomSurface = .SurfaceType.Smooth
o2.TopSurface = .SurfaceType.Smooth
o2.Position = .(, , )
o3.Parent = o2
o3.MeshId =
o3.Scale = .(, , )
o3.TextureId =
o3.MeshType = .MeshType.FileMesh
o4.Name =
o4.Parent = o2
o4.Pitch =
o4.SoundId =
o4.Volume =
o5.Name =
o5.Parent = o2
o5.Pitch =
o5.SoundId =
o6.Parent = o2
o6.Color = .(, , )
o6.Brightness =
o6.Range =
o8.Name =
o8.Parent = o1
.(cors,.(()
()
(()
SHOT_SPEED =
SHOT_TIME =
NOZZLE_OFFSET = .(, , -)
PlayersService = Game:()
DebrisService = Game:()
Tool = .Parent
Handle = Tool:()
FireSound = Handle:()
ReloadSound = Handle:()
HitFadeSound = :()
PointLight = Handle:()
Character =
Humanoid =
Player =
BaseShot =
(subject)
subject subject ~= Workspace
humanoid = subject:()
humanoid
subject, humanoid
(subject.Parent)
(target)
target:()
target.creator:()
creatorTag = .()
creatorTag.Value = Player
creatorTag.Name =
iconTag = .()
iconTag.Value = Tool.TextureId
iconTag.Name =
iconTag.Parent = creatorTag
creatorTag.Parent = target
DebrisService:(creatorTag, )
(instance, partsTable)
partsTable = partsTable {}
_, child (instance:())
child:() child:()
.(partsTable, child)
(child, partsTable)
partsTable
(instance)
selectionBox = .()
selectionBox.Adornee = instance
selectionBox.Color = BrickColor.()
selectionBox.Parent = instance
selectionBox
(instance)
light = PointLight:()
light.Range = light.Range +
light.Parent = instance
(objectsWithTransparency, fadeIncrement)
lastObject =
_, object (objectsWithTransparency)
object.Transparency = object.Transparency + fadeIncrement
lastObject = object
()
lastObject.Transparency >= lastObject
(character, humanoid, firstPart)
humanoid.WalkSpeed =
parts = {}
_, child (character:())
child:()
child.Anchored =
.(parts, child)
child:() child:()
child:()
selectionBoxes = {}
firstSelectionBox = (firstPart)
(firstPart)
()
_, part (parts)
part ~= firstPart
.(selectionBoxes, (part))
(part)
objectsWithTransparency = (character)
(objectsWithTransparency, )
()
humanoid.Health =
DebrisService:(character, )
fadeIncrement =
(, ()
({firstSelectionBox}, fadeIncrement)
character
character:()
)
(selectionBoxes, fadeIncrement)
(shot, otherPart)
character, humanoid = (otherPart)
character humanoid character ~= Character
(humanoid)
shot
hitFadeSound = shot:(HitFadeSound.Name)
hitFadeSound
hitFadeSound.Parent = humanoid.Torso
hitFadeSound:()
shot:()
(character, humanoid, otherPart)
()
Character = Tool.Parent
Humanoid = Character:()
Player = PlayersService:(Character)
()
Tool.Enabled Humanoid.Health >
Tool.Enabled =
FireSound:()
handleCFrame = Handle.CFrame
firingPoint = handleCFrame.p + handleCFrame:(NOZZLE_OFFSET)
shotCFrame = .(firingPoint, Humanoid.TargetPoint)
laserShotClone = BaseShot:()
laserShotClone.CFrame = shotCFrame + (shotCFrame.lookVector * (BaseShot.Size.Z / ))
bodyVelocity = .()
bodyVelocity.velocity = shotCFrame.lookVector * SHOT_SPEED
bodyVelocity.Parent = laserShotClone
laserShotClone.Touched:((otherPart)
(laserShotClone, otherPart)
)
DebrisService:(laserShotClone, SHOT_TIME)
laserShotClone.Parent = Tool
()
ReloadSound:()
()
Tool.Enabled =
()
BaseShot = .()
BaseShot.Name =
BaseShot.FormFactor = .FormFactor.Custom
BaseShot.Size = .(, , )
BaseShot.CanCollide =
BaseShot.BrickColor = BrickColor.()
(BaseShot)
(BaseShot)
HitFadeSound:().Parent = BaseShot
Tool.Equipped:(OnEquipped)
Tool.Unequipped:(OnUnequipped)
Tool.Activated:(OnActivated)
,o8)
))
o9.Name =
o9.Parent = o8
o9.SoundId =
o10.Name =
o10.Parent = o1
.(cors,.(()
()
(()
MOUSE_ICON =
RELOADING_ICON =
Tool = .Parent
Mouse =
()
Mouse
Mouse.Icon = Tool.Enabled MOUSE_ICON RELOADING_ICON
(mouse)
Mouse = mouse
()
(property)
property ==
()
Tool.Equipped:(OnEquipped)
Tool.Changed:(OnChanged)
,o10)
))
o11.Name =
o11.Parent = o1
.(cors,.(()
()
(()
selected =
RSH, LSH = ,
GRP =
RW, LW = .(), .()
anim =
(obj, ch_n)
t = ()
obj:(ch_n) () - t < ()
obj:(ch_n)
.Parent.Equipped:(()
selected
selected =
player = .Players:(.Parent.Parent)
ch = .Parent.Parent
(ch, )
RSH = (ch.Torso, )
LSH = (ch.Torso, )
GRP = (ch[], )
.Grip = GRP
RSH.Part1 =
LSH.Part1 =
RW.Part0 = ch.Torso
RW.C0 = .(, , )
RW.C1 = .(, , )
RW.Part1 = ch[]
RW.Parent = ch.Torso
.R = RW
LW.Part0 = ch.Torso
LW.C0 = .(-, , )
LW.C1 = .(, , )
LW.Part1 = ch[]
LW.Parent = ch.Torso
.L = LW
GRP.C0 = .(, -, -) * .(-, -, )
i = , ,
()
RW.C0 = .(, , ) * .(*i, , -*i)
LW.C0 = .(-, , ) * .(*i, , *i)
LW.C1 = .(*i, +*i, )
()
rg = (ch[]:() GRP)
rg ~= GRP
GRP.Parent = ch[]
rg:()
)
.Parent.Unequipped:(()
selected =
pl = player
RW.C0 = .(,,) * .(,,)
LW.C0 = .(,,) * .(,,)
LW.C1 = .(,,)
RW.Parent =
LW.Parent =
RSH.Part1 = pl.Character[]
LSH.Part1 = pl.Character[]
)
()
i = , ,
()
LW.C0 = .(-, , ) * .(*i, , *i)
LW.C1 = .(*i, +*i, )
()
i = , ,
()
GRP.C0 = .(+i, --i, +(*i)) * .(-, -, )
LW.C0 = .(-, , ) * .(, , )
LW.C1 = .(*i, +i, -)
()
RW.C0 = .(, , ) * .(, , -)
LW.C0 = .(-, , ) * .(, , )
LW.C1 = .(, +, )
GRP.C0 = .(, -, -) * .(-, -, )
,o11)
))
mas.Parent =
mas:()
mas1 = mas:()
i=,#mas1
mas1[i].Parent = :().LocalPlayer.Backpack
(() mas1[i]:() )
mas:()
i=,#cors
.(cors[i])
Red hyperlaser gun script tool works on all executors and games