Advertisement
HenloMyDude

neon powers but its not the trashy script hub one

Dec 27th, 2019
617
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 33.71 KB | None | 0 0
  1.  
  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,Mouse,mouse,UserInputService,ContextActionService = owner
  4. local RealPlayer = Player
  5. 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
  6.  
  7. function TakeDamage(hum, dmg)
  8. hum:TakeDamage(50)
  9. end
  10. plr = game.Players.LocalPlayer
  11. repeat
  12. wait(0.4)
  13. until plr.Character
  14. chr = plr.Character
  15. human = chr:FindFirstChild("Humanoid")
  16. mouse = plr:GetMouse()
  17. cam = workspace.CurrentCamera
  18. selected = false
  19. equipd = false
  20. tors = chr:WaitForChild("Torso")
  21. rarm = chr:WaitForChild("Right Arm")
  22. larm = chr:WaitForChild("Left Arm")
  23. rleg = chr:WaitForChild("Right Leg")
  24. lleg = chr:WaitForChild("Left Leg")
  25. hrp = chr:WaitForChild("HumanoidRootPart")
  26. hed = chr:WaitForChild("Head")
  27. anim = human:FindFirstChild("Animator")
  28. activu = false
  29. shootingmode = false
  30. dacae = false
  31. --local hasProductnd = game:service("ReplicatedStorage").Logic.HasProduct:InvokeServer(84861999)
  32. local tagactives = {}
  33. Heartbeat = Instance.new("BindableEvent")
  34. Heartbeat.Name = "Heartbeat"
  35. Heartbeat.Parent = script
  36. frame = 0.03333333333333333
  37. tf = 0
  38. game:GetService("RunService").Heartbeat:connect(function(s, p)
  39. tf = tf + s
  40. if tf >= frame then
  41. for i = 1, math.floor(tf / frame) do
  42. Heartbeat:Fire()
  43. end
  44. tf = tf - frame * math.floor(tf / frame)
  45. end
  46. end)
  47. function swait(num)
  48. if num == 0 or num == nil then
  49. Heartbeat.Event:wait()
  50. else
  51. for i = 1, num do
  52. Heartbeat.Event:wait()
  53. end
  54. end
  55. end
  56. tool = Instance.new("Tool")
  57. tool.CanBeDropped = false
  58. tool.RequiresHandle = false
  59. tool.ToolTip = "OAOAOA"
  60. tool.Name = "Neon"
  61. tool.Parent = plr.Backpack
  62. modz = Instance.new("Model")
  63. modz.Name = "efx"
  64. modz.Parent = chr
  65. RSC0 = CFrame.new(1, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  66. RSC1 = CFrame.new(-0.5, 0.5, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  67. LSC0 = CFrame.new(-1, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  68. LSC1 = CFrame.new(0.5, 0.5, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  69. RHC0 = CFrame.new(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  70. RHC1 = CFrame.new(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  71. LHC0 = CFrame.new(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  72. RJC1 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  73. LHC1 = CFrame.new(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  74. NC0 = CFrame.new(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  75. NC1 = CFrame.new(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  76. RJC0 = CFrame.new(0, 0, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  77. RS = tors:FindFirstChild("Right Shoulder")
  78. LS = tors:FindFirstChild("Left Shoulder")
  79. RH = tors:FindFirstChild("Right Hip")
  80. LH = tors:FindFirstChild("Left Hip")
  81. RJ = hrp:FindFirstChild("RootJoint")
  82. N = tors:FindFirstChild("Neck")
  83. cf = CFrame.new
  84. ang = CFrame.Angles
  85. rd = math.rad
  86. rd2 = math.random
  87. function lerpz(joint, prop, cfrmz, alp)
  88. joint[prop] = joint[prop]:lerp(cfrmz, alp)
  89. end
  90. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  91. lerpz(N, "C0", NC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  92. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  93. lerpz(RS, "C1", RSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  94. lerpz(LS, "C0", LSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  95. lerpz(LS, "C1", LSC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  96. lerpz(RH, "C0", RHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  97. lerpz(RH, "C1", RHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  98. lerpz(LH, "C0", LHC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  99. lerpz(LH, "C1", LHC1 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  100. function resetlerp()
  101. RJ.C0 = RJC0
  102. RJ.C1 = RJC1
  103. N.C0 = NC0
  104. N.C1 = NC1
  105. RS.C0 = RSC0
  106. RS.C1 = RSC1
  107. LS.C0 = LSC0
  108. LS.C1 = LSC1
  109. RH.C0 = RHC0
  110. RH.C1 = RHC1
  111. LH.C0 = LHC0
  112. LH.C1 = LHC1
  113. end
  114. function neontrail(thepart, randoderpo)
  115. local ttab = {}
  116. local bopbop = Instance.new("Model")
  117. bopbop.Name = "uWOT"
  118. bopbop.Parent = modz
  119. local disabling = Instance.new("BoolValue")
  120. disabling.Value = false
  121. disabling.Name = "nani"
  122. disabling.Parent = bopbop
  123. for c = 1, 8 do
  124. local tr = Instance.new("Part")
  125. tr.Size = Vector3.new(0.2, 0.2, 0.2)
  126. tr.Anchored = true
  127. tr.CanCollide = false
  128. tr.Material = "Neon"
  129. tr.BrickColor = BrickColor.new("White")
  130. tr.CFrame = thepart.CFrame
  131. tr.Transparency = 1
  132. tr.Parent = bopbop
  133. local aa = Instance.new("CylinderMesh")
  134. aa.Parent = tr
  135. local tr2 = Instance.new("Part")
  136. tr2.Size = Vector3.new(0.2, 0.2, 0.2)
  137. tr2.Anchored = true
  138. tr2.CanCollide = false
  139. tr2.Material = "Neon"
  140. tr2.Transparency = 1
  141. tr2.BrickColor = BrickColor.new("Hot pink")
  142. tr2.CFrame = thepart.CFrame
  143. tr2.Parent = tr
  144. local aa2 = Instance.new("CylinderMesh")
  145. aa2.Parent = tr2
  146. table.insert(ttab, tr)
  147. end
  148. local function fading(derp)
  149. local derp2 = derp:FindFirstChildOfClass("Part")
  150. if thepart:FindFirstChildOfClass("BoolValue") then
  151. if thepart:FindFirstChildOfClass("BoolValue").Value == true then
  152. derp.Transparency = 0.2
  153. derp2.Transparency = 0.2
  154. elseif thepart:FindFirstChildOfClass("BoolValue").Value == false then
  155. derp.Transparency = 1
  156. derp2.Transparency = 1
  157. end
  158. else
  159. derp.Transparency = 0
  160. derp2.Transparency = 0
  161. end
  162. for _ = 1, 8 do
  163. swait()
  164. derp.Transparency = derp.Transparency + 0.1
  165. if derp:FindFirstChildOfClass("CylinderMesh") then
  166. derp:FindFirstChildOfClass("CylinderMesh").Scale = derp:FindFirstChildOfClass("CylinderMesh").Scale - Vector3.new(0.2 * randoderpo, 0, 0.2 * randoderpo)
  167. end
  168. derp2.Transparency = derp2.Transparency + 0.1
  169. if derp2:FindFirstChildOfClass("CylinderMesh") then
  170. derp2:FindFirstChildOfClass("CylinderMesh").Scale = derp2:FindFirstChildOfClass("CylinderMesh").Scale - Vector3.new(0.2 * randoderpo, 0.001, 0.2 * randoderpo)
  171. end
  172. end
  173. end
  174. local pose1 = thepart.Position
  175. coroutine.resume(coroutine.create(function()
  176. repeat
  177. if disabling.Value == true then
  178. swait()
  179. bopbop:Destroy()
  180. return
  181. end
  182. for num, tra in pairs(ttab) do
  183. do
  184. local randomiser = Vector3.new(math.random(-1, 1) * randoderpo, math.random(-1, 1) * randoderpo, math.random(-1, 1) * randoderpo)
  185. swait(1)
  186. local pose2 = thepart.Position + randomiser
  187. local dista = (pose1 - pose2).magnitude
  188. tra.CFrame = CFrame.new(pose1, pose2) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -dista / 2, 0)
  189. tra:FindFirstChildOfClass("CylinderMesh").Scale = Vector3.new(2 * randoderpo, dista / 0.2, 2 * randoderpo)
  190. tra:FindFirstChildOfClass("Part").CFrame = CFrame.new(pose1, pose2) * CFrame.Angles(math.rad(90), 0, 0) * CFrame.new(0, -dista / 2, 0)
  191. tra:FindFirstChildOfClass("Part"):FindFirstChildOfClass("CylinderMesh").Scale = Vector3.new(3 * randoderpo, dista / 0.201, 3 * randoderpo)
  192. coroutine.resume(coroutine.create(function()
  193. if tra then
  194. fading(tra)
  195. end
  196. end))
  197. pose1 = pose2
  198. end
  199. end
  200. until not bopbop
  201. end))
  202. return bopbop
  203. end
  204. function nooutline(p)
  205. p.TopSurface, p.BottomSurface, p.LeftSurface, p.RightSurface, p.FrontSurface, p.BottomSurface = 10, 10, 10, 10, 10, 10
  206. end
  207. function makepart(color, name, reflec, trans, mater, parnt, cfram)
  208. local port = Instance.new("Part")
  209. port.BrickColor = BrickColor.new(color)
  210. port.Name = name
  211. port.Transparency = trans
  212. nooutline(port)
  213. port.Reflectance = reflec
  214. port.Material = mater
  215. port.Anchored = false
  216. port.CanCollide = false
  217. port.Locked = true
  218. port.Size = Vector3.new(0.2, 0.2, 0.2)
  219. port.CFrame = cfram
  220. port.Parent = parnt
  221. return port
  222. end
  223. function makemesh(meshtype, scale, meshid, parent)
  224. local mes = Instance.new("SpecialMesh")
  225. mes.MeshType = meshtype
  226. mes.Scale = scale
  227. if meshtype == "FileMesh" then
  228. mes.MeshId = meshid
  229. end
  230. mes.Parent = parent
  231. return mes
  232. end
  233. function makeweld(parent, p0, p1, c0, c1)
  234. swait()
  235. local wel = Instance.new("Weld")
  236. wel.Part0 = p0
  237. wel.Part1 = p1
  238. wel.C0 = c0
  239. if c1 ~= nil then
  240. wel.C1 = c1
  241. end
  242. wel.Parent = parent
  243. return wel
  244. end
  245. function makeneon()
  246. for _, X in pairs(chr:GetChildren()) do
  247. if X.ClassName == "Accessory" then
  248. do
  249. local thehatto = X:FindFirstChildOfClass("Part")
  250. local hatmesho = thehatto:FindFirstChildOfClass("SpecialMesh")
  251. local awa = makepart("Hot pink", "glowhat", 0, 1, "Neon", thehatto, thehatto.CFrame)
  252. local awam = makemesh("FileMesh", hatmesho.Scale + Vector3.new(0.05, 0.05, 0.05), hatmesho.MeshId, awa)
  253. makeweld(awa, awa, thehatto, cf(0, 0, 0), nil)
  254. local touchbool = Instance.new("BoolValue")
  255. touchbool.Value = false
  256. touchbool.Parent = awa
  257. table.insert(tagactives, touchbool)
  258. thehatto.Touched:connect(function(asd)
  259. if touchbool.Value == false and asd.Parent:FindFirstChildOfClass("Humanoid") then
  260. touchbool.Value = true
  261. delay(0.8, function()
  262. touchbool.Value = false
  263. end)
  264. end
  265. end)
  266. local s = Instance.new("ParticleEmitter")
  267. s.Enabled = false
  268. s.LockedToPart = true
  269. s.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  270. s.LightEmission = 0.6
  271. s.Size = NumberSequence.new({
  272. NumberSequenceKeypoint.new(0, 0.5, 0),
  273. NumberSequenceKeypoint.new(0.406, 1, 0),
  274. NumberSequenceKeypoint.new(0.433, 2.5, 0.75),
  275. NumberSequenceKeypoint.new(0.476, 0.8, 0),
  276. NumberSequenceKeypoint.new(1, 0.05, 0)
  277. })
  278. s.Texture = "rbxassetid://339880957"
  279. s.Transparency = NumberSequence.new({
  280. NumberSequenceKeypoint.new(0, 0.3, 0),
  281. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  282. NumberSequenceKeypoint.new(1, 1, 0)
  283. })
  284. s.Name = "vid"
  285. s.Lifetime = NumberRange.new(0.2)
  286. s.Rate = 5
  287. s.Speed = NumberRange.new(8, 10)
  288. s.VelocitySpread = 360
  289. s.Parent = awa
  290. local s2 = Instance.new("ParticleEmitter")
  291. s2.Enabled = false
  292. s2.LockedToPart = false
  293. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  294. s2.LightEmission = 0.6
  295. s2.Size = NumberSequence.new({
  296. NumberSequenceKeypoint.new(0, 0.1, 0),
  297. NumberSequenceKeypoint.new(0.853, 0.4, 0.1),
  298. NumberSequenceKeypoint.new(1, 0, 0)
  299. })
  300. s2.Texture = "rbxassetid://339880957"
  301. s2.Transparency = NumberSequence.new({
  302. NumberSequenceKeypoint.new(0, 0.3, 0),
  303. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  304. NumberSequenceKeypoint.new(1, 1, 0)
  305. })
  306. s2.Name = "vid2"
  307. s2.Lifetime = NumberRange.new(0.5)
  308. s2.Rate = 10
  309. s2.Speed = NumberRange.new(2, 6)
  310. s2.VelocitySpread = 360
  311. s2.Parent = awa
  312. local awa2 = awa:Clone()
  313. awa2.BrickColor = BrickColor.new("White")
  314. awa2:FindFirstChildOfClass("SpecialMesh").Scale = awa2:FindFirstChildOfClass("SpecialMesh").Scale - Vector3.new(0.15, 0.15, 0.15)
  315. awa2.Parent = awa
  316. local fsadfs
  317. touchbool.Changed:connect(function(wot)
  318. if wot == true then
  319. awa.Transparency = 0.5
  320. awa2.Transparency = 0.5
  321. s.Enabled = true
  322. s2.Enabled = true
  323. fsadfs = makemesh("FileMesh", Vector3.new(0, 0, 0), "", thehatto)
  324. elseif wot == false then
  325. awa.Transparency = 1
  326. awa2.Transparency = 1
  327. s.Enabled = false
  328. s2.Enabled = false
  329. fsadfs:Destroy()
  330. end
  331. end)
  332. end
  333. elseif X.ClassName == "Part" and X ~= hrp then
  334. do
  335. local ha = makepart("Hot pink", "gglowiey", 0, 1, "Neon", X, X.CFrame)
  336. local ham
  337. if X == tors then
  338. ham = makemesh("Brick", Vector3.new(10.5, 10.5, 5.25), nil, ha)
  339. elseif X == hed then
  340. ham = makemesh("Head", Vector3.new(6.5, 6.5, 6.5), nil, ha)
  341. else
  342. ham = makemesh("Brick", Vector3.new(5.25, 10.125, 5.25), nil, ha)
  343. end
  344. makeweld(ha, ha, X, cf(0, 0, 0), nil)
  345. local touchbool = Instance.new("BoolValue")
  346. touchbool.Value = false
  347. touchbool.Parent = ha
  348. table.insert(tagactives, touchbool)
  349. X.Touched:connect(function(asd)
  350. if touchbool.Value == false and asd.Parent:FindFirstChildOfClass("Humanoid") then
  351. touchbool.Value = true
  352. delay(0.8, function()
  353. touchbool.Value = false
  354. end)
  355. end
  356. end)
  357. local lit = Instance.new("PointLight")
  358. lit.Enabled = false
  359. lit.Brightness = 2
  360. lit.Range = 6
  361. lit.Shadows = true
  362. lit.Color = Color3.new(0.9490196078431372, 0.2235294117647059, 1)
  363. lit.Parent = ha
  364. local s = Instance.new("ParticleEmitter")
  365. s.Enabled = false
  366. s.LockedToPart = true
  367. s.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  368. s.LightEmission = 0.6
  369. s.Size = NumberSequence.new({
  370. NumberSequenceKeypoint.new(0, 0.5, 0),
  371. NumberSequenceKeypoint.new(0.406, 1, 0),
  372. NumberSequenceKeypoint.new(0.433, 2.5, 0.75),
  373. NumberSequenceKeypoint.new(0.476, 0.8, 0),
  374. NumberSequenceKeypoint.new(1, 0.05, 0)
  375. })
  376. s.Texture = "rbxassetid://339880957"
  377. s.Transparency = NumberSequence.new({
  378. NumberSequenceKeypoint.new(0, 0.3, 0),
  379. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  380. NumberSequenceKeypoint.new(1, 1, 0)
  381. })
  382. s.Name = "vid"
  383. s.Lifetime = NumberRange.new(0.2)
  384. s.Rate = 5
  385. s.Speed = NumberRange.new(7, 10)
  386. s.VelocitySpread = 360
  387. s.Parent = ha
  388. local s2 = Instance.new("ParticleEmitter")
  389. s2.Enabled = false
  390. s2.LockedToPart = false
  391. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  392. s2.LightEmission = 0.6
  393. s2.Size = NumberSequence.new({
  394. NumberSequenceKeypoint.new(0, 0.1, 0),
  395. NumberSequenceKeypoint.new(0.853, 0.4, 0.1),
  396. NumberSequenceKeypoint.new(1, 0, 0)
  397. })
  398. s2.Texture = "rbxassetid://339880957"
  399. s2.Transparency = NumberSequence.new({
  400. NumberSequenceKeypoint.new(0, 0.3, 0),
  401. NumberSequenceKeypoint.new(0.89, 0.3, 0),
  402. NumberSequenceKeypoint.new(1, 1, 0)
  403. })
  404. s2.Name = "vid2"
  405. s2.Lifetime = NumberRange.new(0.5)
  406. s2.Rate = 10
  407. s2.Speed = NumberRange.new(2, 6)
  408. s2.VelocitySpread = 360
  409. s2.Parent = ha
  410. local ha2 = ha:Clone()
  411. ha2.BrickColor = BrickColor.new("White")
  412. ha2:FindFirstChildOfClass("SpecialMesh").Scale = ha2:FindFirstChildOfClass("SpecialMesh").Scale - Vector3.new(0.75, 0.75, 0.75)
  413. ha2.Parent = ha
  414. local fsadfs
  415. touchbool.Changed:connect(function(wot)
  416. if wot == true then
  417. ha.Transparency = 0.5
  418. ha2.Transparency = 0.5
  419. s.Enabled = true
  420. s2.Enabled = true
  421. lit.Enabled = true
  422. fsadfs = makemesh("FileMesh", Vector3.new(0, 0, 0), "", X)
  423. elseif wot == false then
  424. ha.Transparency = 1
  425. ha2.Transparency = 1
  426. s.Enabled = false
  427. s2.Enabled = false
  428. lit.Enabled = false
  429. fsadfs:Destroy()
  430. end
  431. end)
  432. neontrail(ha, 1)
  433. end
  434. end
  435. end
  436. end
  437. makeneon()
  438. function gotagofast()
  439. if activu == true or selected == false or dacae == true then
  440. return
  441. end
  442. activu = true
  443. local ws, jp = human.WalkSpeed, human.JumpPower
  444. human.WalkSpeed = 100
  445. human.JumpPower = 360
  446. local bfor = Instance.new("BodyVelocity")
  447. bfor.MaxForce = Vector3.new(10, 10, 10)
  448. bfor.P = 0
  449. bfor.Velocity = Vector3.new(0, 0, 0)
  450. bfor.Parent = hrp
  451. local bubbl1 = makepart("White", "bb1", 0, 0.7, "Neon", tors, tors.CFrame)
  452. local bb1m = makemesh("Sphere", Vector3.new(0, 0, 0), nil, bubbl1)
  453. local bb1w = makeweld(bubbl1, bubbl1, tors, cf(0, 0, 0), c1)
  454. local bubbl2 = makepart("Hot pink", "bb2", 0, 0.7, "Neon", tors, tors.CFrame)
  455. local bb2m = makemesh("Sphere", Vector3.new(0, 0, 0), nil, bubbl2)
  456. local bb2w = makeweld(bubbl2, bubbl2, tors, cf(0, 0, 0), c1)
  457. for _, d in pairs(tagactives) do
  458. swait()
  459. d.Value = true
  460. end
  461. for _ = 1, 60 do
  462. swait()
  463. bb1m.Scale = bb1m.Scale:lerp(Vector3.new(30, 30, 30), 0.2)
  464. bb2m.Scale = bb2m.Scale:lerp(Vector3.new(40, 40, 40), 0.2)
  465. local rayc = Ray.new(hrp.Position, hrp.CFrame.lookVector * 3)
  466. local par, pos = workspace:FindPartOnRayWithIgnoreList(rayc, {chr}, true, true)
  467. if par and 1 > par.Transparency then
  468. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(-90), rd(0), rd(0)), 0.3)
  469. bfor.MaxForce = Vector3.new(0, 1000000000000000000, 0)
  470. bfor.P = 999999999
  471. bfor.Velocity = Vector3.new(0, 70, 0)
  472. else
  473. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.3)
  474. bfor.MaxForce = Vector3.new(0, 0, 0)
  475. bfor.P = 0
  476. bfor.Velocity = Vector3.new(0, 0, 0)
  477. end
  478. end
  479. for _, d in pairs(tagactives) do
  480. swait()
  481. d.Value = false
  482. end
  483. human.WalkSpeed = ws
  484. human.JumpPower = jp
  485. bfor.MaxForce = Vector3.new(0, 0, 0)
  486. bfor.P = 0
  487. bfor.Velocity = Vector3.new(0, 0, 0)
  488. for _ = 1, 10 do
  489. swait()
  490. lerpz(RJ, "C0", RJC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.6)
  491. bb1m.Scale = bb1m.Scale:lerp(Vector3.new(50, 50, 50), 0.2)
  492. bb2m.Scale = bb2m.Scale:lerp(Vector3.new(60, 60, 60), 0.2)
  493. bubbl1.Transparency = bubbl1.Transparency + 0.05
  494. bubbl2.Transparency = bubbl2.Transparency + 0.05
  495. end
  496. resetlerp()
  497. bfor:Destroy()
  498. bubbl1:Destroy()
  499. bubbl2:Destroy()
  500. if plr.UserId ~= 8488617 then
  501. dacae = true
  502. end
  503. coroutine.resume(coroutine.create(function()
  504. wait(7)
  505. dacae = false
  506. end))
  507. activu = false
  508. end
  509. local ignoraappawpas = {chr}
  510. function pew(pewpartthing, wheritgoto)
  511. local pr = makepart("White", "pewpw", 0, 0.1, "Neon", workspace, CFrame.new(pewpartthing.Position, wheritgoto))
  512. game.Debris:AddItem(pr, 15)
  513. pr.Anchored = true
  514. local prm = makemesh("Sphere", Vector3.new(5, 5, 10), nil, pr)
  515. local tr = neontrail(pr, 1.25)
  516. table.insert(ignoraappawpas, pr)
  517. table.insert(ignoraappawpas, tr)
  518. local howfar = 0
  519. local lit = Instance.new("PointLight")
  520. lit.Enabled = false
  521. lit.Brightness = 2
  522. lit.Range = 6
  523. lit.Shadows = true
  524. lit.Color = Color3.new(0.9490196078431372, 0.2235294117647059, 1)
  525. lit.Parent = pr
  526. coroutine.resume(coroutine.create(function()
  527. repeat
  528. swait()
  529. howfar = howfar + 1
  530. local pray = Ray.new(pr.Position, pr.CFrame.lookVector * 31)
  531. local noot, wher = workspace:FindPartOnRayWithIgnoreList(pray, ignoraappawpas, true, true)
  532. if noot and wher then
  533. howfar = 420
  534. local uwotmate = pr.CFrame.lookVector
  535. pr.CFrame = CFrame.new(wher)
  536. local aaoeaoaodad = rd2(1, 6)
  537. if aaoeaoaodad == 3 then
  538. hito(pr, 3, rd2(12, 18), 0.1, uwotmate * 25, Vector3.new(rd2(-5, 5), rd2(-5, 5), rd2(-5, 5)))
  539. else
  540. hito(pr, 3, rd2(12, 18), 0.1, uwotmate * 25)
  541. end
  542. else
  543. pr.CFrame = pr.CFrame * cf(0, 0, -30)
  544. end
  545. until howfar > 100 or not pr
  546. game.Debris:AddItem(pr, 0.1)
  547. wait()
  548. tr:FindFirstChild("nani").Value = true
  549. end))
  550. end
  551. local succccccccccc = false
  552. local soupme = false
  553. local thedrawings = {}
  554. local lazersound = Instance.new("Sound")
  555. lazersound.SoundId = "rbxassetid://115327352"
  556. lazersound.Looped = true
  557. lazersound.Parent = hrp
  558. function drawingu(wheritpewing)
  559. if activu == true or selected == false or #thedrawings > 50 then
  560. return
  561. end
  562. succccccccccc = true
  563. activu = true
  564. lazersound:Play()
  565. soupme = mouse.KeyUp:connect(function(DDDDDD)
  566. if DDDDDD == "t" then
  567. succccccccccc = false
  568. end
  569. end)
  570. local iwin = makepart("White", "thedrawingu", 0, 0.15, "Neon", modz, hrp.CFrame)
  571. iwin.Anchored = true
  572. local iwm = makemesh("Cylinder", Vector3.new(0, 1, 1), nil, iwin)
  573. local iwin2 = makepart("Hot pink", "thedrawingu2", 0, 0.6, "Neon", iwin, hrp.CFrame)
  574. iwin2.Anchored = true
  575. local iwm2 = makemesh("Cylinder", Vector3.new(0, 2.5, 2.5), nil, iwin2)
  576. local mosoposo = mouse.Hit.p
  577. local pewpew = makepart("White", "thedrawingu", 0, 0.15, "Neon", modz, hrp.CFrame)
  578. pewpew.Anchored = true
  579. local pewm = makemesh("Cylinder", Vector3.new(0, 1, 1), nil, pewpew)
  580. local pewpew2 = makepart("Hot pink", "thedrawingu", 0, 0.6, "Neon", pewpew, hrp.CFrame)
  581. pewpew2.Anchored = true
  582. local pewm2 = makemesh("Cylinder", Vector3.new(0, 2.5, 2.5), nil, pewpew2)
  583. table.insert(thedrawings, iwin)
  584. local partemitderpo = makepart("White", "watever", 0, 1, "Neon", modz, hrp.CFrame)
  585. partemitderpo.Anchored = true
  586. local s2 = Instance.new("ParticleEmitter")
  587. s2.Enabled = true
  588. s2.LockedToPart = false
  589. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  590. s2.LightEmission = 0.7
  591. s2.Size = NumberSequence.new({
  592. NumberSequenceKeypoint.new(0, 0.4, 0),
  593. NumberSequenceKeypoint.new(0.853, 0.2, 0.1),
  594. NumberSequenceKeypoint.new(1, 0, 0)
  595. })
  596. s2.Texture = "rbxassetid://339880957"
  597. s2.Transparency = NumberSequence.new({
  598. NumberSequenceKeypoint.new(0, 0.2, 0),
  599. NumberSequenceKeypoint.new(0.89, 0.2, 0),
  600. NumberSequenceKeypoint.new(1, 1, 0)
  601. })
  602. s2.Name = "vid2"
  603. s2.Lifetime = NumberRange.new(0.1, 0.2)
  604. s2.Rate = 0
  605. s2.Acceleration = Vector3.new(0, 5, 0)
  606. s2.Speed = NumberRange.new(10, 18)
  607. s2.VelocitySpread = 360
  608. s2.Parent = partemitderpo
  609. local uwotmate = wheritpewing
  610. local function pulso()
  611. coroutine.resume(coroutine.create(function()
  612. while iwin do
  613. local val1 = iwm.Scale
  614. local val2 = iwm2.Scale
  615. local tr1 = iwin.Transparency
  616. local tr2 = iwin2.Transparency
  617. for _ = 1, 5 do
  618. wait()
  619. iwm.Scale = iwm.Scale:lerp(val1 + Vector3.new(0, 0.2, 0.2), 0.1)
  620. iwm2.Scale = iwm2.Scale:lerp(val2 + Vector3.new(0, 0.2, 0.2), 0.1)
  621. iwin.Transparency = iwin.Transparency + 0.05
  622. iwin2.Transparency = iwin2.Transparency + 0.05
  623. end
  624. for _ = 1, 5 do
  625. wait()
  626. iwm.Scale = iwm.Scale:lerp(val1, 0.3)
  627. iwm2.Scale = iwm2.Scale:lerp(val2, 0.3)
  628. iwin.Transparency = iwin.Transparency - 0.05
  629. iwin2.Transparency = iwin2.Transparency - 0.05
  630. end
  631. iwm.Scale = val1
  632. iwm2.Scale = val2
  633. end
  634. end))
  635. end
  636. while succccccccccc == true do
  637. local mgn = (mosoposo - mouse.Hit.p).magnitude
  638. iwm.Scale = Vector3.new(mgn * 5, 1, 1)
  639. iwin.CFrame = CFrame.new(mosoposo, mouse.Hit.p) * ang(0, rd(270), 0) * cf(-mgn / 2, 0, 0)
  640. iwm2.Scale = Vector3.new(mgn * 5 + 0.025, 2, 2)
  641. iwin2.CFrame = iwin.CFrame
  642. local mgn2 = (wheritpewing.Position - mouse.Hit.p).magnitude
  643. pewm.Scale = Vector3.new(mgn2 * 5, 1, 1)
  644. pewpew.CFrame = CFrame.new(wheritpewing.Position, mouse.Hit.p) * ang(0, rd(270), 0) * cf(-mgn2 / 2, 0, 0)
  645. pewm2.Scale = Vector3.new(mgn2 * 5, 2, 2)
  646. pewpew2.CFrame = pewpew.CFrame
  647. partemitderpo.CFrame = CFrame.new(mouse.Hit.p)
  648. s2:Emit(4)
  649. if mgn > 1 then
  650. activu = false
  651. succccccccccc = false
  652. soupme:Disconnect()
  653. pewpew:Destroy()
  654. game.Debris:AddItem(partemitderpo, 0.8)
  655. pulso()
  656. drawingu(uwotmate)
  657. break
  658. end
  659. swait()
  660. end
  661. if pewpew then
  662. pewpew:Destroy()
  663. end
  664. if partemitderpo then
  665. game.Debris:AddItem(partemitderpo, 0.8)
  666. end
  667. lazersound:Stop()
  668. succccccccccc = false
  669. activu = false
  670. end
  671. local qshootdebounce = false
  672. local shotderp, draahw, bep, hhuurrr
  673. function qshoot()
  674. if activu == true or selected == false then
  675. return
  676. end
  677. if shootingmode == false then
  678. shootingmode = true
  679. bep = makepart("Hot pink", "bepis", 0, 1, "Neon", modz, rarm.CFrame)
  680. do
  681. local bepw = makeweld(bep, bep, rarm, cf(0, 1, 0), nil)
  682. hhuurrr = neontrail(bep, 0.5)
  683. local ss = Instance.new("Sound")
  684. ss.Volume = 0.5
  685. ss.SoundId = "rbxassetid://476938662"
  686. ss.Parent = bep
  687. local s2 = Instance.new("ParticleEmitter")
  688. s2.Enabled = true
  689. s2.LockedToPart = false
  690. s2.Color = ColorSequence.new(Color3.new(1, 0.4, 1))
  691. s2.LightEmission = 0.7
  692. s2.Size = NumberSequence.new({
  693. NumberSequenceKeypoint.new(0, 1, 0),
  694. NumberSequenceKeypoint.new(0.853, 0.5, 0.1),
  695. NumberSequenceKeypoint.new(1, 0, 0)
  696. })
  697. s2.Texture = "rbxassetid://339880957"
  698. s2.Transparency = NumberSequence.new({
  699. NumberSequenceKeypoint.new(0, 0.2, 0),
  700. NumberSequenceKeypoint.new(0.89, 0.2, 0),
  701. NumberSequenceKeypoint.new(1, 1, 0)
  702. })
  703. s2.Name = "vid2"
  704. s2.Lifetime = NumberRange.new(0.1, 0.4)
  705. s2.Rate = 0
  706. s2.Acceleration = Vector3.new(0, 2, 0)
  707. s2.Speed = NumberRange.new(12, 22)
  708. s2.VelocitySpread = 360
  709. s2.Parent = bep
  710. coroutine.resume(coroutine.create(function()
  711. repeat
  712. swait()
  713. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(90)), 0.25)
  714. until shootingmode == false
  715. end))
  716. shotderp = tool.Activated:connect(function()
  717. if qshootdebounce == true then
  718. return
  719. end
  720. ss:Play()
  721. s2:Emit(12)
  722. 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)
  723. qshootdebounce = true
  724. pew(bep, mouse.Hit.p + Vector3.new(rd2(-15, 15) / 10, rd2(-15, 15) / 10, 0))
  725. delay(1, function()
  726. qshootdebounce = false
  727. end)
  728. end)
  729. draahw = mouse.KeyDown:connect(function(dsadadsa)
  730. if dsadadsa == "t" then--and (plr.UserId == 8488617 or hasProductnd) then
  731. drawingu(bep)
  732. end
  733. end)
  734. end
  735. elseif shootingmode == true then
  736. shootingmode = false
  737. activu = true
  738. if bep then
  739. bep:Destroy()
  740. end
  741. if hhuurrr then
  742. hhuurrr:FindFirstChild("nani").Value = true
  743. end
  744. shotderp:Disconnect()
  745. draahw:Disconnect()
  746. for _ = 1, 8 do
  747. swait()
  748. lerpz(RS, "C0", RSC0 * cf(0, 0, 0) * ang(rd(0), rd(0), rd(0)), 0.4)
  749. end
  750. resetlerp()
  751. activu = false
  752. end
  753. end
  754. function hito(partoz, magn, dmg, debtim, bodyfdire, bodyrot)
  755. for _, guy in pairs(workspace:GetChildren()) do
  756. 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
  757. do
  758. local humz = guy:FindFirstChild("Humanoid")
  759. local horp = guy:FindFirstChild("HumanoidRootPart")
  760. TakeDamage(humz, dmg)
  761. humz:SetStateEnabled(16, true)
  762. delay(debtim, function()
  763. humz:SetStateEnabled(16, true)
  764. end)
  765. local db = Instance.new("StringValue")
  766. db.Name = "alabo"
  767. db.Parent = horp
  768. delay(debtim, function()
  769. db:Destroy()
  770. end)
  771. local b = Instance.new("Part")
  772. nooutline(b)
  773. b.Size = Vector3.new(0.2, 0.2, 0.2)
  774. b.Transparency = 0.25
  775. b.Anchored = true
  776. b.CanCollide = false
  777. b.BrickColor = BrickColor.new("Hot pink")
  778. b.Material = "Neon"
  779. b.Locked = true
  780. b.CFrame = horp.CFrame * CFrame.new(rd2(-1, 1), rd2(-2, 2), rd2(-1, 1))
  781. b.Parent = modz
  782. local c = Instance.new("SpecialMesh")
  783. c.MeshType = "Sphere"
  784. c.Scale = Vector3.new(3.5, 3.5, 3.5)
  785. c.Parent = b
  786. game.Debris:AddItem(b, 1)
  787. local damageind = Instance.new("Model")
  788. damageind.Name = dmg
  789. damageind.Parent = workspace
  790. game.Debris:AddItem(damageind, 1 + dmg / 75)
  791. local awawaa = Instance.new("Humanoid")
  792. awawaa.MaxHealth = 0
  793. awawaa.Parent = damageind
  794. local dhed = Instance.new("Part")
  795. dhed.Name = "Head"
  796. dhed.Locked = true
  797. dhed.Size = Vector3.new(0.2, 0.2, 0.2)
  798. dhed.Position = horp.Position
  799. dhed.BrickColor = BrickColor.new("Hot pink")
  800. dhed.Material = "Neon"
  801. dhed.CanCollide = false
  802. dhed.Parent = damageind
  803. local flo = Instance.new("BodyPosition")
  804. flo.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
  805. flo.P = 20000
  806. flo.D = 300
  807. flo.Position = dhed.Position + Vector3.new(0, 5, 0)
  808. flo.Parent = dhed
  809. local dasdada = Instance.new("CylinderMesh")
  810. dasdada.Parent = dhed
  811. coroutine.resume(coroutine.create(function()
  812. while dasdada do
  813. swait()
  814. dasdada.Scale = dasdada.Scale:lerp(Vector3.new(2.5 + dmg / 10, 1.25 + dmg / 35, 2.5 + dmg / 10), 0.4)
  815. end
  816. end))
  817. if bodyfdire then
  818. local boopyve = Instance.new("BodyVelocity")
  819. boopyve.MaxForce = Vector3.new(9999999999999, 9999999999999, 9999999999999)
  820. boopyve.P = 9999999999
  821. boopyve.Velocity = bodyfdire
  822. boopyve.Parent = horp
  823. game.Debris:AddItem(boopyve, debtim)
  824. end
  825. if bodyrot then
  826. local boopyro = Instance.new("BodyAngularVelocity")
  827. boopyro.MaxTorque = Vector3.new(999999, 999999, 999999)
  828. boopyro.P = math.huge
  829. boopyro.AngularVelocity = bodyrot
  830. boopyro.Parent = horp
  831. game.Debris:AddItem(boopyro, debtim)
  832. end
  833. local bet = Instance.new("Sound")
  834. bet.Pitch = rd2(9, 11) / 10
  835. bet.Volume = rd2(12, 14) / 10
  836. bet.SoundId = "rbxassetid://305526724"
  837. bet.Parent = b
  838. coroutine.resume(coroutine.create(function()
  839. for _ = 1, 5 do
  840. swait()
  841. b.Transparency = b.Transparency + 0.175
  842. c.Scale = c.Scale + Vector3.new(0.8 * dmg, 0.8 * dmg, 0.8 * dmg)
  843. end
  844. end))
  845. end
  846. end
  847. end
  848. end
  849. function animo(yep)
  850. if yep == true then
  851. anim.Parent = human
  852. chr.Animate.Disabled = false
  853. elseif yep == false then
  854. chr.Animate.Disabled = true
  855. anim.Parent = nil
  856. end
  857. end
  858. local down = false
  859. mouse.KeyDown:connect(function(key)
  860. down = true
  861. if key == "f" then
  862. gotagofast()
  863. end
  864. if key == "q" then
  865. qshoot()
  866. end
  867. if key == "z" then
  868. while down do
  869. swait(1)
  870. if #thedrawings > 0 then
  871. thedrawings[#thedrawings]:Destroy()
  872. table.remove(thedrawings, #thedrawings)
  873. end
  874. end
  875. end
  876. end)
  877. mouse.KeyUp:connect(function(key)
  878. down = false
  879. end)
  880. tool.Equipped:connect(function()
  881. selected = true
  882. end)
  883. tool.Unequipped:connect(function()
  884. selected = false
  885. end)
  886. function dispose()
  887. for i, v in pairs(getfenv(0)) do
  888. v = nil
  889. end
  890. error = nil
  891. print = nil
  892. warn = nil
  893. end
  894. human.Died:connect(dispose)
  895. chr.Changed:connect(function()
  896. if chr.Parent == nil then
  897. dispose()
  898. end
  899. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement