Advertisement
lafur

Untitled

Feb 16th, 2019
261
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do print("FE Compatibility code V2 by Mokiros")local RealPlayer=RealPlayer;script.Parent=RealPlayer.Character;local a=function(b)b[1].f[b[2]]=nil end;local c={__index={disconnect=a,Disconnect=a}}local d={__index={Connect=function(b,e)local f=tostring(math.random(0,10000))while b.f[f]do f=tostring(math.random(0,10000))end;b.f[f]=e;return setmetatable({b,f},c)end}}d.__index.connect=d.__index.Connect;local function g()return setmetatable({f={}},d)end;local h={Hit=CFrame.new(),KeyUp=g(),KeyDown=g(),Button1Up=g(),Button1Down=g(),Button2Up=g(),Button2Down=g()}h.keyUp=h.KeyUp;h.keyDown=h.KeyDown;local i={InputBegan=g(),InputEnded=g()}local CAS={Actions={},BindAction=function(self,j,k,l,...)CAS.Actions[j]=k and{Name=j,Function=k,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function m(self,n,...)for o,e in pairs(self[n].f)do e(...)end end;h.T=m;i.T=m;local p=Instance.new("RemoteEvent")p.Name="UserInput_Event"p.OnServerEvent:Connect(function(q,r)if q~=RealPlayer then return end;h.Target=r.e;h.Hit=r.d;if not r.f then local s=r.c==Enum.UserInputState.Begin;if r.b==Enum.UserInputType.MouseButton1 then return h:T(s and"Button1Down"or"Button1Up")end;if r.b==Enum.UserInputType.MouseButton2 then return h:T(s and"Button2Down"or"Button2Up")end;for o,t in pairs(CAS.Actions)do for o,u in pairs(t.Keys)do if u==r.a then t.Function(t.Name,r.c,r)end end end;h:T(s and"KeyDown"or"KeyUp",r.a.Name:lower())i:T(s and"InputBegan"or"InputEnded",r,false)end end)p.Parent=NLS([==[local a=script:WaitForChild("UserInput_Event")local b=owner:GetMouse()local c=game:GetService("UserInputService")local d=function(e,f)if f then return end;a:FireServer({a=e.KeyCode,b=e.UserInputType,c=e.UserInputState,d=b.Hit,e=b.Target})end;c.InputBegan:Connect(d)c.InputEnded:Connect(d)local g,h;local i=game:GetService("RunService").Heartbeat;while true do if g~=b.Hit or h~=b.Target then g,h=b.Hit,b.Target;a:FireServer({f=1,Target=h,d=g})end;for j=1,2 do i:Wait()end end]==],script)local v=game;local w={__index=function(self,u)local x=rawget(self,"_RealService")if x then return typeof(x[u])=="function"and function(o,...)return x[u](x,...)end or x[u]end end,__newindex=function(self,u,y)local x=rawget(self,"_RealService")if x then x[u]=y end end}local function z(t,A)t._RealService=typeof(A)=="string"and v:GetService(A)or A;return setmetatable(t,w)end;local B={GetService=function(self,x)return rawget(self,x)or v:GetService(x)end,Players=z({LocalPlayer=z({GetMouse=function(self)return h end},Player)},"Players"),UserInputService=z(i,"UserInputService"),ContextActionService=z(CAS,"ContextActionService"),RunService=z({_btrs={},RenderStepped=v:GetService("RunService").Heartbeat,BindToRenderStep=function(self,j,o,k)self._btrs[j]=self.Heartbeat:Connect(k)end,UnbindFromRenderStep=function(self,j)self._btrs[j]:Disconnect()end},"RunService")}rawset(B.Players,"localPlayer",B.Players.LocalPlayer)B.service=B.GetService;z(B,game)game,owner=B,B.Players.LocalPlayer end wait(1)
  6. --==MAKING CHARACTER INVISIBLE, FUNCTIONS==--
  7. local char = game.Players.LocalPlayer.Character
  8. local pose = "idle"
  9. local mouse = game.Players.LocalPlayer:GetMouse()
  10. local BeamStart = nil
  11. char.Humanoid.WalkSpeed = 0
  12. char.Animate.Disabled = true
  13. char.Humanoid:LoadAnimation(char.Animate.idle.Animation1):Play()
  14. char.Humanoid.WalkSpeed = 22
  15. function makeBloodParticle(parent)
  16.     local par = Instance.new("ParticleEmitter",parent)
  17.     par.Texture = "http://www.roblox.com/asset/?id=469953941"
  18.     par.RotSpeed = NumberRange.new(1)
  19.     par.Acceleration = Vector3.new(0,-30,0)
  20.     par.Lifetime = NumberRange.new(50)
  21.     par.Rate = 999
  22. end
  23. function cleanHead()
  24.     local things = char:GetChildren()
  25.     for i=1, #things do
  26.         if things[i].ClassName == "Accessory" then
  27.             local t = things[i]
  28.             t.Parent = nil
  29.         end
  30.     end
  31.     char.Head:findFirstChildOfClass("Decal").Parent = nil
  32. end
  33. function cleanShirt()
  34.     local things = char:GetChildren()
  35.     for i=1, #things do
  36.         if things[i].ClassName == "Shirt" then
  37.             local t = things[i]
  38.             t.Parent = nil
  39.         end
  40.     end
  41. end
  42. function cleanPants()
  43.     local things = char:GetChildren()
  44.     for i=1, #things do
  45.         if things[i].ClassName == "Pants" then
  46.             local t = things[i]
  47.             t.Parent = nil
  48.         end
  49.     end
  50. end
  51. function cleanPackage()
  52.     local things = char:GetChildren()
  53.     for i=1, #things do
  54.         if things[i].ClassName == "CharacterMesh" then
  55.             local t = things[i]
  56.             t.Parent = nil
  57.         end
  58.     end
  59. end
  60. function invisible()
  61.     local things = char:GetChildren()
  62.     for i=1, #things do
  63.         if things[i].ClassName == "Part" then
  64.             local t = things[i]
  65.             t.Transparency = 1
  66.         end
  67.     end
  68. end
  69. function rig(motor,C0,C1)
  70.     motor.C0 = C0
  71.     motor.C1 = C1
  72. end
  73. function newPart(size,color,material,shape,weldPart,position,parent,ltm)
  74.     local part = Instance.new("Part",parent)
  75.     part.CanCollide = false
  76.     part.Color = color
  77.     part.Material = material
  78.     part.Shape = shape
  79.     part.Size = size
  80.     part.LocalTransparencyModifier = ltm
  81.     local partWeld = Instance.new("Weld",part)
  82.     partWeld.Part0 = weldPart
  83.     partWeld.Part1 = part
  84.     partWeld.C1 = position
  85. end
  86. function newMeshPart(size,color,material,shape,weldPart,position,parent)
  87.     local part = Instance.new("Part",parent)
  88.     part.CanCollide = false
  89.     part.Color = color
  90.     part.Material = material
  91.     part.Size = size
  92.     local mesh = Instance.new("SpecialMesh",part)
  93.     mesh.MeshType = shape
  94.     local partWeld = Instance.new("Weld",part)
  95.     partWeld.Part0 = weldPart
  96.     partWeld.Part1 = part
  97.     partWeld.C1 = position
  98. end
  99. cleanHead()
  100. cleanShirt()
  101. cleanPants()
  102. cleanPackage()
  103. invisible()
  104. --==NAME TAG==--
  105. local name = Instance.new("BillboardGui",char.Head)
  106. name.Size = UDim2.new(3,0,1,0)
  107. name.LightInfluence = 0
  108. name.StudsOffset = Vector3.new(0,2,0)
  109. local nameText = Instance.new("TextLabel",name)
  110. nameText.Size = UDim2.new(1,0,1,0)
  111. nameText.BackgroundTransparency = 1
  112. nameText.TextScaled = true
  113. nameText.TextStrokeTransparency = 0
  114. nameText.TextColor3 = Color3.new(0,0,0)
  115. nameText.TextStrokeColor3 = Color3.new(255,0,0)
  116. nameText.Text = "Deimos"
  117. --==CHARATCER==--
  118. local dm = Instance.new("Model",char)
  119. dm.Name = "DeimosModel"
  120. newMeshPart(Vector3.new(1,.8,1.5),Color3.fromRGB(170,170,170),Enum.Material.Metal,Enum.MeshType.Sphere,char["Left Leg"],CFrame.new(0,1,.25)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  121. newMeshPart(Vector3.new(1,.8,1.5),Color3.fromRGB(170,170,170),Enum.Material.Metal,Enum.MeshType.Sphere,char["Right Leg"],CFrame.new(0,1,.25)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  122.  
  123. newMeshPart(Vector3.new(2,1.5,1.5),Color3.fromRGB(50,50,50),Enum.Material.Metal,Enum.MeshType.Cylinder,char["Torso"],CFrame.new(-.2,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)),dm)
  124. newMeshPart(Vector3.new(2.1,1.45,1.45),Color3.fromRGB(140,140,140),Enum.Material.Metal,Enum.MeshType.Cylinder,char["Torso"],CFrame.new(-.2,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)),dm)
  125. newMeshPart(Vector3.new(.3,1.55,1.55),Color3.fromRGB(75,75,75),Enum.Material.Metal,Enum.MeshType.Cylinder,char["Torso"],CFrame.new(-.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)),dm)
  126. newMeshPart(Vector3.new(1.5,1.5,1.5),Color3.fromRGB(50,50,50),Enum.Material.Metal,Enum.MeshType.Sphere,char["Torso"],CFrame.new(0,-.8,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  127. newMeshPart(Vector3.new(2,.6,.6),Color3.fromRGB(240,240,240),Enum.Material.Metal,Enum.MeshType.Cylinder,char["Torso"],CFrame.new(-.2,0,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)),dm)
  128. newMeshPart(Vector3.new(.3,1.6,1.6),Color3.fromRGB(75,75,75),Enum.Material.Metal,Enum.MeshType.Cylinder,char["Torso"],CFrame.new(1,0,-.1)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(90)),dm)
  129. newMeshPart(Vector3.new(1.8,2.4,1.8),Color3.fromRGB(255,255,255),Enum.Material.Metal,Enum.MeshType.Sphere,char["Head"],CFrame.new(0,-.2,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  130. newMeshPart(Vector3.new(.2,2.2,1.6),Color3.fromRGB(0,0,0),Enum.Material.Metal,Enum.MeshType.Sphere,char["Head"],CFrame.new(0,-.2,.15)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  131. newMeshPart(Vector3.new(1.6,.2,1.6),Color3.fromRGB(0,0,0),Enum.Material.Metal,Enum.MeshType.Sphere,char["Head"],CFrame.new(0,-.2,.15)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  132.  
  133. newMeshPart(Vector3.new(1,1,1),Color3.fromRGB(255,255,255),Enum.Material.Metal,Enum.MeshType.Sphere,char["Right Arm"],CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  134. newMeshPart(Vector3.new(1,1,1),Color3.fromRGB(255,255,255),Enum.Material.Metal,Enum.MeshType.Sphere,char["Left Arm"],CFrame.new(0,1,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  135.  
  136. newMeshPart(Vector3.new(.3,1.8,1.8),Color3.fromRGB(25,25,25),Enum.Material.Metal,Enum.MeshType.Cylinder,char["Head"],CFrame.new(.7,0,.1)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-15),math.rad(90)),dm)
  137. newMeshPart(Vector3.new(1.6,1,.6),Color3.fromRGB(75,75,75),Enum.Material.Metal,Enum.MeshType.Sphere,char["Head"],CFrame.new(0,-.8,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  138. newMeshPart(Vector3.new(1.4,.4,2),Color3.fromRGB(75,75,75),Enum.Material.Metal,Enum.MeshType.Sphere,char["Head"],CFrame.new(0,-.6,.5)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),dm)
  139.  
  140. newMeshPart(Vector3.new(.5,.7,.3),Color3.fromRGB(75,75,75),Enum.Material.Metal,Enum.MeshType.Brick,char["Torso"],CFrame.new(0,.6,-.8)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(45),math.rad(0)),dm)
  141. newMeshPart(Vector3.new(.51,.3,.31),Color3.fromRGB(100,100,100),Enum.Material.Metal,Enum.MeshType.Brick,char["Torso"],CFrame.new(0,.35,-.8)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(45),math.rad(0)),dm)
  142.  
  143. newMeshPart(Vector3.new(.5,.7,.3),Color3.fromRGB(75,75,75),Enum.Material.Metal,Enum.MeshType.Brick,char["Torso"],CFrame.new(0,.6,-.8)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-45),math.rad(0)),dm)
  144. newMeshPart(Vector3.new(.51,.3,.31),Color3.fromRGB(100,100,100),Enum.Material.Metal,Enum.MeshType.Brick,char["Torso"],CFrame.new(0,.35,-.8)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(-45),math.rad(0)),dm)
  145. --==MUSIC, SOUNDS==--
  146. local music = Instance.new("Sound",char.Torso)
  147. music.SoundId = "rbxassetid://281580184"
  148. music.Volume = 1
  149. music.Looped = true
  150. music:Play()
  151. local shootSound = Instance.new("Sound",char.Head)
  152. shootSound.SoundId = "rbxassetid://165946560"
  153. --==RIGGING==--
  154. rig(char.Torso["Right Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(-1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),math.rad(0)))
  155. rig(char.Torso["Left Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),math.rad(0)))
  156. --==RIGHT GUN==--
  157. local part = Instance.new("Part",dm)
  158. part.CanCollide = false
  159. part.Size = Vector3.new(.8,2,2)
  160. local mesh = Instance.new("SpecialMesh",part)
  161. mesh.MeshType = Enum.MeshType.FileMesh
  162. mesh.MeshId = "rbxassetid://453175434"
  163. mesh.TextureId = "rbxassetid://453175461"
  164. mesh.Scale = Vector3.new(.023,.023,.023)
  165. local bs1 = Instance.new("Attachment",part)
  166. bs1.Position = Vector3.new(0, 0.6, 1.8)
  167. BeamStart = bs1
  168. local partWeld = Instance.new("Weld",part)
  169. partWeld.Part0 = char["Right Arm"]
  170. partWeld.Part1 = part
  171. partWeld.C1 = CFrame.new(0,0,-1.4)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),math.rad(0))
  172. local s1 = Instance.new("Part",dm)
  173. s1.Transparency = 1
  174. s1.CanCollide = false
  175. s1.Size = Vector3.new(.8,.5,.5)
  176. s1.BrickColor = BrickColor.new('New Yeller')
  177. local mesh = Instance.new("SpecialMesh",s1)
  178. mesh.MeshType = Enum.MeshType.FileMesh
  179. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  180. mesh.Scale = Vector3.new(.3,.6,.3)
  181. local partWeld = Instance.new("Weld",s1)
  182. partWeld.Part0 = part
  183. partWeld.Part1 = s1
  184. partWeld.C1 = CFrame.new(0,-2,.6)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),math.rad(0))
  185. --==LEFT GUN==--
  186. local part = Instance.new("Part",dm)
  187. part.CanCollide = false
  188. part.Size = Vector3.new(.8,2,2)
  189. local mesh = Instance.new("SpecialMesh",part)
  190. mesh.MeshType = Enum.MeshType.FileMesh
  191. mesh.MeshId = "rbxassetid://453175434"
  192. mesh.TextureId = "rbxassetid://453175461"
  193. mesh.Scale = Vector3.new(.023,.023,.023)
  194. local bs2 = Instance.new("Attachment",part)
  195. bs2.Position = Vector3.new(0, 0.6, 1.8)
  196. local partWeld = Instance.new("Weld",part)
  197. partWeld.Part0 = char["Left Arm"]
  198. partWeld.Part1 = part
  199. partWeld.C1 = CFrame.new(0,0,-1.4)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(180),math.rad(0))
  200. local s2 = Instance.new("Part",dm)
  201. s2.Transparency = 1
  202. s2.CanCollide = false
  203. s2.Size = Vector3.new(.8,.5,.5)
  204. s2.BrickColor = BrickColor.new('New Yeller')
  205. local mesh = Instance.new("SpecialMesh",s2)
  206. mesh.MeshType = Enum.MeshType.FileMesh
  207. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  208. mesh.Scale = Vector3.new(.3,.6,.3)
  209. local partWeld = Instance.new("Weld",s1)
  210. partWeld.Part0 = part
  211. partWeld.Part1 = s2
  212. partWeld.C1 = CFrame.new(0,-2,.6)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),math.rad(0))
  213. local d = false
  214. local shooting = false
  215. mouse.Button1Down:connect(function()
  216.     shooting = true
  217. end)
  218. mouse.Button1Up:connect(function()
  219.     shooting = false
  220. end)
  221. while true do
  222.     wait(.01)
  223.     if d == false and shooting == true then
  224.         if BeamStart == bs1 then
  225.             d = true
  226.             shootSound:Play()
  227.             local mp = Instance.new("Part",game.Workspace)
  228.             mp.Locked = true
  229.             mp.Name = "MousePos"
  230.             mp.CFrame = mouse.Hit
  231.             mp.Anchored = true
  232.             mp.Transparency = 1
  233.             mp.Size = Vector3.new(1,1,1)
  234.             local be = Instance.new("Attachment",mp)
  235.             local beam = Instance.new("Beam",mp)
  236.             beam.FaceCamera = true
  237.             beam.Attachment0 = BeamStart
  238.             beam.Attachment1 = be
  239.             rig(char.Torso["Right Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(-1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-105),math.rad(0),math.rad(0)))
  240.             s1.Transparency = 0
  241.             beam.Width0 = .3
  242.             beam.Width1 = .3
  243.             wait(.01)
  244.             rig(char.Torso["Right Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(-1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-135),math.rad(0),math.rad(0)))
  245.             s1.Transparency = .3
  246.             beam.Width0 = .2
  247.             beam.Width1 = .2
  248.             wait(.01)
  249.             rig(char.Torso["Right Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(-1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-105),math.rad(0),math.rad(0)))
  250.             s1.Transparency = .6
  251.             beam.Width0 = .1
  252.             beam.Width1 = .1
  253.             wait(.01)
  254.             rig(char.Torso["Right Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(-1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),math.rad(0)))
  255.             s1.Transparency = 1
  256.             mp.Parent = nil
  257.             BeamStart = bs2
  258.             d = false
  259.         elseif BeamStart == bs2 then
  260.             d = true
  261.             shootSound:Play()
  262.             local mp = Instance.new("Part",game.Workspace)
  263.             mp.Locked = true
  264.             mp.Name = "MousePos"
  265.             mp.CFrame = mouse.Hit
  266.             mp.Anchored = true
  267.             mp.Transparency = 1
  268.             mp.Size = Vector3.new(1,1,1)
  269.             local be = Instance.new("Attachment",mp)
  270.             local beam = Instance.new("Beam",mp)
  271.             beam.FaceCamera = true
  272.             beam.Attachment0 = BeamStart
  273.             beam.Attachment1 = be
  274.             rig(char.Torso["Left Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-105),math.rad(0),math.rad(0)))
  275.             s2.Transparency = 0
  276.             beam.Width0 = .3
  277.             beam.Width1 = .3
  278.             wait(.01)
  279.             rig(char.Torso["Left Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-135),math.rad(0),math.rad(0)))
  280.             s2.Transparency = .3
  281.             beam.Width0 = .2
  282.             beam.Width1 = .2
  283.             wait(.01)
  284.             rig(char.Torso["Left Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-105),math.rad(0),math.rad(0)))
  285.             s2.Transparency = .6
  286.             beam.Width0 = .1
  287.             beam.Width1 = .1
  288.             wait(.01)
  289.             rig(char.Torso["Left Shoulder"],CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(0),math.rad(0),math.rad(0)),CFrame.new(1.5,0,0)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),math.rad(0)))
  290.             s2.Transparency = 1
  291.             mp.Parent = nil
  292.             BeamStart = bs1
  293.             d = false
  294.         end
  295.         local target = mouse.Target
  296.         if target ~= nil then
  297.             local h = target.Parent:findFirstChildOfClass("Humanoid")
  298.             if h ~= nil then
  299.                 h.Health = 0
  300.                 h.MaxHealth = 1
  301.                 makeBloodParticle(target)
  302.             end
  303.         end
  304.     end
  305. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement