Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
- local Player,Mouse,mouse,UserInputService,ContextActionService = owner
- local RealPlayer = Player
- do print("hi")local a=RealPlayer;script.Parent=a.Character;local b=Instance.new("RemoteEvent")b.Name="UserInput_Event"local function c()local d={_fakeEvent=true,Functions={},Connect=function(self,e)table.insert(self.Functions,e)end}d.connect=d.Connect;return d end;local f={Target=nil,Hit=CFrame.new(),KeyUp=c(),KeyDown=c(),Button1Up=c(),Button1Down=c(),Button2Up=c(),Button2Down=c()}local g={InputBegan=c(),InputEnded=c()}local CAS={Actions={},BindAction=function(self,h,i,j,...)CAS.Actions[h]=i and{Name=h,Function=i,Keys={...}}or nil end}CAS.UnbindAction=CAS.BindAction;local function k(self,l,...)local d=f[l]if d and d._fakeEvent then for m,e in pairs(d.Functions)do e(...)end end end;f.TrigEvent=k;g.TrigEvent=k;b.OnServerEvent:Connect(function(n,o)if n~=a then return end;f.Target=o.Target;f.Hit=o.Hit;if not o.isMouse then local p=o.UserInputState==Enum.UserInputState.Begin;if o.UserInputType==Enum.UserInputType.MouseButton1 then return f:TrigEvent(p and"Button1Down"or"Button1Up")end;if o.UserInputType==Enum.UserInputType.MouseButton2 then return f:TrigEvent(p and"Button2Down"or"Button2Up")end;for m,d in pairs(CAS.Actions)do for m,q in pairs(d.Keys)do if q==o.KeyCode then d.Function(d.Name,o.UserInputState,o)end end end;f:TrigEvent(p and"KeyDown"or"KeyUp",o.KeyCode.Name:lower())g:TrigEvent(p and"InputBegan"or"InputEnded",o,false)end end)b.Parent=NLS([==[local a=game:GetService("Players").LocalPlayer;local b=script:WaitForChild("UserInput_Event")local c=a:GetMouse()local d=game:GetService("UserInputService")local e=function(f,g)if g then return end;b:FireServer({KeyCode=f.KeyCode,UserInputType=f.UserInputType,UserInputState=f.UserInputState,Hit=c.Hit,Target=c.Target})end;d.InputBegan:Connect(e)d.InputEnded:Connect(e)local h,i;while wait(1/30)do if h~=c.Hit or i~=c.Target then h,i=c.Hit,c.Target;b:FireServer({isMouse=true,Target=i,Hit=h})end end]==],Player.Character)local r=game;local s={__index=function(self,q)local t=rawget(self,"_RealService")if t then return typeof(t[q])=="function"and function(m,...)return t[q](t,...)end or t[q]end end,__newindex=function(self,q,u)local t=rawget(self,"_RealService")if t then t[q]=u end end}local function v(d,w)d._RealService=typeof(w)=="string"and r:GetService(w)or w;return setmetatable(d,s)end;local x={GetService=function(self,t)return rawget(self,t)or r:GetService(t)end,Players=v({LocalPlayer=v({GetMouse=function(self)return f end},Player)},"Players"),UserInputService=v(g,"UserInputService"),ContextActionService=v(CAS,"ContextActionService"),RunService=v({_btrs={},RenderStepped=r:GetService("RunService").Heartbeat,BindToRenderStep=function(self,h,m,i)self._btrs[h]=self.Heartbeat:Connect(i)end,UnbindFromRenderStep=function(self,h)self._btrs[h]:Disconnect()end},"RunService")}rawset(x.Players,"localPlayer",x.Players.LocalPlayer)x.service=x.GetService;v(x,game)game,owner=x,x.Players.LocalPlayer end
- function TakeDamage(hum, dmg)
- hum:TakeDamage(50)
- end
- plr = game.Players.LocalPlayer
- repeat
- wait(0.4)
- until plr.Character
- chr = plr.Character
- human = chr:FindFirstChild("Humanoid")
- mouse = plr:GetMouse()
- cam = workspace.CurrentCamera
- selected = false
- equipd = false
- tors = chr:WaitForChild("Torso")
- rarm = chr:WaitForChild("Right Arm")
- larm = chr:WaitForChild("Left Arm")
- rleg = chr:WaitForChild("Right Leg")
- lleg = chr:WaitForChild("Left Leg")
- hrp = chr:WaitForChild("HumanoidRootPart")
- hed = chr:WaitForChild("Head")
- anim = human:FindFirstChild("Animator")
- activu = false
- shootingmode = false
- dacae = false
- --local hasProductnd = game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84861999)
- local tagactives = {}
- Heartbeat = Instance.new("BindableEvent")
- Heartbeat.Name = "Heartbeat"
- Heartbeat.Parent = script
- frame = 0.03333333333333333
- tf = 0
- game:GetService("RunService").Heartbeat:connect(function(s, p)
- tf = tf + s
- if tf >= frame then
- for i = 1, math.floor(tf / frame) do
- Heartbeat:Fire()
- end
- tf = tf - frame * math.floor(tf / frame)
- end
- end)
- function swait(num)
- if num == 0 or num == nil then
- Heartbeat.Event:wait()
- else
- for i = 1, num do
- Heartbeat.Event:wait()
- end
- end
- end
- tool = Instance.new("Tool")
- tool.CanBeDropped = false
- tool.RequiresHandle = false
- tool.ToolTip = "OAOAOA"
- tool.Name = "Neon"
- tool.Parent = plr.Backpack
- modz = Instance.new("Model")
- modz.Name = "efx"
- modz.Parent = chr
- RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
- LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
- NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
- RS = tors:FindFirstChild("Right Shoulder")
- LS = tors:FindFirstChild("Left Shoulder")
- RH = tors:FindFirstChild("Right Hip")
- LH = tors:FindFirstChild("Left Hip")
- RJ = hrp:FindFirstChild("RootJoint")
- N = tors:FindFirstChild("Neck")
- cf = CFrame.new
- ang = CFrame.Angles
- rd = math.rad
- rd2 = math.random
- function lerpz(joint, prop, cfrmz, alp)
- joint[prop] = joint[prop]:lerp(cfrmz, alp)
- end
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- function resetlerp()
- RJ.C0 = RJC0
- RJ.C1 = RJC1
- N.C0 = NC0
- N.C1 = NC1
- RS.C0 = RSC0
- RS.C1 = RSC1
- LS.C0 = LSC0
- LS.C1 = LSC1
- RH.C0 = RHC0
- RH.C1 = RHC1
- LH.C0 = LHC0
- LH.C1 = LHC1
- end
- function neontrail(thepart, randoderpo)
- local ttab = {}
- local bopbop = Instance.new("Model")
- bopbop.Name = "uWOT"
- bopbop.Parent = modz
- local disabling = Instance.new("BoolValue")
- disabling.Value = false
- disabling.Name = "nani"
- disabling.Parent = bopbop
- for c = 1, 8 do
- local tr = Instance.new("Part")
- tr.Size = Vector3.new(0.2, 0.2, 0.2)
- tr.Anchored = true
- tr.CanCollide = false
- tr.Material = "Neon"
- tr.BrickColor = BrickColor.new("White")
- tr.CFrame = thepart.CFrame
- tr.Transparency = 1
- tr.Parent = bopbop
- local aa = Instance.new("CylinderMesh")
- aa.Parent = tr
- local tr2 = Instance.new("Part")
- tr2.Size = Vector3.new(0.2, 0.2, 0.2)
- tr2.Anchored = true
- tr2.CanCollide = false
- tr2.Material = "Neon"
- tr2.Transparency = 1
- tr2.BrickColor = BrickColor.new("Hot pink")
- tr2.CFrame = thepart.CFrame
- tr2.Parent = tr
- local aa2 = Instance.new("CylinderMesh")
- aa2.Parent = tr2
- table.insert(ttab, tr)
- end
- local function fading(derp)
- local derp2 = derp:FindFirstChildOfClass("Part")
- if thepart:FindFirstChildOfClass("BoolValue") then
- if thepart:FindFirstChildOfClass("BoolValue").Value == true then
- derp.Transparency = 0.2
- derp2.Transparency = 0.2
- elseif thepart:FindFirstChildOfClass("BoolValue").Value == false then
- derp.Transparency = 1
- derp2.Transparency = 1
- end
- else
- derp.Transparency = 0
- derp2.Transparency = 0
- end
- for _ = 1, 8 do
- swait()
- derp.Transparency = derp.Transparency + 0.1
- if derp:FindFirstChildOfClass("CylinderMesh") then
- derp:FindFirstChildOfClass("CylinderMesh").Scale = derp:FindFirstChildOfClass("CylinderMesh").Scale - Vector3.new(0.2 * randoderpo, 0, 0.2 * randoderpo)
- end
- derp2.Transparency = derp2.Transparency + 0.1
- if derp2:FindFirstChildOfClass("CylinderMesh") then
- derp2:FindFirstChildOfClass("CylinderMesh").Scale = derp2:FindFirstChildOfClass("CylinderMesh").Scale - Vector3.new(0.2 * randoderpo, 0.001, 0.2 * randoderpo)
- end
- end
- end
- local pose1 = thepart.Position
- coroutine.resume(coroutine.create(function()
- repeat
- if disabling.Value == true then
- swait()
- bopbop:Destroy()
- return
- end
- for num, tra in pairs(ttab) do
- do
- local randomiser = Vector3.new(math.random(-1, 1) * randoderpo, math.random(-1, 1) * randoderpo, math.random(-1, 1) * randoderpo)
- swait(1)
- local pose2 = thepart.Position + randomiser
- local dista = (pose1 - pose2).magnitude
- tra.CFrame = CFrame.new(pose1, pose2) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -dista / 2, 0)
- tra:FindFirstChildOfClass("CylinderMesh").Scale = Vector3.new(2 * randoderpo, dista / 0.2, 2 * randoderpo)
- tra:FindFirstChildOfClass("Part").CFrame = CFrame.new(pose1, pose2) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -dista / 2, 0)
- tra:FindFirstChildOfClass("Part"):FindFirstChildOfClass("CylinderMesh").Scale = Vector3.new(3 * randoderpo, dista / 0.201, 3 * randoderpo)
- coroutine.resume(coroutine.create(function()
- if tra then
- fading(tra)
- end
- end))
- pose1 = pose2
- end
- end
- until not bopbop
- end))
- return bopbop
- end
- function nooutline(p)
- p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
- end
- function makepart(color, name, reflec, trans, mater, parnt, cfram)
- local port = Instance.new("Part")
- port.BrickColor = BrickColor.new(color)
- port.Name = name
- port.Transparency = trans
- nooutline(port)
- port.Reflectance = reflec
- port.Material = mater
- port.Anchored = false
- port.CanCollide = false
- port.Locked = true
- port.Size = Vector3.new(0.2, 0.2, 0.2)
- port.CFrame = cfram
- port.Parent = parnt
- return port
- end
- function makemesh(meshtype, scale, meshid, parent)
- local mes = Instance.new("SpecialMesh")
- mes.MeshType = meshtype
- mes.Scale = scale
- if meshtype == "FileMesh" then
- mes.MeshId = meshid
- end
- mes.Parent = parent
- return mes
- end
- function makeweld(parent, p0, p1, c0, c1)
- swait()
- local wel = Instance.new("Weld")
- wel.Part0 = p0
- wel.Part1 = p1
- wel.C0 = c0
- if c1 ~= nil then
- wel.C1 = c1
- end
- wel.Parent = parent
- return wel
- end
- function makeneon()
- for _, X in pairs(chr:GetChildren()) do
- if X.ClassName == "Accessory" then
- do
- local thehatto = X:FindFirstChildOfClass("Part")
- local hatmesho = thehatto:FindFirstChildOfClass("SpecialMesh")
- local awa = makepart("Hot pink", "glowhat", 0, 1, "Neon", thehatto, thehatto.CFrame)
- local awam = makemesh("FileMesh", hatmesho.Scale + Vector3.new(0.05, 0.05, 0.05), hatmesho.MeshId, awa)
- makeweld(awa, awa, thehatto, cf(0, 0, 0), nil)
- local touchbool = Instance.new("BoolValue")
- touchbool.Value = false
- touchbool.Parent = awa
- table.insert(tagactives, touchbool)
- thehatto.Touched:connect(function(asd)
- if touchbool.Value == false and asd.Parent:FindFirstChildOfClass("Humanoid") then
- touchbool.Value = true
- delay(0.8, function()
- touchbool.Value = false
- end)
- end
- end)
- local s = Instance.new("ParticleEmitter")
- s.Enabled = false
- s.LockedToPart = true
- s.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
- s.LightEmission = 0.6
- s.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(0.406, 1, 0),
- NumberSequenceKeypoint.new(0.433, 2.5, 0.75),
- NumberSequenceKeypoint.new(0.476, 0.8, 0),
- NumberSequenceKeypoint.new(1, 0.05, 0)
- })
- s.Texture = "rbxassetid://339880957"
- s.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.3, 0),
- NumberSequenceKeypoint.new(0.89, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s.Name = "vid"
- s.Lifetime = NumberRange.new(0.2)
- s.Rate = 5
- s.Speed = NumberRange.new(8, 10)
- s.VelocitySpread = 360
- s.Parent = awa
- local s2 = Instance.new("ParticleEmitter")
- s2.Enabled = false
- s2.LockedToPart = false
- s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
- s2.LightEmission = 0.6
- s2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.1, 0),
- NumberSequenceKeypoint.new(0.853, 0.4, 0.1),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- s2.Texture = "rbxassetid://339880957"
- s2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.3, 0),
- NumberSequenceKeypoint.new(0.89, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s2.Name = "vid2"
- s2.Lifetime = NumberRange.new(0.5)
- s2.Rate = 10
- s2.Speed = NumberRange.new(2, 6)
- s2.VelocitySpread = 360
- s2.Parent = awa
- local awa2 = awa:Clone()
- awa2.BrickColor = BrickColor.new("White")
- awa2:FindFirstChildOfClass("SpecialMesh").Scale = awa2:FindFirstChildOfClass("SpecialMesh").Scale - Vector3.new(0.15, 0.15, 0.15)
- awa2.Parent = awa
- local fsadfs
- touchbool.Changed:connect(function(wot)
- if wot == true then
- awa.Transparency = 0.5
- awa2.Transparency = 0.5
- s.Enabled = true
- s2.Enabled = true
- fsadfs = makemesh("FileMesh", Vector3.new(0, 0, 0), "", thehatto)
- elseif wot == false then
- awa.Transparency = 1
- awa2.Transparency = 1
- s.Enabled = false
- s2.Enabled = false
- fsadfs:Destroy()
- end
- end)
- end
- elseif X.ClassName == "Part" and X ~= hrp then
- do
- local ha = makepart("Hot pink", "gglowiey", 0, 1, "Neon", X, X.CFrame)
- local ham
- if X == tors then
- ham = makemesh("Brick", Vector3.new(10.5, 10.5, 5.25), nil, ha)
- elseif X == hed then
- ham = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, ha)
- else
- ham = makemesh("Brick", Vector3.new(5.25, 10.125, 5.25), nil, ha)
- end
- makeweld(ha, ha, X, cf(0, 0, 0), nil)
- local touchbool = Instance.new("BoolValue")
- touchbool.Value = false
- touchbool.Parent = ha
- table.insert(tagactives, touchbool)
- X.Touched:connect(function(asd)
- if touchbool.Value == false and asd.Parent:FindFirstChildOfClass("Humanoid") then
- touchbool.Value = true
- delay(0.8, function()
- touchbool.Value = false
- end)
- end
- end)
- local lit = Instance.new("PointLight")
- lit.Enabled = false
- lit.Brightness = 2
- lit.Range = 6
- lit.Shadows = true
- lit.Color = Color3.new(0.9490196078431372, 0.2235294117647059, 1)
- lit.Parent = ha
- local s = Instance.new("ParticleEmitter")
- s.Enabled = false
- s.LockedToPart = true
- s.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
- s.LightEmission = 0.6
- s.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.5, 0),
- NumberSequenceKeypoint.new(0.406, 1, 0),
- NumberSequenceKeypoint.new(0.433, 2.5, 0.75),
- NumberSequenceKeypoint.new(0.476, 0.8, 0),
- NumberSequenceKeypoint.new(1, 0.05, 0)
- })
- s.Texture = "rbxassetid://339880957"
- s.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.3, 0),
- NumberSequenceKeypoint.new(0.89, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s.Name = "vid"
- s.Lifetime = NumberRange.new(0.2)
- s.Rate = 5
- s.Speed = NumberRange.new(7, 10)
- s.VelocitySpread = 360
- s.Parent = ha
- local s2 = Instance.new("ParticleEmitter")
- s2.Enabled = false
- s2.LockedToPart = false
- s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
- s2.LightEmission = 0.6
- s2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.1, 0),
- NumberSequenceKeypoint.new(0.853, 0.4, 0.1),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- s2.Texture = "rbxassetid://339880957"
- s2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.3, 0),
- NumberSequenceKeypoint.new(0.89, 0.3, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s2.Name = "vid2"
- s2.Lifetime = NumberRange.new(0.5)
- s2.Rate = 10
- s2.Speed = NumberRange.new(2, 6)
- s2.VelocitySpread = 360
- s2.Parent = ha
- local ha2 = ha:Clone()
- ha2.BrickColor = BrickColor.new("White")
- ha2:FindFirstChildOfClass("SpecialMesh").Scale = ha2:FindFirstChildOfClass("SpecialMesh").Scale - Vector3.new(0.75, 0.75, 0.75)
- ha2.Parent = ha
- local fsadfs
- touchbool.Changed:connect(function(wot)
- if wot == true then
- ha.Transparency = 0.5
- ha2.Transparency = 0.5
- s.Enabled = true
- s2.Enabled = true
- lit.Enabled = true
- fsadfs = makemesh("FileMesh", Vector3.new(0, 0, 0), "", X)
- elseif wot == false then
- ha.Transparency = 1
- ha2.Transparency = 1
- s.Enabled = false
- s2.Enabled = false
- lit.Enabled = false
- fsadfs:Destroy()
- end
- end)
- neontrail(ha, 1)
- end
- end
- end
- end
- makeneon()
- function gotagofast()
- if activu == true or selected == false or dacae == true then
- return
- end
- activu = true
- local ws, jp = human.WalkSpeed, human.JumpPower
- human.WalkSpeed = 100
- human.JumpPower = 360
- local bfor = Instance.new("BodyVelocity")
- bfor.MaxForce = Vector3.new(10, 10, 10)
- bfor.P = 0
- bfor.Velocity = Vector3.new(0, 0, 0)
- bfor.Parent = hrp
- local bubbl1 = makepart("White", "bb1", 0, 0.7, "Neon", tors, tors.CFrame)
- local bb1m = makemesh("Sphere", Vector3.new(0, 0, 0), nil, bubbl1)
- local bb1w = makeweld(bubbl1, bubbl1, tors, cf(0, 0, 0), c1)
- local bubbl2 = makepart("Hot pink", "bb2", 0, 0.7, "Neon", tors, tors.CFrame)
- local bb2m = makemesh("Sphere", Vector3.new(0, 0, 0), nil, bubbl2)
- local bb2w = makeweld(bubbl2, bubbl2, tors, cf(0, 0, 0), c1)
- for _, d in pairs(tagactives) do
- swait()
- d.Value = true
- end
- for _ = 1, 60 do
- swait()
- bb1m.Scale = bb1m.Scale:lerp(Vector3.new(30, 30, 30), 0.2)
- bb2m.Scale = bb2m.Scale:lerp(Vector3.new(40, 40, 40), 0.2)
- local rayc = Ray.new(hrp.Position, hrp.CFrame.lookVector * 3)
- local par, pos = workspace:FindPartOnRayWithIgnoreList(rayc, {chr}, true, true)
- if par and 1 > par.Transparency then
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-90), rd(0), rd(0)), 0.3)
- bfor.MaxForce = Vector3.new(0, 1000000000000000000, 0)
- bfor.P = 999999999
- bfor.Velocity = Vector3.new(0, 70, 0)
- else
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
- bfor.MaxForce = Vector3.new(0, 0, 0)
- bfor.P = 0
- bfor.Velocity = Vector3.new(0, 0, 0)
- end
- end
- for _, d in pairs(tagactives) do
- swait()
- d.Value = false
- end
- human.WalkSpeed = ws
- human.JumpPower = jp
- bfor.MaxForce = Vector3.new(0, 0, 0)
- bfor.P = 0
- bfor.Velocity = Vector3.new(0, 0, 0)
- for _ = 1, 10 do
- swait()
- lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
- bb1m.Scale = bb1m.Scale:lerp(Vector3.new(50, 50, 50), 0.2)
- bb2m.Scale = bb2m.Scale:lerp(Vector3.new(60, 60, 60), 0.2)
- bubbl1.Transparency = bubbl1.Transparency + 0.05
- bubbl2.Transparency = bubbl2.Transparency + 0.05
- end
- resetlerp()
- bfor:Destroy()
- bubbl1:Destroy()
- bubbl2:Destroy()
- if plr.UserId ~= 8488617 then
- dacae = true
- end
- coroutine.resume(coroutine.create(function()
- wait(7)
- dacae = false
- end))
- activu = false
- end
- local ignoraappawpas = {chr}
- function pew(pewpartthing, wheritgoto)
- local pr = makepart("White", "pewpw", 0, 0.1, "Neon", workspace, CFrame.new(pewpartthing.Position, wheritgoto))
- game.Debris:AddItem(pr, 15)
- pr.Anchored = true
- local prm = makemesh("Sphere", Vector3.new(5, 5, 10), nil, pr)
- local tr = neontrail(pr, 1.25)
- table.insert(ignoraappawpas, pr)
- table.insert(ignoraappawpas, tr)
- local howfar = 0
- local lit = Instance.new("PointLight")
- lit.Enabled = false
- lit.Brightness = 2
- lit.Range = 6
- lit.Shadows = true
- lit.Color = Color3.new(0.9490196078431372, 0.2235294117647059, 1)
- lit.Parent = pr
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- howfar = howfar + 1
- local pray = Ray.new(pr.Position, pr.CFrame.lookVector * 31)
- local noot, wher = workspace:FindPartOnRayWithIgnoreList(pray, ignoraappawpas, true, true)
- if noot and wher then
- howfar = 420
- local uwotmate = pr.CFrame.lookVector
- pr.CFrame = CFrame.new(wher)
- local aaoeaoaodad = rd2(1, 6)
- if aaoeaoaodad == 3 then
- hito(pr, 3, rd2(12, 18), 0.1, uwotmate * 25, Vector3.new(rd2(-5, 5), rd2(-5, 5), rd2(-5, 5)))
- else
- hito(pr, 3, rd2(12, 18), 0.1, uwotmate * 25)
- end
- else
- pr.CFrame = pr.CFrame * cf(0, 0, -30)
- end
- until howfar > 100 or not pr
- game.Debris:AddItem(pr, 0.1)
- wait()
- tr:FindFirstChild("nani").Value = true
- end))
- end
- local succccccccccc = false
- local soupme = false
- local thedrawings = {}
- local lazersound = Instance.new("Sound")
- lazersound.SoundId = "rbxassetid://115327352"
- lazersound.Looped = true
- lazersound.Parent = hrp
- function drawingu(wheritpewing)
- if activu == true or selected == false or #thedrawings > 50 then
- return
- end
- succccccccccc = true
- activu = true
- lazersound:Play()
- soupme = mouse.KeyUp:connect(function(DDDDDD)
- if DDDDDD == "t" then
- succccccccccc = false
- end
- end)
- local iwin = makepart("White", "thedrawingu", 0, 0.15, "Neon", modz, hrp.CFrame)
- iwin.Anchored = true
- local iwm = makemesh("Cylinder", Vector3.new(0, 1, 1), nil, iwin)
- local iwin2 = makepart("Hot pink", "thedrawingu2", 0, 0.6, "Neon", iwin, hrp.CFrame)
- iwin2.Anchored = true
- local iwm2 = makemesh("Cylinder", Vector3.new(0, 2.5, 2.5), nil, iwin2)
- local mosoposo = mouse.Hit.p
- local pewpew = makepart("White", "thedrawingu", 0, 0.15, "Neon", modz, hrp.CFrame)
- pewpew.Anchored = true
- local pewm = makemesh("Cylinder", Vector3.new(0, 1, 1), nil, pewpew)
- local pewpew2 = makepart("Hot pink", "thedrawingu", 0, 0.6, "Neon", pewpew, hrp.CFrame)
- pewpew2.Anchored = true
- local pewm2 = makemesh("Cylinder", Vector3.new(0, 2.5, 2.5), nil, pewpew2)
- table.insert(thedrawings, iwin)
- local partemitderpo = makepart("White", "watever", 0, 1, "Neon", modz, hrp.CFrame)
- partemitderpo.Anchored = true
- local s2 = Instance.new("ParticleEmitter")
- s2.Enabled = true
- s2.LockedToPart = false
- s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
- s2.LightEmission = 0.7
- s2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.4, 0),
- NumberSequenceKeypoint.new(0.853, 0.2, 0.1),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- s2.Texture = "rbxassetid://339880957"
- s2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.2, 0),
- NumberSequenceKeypoint.new(0.89, 0.2, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s2.Name = "vid2"
- s2.Lifetime = NumberRange.new(0.1, 0.2)
- s2.Rate = 0
- s2.Acceleration = Vector3.new(0, 5, 0)
- s2.Speed = NumberRange.new(10, 18)
- s2.VelocitySpread = 360
- s2.Parent = partemitderpo
- local uwotmate = wheritpewing
- local function pulso()
- coroutine.resume(coroutine.create(function()
- while iwin do
- local val1 = iwm.Scale
- local val2 = iwm2.Scale
- local tr1 = iwin.Transparency
- local tr2 = iwin2.Transparency
- for _ = 1, 5 do
- wait()
- iwm.Scale = iwm.Scale:lerp(val1 + Vector3.new(0, 0.2, 0.2), 0.1)
- iwm2.Scale = iwm2.Scale:lerp(val2 + Vector3.new(0, 0.2, 0.2), 0.1)
- iwin.Transparency = iwin.Transparency + 0.05
- iwin2.Transparency = iwin2.Transparency + 0.05
- end
- for _ = 1, 5 do
- wait()
- iwm.Scale = iwm.Scale:lerp(val1, 0.3)
- iwm2.Scale = iwm2.Scale:lerp(val2, 0.3)
- iwin.Transparency = iwin.Transparency - 0.05
- iwin2.Transparency = iwin2.Transparency - 0.05
- end
- iwm.Scale = val1
- iwm2.Scale = val2
- end
- end))
- end
- while succccccccccc == true do
- local mgn = (mosoposo - mouse.Hit.p).magnitude
- iwm.Scale = Vector3.new(mgn * 5, 1, 1)
- iwin.CFrame = CFrame.new(mosoposo, mouse.Hit.p) * ang(0, rd(270), 0) * cf(-mgn / 2, 0, 0)
- iwm2.Scale = Vector3.new(mgn * 5 + 0.025, 2, 2)
- iwin2.CFrame = iwin.CFrame
- local mgn2 = (wheritpewing.Position - mouse.Hit.p).magnitude
- pewm.Scale = Vector3.new(mgn2 * 5, 1, 1)
- pewpew.CFrame = CFrame.new(wheritpewing.Position, mouse.Hit.p) * ang(0, rd(270), 0) * cf(-mgn2 / 2, 0, 0)
- pewm2.Scale = Vector3.new(mgn2 * 5, 2, 2)
- pewpew2.CFrame = pewpew.CFrame
- partemitderpo.CFrame = CFrame.new(mouse.Hit.p)
- s2:Emit(4)
- if mgn > 1 then
- activu = false
- succccccccccc = false
- soupme:Disconnect()
- pewpew:Destroy()
- game.Debris:AddItem(partemitderpo, 0.8)
- pulso()
- drawingu(uwotmate)
- break
- end
- swait()
- end
- if pewpew then
- pewpew:Destroy()
- end
- if partemitderpo then
- game.Debris:AddItem(partemitderpo, 0.8)
- end
- lazersound:Stop()
- succccccccccc = false
- activu = false
- end
- local qshootdebounce = false
- local shotderp, draahw, bep, hhuurrr
- function qshoot()
- if activu == true or selected == false then
- return
- end
- if shootingmode == false then
- shootingmode = true
- bep = makepart("Hot pink", "bepis", 0, 1, "Neon", modz, rarm.CFrame)
- do
- local bepw = makeweld(bep, bep, rarm, cf(0, 1, 0), nil)
- hhuurrr = neontrail(bep, 0.5)
- local ss = Instance.new("Sound")
- ss.Volume = 0.5
- ss.SoundId = "rbxassetid://476938662"
- ss.Parent = bep
- local s2 = Instance.new("ParticleEmitter")
- s2.Enabled = true
- s2.LockedToPart = false
- s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
- s2.LightEmission = 0.7
- s2.Size = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 1, 0),
- NumberSequenceKeypoint.new(0.853, 0.5, 0.1),
- NumberSequenceKeypoint.new(1, 0, 0)
- })
- s2.Texture = "rbxassetid://339880957"
- s2.Transparency = NumberSequence.new({
- NumberSequenceKeypoint.new(0, 0.2, 0),
- NumberSequenceKeypoint.new(0.89, 0.2, 0),
- NumberSequenceKeypoint.new(1, 1, 0)
- })
- s2.Name = "vid2"
- s2.Lifetime = NumberRange.new(0.1, 0.4)
- s2.Rate = 0
- s2.Acceleration = Vector3.new(0, 2, 0)
- s2.Speed = NumberRange.new(12, 22)
- s2.VelocitySpread = 360
- s2.Parent = bep
- coroutine.resume(coroutine.create(function()
- repeat
- swait()
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.25)
- until shootingmode == false
- end))
- shotderp = tool.Activated:connect(function()
- if qshootdebounce == true then
- return
- end
- ss:Play()
- s2:Emit(12)
- lerpz(RS, "C0", RSC0 * cf(rd2(-5, -1) / 10, 0, 0) * ang(rd(rd2(-5, 5)), rd(rd2(-5, 5)), rd(rd2(95, 120))), 0.8)
- qshootdebounce = true
- pew(bep, mouse.Hit.p + Vector3.new(rd2(-15, 15) / 10, rd2(-15, 15) / 10, 0))
- delay(1, function()
- qshootdebounce = false
- end)
- end)
- draahw = mouse.KeyDown:connect(function(dsadadsa)
- if dsadadsa == "t" then--and (plr.UserId == 8488617 or hasProductnd) then
- drawingu(bep)
- end
- end)
- end
- elseif shootingmode == true then
- shootingmode = false
- activu = true
- if bep then
- bep:Destroy()
- end
- if hhuurrr then
- hhuurrr:FindFirstChild("nani").Value = true
- end
- shotderp:Disconnect()
- draahw:Disconnect()
- for _ = 1, 8 do
- swait()
- lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
- end
- resetlerp()
- activu = false
- end
- end
- function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
- for _, guy in pairs(workspace:GetChildren()) do
- if guy:FindFirstChild("Humanoid") and guy:FindFirstChild("HumanoidRootPart") and guy ~= chr and magn > (guy:FindFirstChild("HumanoidRootPart").Position - partoz.Position).magnitude and guy:FindFirstChild("HumanoidRootPart"):FindFirstChild("alabo") == nil then
- do
- local humz = guy:FindFirstChild("Humanoid")
- local horp = guy:FindFirstChild("HumanoidRootPart")
- TakeDamage(humz, dmg)
- humz:SetStateEnabled(16, true)
- delay(debtim, function()
- humz:SetStateEnabled(16, true)
- end)
- local db = Instance.new("StringValue")
- db.Name = "alabo"
- db.Parent = horp
- delay(debtim, function()
- db:Destroy()
- end)
- local b = Instance.new("Part")
- nooutline(b)
- b.Size = Vector3.new(0.2, 0.2, 0.2)
- b.Transparency = 0.25
- b.Anchored = true
- b.CanCollide = false
- b.BrickColor = BrickColor.new("Hot pink")
- b.Material = "Neon"
- b.Locked = true
- b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
- b.Parent = modz
- local c = Instance.new("SpecialMesh")
- c.MeshType = "Sphere"
- c.Scale = Vector3.new(3.5, 3.5, 3.5)
- c.Parent = b
- game.Debris:AddItem(b, 1)
- local damageind = Instance.new("Model")
- damageind.Name = dmg
- damageind.Parent = workspace
- game.Debris:AddItem(damageind, 1 + dmg / 75)
- local awawaa = Instance.new("Humanoid")
- awawaa.MaxHealth = 0
- awawaa.Parent = damageind
- local dhed = Instance.new("Part")
- dhed.Name = "Head"
- dhed.Locked = true
- dhed.Size = Vector3.new(0.2, 0.2, 0.2)
- dhed.Position = horp.Position
- dhed.BrickColor = BrickColor.new("Hot pink")
- dhed.Material = "Neon"
- dhed.CanCollide = false
- dhed.Parent = damageind
- local flo = Instance.new("BodyPosition")
- flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
- flo.P = 20000
- flo.D = 300
- flo.Position = dhed.Position + Vector3.new(0, 5, 0)
- flo.Parent = dhed
- local dasdada = Instance.new("CylinderMesh")
- dasdada.Parent = dhed
- coroutine.resume(coroutine.create(function()
- while dasdada do
- swait()
- dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4)
- end
- end))
- if bodyfdire then
- local boopyve = Instance.new("BodyVelocity")
- boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
- boopyve.P = 9999999999
- boopyve.Velocity = bodyfdire
- boopyve.Parent = horp
- game.Debris:AddItem(boopyve, debtim)
- end
- if bodyrot then
- local boopyro = Instance.new("BodyAngularVelocity")
- boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
- boopyro.P = math.huge
- boopyro.AngularVelocity = bodyrot
- boopyro.Parent = horp
- game.Debris:AddItem(boopyro, debtim)
- end
- local bet = Instance.new("Sound")
- bet.Pitch = rd2(9, 11) / 10
- bet.Volume = rd2(12, 14) / 10
- bet.SoundId = "rbxassetid://305526724"
- bet.Parent = b
- coroutine.resume(coroutine.create(function()
- for _ = 1, 5 do
- swait()
- b.Transparency = b.Transparency + 0.175
- c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
- end
- end))
- end
- end
- end
- end
- function animo(yep)
- if yep == true then
- anim.Parent = human
- chr.Animate.Disabled = false
- elseif yep == false then
- chr.Animate.Disabled = true
- anim.Parent = nil
- end
- end
- local down = false
- mouse.KeyDown:connect(function(key)
- down = true
- if key == "f" then
- gotagofast()
- end
- if key == "q" then
- qshoot()
- end
- if key == "z" then
- while down do
- swait(1)
- if #thedrawings > 0 then
- thedrawings[#thedrawings]:Destroy()
- table.remove(thedrawings, #thedrawings)
- end
- end
- end
- end)
- mouse.KeyUp:connect(function(key)
- down = false
- end)
- tool.Equipped:connect(function()
- selected = true
- end)
- tool.Unequipped:connect(function()
- selected = false
- end)
- function dispose()
- for i, v in pairs(getfenv(0)) do
- v = nil
- end
- error = nil
- print = nil
- warn = nil
- end
- human.Died:connect(dispose)
- chr.Changed:connect(function()
- if chr.Parent == nil then
- dispose()
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement