Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient()then error("Please run as a server script. Use h/ instead of hl/.")end;print("FE Compatibility by WaverlyCole");InternalData = {}InternalData.RealOwner = owner;InternalData.RealObjs = {};InternalData.SoundLoudness = {};
- do
- script.Parent = InternalData.RealOwner.Character
- local Event = Instance.new("RemoteEvent");Event.Name = "UserInput";InternalData.Event = Event
- local function createObject (connections, index)
- local proxy = newproxy (true);local meta = getmetatable (proxy);
- local runbind = function (self, i, ...) connections[i]:Fire (...); end;
- while (#connections > 0) do connections[table.remove(connections, 1)] = Instance.new ('BindableEvent');end;
- meta.__index = function (self, i)
- if (i == 'TriggerEvent') then return runbind end;
- return connections[i] and connections[i].Event or index[i];
- end;
- meta.__newindex = index;meta.__metatable = false;return proxy
- end;
- local Mouse = createObject({"KeyUp","KeyDown","Button1Down","Button1Up","Move","Button2Down","Button2Up"},{["Target"] = nil;["Hit"] = CFrame.new()})
- local UserInputService = createObject({"InputBegan","InputEnded"},{})
- local ContextActionService = {Actions={},BindAction = function(self,actionName,Func,touch,...)
- self.Actions[actionName] = Func and {Name=actionName,Function=Func,Keys={...}} or nil
- end};ContextActionService.UnBindAction = ContextActionService.BindAction
- Event.OnServerEvent:Connect(function(FiredBy,Input)
- if FiredBy ~= InternalData.RealOwner then return end
- if Input.MouseEvent then
- Mouse.Target = Input.Target;Mouse.Hit = Input.Hit
- Mouse:TriggerEvent("Move")
- elseif Input.Sound then
- if InternalData.SoundLoudness[Input.Sound] then InternalData.SoundLoudness[Input.Sound] = Input.Loudness end
- else
- local Begin = Input.UserInputState == Enum.UserInputState.Begin
- if Input.UserInputType == Enum.UserInputType.MouseButton1 then return Mouse:TriggerEvent(Begin and "Button1Down" or "Button1Up") end
- if Input.UserInputType == Enum.UserInputType.MouseButton2 then return Mouse:TriggerEvent(Begin and "Button2Down" or "Button2Up") end
- for _,Action in pairs(ContextActionService.Actions) do
- for _,Key in pairs(Action.Keys) do if Key==Input.KeyCode then Action.Function(Action.Name,Input.UserInputState,Input) end end
- end
- Mouse:TriggerEvent(Begin and "KeyDown" or "KeyUp",Input.KeyCode.Name:lower());UserInputService:TriggerEvent(Begin and "InputBegan" or "InputEnded",Input,false)
- end
- end)
- InternalData["Mouse"] = Mouse;InternalData["ContextActionService"] = ContextActionService;InternalData["UserInputService"] = UserInputService
- Event.Parent = NLS([[
- local Player = owner;
- local Sounds = {};
- local Event = script:WaitForChild("UserInput");
- local UserInputService = game:GetService("UserInputService");
- local Mouse = Player:GetMouse();
- local Input = function(Input,gameProcessedEvent)
- if gameProcessedEvent then return end
- Event:FireServer({KeyCode=Input.KeyCode,UserInputType=Input.UserInputType,UserInputState=Input.UserInputState})
- end
- Event.OnClientEvent:connect(function(Args)
- if Args[1] == "NewSound" then table.insert(Sounds,Args[2]) end
- end)
- UserInputService.InputBegan:Connect(Input);UserInputService.InputEnded:Connect(Input)
- local Hit,Target
- while wait(1/30) do
- for x,Sound in pairs(Sounds) do
- if Sound.Parent then Event:FireServer({["Sound"]=Sound,["Loudness"]=Sound.PlaybackLoudness}) end
- end
- if Hit ~= Mouse.Hit or Target ~= Mouse.Target then
- Hit = Mouse.Hit;Target = Mouse.Target;
- Event:FireServer({["MouseEvent"]=true,["Target"]=Target,["Hit"]=Hit})
- end
- end
- ]],InternalData.RealOwner.Character)
- end
- InternalData.NewOwner = setmetatable({},{
- __index = function (self,Index)
- local Type = type(InternalData.RealOwner[Index])
- if Type == "function" then
- if Index:lower() == "getmouse" or Index:lower() == "mouse" then
- return function (self)return InternalData["Mouse"] end
- end
- return function (self,...)return InternalData.RealOwner[Index](InternalData.RealOwner,...) end
- elseif Index == "FakePlayer" then
- return true
- end
- return InternalData.RealOwner[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealOwner) end
- })
- InternalData.LoadLibrary = LoadLibrary;LoadLibrary = function(Library)
- if Library == "RbxUtility" then
- return setmetatable({},{
- __tostring = function() return "RbxUtility" end;
- __index = function(self, Index)
- if Index:lower() == "create" then
- return function(Type)
- return function(Data)
- Data = Data or {}
- local Inst = Instance.new(Type)
- for x,y in pairs(Data) do
- if InternalData.RealObjs[y] then y = InternalData.RealObjs[y] end
- if y == owner then y = InternalData.RealOwner end
- Inst[x] = y
- end
- return Inst
- end
- end
- end
- return InternalData.LoadLibrary(Library)[Index]
- end
- })
- end
- return InternalData.LoadLibrary(Library)
- end
- InternalData.RealInstance = Instance;Instance = setmetatable({},{
- __index = function (self,Index)
- if Index:lower() == 'new' then
- return function (Type, Parent)
- if Parent == owner then Parent = InternalData.RealOwner end
- if InternalData.RealObjs[Parent] then Parent = InternalData.RealObjs[Parent] end
- local Real = InternalData.RealInstance.new(Type,Parent)
- if not Type then return end
- if Type == "BillboardGui" then
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- elseif Type:lower() == "sound" then
- Real.Parent = owner.Character;
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if Index:lower() == "playbackloudness" then
- return InternalData.SoundLoudness[Real] or 0
- elseif type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;InternalData.SoundLoudness[Real] = 0;repeat wait() until InternalData.Event.Parent InternalData.Event:FireClient(InternalData.RealOwner,{"NewSound",Real}) return ToReturn;
- else
- local ToReturn = setmetatable({RealObject = Real},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then
- if Index:lower() == "clone" then
- return function (self)
- local Real = Real:Clone()
- local ToReturn = setmetatable({},{
- __index = function (self,Index)
- if type(Real[Index]) == "function" then return function (self,...) return Real[Index](Real,...)end end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- return function (self,...) return Real[Index](Real,...)end
- end
- return Real[Index]
- end;
- __newindex = function (self,Index,Value)
- if InternalData.RealObjs[Value] then Value = InternalData.RealObjs[Value] end
- if Value == owner then Value = InternalData.RealOwner end
- Real[Index] = Value
- end;
- __tostring = function(self) return tostring(Real) end;
- })
- InternalData.RealObjs[ToReturn] = Real;return ToReturn;
- end
- end
- end
- return InternalData.RealInstance[Index]
- end;
- __tostring = function(self) return tostring(InternalData.RealInstance) end;
- });
- InternalData.RealGame = game;game = setmetatable({},{
- __index = function (self,Index)
- if InternalData.RealGame[Index] then
- local Type = type(InternalData.RealGame[Index])
- if Type == "function" then
- if Index:lower() == "getservice" or Index:lower() == "service" then
- return function (self,Service)
- local FakeServices = {
- ["players"] = function()
- return setmetatable({},{
- __index = function (self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...)end
- else
- if Index2:lower() == "localplayer" then return InternalData.NewOwner end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService(Service)) end
- })
- end;
- ["contextactionservice"] = function() return InternalData["ContextActionService"] end;
- ["userinputservice"] = function() return InternalData["UserInputService"] end;
- ["debris"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- if Index2:lower() == "additem" then
- return function (self,Item,Time)
- if InternalData.RealObjs[Item] then Item = InternalData.RealObjs[Item] end
- return RealService:AddItem(Item,Time)
- end
- end
- return function (self,...) return RealService[Index2](RealService,...) end
- end
- return RealService[Index2]
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("Debris")) end
- })
- end;
- ["runservice"] = function()
- return setmetatable({},{
- __index = function(self2,Index2)
- local RealService = InternalData.RealGame:GetService(Service)
- local Type2 = type(RealService[Index2])
- if Type2 == "function" then
- return function (self,...) return RealService[Index2](RealService,...) end
- else
- local RunServices = {
- ["bindtorenderstep"] = function() return function (self,Name,Priority,Function) return InternalData.RealGame:GetService("RunService").Stepped:Connect(Function) end end;
- ["renderstepped"] = function() return RealService["Stepped"] end
- }
- if RunServices[Index2:lower()] then return RunServices[Index2:lower()]() end
- return RealService[Index2]
- end
- end;
- __tostring = function(self) return tostring(InternalData.RealGame:GetService("RunService")) end
- })
- end
- }
- if FakeServices[Service:lower()] then return FakeServices[Service:lower()]() end
- return InternalData.RealGame:GetService(Service)
- end
- end
- return function (self,...) return InternalData.RealGame[Index](InternalData.RealGame,...) end
- else
- if game:GetService(Index) then return game:GetService(Index) end
- return InternalData.RealGame[Index]
- end
- end
- return nil
- end;
- __tostring = function(self) return tostring(InternalData.game) end
- });Game = game;owner = game:GetService("Players").LocalPlayer;script = Instance.new("Script");print("Complete!")
- --//Paste script below this line.
- local plr = game:GetService("Players").LocalPlayer
- local char = plr.Character
- local tweenserv = game:GetService("TweenService")
- local hum = char:FindFirstChildOfClass("Humanoid")
- local mou = plr:GetMouse()
- local tor = char:FindFirstChild("Torso") or char:FindFirstChild("UpperTorso")
- local head = char:FindFirstChild("Head")
- local face = head:FindFirstChildOfClass("Decal")
- local neck = tor:FindFirstChild("Neck")
- local larm = char:FindFirstChild("Left Arm") or char:FindFirstChild("LeftUpperArm")
- local rarm = char:FindFirstChild("Right Arm") or char:FindFirstChild("RightUpperArm")
- local rleg = char:FindFirstChild("Right Leg") or char:FindFirstChild("RightUpperLeg")
- local lleg = char:FindFirstChild("Left Leg") or char:FindFirstChild("LeftUpperLeg")
- local ls = tor:FindFirstChild("Left Shoulder")
- local rs = tor:FindFirstChild("Right Shoulder")
- local throwok = true
- local hitok = true
- local bullet = 1
- local equipped = false
- local canreload = true
- local startr = rs.C1
- local startl = ls.C1
- local freezed = false
- local clicked = false
- local ball = Instance.new("Tool", plr.Backpack)
- ball.Name = "flare gun"
- ball.CanBeDropped = false
- local rhan = Instance.new("Part", ball)
- rhan.Size = Vector3.new(1, 1, 1)
- rhan.Name = "Handle"
- local mesh = Instance.new("SpecialMesh", rhan)
- mesh.MeshType = "FileMesh"
- mesh.Offset = Vector3.new(0, 0.2, -0.5)
- mesh.MeshId = "rbxassetid://443983595"
- mesh.TextureId = "rbxassetid://443983604"
- mesh.Scale = Vector3.new(0.015, 0.015, 0.015)
- local handle = Instance.new("Part", rhan)
- handle.Size = Vector3.new(0.6, 0.2, 0.2)
- handle.Shape = "Cylinder"
- handle.Material = "Plastic"
- handle.BrickColor = BrickColor.new("Bright green")
- handle.TopSurface = "Smooth"
- handle.BottomSurface = "Smooth"
- handle.CanCollide = false
- handle.Name = "Flare"
- local handlew = Instance.new("Weld", handle)
- handlew.Part0 = rhan
- handlew.Part1 = handle
- handlew.C1 = CFrame.new(0.8, -0.6, 0) * CFrame.Angles(0, math.rad(90), 0)
- local fire = true
- local fremit = Instance.new("ParticleEmitter", handle)
- fremit.EmissionDirection = "Left"
- fremit.Enabled = false
- fremit.Rate = 500
- fremit.Speed = NumberRange.new(100)
- fremit.SpreadAngle = Vector2.new(10, 10)
- fremit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(0, 255, 255)), ColorSequenceKeypoint.new(1, Color3.fromRGB(255, 255, 255))})
- fremit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 10, 0)})
- fremit.Texture = "rbxassetid://688705835"
- fremit.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0, 0), NumberSequenceKeypoint.new(1, 1, 0)})
- fremit.LightEmission = 1
- fremit.LightInfluence = 1
- fremit.Lifetime = NumberRange.new(0.6)
- ball.Activated:connect(function()
- if bullet == 1 then
- if throwok == true and fire == true then
- throwok = false
- bullet = 0
- local fakehandle = handle:Clone()
- fakehandle.Parent = workspace
- local fakew = fakehandle:FindFirstChildOfClass("Weld")
- fakew:Destroy()
- handle.Transparency = 1
- local emit = Instance.new("ParticleEmitter", fakehandle)
- emit.SpreadAngle = Vector2.new(360, 360)
- emit.Speed = NumberRange.new(0)
- emit.Lifetime = NumberRange.new(2)
- emit.Rate = 300
- emit.RotSpeed = NumberRange.new(100)
- emit.Texture = "rbxassetid://11601064"
- emit.LightEmission = 0.5
- emit.Size = NumberSequence.new({NumberSequenceKeypoint.new(0, 1, 0), NumberSequenceKeypoint.new(0.701, 4.5, 0), NumberSequenceKeypoint.new(1, 0, 0)})
- emit.Color = ColorSequence.new({ColorSequenceKeypoint.new(0, Color3.fromRGB(255, 0, 0)), ColorSequenceKeypoint.new(0.453, Color3.fromRGB(255, 255, 255)), ColorSequenceKeypoint.new(0.632, Color3.fromRGB(38, 38, 38)), ColorSequenceKeypoint.new(1, Color3.fromRGB(35, 35, 35))})
- local bv = Instance.new("BodyVelocity", fakehandle)
- bv.Velocity = mou.Hit.lookVector * 60
- bv.MaxForce = Vector3.new(100, 100, 100)
- if not rhan:FindFirstChild("shasdasdasdasd") then
- local shsound = Instance.new("Sound", rhan)
- shsound.SoundId = "rbxassetid://130778558"
- shsound.Volume = 5
- shsound.Name = "shasdasdasdasd"
- shsound:Play()
- elseif rhan:FindFirstChild("shasdasdasdasd") then
- local shsound2 = rhan:FindFirstChild("shasdasdasdasd")
- shsound2:Play()
- end
- fakehandle.Touched:connect(function(hit)
- if hit:IsA("BasePart") and hit.Name ~= "Handle" and hit.Name ~= "Flare" and not hit:IsDescendantOf(char) then
- if hitok == true then
- hitok = false
- for i = 1,10 do
- local explo = fakehandle:Clone()
- explo.Shape = "Ball"
- explo.BrickColor = BrickColor.new("Crimson")
- explo.Material = "Neon"
- explo.Size = Vector3.new(0.4, 0.4, 0.4)
- explo.CFrame = fakehandle.CFrame
- explo.Parent = workspace
- explo:FindFirstChildOfClass("BodyVelocity").Velocity = Vector3.new(math.random(-45, 45), math.random(-45, 45), math.random(-45, 45))
- game:GetService("Debris"):AddItem(explo, 4)
- if not explo:FindFirstChild("aosuhaouthawouith") then
- local exploso = Instance.new("Sound", explo)
- exploso.SoundId = "rbxassetid://440145223"
- exploso.Volume = 5
- exploso.Name = "aosuhaouthawouith"
- exploso:Play()
- elseif explo:FindFirstChild("aosuhaouthawouith") then
- local exploso2 = explo:FindFirstChild("aosuhaouthawouith")
- exploso2:Play()
- end
- end
- fakehandle:Destroy()
- hitok = true
- if hit.Parent and hit.Parent:FindFirstChildOfClass("Humanoid") and hit.Parent.Name ~= char.Name then
- local owhum = hit.Parent:FindFirstChildOfClass("Humanoid")
- owhum.Health = owhum.health - 30
- fakehandle:Destroy()
- hitok = true
- for i,v in pairs(hit.Parent:GetChildren()) do
- if v:IsA("Part") then
- local burntemit = emit:Clone()
- burntemit.Parent = v
- burntemit.Lifetime = NumberRange.new(1)
- burntemit.Rate = 200
- end
- end
- for i = 1, 10 do
- owhum.Health = owhum.Health - 10
- wait(0.8)
- end
- end
- end
- end
- end)
- wait(1)
- throwok = true
- end
- elseif bullet == 0 and canreload == true and fire == true then
- if not rhan:FindFirstChild("asohaoiutrvhaoeitvh") then
- local clicso = Instance.new("Sound", rhan)
- clicso.SoundId = "rbxassetid://292201848"
- clicso.Volume = 5
- clicso.Name = "asohaoiutrvhaoeitvh"
- clicso:Play()
- elseif rhan:FindFirstChild("asohaoiutrvhaoeitvh") then
- local clicso2 = rhan:FindFirstChild("asohaoiutrvhaoeitvh")
- clicso2:Play()
- end
- end
- if throwok == true and fire == false then
- clicked = true
- fremit.Enabled = true
- sprsou = Instance.new("Sound", handle)
- sprsou.Volume = 10
- sprsou.SoundId = "rbxassetid://843338638"
- sprsou.Looped = true
- sprsou:Play()
- while clicked == true do
- wait()
- local thepos = handle.CFrame * CFrame.new(40, 0, 0)
- frehit = handle:Clone()
- frehit:ClearAllChildren()
- frehit.Parent = workspace
- frehit.Shape = "Cylinder"
- frehit.Material = "Plastic"
- frehit.Transparency = 1
- frehit.Size = Vector3.new(0.1, 9, 9)
- frehit.Name = "awirhaoriajv"
- frev = Instance.new("BodyVelocity", frehit)
- frev.Velocity = thepos.rightVector * -80
- frev.MaxForce = Vector3.new(10000, 10000, 10000)
- game:GetService("Debris"):AddItem(frehit, 0.7)
- frehit.Touched:connect(function(hit)
- if hit:IsA("BasePart") and not hit.Parent:FindFirstChildOfClass("Humanoid") and freezed == false and not hit:IsDescendantOf(char) and hit.Name ~= "awirhaoriajv" and hit.Name ~= "Base" and hit.Name ~= "Baseplate" then
- freezed = true
- hit.Material = "Ice"
- hit.Reflectance = 0.5
- hit.BrickColor = BrickColor.new("Pastel Blue")
- hit.Anchored = true
- wait(0.2)
- freezed = false
- elseif hit.Parent:FindFirstChildOfClass("Humanoid") and freezed == false and not hit:IsDescendantOf(char) then
- freezed = true
- local frechar = hit.Parent
- local fretor = frechar:FindFirstChild("Torso") or frechar:FindFirstChild("UpperTorso")
- local freice = Instance.new("Part", frechar)
- freice.CFrame = fretor.CFrame
- freice.BrickColor = BrickColor.new("Pastel Blue")
- freice.Reflectance = 0.5
- freice.Transparency = 0.4
- freice.Material = "Ice"
- freice.Anchored = true
- freice.Size = Vector3.new(4.5, 6, 3.5)
- freice.Name = "iceconesixtyseven"
- local fresou = Instance.new("Sound", freice)
- fresou.Volume = 5
- fresou.SoundId = "rbxassetid://268249319"
- fresou:Play()
- local frehum = frechar:FindFirstChildOfClass("Humanoid")
- frehum.Health = frehum.Health - 1
- for i,v in pairs(frechar:GetChildren()) do
- if v:isA("BasePart") then
- v.Anchored = true
- v.BrickColor = BrickColor.new("Pastel Blue")
- v.Reflectance = 0.5
- v.Material = "Ice"
- end
- end
- wait(0.2)
- freezed = false
- end
- end)
- end
- end
- end)
- ball.Deactivated:connect(function()
- fremit.Enabled = false
- clicked = false
- if sprsou then
- sprsou:Stop()
- sprsou:Destroy()
- end
- if frehit then
- frehit:Destroy()
- end
- end)
- ball.Equipped:connect(function()
- equipped = true
- end)
- ball.Unequipped:connect(function()
- equipped = false
- end)
- function pressed(key)
- if key == "r" and equipped == true and bullet == 0 and canreload == true and fire == true then
- canreload = false
- local finishr = startr * CFrame.Angles(math.rad(-45), 0, math.rad(45))
- local finishl = startl * CFrame.Angles(math.rad(-50), math.rad(30), math.rad(100))
- local finishl2 = startl * CFrame.Angles(math.rad(30), math.rad(60), 0)
- for i = 0,1,.1 do
- rs.C1 = startr:lerp(finishr, i)
- ls.C1 = startl:lerp(finishl, i)
- wait()
- end
- for i = 0,1,.1 do
- ls.C1 = finishl:lerp(finishl2, i)
- wait()
- end
- local relso = Instance.new("Sound", rhan)
- relso.SoundId = "rbxassetid://506273075"
- relso.Volume = 5
- relso:Play()
- game:GetService("Debris"):AddItem(relso, 1.5)
- for i = 0,1,.1 do
- ls.C1 = ls.C1:lerp(startl, i)
- rs.C1 = rs.C1:lerp(startr, i)
- wait()
- end
- bullet = 1
- handle.Transparency = 0
- canreload = true
- elseif key == "q" and equipped == true and fire == false then
- fire = true
- mesh.TextureId = "rbxassetid://443983604"
- elseif key == "q" and equipped == true and fire == true then
- fire = false
- mesh.TextureId = "rbxassetid://1578721503"
- elseif key == "p" then
- if tor:FindFirstChildOfClass("Sound") and tor:FindFirstChild("asdddddd") then
- local hi = tor:FindFirstChild("asdddddd")
- hi:Destroy()
- end
- if not tor:FindFirstChild("yasdawoirhtvoaeityu") then
- local yes = Instance.new("Sound", tor)
- yes.SoundId = "rbxassetid://141349049"
- yes.Volume = 10
- yes.Name = "yasdawoirhtvoaeityu"
- yes:Play()
- elseif tor:FindFirstChild("yasdawoirhtvoaeityu") then
- local yes2 = tor:FindFirstChild("yasdawoirhtvoaeityu")
- yes2:Play()
- end
- end
- end
- mou.KeyDown:connect(pressed)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement