SHOW:
|
|
- or go back to the newest paste.
1 | - | -- Created by Nebula_Zorua -- |
1 | + | p = game.Players.LocalPlayer |
2 | - | -- Two invisible eyes.. |
2 | + | char = p.Character |
3 | - | -- Two, invisible, monsterous eyes.. |
3 | + | local char = p.Character |
4 | - | -- Discord: Nebula the Zorua#6969 |
4 | + | torso = char.Torso |
5 | - | -- Youtube: https://www.youtube.com/channel/UCo9oU9dCw8jnuVLuy4_SATA |
5 | + | neck = char.Torso.Neck |
6 | - | -- Credit to makhail07 for the idea (lub u bby) |
6 | + | hum = char.Humanoid |
7 | - | wait(1) |
7 | + | Player = game:GetService("Players").LocalPlayer |
8 | Character = Player.Character | |
9 | - | local S = setmetatable({},{__index = function(s,i) return game:service(i) end}) |
9 | + | tors = Character.Torso |
10 | root = Character.HumanoidRootPart | |
11 | - | local plr = S.Players.LocalPlayer |
11 | + | lleg = Character["Left Leg"] |
12 | - | local char = plr.Character |
12 | + | hed = Character.Head |
13 | - | local hum = char:FindFirstChildOfClass'Humanoid' |
13 | + | rleg = Character["Right Leg"] |
14 | - | local rarm = char["Right Arm"] |
14 | + | rarm = Character["Right Arm"] |
15 | - | local larm= char["Left Arm"] |
15 | + | larm = Character["Left Arm"] |
16 | - | local rleg= char["Right Leg"] |
16 | + | |
17 | - | local lleg = char["Left Leg"] |
17 | + | ypcall(function() |
18 | - | local root = char:FindFirstChild'HumanoidRootPart' |
18 | + | for i,v in pairs(Character:children()) do |
19 | - | local torso = char.Torso |
19 | + | if v:IsA("Hat") then |
20 | - | local head = char.Head |
20 | + | v:Destroy() |
21 | - | local sine = 0; |
21 | + | end |
22 | - | local combo = 1; |
22 | + | |
23 | - | local lastClick = time() |
23 | + | for i,v in pairs(Character:children()) do |
24 | - | local change = 1; |
24 | + | if v:IsA("Accessory") then |
25 | - | local runService = S.RunService |
25 | + | v:Destroy() |
26 | - | local mouse = plr:GetMouse() |
26 | + | end |
27 | - | local Attack = false |
27 | + | |
28 | - | local neutralAnims = true |
28 | + | for i,v in pairs(Character:children()) do |
29 | - | local GlitchTime = 0; |
29 | + | if v:IsA("Hair") then |
30 | - | local PaintBody = 'Black' |
30 | + | v:Destroy() |
31 | - | local DeleteClothing = true |
31 | + | end |
32 | - | local PlayerSize = 2 |
32 | + | |
33 | - | local Debounces = {Debounces={}} |
33 | + | |
34 | - | local Hit = {} |
34 | + | |
35 | - | local BloodPuddles = {} |
35 | + | CV="Hot pink" |
36 | - | local Teamed = {} |
36 | + | |
37 | - | hum.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None |
37 | + | local txt = Instance.new("BillboardGui", char) |
38 | - | hum.MaxHealth = 1e4 |
38 | + | txt.Adornee = char .Head |
39 | - | hum.Health = 1e4 |
39 | + | txt.Name = "_status" |
40 | - | hum.Name = '13' |
40 | + | txt.Size = UDim2.new(2, 0, 1.2, 0) |
41 | - | Instance.new("ForceField",char).Visible = false |
41 | + | txt.StudsOffset = Vector3.new(-9, 8, 0) |
42 | - | function Debounces:New(name,cooldown) |
42 | + | local text = Instance.new("TextLabel", txt) |
43 | - | local aaaaa = {Usable=true,Cooldown=cooldown or 2,CoolingDown=false,LastUse=0} |
43 | + | text.Size = UDim2.new(10, 0, 7, 0) |
44 | - | setmetatable(aaaaa,{__index = Debounces}) |
44 | + | text.FontSize = "Size24" |
45 | - | Debounces.Debounces[name] = aaaaa |
45 | + | text.TextScaled = true |
46 | - | return aaaaa |
46 | + | text.TextTransparency = 0 |
47 | text.BackgroundTransparency = 1 | |
48 | text.TextTransparency = 0 | |
49 | - | function Debounces:Use(overrideUsable) |
49 | + | text.TextStrokeTransparency = 0 |
50 | - | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") |
50 | + | text.Font = "Highway" |
51 | - | if(self.Usable or overrideUsable)then |
51 | + | text.TextStrokeColor3 = BrickColor.new("Really black").Color |
52 | - | self.Usable = false |
52 | + | |
53 | - | self.CoolingDown = true |
53 | + | v=Instance.new("Part") |
54 | - | local LastUse = time() |
54 | + | v.Name = "ColorBrick" |
55 | - | self.LastUse = LastUse |
55 | + | v.Parent=p.Character |
56 | - | delay(self.Cooldown or 2,function() |
56 | + | v.FormFactor="Symmetric" |
57 | - | if(self.LastUse == LastUse)then |
57 | + | v.Anchored=true |
58 | - | self.CoolingDown = false |
58 | + | v.CanCollide=false |
59 | - | self.Usable = true |
59 | + | v.BottomSurface="Smooth" |
60 | v.TopSurface="Smooth" | |
61 | - | end) |
61 | + | v.Size=Vector3.new(10,5,3) |
62 | v.Transparency=1 | |
63 | v.CFrame=char.Torso.CFrame | |
64 | v.BrickColor=BrickColor.new(CV) | |
65 | - | function Debounces:Get(name) |
65 | + | v.Transparency=1 |
66 | - | assert(typeof(name) == 'string',("bad argument #1 to 'get' (string expected, got %s)"):format(typeof(name) == nil and "no value" or typeof(name))) |
66 | + | text.TextColor3 = BrickColor.new("Really Black").Color |
67 | - | for i,v in next, Debounces.Debounces do |
67 | + | v.Shape="Block" |
68 | - | if(i == name)then |
68 | + | text.Text = "The Immortal god" |
69 | - | return v; |
69 | + | |
70 | hed.face.Texture = "http://www.roblox.com/asset/?id=0" | |
71 | hed.Transparency = 1 | |
72 | rleg.Transparency = 1 | |
73 | rarm.Transparency = 1 | |
74 | - | function Debounces:GetProgressPercentage() |
74 | + | larm.Transparency = 1 |
75 | - | assert(self.Usable ~= nil and self.LastUse ~= nil and self.CoolingDown ~= nil,"Expected ':' not '.' calling member function Use") |
75 | + | lleg.Transparency = 1 |
76 | - | if(self.CoolingDown and not self.Usable)then |
76 | + | tors.Transparency = 1 |
77 | - | return math.max( |
77 | + | |
78 | - | math.floor( |
78 | + | Player = game:GetService("Players").LocalPlayer |
79 | - | ( |
79 | + | Character = Player.Character |
80 | - | (time()-self.LastUse)/self.Cooldown or 2 |
80 | + | rarm = Character["Right Arm"] |
81 | - | )*100 |
81 | + | larm = Character["Left Arm"] |
82 | - | ) |
82 | + | vt = Vector3.new |
83 | - | ) |
83 | + | bc = BrickColor.new |
84 | - | else |
84 | + | wit = bc("Smokey grey").Color |
85 | - | return 100 |
85 | + | |
86 | local prth = Instance.new("Part",Character) | |
87 | prth.Size = vt(1.25,1.25,1.25) | |
88 | prth.CanCollide = false | |
89 | - | local CF = {N=CFrame.new,A=CFrame.Angles,fEA=CFrame.fromEulerAnglesXYZ} |
89 | + | prth.Material = "Neon" |
90 | - | local V3 = {N=Vector3.new} |
90 | + | prth.Transparency = 0.5 |
91 | - | local M = {C=math.cos,R=math.rad,S=math.sin,P=math.pi,RNG=math.random,MRS=math.randomseed,H=math.huge} |
91 | + | prth.BrickColor = bc("Smokey grey") |
92 | local wldh = Instance.new("Weld",Character) | |
93 | - | local Effects,Sounds = {},{}; |
93 | + | wldh.Part0 = hed |
94 | - | --Stop animations |
94 | + | wldh.Part1 = prth |
95 | - | for _,v in next, hum:GetPlayingAnimationTracks() do |
95 | + | |
96 | - | v:Stop(); |
96 | + | local prtrm = Instance.new("Part",Character) |
97 | prtrm.Size = vt(2.1,2.1,1.1) | |
98 | prtrm.CanCollide = false | |
99 | - | pcall(game.Destroy,char:FindFirstChild'Animate') |
99 | + | prtrm.Transparency = 0.5 |
100 | - | pcall(game.Destroy,hum:FindFirstChild'Animator') |
100 | + | prtrm.Material = "Neon" |
101 | prtrm.BrickColor = bc("Smokey grey") | |
102 | - | -- Sounds |
102 | + | local wldm = Instance.new("Weld",Character) |
103 | - | Sounds['Wet'] = {Id=256738023,Loop=false,Pitch=1} |
103 | + | wldm.Part0 = root |
104 | - | Sounds['Swoosh1'] = {Id=320557353,Loop=false,Pitch=1,Volume=6} |
104 | + | wldm.Part1 = prtrm |
105 | - | Sounds['Swoosh2'] = {Id=320557382,Loop=false,Pitch=1,Volume=6} |
105 | + | |
106 | - | Sounds['Swoosh3'] = {Id=320557413,Loop=false,Pitch=1,Volume=6} |
106 | + | local prtr = Instance.new("Part",Character) |
107 | - | Sounds['Swoosh4'] = {Id=320557453,Loop=false,Pitch=1,Volume=6} |
107 | + | prtr.Size = vt(1.1,2.1,1.1) |
108 | - | Sounds['Swoosh5'] = {Id=320557487,Loop=false,Pitch=1,Volume=6} |
108 | + | prtr.CanCollide = false |
109 | - | Sounds['Swoosh6'] = {Id=320557537,Loop=false,Pitch=1,Volume=6} |
109 | + | prtr.Transparency = 0.5 |
110 | - | Sounds['Swoosh7'] = {Id=320557563,Loop=false,Pitch=1,Volume=6} |
110 | + | prtr.Material = "Neon" |
111 | - | Sounds['Swoosh8'] = {Id=320557518,Loop=false,Pitch=1,Volume=6} |
111 | + | prtr.BrickColor = bc("Smokey grey") |
112 | - | Sounds['SmallBoom'] = {Id=341336485,Loop=false,Volume=5,Pitch=1} |
112 | + | local prtrl = Instance.new("Part",Character) |
113 | - | Sounds['ChaosBuster'] = {Id=333534812,Loop=false,Volume=5,Pitch=0.75} |
113 | + | prtrl.Size = vt(1.1,2.1,1.1) |
114 | - | Sounds['Magic'] = {Id=315743350,Loop=false,Volume=5,Pitch=1} |
114 | + | prtrl.CanCollide = false |
115 | - | Sounds['ShrekRemix'] = {Id=163306929,Loop=true,Pitch=1,Volume = 4} |
115 | + | prtrl.Transparency = 0.5 |
116 | - | Sounds['CreoDimension'] = {Id=927529620,Loop=true,Pitch=1,Volume=4} |
116 | + | prtrl.Material = "Neon" |
117 | - | Sounds['BlackBlizzard'] = {Id=657626121,Loop=true,Pitch=1,Volume=4} |
117 | + | prtrl.BrickColor = bc("Smokey grey") |
118 | - | Sounds['ColbreakzFantasy'] = {Id=876981900,Loop=true,Pitch=1,Volume=4} |
118 | + | local eff = Instance.new("ParticleEmitter",prtr) |
119 | - | Sounds['NeflCrystals'] = {Id=340106355,Loop=true,Pitch=1,Volume=4} |
119 | + | eff.LightEmission = 1 |
120 | - | Sounds['EvilMortyRemix'] = {Id=1057401232,Loop=true,Pitch=1,Volume=10} |
120 | + | eff.Texture = "rbxassetid://284205403" |
121 | - | Sounds['Astronaut13'] = {Id=723652641,Loop=true,Pitch=0.9,Volume=10} |
121 | + | eff.Color = ColorSequence.new(wit) |
122 | - | -- Functions |
122 | + | eff.Size = NumberSequence.new(0.5,1) |
123 | - | local NewInstance = function(instance,parent,properties) |
123 | + | eff.Acceleration = vt(0,25,0) |
124 | - | local inst = Instance.new(instance,parent) |
124 | + | eff.Speed = NumberRange.new(-5) |
125 | - | if(properties)then |
125 | + | eff.LockedToPart = false |
126 | - | for i,v in next, properties do |
126 | + | eff.Transparency = NumberSequence.new(0.95) |
127 | - | pcall(function() inst[i] = v end) |
127 | + | eff.Lifetime = NumberRange.new(0.5) |
128 | eff.Rate = 100000 | |
129 | eff.VelocitySpread = 25 | |
130 | - | return inst; |
130 | + | local wld = Instance.new("Weld",Character) |
131 | wld.Part0 = rarm | |
132 | wld.Part1 = prtr | |
133 | local wldl = Instance.new("Weld",Character) | |
134 | - | ArtificialHB = NewInstance("BindableEvent", script,{ |
134 | + | wldl.Part0 = rleg |
135 | - | Parent = script, |
135 | + | wldl.Part1 = prtrl |
136 | - | Name = "Heartbeat", |
136 | + | |
137 | - | }) |
137 | + | local prtr2 = Instance.new("Part",Character) |
138 | prtr2.Size = vt(1.1,2.1,1.1) | |
139 | - | script:WaitForChild("Heartbeat") |
139 | + | prtr2.CanCollide = false |
140 | prtr2.Transparency = 0.5 | |
141 | - | frame = 1 / 60 |
141 | + | prtr2.Material = "Neon" |
142 | - | tf = 0 |
142 | + | prtr2.BrickColor = bc("Deep orange") |
143 | - | allowframeloss = false |
143 | + | local prtrl2 = Instance.new("Part",Character) |
144 | - | tossremainder = false |
144 | + | prtrl2.Size = vt(1.1,2.1,1.1) |
145 | - | lastframe = tick() |
145 | + | prtrl2.CanCollide = false |
146 | - | script.Heartbeat:Fire() |
146 | + | prtrl2.Transparency = 0.5 |
147 | prtrl2.Material = "Neon" | |
148 | - | game:GetService("RunService").Heartbeat:connect(function(s, p) |
148 | + | prtrl2.BrickColor = bc("Smokey grey") |
149 | - | tf = tf + s |
149 | + | local eff2 = Instance.new("ParticleEmitter",prtr2) |
150 | - | if tf >= frame then |
150 | + | eff2.LightEmission = 1 |
151 | - | if allowframeloss then |
151 | + | eff2.Texture = "rbxassetid://284205403" |
152 | - | script.Heartbeat:Fire() |
152 | + | eff2.Color = ColorSequence.new(wit) |
153 | - | lastframe = tick() |
153 | + | eff2.Size = NumberSequence.new(0.5,1) |
154 | eff2.Acceleration = vt(0,25,0) | |
155 | - | for i = 1, math.floor(tf / frame) do |
155 | + | eff2.Speed = NumberRange.new(-5) |
156 | - | script.Heartbeat:Fire() |
156 | + | eff2.LockedToPart = false |
157 | eff2.Transparency = NumberSequence.new(0.95) | |
158 | - | lastframe = tick() |
158 | + | eff2.Lifetime = NumberRange.new(0.5) |
159 | eff2.Rate = 100000 | |
160 | - | if tossremainder then |
160 | + | eff2.VelocitySpread = 25 |
161 | - | tf = 0 |
161 | + | local wld2 = Instance.new("Weld",Character) |
162 | wld2.Part0 = larm | |
163 | - | tf = tf - frame * math.floor(tf / frame) |
163 | + | wld2.Part1 = prtr2 |
164 | local wldl2 = Instance.new("Weld",Character) | |
165 | wldl2.Part0 = lleg | |
166 | wldl2.Part1 = prtrl2 | |
167 | ||
168 | - | function swait(num) |
168 | + | local mouse = game.Players.LocalPlayer:GetMouse() |
169 | - | if num == 0 or num == nil then |
169 | + | tors = game.Players.LocalPlayer.Character.Torso |
170 | - | ArtificialHB.Event:wait() |
170 | + | vt = Vector3.new |
171 | - | else |
171 | + | bc = BrickColor.new |
172 | - | for i = 0, num do |
172 | + | |
173 | - | ArtificialHB.Event:wait() |
173 | + | local Effect = Instance.new("Part",game.Lighting) |
174 | Effect.BrickColor = bc("Smokey grey") | |
175 | Effect.Transparency = 1 | |
176 | Effect.Anchored = true | |
177 | Effect.CanCollide = false | |
178 | - | function ClearChildrenWithClass(where,class,recursive) |
178 | + | Effect.Material = "Neon" |
179 | - | local children = (recursive and where:GetDescendants() or where:GetChildren()) |
179 | + | Effect.Shape = "Ball" |
180 | - | for _,v in next, children do |
180 | + | Effect.Size = vt(5,5,5) |
181 | - | if(v:IsA(class))then |
181 | + | local fire1 = Instance.new("Fire",Effect) |
182 | - | v:destroy() |
182 | + | fire1.Name = "Fire" |
183 | fire1.Heat = 0 | |
184 | fire1.Size = 30 | |
185 | fire1.SecondaryColor = bc("Really black").Color | |
186 | - | function clerp(startCF,endCF,alpha) |
186 | + | fire1.Color = bc("Deep orange").Color |
187 | - | return startCF:lerp(endCF, alpha) |
187 | + | local fire2 = Instance.new("Fire",Effect) |
188 | fire2.Name = "Fire2" | |
189 | - | local sndFromData = function(data,parent) |
189 | + | fire2.Heat = 0 |
190 | - | assert(typeof(data) == 'table',"sndFromData's first argument must be a table!") |
190 | + | fire2.Size = 25 |
191 | - | local snd = NewInstance("Sound",parent or char,{SoundId = "rbxassetid://"..data.Id,Looped=data.Loop or false,Pitch = data.Pitch or 1,Volume = data.Volume or 1}) |
191 | + | fire2.SecondaryColor = bc("Really black").Color |
192 | - | if(not snd.Looped)then |
192 | + | fire2.Color = bc("Neon orange").Color |
193 | - | snd.Ended:connect(function() |
193 | + | |
194 | - | snd:Stop() |
194 | + | function Explode(rad,par) |
195 | - | snd:destroy() |
195 | + | local expart = Instance.new("Part",script.Parent) |
196 | - | end) |
196 | + | local expart2 = Instance.new("Part",script.Parent) |
197 | local snd = Instance.new("Sound",expart) | |
198 | - | return snd; |
198 | + | snd.SoundId = "rbxassetid://258057783" |
199 | snd.Volume = 2.5 | |
200 | local partMesh = Instance.new("SpecialMesh",expart) | |
201 | - | local FX = function(ID,vol,pitch,parent) |
201 | + | partMesh.MeshType = "Sphere" |
202 | - | local snd = NewInstance("Sound",parent or torso, {Pitch=pitch or 1, Volume = vol or 1,SoundId = "rbxassetid://"..ID}) |
202 | + | local partMesh2 = Instance.new("SpecialMesh",expart2) |
203 | partMesh2.MeshType = "Sphere" | |
204 | - | repeat wait() until snd.IsLoaded and snd.IsPlaying |
204 | + | local expld = Instance.new("Explosion", script.Parent) |
205 | - | delay(snd.TimePosition+.5,function() |
205 | + | expld.BlastRadius = rad |
206 | - | snd:Stop() |
206 | + | expld.Position = par.Position |
207 | - | snd:Destroy() |
207 | + | partMesh.Scale = vt(rad,rad,rad) |
208 | - | end) |
208 | + | expart.Size = vt(1,1,1)*1.5 |
209 | expart.Transparency = 0.5 | |
210 | expart.Anchored = true | |
211 | - | function Fragment(part,number,delayE) |
211 | + | expart.Material = "Neon" |
212 | - | part.Anchored = true |
212 | + | expart.BrickColor = bc("Smokey grey") |
213 | - | local Fragments = NewInstance("Folder",part.Parent,{Name='Fragmentation'}) |
213 | + | expart.CFrame = par.CFrame |
214 | - | local Size = V3.N(part.Size.X/number,part.Size.Y/number,part.Size.Z/number) |
214 | + | partMesh2.Scale = vt(rad,rad,rad) |
215 | - | local Start = CF.N((part.CFrame.X-part.Size.X/2) + Size.X/2,(part.CFrame.Y-part.Size.Y/2) + Size.Y/2,(part.CFrame.Z-part.Size.Z/2) + Size.Z/2) |
215 | + | expart2.Size = vt(1.15,1.15,1.15)*1.5 |
216 | - | for x = 0, number-1 do |
216 | + | expart2.Transparency = 0.5 |
217 | - | for y = 0, number-1 do |
217 | + | expart2.Anchored = true |
218 | - | for z = 0, number-1 do |
218 | + | expart2.Material = "Neon" |
219 | - | local frag = NewInstance('Part',Fragments,{Anchored=true,Size=Size,BrickColor=part.BrickColor,Material=part.Material,Transparency=part.Transparency,Reflectance=part.Reflectance,CanCollide=true,CFrame=CF.N(Start.X+x*Size.X,Start.Y+y*Size.Y,Start.Z+z*Size.Z)}) |
219 | + | expart2.BrickColor = bc("Bright orange") |
220 | - | if(delayE ~= false)then swait(delayE or nil) end |
220 | + | expart2.CFrame = par.CFrame |
221 | snd:Play() | |
222 | for i = 0, 100 do | |
223 | expart.Transparency = expart.Transparency + 0.005 | |
224 | - | part:destroy() |
224 | + | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) |
225 | - | return Fragments |
225 | + | expart.CFrame = expart.CFrame |
226 | expart2.Transparency = expart.Transparency + 0.005 | |
227 | - | function halfit(v) |
227 | + | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) |
228 | - | v:ClearAllChildren() |
228 | + | expart2.CFrame = expart.CFrame |
229 | - | v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2) |
229 | + | wait(0) |
230 | - | v.Name = v.Name.."Half" |
230 | + | |
231 | - | |
231 | + | snd.Parent = nil |
232 | - | local a = v:Clone() |
232 | + | expart.Parent = nil |
233 | - | a.Parent = v.Parent |
233 | + | expart2.Parent = nil |
234 | - | a.CFrame = CF.N(1,1,-.5) * v.CFrame |
234 | + | expld.Parent = nil |
235 | - | v.CFrame = CF.N(1,1,.5) * v.CFrame |
235 | + | |
236 | - | return a,v |
236 | + | |
237 | function Explode2(rad,par) | |
238 | local expart = Instance.new("Part",script.Parent) | |
239 | - | function Fragment2(v) |
239 | + | local expart2 = Instance.new("Part",script.Parent) |
240 | - | v:ClearAllChildren() |
240 | + | local snd = Instance.new("Sound",expart) |
241 | - | local Fragments = NewInstance("Folder",v.Parent,{Name='Fragmentation'}) |
241 | + | snd.SoundId = "rbxassetid://165969964" |
242 | - | v.Archivable = true |
242 | + | snd.Volume = 3 |
243 | - | -- X |
243 | + | local partMesh = Instance.new("SpecialMesh",expart) |
244 | - | v.Size = Vector3.new(v.Size.x/2,v.Size.y,v.Size.z) |
244 | + | partMesh.MeshType = "Sphere" |
245 | - | v.Name = v.Name.."Fragment" |
245 | + | local partMesh2 = Instance.new("SpecialMesh",expart2) |
246 | - | |
246 | + | partMesh2.MeshType = "Sphere" |
247 | - | local a = v:Clone() |
247 | + | local expld = Instance.new("Explosion", script.Parent) |
248 | - | a.Parent = Fragments |
248 | + | expld.BlastRadius = rad |
249 | - | a.CFrame = CF.N(-.5,1,1) * a.CFrame |
249 | + | expld.Position = par.Position |
250 | - | v.CFrame = CF.N(.5,1,1) * v.CFrame |
250 | + | partMesh.Scale = vt(rad,rad,rad) |
251 | - | -- Y |
251 | + | expart.Size = vt(1,1,1)*1.5 |
252 | - | v.Size = Vector3.new(v.Size.x,v.Size.y/2,v.Size.z) |
252 | + | expart.Transparency = 0.5 |
253 | - | |
253 | + | expart.Anchored = true |
254 | - | local a = v:Clone() |
254 | + | expart.Material = "Neon" |
255 | - | a.Parent = Fragments |
255 | + | expart.BrickColor = bc("Smokey grey") |
256 | - | a.CFrame = CF.N(1,-.5,1) * a.CFrame |
256 | + | expart.CFrame = par.CFrame |
257 | - | v.CFrame = CF.N(1,.5,1) * v.CFrame |
257 | + | partMesh2.Scale = vt(rad,rad,rad) |
258 | - | -- Z |
258 | + | expart2.Size = vt(1.15,1.15,1.15)*1.5 |
259 | - | v.Size = Vector3.new(v.Size.x,v.Size.y,v.Size.z/2) |
259 | + | expart2.Transparency = 0.5 |
260 | - | |
260 | + | expart2.Anchored = true |
261 | - | local a = v:Clone() |
261 | + | expart2.Material = "Neon" |
262 | - | a.Parent = Fragments |
262 | + | expart2.BrickColor = bc("Bright orange") |
263 | - | a.CFrame = CF.N(1,1,-.5) * a.CFrame |
263 | + | expart2.CFrame = par.CFrame |
264 | - | v.CFrame = CF.N(1,1,.5) * v.CFrame |
264 | + | |
265 | - | |
265 | + | for i = 0, 100 do |
266 | - | v.Parent = Fragments |
266 | + | expart.Transparency = expart.Transparency + 0.005 |
267 | - | return Fragments |
267 | + | partMesh.Scale = partMesh.Scale + vt(0.25,0.25,0.25) |
268 | expart.CFrame = expart.CFrame | |
269 | - | function UnbindLoops() |
269 | + | expart2.Transparency = expart.Transparency + 0.005 |
270 | - | pcall(runService.UnbindFromRenderStep,runService,"N_Effects") |
270 | + | partMesh2.Scale = partMesh2.Scale + vt(0.25,0.25,0.25) |
271 | - | pcall(runService.UnbindFromRenderStep,runService,"N_Animations") |
271 | + | expart2.CFrame = expart.CFrame |
272 | - | end; |
272 | + | wait(0) |
273 | end | |
274 | - | UnbindLoops() -- Just so if the loops already exist from previously running a script using this template, there's no errors |
274 | + | snd.Parent = nil |
275 | expart.Parent = nil | |
276 | - | -- Model |
276 | + | expart2.Parent = nil |
277 | expld.Parent = nil | |
278 | - | game:service'Lighting'.FogEnd = 100 |
278 | + | |
279 | - | game:service'Lighting'.FogStart = 0 |
279 | + | |
280 | - | game:service'Lighting'.FogColor = BrickColor.new'Black'.Color |
280 | + | |
281 | - | game:service'Lighting'.ClockTime = 22 |
281 | + | |
282 | k = k:lower() | |
283 | - | local Sky = Instance.new("Sky",game:service'Lighting') |
283 | + | if k == "q" then |
284 | - | Sky.MoonAngularSize = 30 |
284 | + | local spart = Effect:Clone() |
285 | - | Sky.MoonTextureId = "http://www.roblox.com/asset/?id=156679858" |
285 | + | spart.Parent = game.Players.LocalPlayer.Character |
286 | spart.Transparency = 0 | |
287 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*5 | |
288 | - | local Music = sndFromData(Sounds.Astronaut13,torso) -- incase u want music |
288 | + | wait() |
289 | - | Music.MaxDistance = 500 |
289 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*15 |
290 | - | Music:Play() |
290 | + | wait() |
291 | - | local Distorted = NewInstance("EqualizerSoundEffect",Music,{MidGain=0,HighGain=0,LowGain=0}) |
291 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*25 |
292 | - | ClearChildrenWithClass(char,"Decal",true) |
292 | + | wait() |
293 | - | ClearChildrenWithClass(char,"Clothing",true) |
293 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*35 |
294 | wait() | |
295 | - | -- Joints, etc |
295 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*45 |
296 | - | if(PaintBody)then |
296 | + | wait() |
297 | - | char['Body Colors'].LeftArmColor = BrickColor.new(PaintBody) |
297 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*55 |
298 | - | char['Body Colors'].RightArmColor = BrickColor.new(PaintBody) |
298 | + | wait() |
299 | - | char['Body Colors'].LeftLegColor = BrickColor.new(PaintBody) |
299 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*65 |
300 | - | char['Body Colors'].RightLegColor = BrickColor.new(PaintBody) |
300 | + | wait() |
301 | - | char['Body Colors'].TorsoColor = BrickColor.new(PaintBody) |
301 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*75 |
302 | - | char['Body Colors'].HeadColor = BrickColor.new(PaintBody) |
302 | + | wait() |
303 | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*85 | |
304 | wait() | |
305 | - | local FT,RA,LA,RL,LL = Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh"),Instance.new("SpecialMesh") |
305 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*95 |
306 | - | FT.MeshId,FT.Scale = "rbxasset://fonts/torso.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) |
306 | + | wait() |
307 | - | RA.MeshId,RA.Scale = "rbxasset://fonts/rightarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) |
307 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*105 |
308 | - | LA.MeshId,LA.Scale = "rbxasset://fonts/leftarm.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) |
308 | + | spart.Transparency = 1 |
309 | - | RL.MeshId,RL.Scale = "rbxasset://fonts/rightleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) |
309 | + | spart.Fire2:Destroy() |
310 | - | LL.MeshId,LL.Scale = "rbxasset://fonts/leftleg.mesh",V3.N(PlayerSize,PlayerSize,PlayerSize) |
310 | + | spart.Fire:Destroy() |
311 | Explode(25,spart) | |
312 | - | if(PlayerSize ~= 1)then |
312 | + | spart:Destroy() |
313 | - | for _,v in next, char:GetDescendants() do |
313 | + | |
314 | - | if(v:IsA'BasePart')then |
314 | + | if k == "e" then |
315 | - | v.Size = v.Size * PlayerSize |
315 | + | local spart = Effect:Clone() |
316 | spart.Parent = game.Players.LocalPlayer.Character | |
317 | spart.Transparency = 0 | |
318 | spart.Anchored = false | |
319 | - | |
319 | + | spart.Position = game.Players.LocalPlayer.Character.Torso.Position + game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*0 |
320 | - | local LS = NewInstance('Motor',char,{Part0=torso,Part1=larm,C0 = CF.N(-1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) |
320 | + | spart.Position = spart.Position + vt(0,100,0) |
321 | - | local RS = NewInstance('Motor',char,{Part0=torso,Part1=rarm,C0 = CF.N(1.5 * PlayerSize,0.5 * PlayerSize,0),C1 = CF.N(0,.5 * PlayerSize,0)}) |
321 | + | spart.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*150 |
322 | - | local NK = NewInstance('Motor',char,{Part0=torso,Part1=head,C0 = CF.N(0,1.5 * PlayerSize,0)}) |
322 | + | wait(1) |
323 | - | local LH = NewInstance('Motor',char,{Part0=torso,Part1=lleg,C0 = CF.N(-.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) |
323 | + | spart.Transparency = 1 |
324 | - | local RH = NewInstance('Motor',char,{Part0=torso,Part1=rleg,C0 = CF.N(.5 * PlayerSize,-1 * PlayerSize,0),C1 = CF.N(0,1 * PlayerSize,0)}) |
324 | + | spart.Fire2:Destroy() |
325 | - | local RJ = NewInstance('Motor',char,{Part0=root,Part1=torso}) |
325 | + | spart.Fire:Destroy() |
326 | - | --local HW = NewInstance('Motor',char,{Part0=rarm,Part1=Handle,C0 = CF.N(0,.5,0)}) |
326 | + | Explode2(75,spart) |
327 | - | -- watevr |
327 | + | spart:Destroy() |
328 | end | |
329 | - | -- Default C0s |
329 | + | if k == "r" then |
330 | - | local LSD=LS.C0 |
330 | + | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) |
331 | - | local RSD=RS.C0 |
331 | + | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*275 |
332 | - | local HD=NK.C0 |
332 | + | wait(0.75) |
333 | - | local TD=RJ.C0 |
333 | + | game.Players.LocalPlayer.Character.Torso.Velocity = game.Players.LocalPlayer.Character.Torso.CFrame.lookVector*-165 |
334 | - | local LHD=LH.C0 |
334 | + | Explode(30,game.Players.LocalPlayer.Character.Torso) |
335 | - | local RHD=RH.C0 |
335 | + | wait(0.5) |
336 | ff:Destroy() | |
337 | - | -- Check State |
337 | + | |
338 | - | function CheckState(rPart) |
338 | + | if k == "f" then |
339 | - | if(math.abs(rPart.Velocity.x) > 2 or math.abs(rPart.Velocity.z) > 2)then |
339 | + | local ff = Instance.new("ForceField",game.Players.LocalPlayer.Character) |
340 | - | return 'Walk'; |
340 | + | for i = 0, 10 do |
341 | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,10,0) | |
342 | - | return 'Idle'; |
342 | + | wait(0) |
343 | end | |
344 | for i = 0, 5 do | |
345 | - | -- Effect Functions |
345 | + | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,1,0) |
346 | - | function SphereFX(duration,color,scale,pos,endScale) |
346 | + | wait(0) |
347 | - | local rng = Instance.new("Part", char) |
347 | + | end |
348 | - | rng.Anchored = true |
348 | + | game.Players.LocalPlayer.Character.Torso.Anchored = true |
349 | - | rng.BrickColor = color |
349 | + | wait(1.5) |
350 | - | rng.CanCollide = false |
350 | + | game.Players.LocalPlayer.Character.Torso.Anchored = false |
351 | - | rng.FormFactor = 3 |
351 | + | for i = 0, 10 do |
352 | - | rng.Name = "Ring" |
352 | + | game.Players.LocalPlayer.Character.Torso.CFrame = game.Players.LocalPlayer.Character.Torso.CFrame + Vector3.new(0,-1,0) |
353 | - | rng.Size = Vector3.new(1,1,1) |
353 | + | wait(0) |
354 | - | rng.Transparency = 0 |
354 | + | end |
355 | - | rng.TopSurface = 0 |
355 | + | wait(0.25) |
356 | - | rng.BottomSurface = 0 |
356 | + | Explode2(62.5,game.Players.LocalPlayer.Character.Torso) |
357 | - | rng.CFrame = pos |
357 | + | wait(0.5) |
358 | - | local rngm = Instance.new("SpecialMesh", rng) |
358 | + | ff:Destroy() |
359 | - | rngm.MeshType = "Sphere" |
359 | + | |
360 | - | rngm.Scale = scale |
360 | + | |
361 | - | table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos}) |
361 | + | plr = game.Players.LocalPlayer |
362 | - | return rng |
362 | + | mouse = plr:GetMouse() |
363 | part = nil | |
364 | bp = nil | |
365 | - | function BlastFX(duration,color,scale,pos,endScale) |
365 | + | particles = nil |
366 | - | local rng = Instance.new("Part", char) |
366 | + | function clerp(a,b,c,d) |
367 | - | rng.Anchored = true |
367 | + | for i = 0,d,.01 do |
368 | - | rng.BrickColor = color |
368 | + | a.CFrame = CFrame.new(b:lerp(c,i)) |
369 | - | rng.CanCollide = false |
369 | + | wait() |
370 | - | rng.FormFactor = 3 |
370 | + | |
371 | - | rng.Name = "Ring" |
371 | + | |
372 | - | rng.Size = Vector3.new(1,1,1) |
372 | + | function slerp(a2,b2,c2,d2) |
373 | - | rng.Transparency = 0 |
373 | + | for i2 = 0,d2,.01 do |
374 | - | rng.TopSurface = 0 |
374 | + | a2.CFrame = CFrame.new(b2:lerp(c2,i2)) |
375 | - | rng.BottomSurface = 0 |
375 | + | wait() |
376 | - | rng.CFrame = pos |
376 | + | |
377 | - | local rngm = Instance.new("SpecialMesh", rng) |
377 | + | |
378 | - | rngm.MeshType = "FileMesh" |
378 | + | mouse.KeyDown:connect(function(key) |
379 | - | rngm.MeshId = 'rbxassetid://20329976' |
379 | + | if key == "e" and plr.Character.Parent == workspace then |
380 | - | rngm.Scale = scale |
380 | + | plr.Character.Parent = workspace.Camera |
381 | - | table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos}) |
381 | + | plr.Character.Archivable = true |
382 | - | return rng |
382 | + | Instance.new("ForceField",plr.Character).Visible = false |
383 | for y,t in pairs(plr.Character:GetChildren()) do | |
384 | if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then | |
385 | - | function BlockFX(duration,color,scale,pos,endScale) |
385 | + | t.Transparency = 0.5 |
386 | - | local rng = Instance.new("Part", char) |
386 | + | if t.Name == "Head" and t:FindFirstChild("face") then |
387 | - | rng.Anchored = true |
387 | + | t.face.Transparency = 1 |
388 | - | rng.BrickColor = color |
388 | + | |
389 | - | rng.CanCollide = false |
389 | + | elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then |
390 | - | rng.FormFactor = 3 |
390 | + | t.Handle.Transparency = 1 |
391 | - | rng.Name = "Ring" |
391 | + | |
392 | - | rng.Size = Vector3.new(1,1,1) |
392 | + | |
393 | - | rng.Transparency = 0 |
393 | + | elseif key == "z" and plr.Character.Parent == workspace.Camera and part == nil then |
394 | - | rng.TopSurface = 0 |
394 | + | plr.Character.Torso.CFrame = CFrame.new(Vector3.new(mouse.hit.p.X,mouse.hit.p.Y+1.5,mouse.hit.p.Z),plr.Character.Torso.CFrame.p) |
395 | - | rng.BottomSurface = 0 |
395 | + | elseif key == "x" and plr.Character.Parent == workspace.Camera and part == nil then |
396 | - | rng.CFrame = pos |
396 | + | if plr.Character.Torso.Anchored == true then |
397 | - | local rngm = Instance.new("BlockMesh", rng) |
397 | + | for y,t in pairs(plr.Character:GetChildren()) do |
398 | - | rngm.Scale = scale |
398 | + | if t:IsA("Part") then |
399 | - | table.insert(Effects, {Frame = 0, Effect="Block", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos}) |
399 | + | t.Anchored = false |
400 | - | return rng |
400 | + | |
401 | end | |
402 | else | |
403 | - | function LaserFX(duration,color,cframe,scale,endScale) |
403 | + | for y,t in pairs(plr.Character:GetChildren()) do |
404 | - | local rng = Instance.new("Part", char) |
404 | + | if t:IsA("Part") then |
405 | - | rng.Anchored = true |
405 | + | t.Anchored = true |
406 | - | rng.BrickColor = color |
406 | + | |
407 | - | rng.CanCollide = false |
407 | + | |
408 | - | rng.FormFactor = 3 |
408 | + | |
409 | - | rng.Material = Enum.Material.Neon |
409 | + | elseif key == "c" and plr.Character.Parent == workspace.Camera and part ~= nil then |
410 | - | rng.Name = "Laser" |
410 | + | local clone = part:Clone() |
411 | - | rng.Size = Vector3.new(.5,.5,.5) |
411 | + | clone.Parent = workspace |
412 | - | rng.Transparency = 0 |
412 | + | clone.Anchored = false |
413 | - | rng.TopSurface = 0 |
413 | + | clone:ClearAllChildren() |
414 | - | rng.BottomSurface = 0 |
414 | + | clone.CanCollide = true |
415 | - | rng.CFrame = cframe |
415 | + | bp.Parent = clone |
416 | - | local rngm = Instance.new("CylinderMesh", rng) |
416 | + | particles.Parent = clone |
417 | - | rngm.Scale = scale |
417 | + | if part.Parent:FindFirstChildOfClass("Humanoid") then |
418 | - | table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = cframe}) |
418 | + | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false |
419 | - | return rng |
419 | + | |
420 | part:Destroy() | |
421 | part = clone | |
422 | elseif key == "t" and plr.Character.Parent == workspace.Camera and part == nil then | |
423 | - | function BloodDrop(pos,dir,maxsize) |
423 | + | plr.Character.Parent = workspace |
424 | - | local owo = NewInstance("Part",char,{Material=BloodMaterial,BrickColor=BloodColor,Shape=Enum.PartType.Ball,Size=V3.N(.25,.25,.25), CanCollide = false}) |
424 | + | plr.Character.Archivable = false |
425 | - | owo.CFrame=CF.N(pos,dir) |
425 | + | plr.Character:FindFirstChildOfClass("ForceField"):Remove() |
426 | - | local bv = Instance.new("BodyVelocity",owo) |
426 | + | for y,t in pairs(plr.Character:GetChildren()) do |
427 | - | bv.maxForce = Vector3.new(1e9, 1e9, 1e9) |
427 | + | if t:IsA("Part") and t.Name ~= "HumanoidRootPart" then |
428 | - | bv.velocity = CF.N(pos,dir+V3.N(M.RNG(-3,3)/30,M.RNG(-3,3)/30,M.RNG(-3,3)/30)).lookVector*15 |
428 | + | t.Transparency = 0 |
429 | - | bv.Name = "MOVE" |
429 | + | if t.Name == "Head" and t:FindFirstChild("face") then |
430 | - | game:service'Debris':AddItem(bv,0.05) |
430 | + | t.face.Transparency = 0 |
431 | - | local touch |
431 | + | |
432 | - | touch = owo.Touched:connect(function(hit) |
432 | + | elseif t:IsA("Accessory") and t:FindFirstChild("Handle") then |
433 | - | if(hit.Anchored==true)then |
433 | + | t.Handle.Transparency = 0 |
434 | - | touch:disconnect() |
434 | + | |
435 | - | BloodPuddle(owo.Position+V3.N(0,1,0),10,maxsize,owo) |
435 | + | |
436 | - | owo:destroy() |
436 | + | |
437 | end) | |
438 | - | end) |
438 | + | mouse.Button1Down:connect(function() |
439 | if plr.Character.Parent == workspace.Camera then | |
440 | - | function BloodPuddle(position,range,maxSize,where) |
440 | + | if mouse ~= nil then |
441 | - | local hit, pos, norm = workspace:FindPartOnRayWithIgnoreList(Ray.new( |
441 | + | if mouse.Target ~= nil then |
442 | - | position,CF.N(position,position+V3.N(0,-1,0)).lookVector * range |
442 | + | part = mouse.Target |
443 | - | ),{where,char},false,true) |
443 | + | bp = Instance.new("BodyPosition",part) |
444 | - | if(hit)then |
444 | + | bp.MaxForce = Vector3.new(math.huge,math.huge,math.huge) |
445 | - | if(BloodPuddles[hit])then |
445 | + | bp.Position = part.Position |
446 | - | BloodPuddles[hit].Frame = 0 |
446 | + | particles = Instance.new("ParticleEmitter",part) |
447 | - | if(hit:FindFirstChild'CylinderMesh' and hit.CylinderMesh.Scale.Z < BloodPuddles[hit].MaxSize)then |
447 | + | particles.Color = ColorSequence.new(Color3.new(255, 255, 255)) |
448 | - | hit.CylinderMesh.Scale = hit.CylinderMesh.Scale + V3.N(.1,0,.1) |
448 | + | particles.Size = NumberSequence.new(20) |
449 | particles.Texture = "rbxassetid://522606102" | |
450 | particles.VelocitySpread = 360 | |
451 | - | local Puddle = NewInstance('Part',workspace,{Material=BloodMaterial,BrickColor=BloodColor,Size=V3.N(1,.1,1),CFrame=CF.N(pos,pos+norm)*CF.A(90*M.P/180,0,0),Anchored=true,CanCollide=false,Archivable=false,Locked=true,Name='BloodPuddle'}) |
451 | + | particles.Speed = NumberRange.new(0) |
452 | - | local Cyl = NewInstance('CylinderMesh',Puddle,{Name='CylinderMesh'}) |
452 | + | particles.RotSpeed = NumberRange.new(0) |
453 | - | BloodPuddles[Puddle] = {MaxSize=maxSize or 7,Frame=0} |
453 | + | particles.Rotation = NumberRange.new(0) |
454 | particles.Rate = 250 | |
455 | particles.Lifetime = NumberRange.new(1.5, 3.75) | |
456 | particles.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(.12,.688,0),NumberSequenceKeypoint.new(.891,.887,0),NumberSequenceKeypoint.new(1,1,0)}) | |
457 | dwn = true | |
458 | end | |
459 | - | function ShatterFX(duration,color,scale,cframe) |
459 | + | |
460 | - | local rng = Instance.new("Part", char) |
460 | + | while dwn == true do |
461 | - | rng.Anchored = true |
461 | + | wait() |
462 | - | rng.BrickColor = color |
462 | + | bp.Position = mouse.hit.p |
463 | - | rng.CanCollide = false |
463 | + | if part then |
464 | - | rng.FormFactor = 3 |
464 | + | if part.Parent:FindFirstChildOfClass("Humanoid") then |
465 | - | rng.Name = "Ring" |
465 | + | part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = true |
466 | - | rng.Size = Vector3.new(1,1,1) |
466 | + | |
467 | - | rng.Transparency = 0 |
467 | + | |
468 | - | rng.TopSurface = 0 |
468 | + | |
469 | - | rng.BottomSurface = 0 |
469 | + | |
470 | - | rng.CFrame = cframe * CF.fEA(M.RNG(-50, 50), M.RNG(-50, 50), M.RNG(-50, 50)) |
470 | + | |
471 | - | local rngm = Instance.new("SpecialMesh", rng) |
471 | + | mouse.Button1Up:connect(function() |
472 | - | rngm.Scale = scale |
472 | + | dwn = false |
473 | - | rngm.MeshType = "Sphere" |
473 | + | if part then if part.Parent:FindFirstChildOfClass("Humanoid") then part.Parent:FindFirstChildOfClass("Humanoid").PlatformStand = false end part = nil end |
474 | - | table.insert(Effects, {Frame = 0, Effect="Shatter", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale,Position=rng.CFrame}) |
474 | + | if bp then bp:Destroy() end |
475 | if particles then particles:Destroy() end | |
476 | end) | |
477 | - | function RingFX(duration,color,scale,pos,endScale) |
477 | + | base = Instance.new("ScreenGui",plr.PlayerGui) |
478 | - | local type = type |
478 | + | bbg = Instance.new("BillboardGui",plr.Character.Head) |
479 | - | local rng = Instance.new("Part", char) |
479 | + | bbg.Size = UDim2.new(0,200,0,50) |
480 | - | rng.Anchored = true |
480 | + | bbg.StudsOffset = Vector3.new(0,3,0) |
481 | - | rng.BrickColor = color |
481 | + | bbgTl = Instance.new("TextLabel",bbg) |
482 | - | rng.CanCollide = false |
482 | + | bbgTl.BackgroundTransparency = 1 |
483 | - | rng.FormFactor = 3 |
483 | + | bbgTl.Size = UDim2.new(10,0,1,0) |
484 | - | rng.Name = "Ring" |
484 | + | bbgTl.Position = UDim2.new(-4.5,0,0,0) |
485 | - | rng.Size = Vector3.new(1,1,1) |
485 | + | bbgTl.Font = "Code" |
486 | - | rng.Transparency = 0 |
486 | + | bbgTl.Text = " " |
487 | - | rng.TopSurface = 0 |
487 | + | bbgTl.TextSize = 70 |
488 | - | rng.BottomSurface = 0 |
488 | + | bbgTl.TextStrokeColor3 = Color3.new(1,1,1) |
489 | - | rng.CFrame = pos |
489 | + | bbgTl.TextColor3 = Color3.new(201,201,201) |
490 | - | local rngm = Instance.new("SpecialMesh", rng) |
490 | + | bbgTl.TextStrokeTransparency = 0 |
491 | - | rngm.MeshId = "rbxassetid://3270017" |
491 | + | bbgTl.TextWrapped = true |
492 | - | rngm.Scale = scale |
492 | + | plr.Chatted:connect(function(msg) |
493 | - | table.insert(Effects, {Frame = 0, Effect="Sphere", Duration = duration or 30, Part=rng, Mesh = rngm, Scale = scale, EndScale = endScale or scale*2, Position = pos}) |
493 | + | bbgTl.Text = msg |
494 | - | return rng |
494 | + | wait(5) |
495 | if bbgTl.Text == msg then | |
496 | bbgTl.Text = " " | |
497 | - | function Shoot(StartCF,EndCF,Spread,Speed,Num,Color,Drop,MinDamage,MaxDamage) |
497 | + | |
498 | - | local Spread = V3.N(M.RNG(-Spread,Spread),M.RNG(-Spread,Spread),M.RNG(-Spread,Spread)) |
498 | + | |
499 | - | local Start = StartCF.p |
499 | + | touchCounter = 0 |
500 | - | local End = EndCF.p |
500 | + | while wait() do |
501 | - | local SpreadPos = End + Spread |
501 | + | if plr.Character.Parent == workspace.Camera then |
502 | - | local Look = CF.N((Start + SpreadPos) / 2, SpreadPos) |
502 | + | local c = plr.Character:Clone() |
503 | - | local Count = Num |
503 | + | c:MakeJoints() |
504 | - | spawn(function() |
504 | + | for y,t in pairs(c:GetChildren()) do |
505 | - | repeat |
505 | + | if t:IsA("Part") then |
506 | - | wait() |
506 | + | t.CanCollide = false |
507 | - | local hit, pos = workspace:findPartOnRay(Ray.new( |
507 | + | t.Anchored = true |
508 | - | Start,(Look.lookVector).unit * Speed |
508 | + | t.Transparency = 0.8 |
509 | - | ),char,false,true) |
509 | + | t.TopSurface = "Smooth" |
510 | - | local dist = (Start-pos).magnitude |
510 | + | t.BottomSurface = "Smooth" |
511 | - | local yScale = dist * (Speed / (Speed/2)) |
511 | + | t.RightSurface = "Smooth" |
512 | - | local aa = CF.N((Start + pos) / 2, pos) * CFrame.Angles(1.57, 0, 0) |
512 | + | t.LeftSurface = "Smooth" |
513 | - | LaserFX(25,Color,aa,Vector3.new(1,yScale,1),Vector3.new(-1,yScale,-1)) |
513 | + | t.FrontSurface = "Smooth" |
514 | - | Start = Start + Look.lookVector * Speed |
514 | + | t.BackSurface = "Smooth" |
515 | - | Look = Look * CF.A(M.R(Drop or -1),0,0) |
515 | + | t.BrickColor = BrickColor.new("grey") |
516 | - | Count = Count - 1 |
516 | + | if t.Name == "Head" and t:FindFirstChild("face") then |
517 | - | |
517 | + | t.face:Remove() |
518 | - | if(hit)then |
518 | + | elseif t.Name == "Torso" and t:FindFirstChild("roblox") then |
519 | - | Count = 0 |
519 | + | t.roblox:Remove() |
520 | - | MagniDamage(pos,10,MinDamage,MaxDamage,0,'Normal') |
520 | + | elseif t.Name == "HumanoidRootPart" then |
521 | t:Remove() | |
522 | - | if(Count <= 0)then |
522 | + | |
523 | - | local sphere = SphereFX(25,Color,Vector3.new(5,5,5),CF.N(pos),Vector3.new(15,15,15)) |
523 | + | else |
524 | - | local ring = RingFX(25,Color,Vector3.new(6,6,6),CF.N(pos) * CF.A(0,M.R(90),0) * CF.A(M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360)),M.R(M.RNG(-360,360))),Vector3.new(16,16,16)) |
524 | + | t:Remove() |
525 | end | |
526 | - | until Count <= 0 |
526 | + | |
527 | - | end) |
527 | + | c.Parent = workspace |
528 | game.Debris:AddItem(c,.05) | |
529 | end | |
530 | - | -- Effect Loop |
530 | + | end |