Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local lp = game:GetService"Players".LocalPlayer
- local repstorage = game:GetService"ReplicatedStorage"
- local power = "Chara" --change this to the power you have
- local move = "BeamBlast" --change this to the move you want to use. if you have Asriel use RainbowBeam,if you have Chara use BeamBlast
- local usingBeamBlast = true --for Chara
- local part = Instance.new("Part",workspace)
- part.Size = Vector3.new(100,2,100)
- part.Anchored = true
- _G.On = true
- while _G.On do
- part.CFrame = CFrame.new(math.random(25000,100000),math.random(25000,100000),math.random(25000,100000))
- lp.Character:WaitForChild"HumanoidRootPart".CFrame = part.CFrame+Vector3.new(0,1,0)
- if power == "Chara" then
- if usingBeamBlast then
- lp.Backpack:FindFirstChild"Chara".BeamBlast.Blast:FireServer(lp.Character:WaitForChild"HumanoidRootPart".CFrame,repstorage.DataFolder[lp.UserId].Data.Exp)
- else
- lp.Backpack:FindFirstChild"Chara"[move]:FindFirstChildOfClass"RemoteEvent":FireServer(repstorage.DataFolder[lp.UserId].Data.Exp)
- end
- elseif power == "Asriel" then
- lp.Backpack:FindFirstChild"Asriel"[move]:FindFirstChild"Charge":FireServer(repstorage.DataFolder[lp.UserId].Data.Exp)
- lp.Backpack:FindFirstChild"Asriel"[move]:FindFirstChild"Fire":FireServer(repstorage.DataFolder[lp.UserId].Data.Exp)
- elseif power == "Bravery" or power == "Undyne" then
- lp.Backpack[power][move]:FindFirstChild"Charge":FireServer()
- lp.Backpack[power][move]:FindFirstChild"Fire":FireServer(lp.Character:WaitForChild"HumanoidRootPart".CFrame,repstorage.DataFolder[lp.UserId].Data.Exp)
- elseif power == "Sans" then
- lp.Backpack:FindFirstChild"Sans"[move]:FindFirstChildOfClass"RemoteEvent":FireServer(lp.Character:WaitForChild"HumanoidRootPart".CFrame,repstorage.DataFolder[lp.UserId].Data.Exp)
- elseif power == "Justice" then
- lp.Backpack:FindFirstChild"Justice".Pellets.Pellets:FireServer(lp.Character:WaitForChild"HumanoidRootPart".CFrame,repstorage.DataFolder[lp.UserId].Data.Exp)
- elseif power == "Gaster" then
- lp.Backpack:FindFirstChild"Gaster".BlueHand.BlueHand:FireServer(repstorage.DataFolder[lp.UserId].Data.Exp)
- else
- lp.Backpack[power][move]:FindFirstChildOfClass"RemoteEvent":FireServer(repstorage.DataFolder[lp.UserId].Data.Exp)
- end
- wait()
- end
Add Comment
Please, Sign In to add comment